Skip to main content

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.3.0.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

anc-0.3.0-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

File details

Details for the file anc-0.3.0.tar.gz.

File metadata

  • Download URL: anc-0.3.0.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/5.15.0-113-generic

File hashes

Hashes for anc-0.3.0.tar.gz
Algorithm Hash digest
SHA256 9e1288adac5f5d067c12338fafb3b0e05b7e69a0e77a9cc9dce5fead63087272
MD5 25fa8b850938ff142aa009093921141b
BLAKE2b-256 ae048c93a2d97d1b26dfcff5d9f00d5f5b8b0811a7c0c89a39b0bb4704fa825c

See more details on using hashes here.

File details

Details for the file anc-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: anc-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 11.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/5.15.0-113-generic

File hashes

Hashes for anc-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7ffd7b9999402a3e9cd27840104e08a5a9a402141b9c57a70853be6097716947
MD5 4df1e8addae39fba7791e084f4437cad
BLAKE2b-256 7a0af48fd0d16d3ac07cd55856a084dc71fc3dd9981ce0d843970157babc7872

See more details on using hashes here.

Supported by

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