# Datasets Server Python SDK
This is the Python SDK for using the [Huggingface Datasets Server](https://github.com/huggingface/datasets-server). It is not the official SDK, but it is a good start.
I will try to keep it up to date with the latest version of the Datasets Server.
## Installation
```bash
pip install datasets-server-service
```
## Usage
```python
from datasets_server_service import DatasetsServerService
# You can give your api token here or pass it as HF_DATASETS_SERVER_TOKEN env variable
service = DatasetsServerService()
valid_datasets = service.valid_datasets()
```
Raw data
{
"_id": null,
"home_page": "",
"name": "datasets-server-python",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "datasets,huggingface",
"author": "Nusret Ozates",
"author_email": "",
"download_url": "",
"platform": null,
"description": "# Datasets Server Python SDK\n\nThis is the Python SDK for using the [Huggingface Datasets Server](https://github.com/huggingface/datasets-server). It is not the official SDK, but it is a good start. \nI will try to keep it up to date with the latest version of the Datasets Server.\n\n## Installation\n\n```bash\npip install datasets-server-service\n```\n\n## Usage\n\n```python\nfrom datasets_server_service import DatasetsServerService\n\n# You can give your api token here or pass it as HF_DATASETS_SERVER_TOKEN env variable\nservice = DatasetsServerService()\nvalid_datasets = service.valid_datasets()\n```\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Python SDK to access the Datasets Server",
"version": "0.5.0",
"split_keywords": [
"datasets",
"huggingface"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "0b3563d05039d384a9da7f7a052696a4171d62659d4c39c1289dcd1f46ef4848",
"md5": "381279e539c851cb6850a2b555b53601",
"sha256": "e8a3edca2bc3a4b52b92bc1e9a0c0b196b89cc117bcd554c3c9963d698577c96"
},
"downloads": -1,
"filename": "datasets_server_python-0.5.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "381279e539c851cb6850a2b555b53601",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 4214,
"upload_time": "2023-03-25T23:39:11",
"upload_time_iso_8601": "2023-03-25T23:39:11.798188Z",
"url": "https://files.pythonhosted.org/packages/0b/35/63d05039d384a9da7f7a052696a4171d62659d4c39c1289dcd1f46ef4848/datasets_server_python-0.5.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-03-25 23:39:11",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "datasets-server-python"
}