Skip to main content

Client library and CLI plugin for anaconda.org

Project description

Anaconda Client

This is a command line client that provides an interface to anaconda.org.

Quickstart:

First, create an account on anaconda.org, if you may still don't have one.

Then, install anaconda-client into your conda environment:

conda install anaconda-client

Log into your account:

anaconda login

Test your login wit the whoami command:

anaconda whoami

For a complete tutorial on building and uploading Conda packages to anaconda.org visit the documentation page.

For channel notices (conda user-facing messages), see doc/channel_notices.md.

Local development

Setup conda environment:

make init

Activate development environment:

conda activate anaconda_client

Run anaconda-client commands:

python -m binstar_client.scripts.cli --version

Pre-commit Setup in Local

Pre-commit also runs in the GitHub workflow on pull requests. Installing it locally is recommended so you catch formatting and lint issues before pushing, and avoid back-and-forth commits when CI auto-fixes files. Set this up from the development environment (./env, Python 3.11) — some hooks require Python ≥ 3.10.

conda activate ./env        # Need not run if anaconda-client env is already activated
pip install pre-commit
pre-commit install          # wire git hooks to this env's Python
pre-commit install-hooks    # download hook environments

After pre-commit install, hooks run automatically on each git commit — you do not need to run anything extra before pushing. Optionally, make pre-commit runs all hooks across the entire repo (useful before opening a PR). If commits still fail with a Python 3.9 error, the git hook was likely installed from a different environment (for example base Miniconda). Re-install from ./env:

conda activate ./env    # Need not run if anaconda-client env is already activated
pre-commit clean
pre-commit install
pre-commit install-hooks

and run git commit to commit all changes.

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

anaconda_client-1.15.0rc0.tar.gz (740.2 kB view details)

Uploaded Source

Built Distribution

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

anaconda_client-1.15.0rc0-py3-none-any.whl (123.5 kB view details)

Uploaded Python 3

File details

Details for the file anaconda_client-1.15.0rc0.tar.gz.

File metadata

  • Download URL: anaconda_client-1.15.0rc0.tar.gz
  • Upload date:
  • Size: 740.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.17.1 {"ci":true,"cpu":"x86_64","distro":{"id":"noble","libc":{"lib":"glibc","version":"2.39"},"name":"Ubuntu","version":"24.04"},"implementation":{"name":"CPython","version":"3.12.3"},"installer":{"name":"hatch","version":"1.17.1"},"openssl_version":"OpenSSL 3.0.13 30 Jan 2024","python":"3.12.3","system":{"name":"Linux","release":"6.17.0-1020-azure"}} HTTPX2/2.9.1

File hashes

Hashes for anaconda_client-1.15.0rc0.tar.gz
Algorithm Hash digest
SHA256 c35175b5b27ffa59df18e45da9e8c6bd8111e7d0d57bbfc01ebb06b8ee600372
MD5 09e56c664b848894dcd373d4a181edc9
BLAKE2b-256 8211eb02899b1db8dfecc18a55162528da990bbb49ebd0b01cb0044999eaf910

See more details on using hashes here.

File details

Details for the file anaconda_client-1.15.0rc0-py3-none-any.whl.

File metadata

  • Download URL: anaconda_client-1.15.0rc0-py3-none-any.whl
  • Upload date:
  • Size: 123.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.17.1 {"ci":true,"cpu":"x86_64","distro":{"id":"noble","libc":{"lib":"glibc","version":"2.39"},"name":"Ubuntu","version":"24.04"},"implementation":{"name":"CPython","version":"3.12.3"},"installer":{"name":"hatch","version":"1.17.1"},"openssl_version":"OpenSSL 3.0.13 30 Jan 2024","python":"3.12.3","system":{"name":"Linux","release":"6.17.0-1020-azure"}} HTTPX2/2.9.1

File hashes

Hashes for anaconda_client-1.15.0rc0-py3-none-any.whl
Algorithm Hash digest
SHA256 ba23e8ff919a6bdb5aa2d5d2585e22668887a5f79d662b9005aa1c7739541999
MD5 c60a794f64999116966f59842671a934
BLAKE2b-256 3ea8961cf3f7aa96c1a3c92b36e02ad8d368bc846d998d227c0af0826dc22902

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