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.2.7.tar.gz (8.8 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.2.7-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: anc-0.2.7.tar.gz
  • Upload date:
  • Size: 8.8 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.2.7.tar.gz
Algorithm Hash digest
SHA256 c40d33753772a3b68943a88867d8a88d862009e4c3a7e4c5932ae69d91455557
MD5 7794d759bf4e37d10e87c9d18e34aaa2
BLAKE2b-256 a276d933ad91ee0dc50d730093e34642613527a2f4031a3718627b92db38485d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: anc-0.2.7-py3-none-any.whl
  • Upload date:
  • Size: 11.8 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.2.7-py3-none-any.whl
Algorithm Hash digest
SHA256 be90139b6c2ae531960db69693df7e587554b165e7f662270973d68e57f2776a
MD5 3f24a39960ff0cc24f97aed86fd76e9a
BLAKE2b-256 da235bea80a3f78f152455a42898c950d6fed470bc9b257cc2b7ef2a6d0b6bae

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