cli
Project description
ANC CLI Tool
Overview
The ANC CLI tool is a comprehensive command line interface designed to facilitate the management of various resources within the company. Initially, it supports managing datasets and their versions, enabling users to interact seamlessly with a remote server for fetching, listing, and adding datasets.
Installation
# Instructions for installing the ANC CLI tool
sudo pip install anc
Dataset
- Fetch Datasets: Retrieve specific versions of datasets from a remote server.
- List Versions: View all available versions of a dataset.
- Add Datasets: Upload new datasets along with their versions and descriptions to the remote server.
Usage
list
anc ds list
# Or you can specify a dataset name.
anc ds list -n <dataset name>
get
# According to the above list result, you can download the specific version dataset.
# Ensure that the destination path for downloads is a permanent storage location(e.g. /mnt/weka/xxx). Currently, downloading data to local storage is not permitted.
anc ds get -n cifar-10-batches-py -v v3.0 -d /mnt/weka/xug/
add
# Upload a specific version of a dataset. The dataset name will be determined based on the file or folder name extracted from the specified path.
# Ensure that the dataset is stored in a permanent location recognized by the server (e.g., /mnt/weka/xxx).
anc ds add -s /mnt/weka/xug/dvc_temp/cifar-10-batches-py -v "v3.0" -m "my first upload"
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
anc-0.1.6.tar.gz
(6.6 kB
view hashes)
Built Distribution
anc-0.1.6-py3-none-any.whl
(9.1 kB
view hashes)