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.1.tar.gz (8.9 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.1-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: anc-0.3.1.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/5.15.0-1053-nvidia

File hashes

Hashes for anc-0.3.1.tar.gz
Algorithm Hash digest
SHA256 239f4ae95f8301d3fba9ee90b69119806e027f58e34d0ac7ca6ea4e51058867b
MD5 6af3a22c23c17d50bb861f6e757a5632
BLAKE2b-256 bb5b5eb1600732a88b3c3adee46ff0402e45e3541602f202230b795f39f871ae

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for anc-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d4a95af9e0e018a311247ed35d8db742bbc7805be5d41d51eab6fda6db2437e5
MD5 318e71af5d016754f37a4c0e5e6c9c57
BLAKE2b-256 0c75e880b8ddfe183a3e750d9d84ac2a3b327e8646337c5ef7a93248cd738d28

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