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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file anaconda_client-1.15.0.tar.gz.
File metadata
- Download URL: anaconda_client-1.15.0.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
937724b019c9bb88d8c1dfc6c63886cecadc77833763a64fd5039feab00b05a3
|
|
| MD5 |
72114296bd2e34e1b2123ffb5c9cb494
|
|
| BLAKE2b-256 |
da50d837547a7469beec6647747c779d87168bf4426831d5a9d8d90b8f76a078
|
File details
Details for the file anaconda_client-1.15.0-py3-none-any.whl.
File metadata
- Download URL: anaconda_client-1.15.0-py3-none-any.whl
- Upload date:
- Size: 123.4 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
35a0eb04b0502730f93fb31fba8e9d96afa21f1e8feb43c3d5c6714d98d0ab6d
|
|
| MD5 |
1585b335066a4e14bcf5e62c4c237ee2
|
|
| BLAKE2b-256 |
d72baf63c873f00ef6374e31bb60d0af70ec05d3e9608140a578b486cc7a27da
|