Manage your datasets on the Hugging Face Hub
Project description
Atlas_HFDatasets
A command-line tool to manage your datasets on the Hugging Face Hub - upload, download, list, check and remove datasets with ease.
Prerequisites
- Python 3.7 or higher
Installation
Install the package via pip:
pip install atlas_hfdatasets
Usage
Before using the tool, initialise your Hugging Face credentials:
atlas_hfdatasets init
Commands
-
Upload a dataset
atlas_hfdatasets upload /path/to/dataset [-n username/repo_name] [-p True/False]
Options:
-n
: Repository name (format: username/repo_name). Defaults to dataset folder name-p
: Make dataset public (default: False)
-
List your datasets
atlas_hfdatasets list [-f keyword]
Options:
-f
: Filter datasets by keyword (case-insensitive)
-
Remove a dataset
atlas_hfdatasets remove username/repo_name [-f True/False]
Options:
-f
: Force deletion without confirmation (default: False)
-
Download a dataset
atlas_hfdatasets download username/repo_name [-o output_directory]
Options:
-o
: Output directory path (default: current directory)
-
Check dataset statistics
atlas_hfdatasets check username/repo_name
Requirements
- Python ≥ 3.7
- huggingface-hub
- datasets
Licence
This project is licensed under the MIT Licence - see the LICENSE file for details.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file atlas_hfdatasets-1.3.9.tar.gz
.
File metadata
- Download URL: atlas_hfdatasets-1.3.9.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0856537e887d461c3fe57032dcaa2ae860ab0ab2e340d61ca80988cf7285cf5e |
|
MD5 | 33acf79c1d8818f623bd00ff1c12c73e |
|
BLAKE2b-256 | 55a35f638e3ecfe15b8c8656e750b2151a6074ff40691e84d073029b88c3b6d4 |
File details
Details for the file atlas_hfdatasets-1.3.9-py3-none-any.whl
.
File metadata
- Download URL: atlas_hfdatasets-1.3.9-py3-none-any.whl
- Upload date:
- Size: 10.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23013ab64c3572067bfee5105cdb948f434b1e2514e94de21a38e28b9fdba97e |
|
MD5 | 9ba1ee6f0b2bd5639564231992c9d3e7 |
|
BLAKE2b-256 | 1d1ecc814fe9832b55a548c2e7ad1789f0dd27f2f795cda79b1645883c8e5bba |