dfipy¶
dfipy
is a library built for data scientists & analysts for data scientists & analysts. It is designed as a lightweight Python client for interacting with the General System Platform API.
Each GS Platform service is accessible via an appropriately named class:
- Datasets - For accessing the Datasets API: create, edit, delete, and retrieve information about datasets in the GS Platform.
- Identities - For accessing the Identity API: create, edit, delete, and retrieve information about identities in the GS Platform.
- Info - For accessing versioning and API information.
- Ingest - For accessing the Import API: ingest data into the GS Platform.
- Query - For accessing the Query V1 API: query datasets in the GS Platform.
- Users - For accessing the Users API: create, edit, delete, and retrieve information about users in the GS Platform.
Services are namespaced within the dfi.Client()
. As an example, the Info()
class is accessed via dfi.info
.
from dfi import Client
dfi = Client("<token>", "<url>")
dfi.info.version()