Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

atlas_hfdatasets-1.3.4.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

atlas_hfdatasets-1.3.4-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file atlas_hfdatasets-1.3.4.tar.gz.

File metadata

  • Download URL: atlas_hfdatasets-1.3.4.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for atlas_hfdatasets-1.3.4.tar.gz
Algorithm Hash digest
SHA256 3a19ead970a6f136d15c7076ff9f97bec9a5d27f5ee9409bcbc7114e697a3632
MD5 0dde472c69bf97b3fa2850a8e3c96b36
BLAKE2b-256 27a6db158bf89b574a96bffb394057b625513b06d459e85dba7cf4bd65f65913

See more details on using hashes here.

File details

Details for the file atlas_hfdatasets-1.3.4-py3-none-any.whl.

File metadata

File hashes

Hashes for atlas_hfdatasets-1.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2d6d8b4d4318a57d97d6de20782e4ae72f958b6a03c957aa1bda2e54090dd830
MD5 a158cb12fd9ae895e5b08e4d736ef427
BLAKE2b-256 7d1bf58e63398980afc962dd71b8d8dd1a69b8b1d5423ab0d7214b80db6179e0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page