Skip to main content

No project description provided

Project description

conda-index

conda-index creates conda channels from a collection of conda packages.

The conda_index command operates on a channel directory. A channel directory can't be named after a supported platform and must contain a noarch subdirectory. It will usually contain other subdirectories named for conda's supported platforms linux-64, win-64, osx-64, etc. Place packages into their corresponding subdirectories. Then run conda-index to extract metadata from these packages to generate index.html, repodata.json etc. with summaries of the packages' metadata. conda uses the metadata to solve dependencies before doing an install.

By default the metadata is output to the same directory tree as the channel directory but it can be output to a separate tree with the --output <output> parameter. The metadata cache is placed with the packages, in .cache folders under each platform subdirectory.

After conda-index has finished, its output can be used as a channel conda install -c file:///path/to/output ... or would typically be placed on a web server.

Run normally

python -m conda_index <path to channel directory>

An equivalent conda subcommand, conda index, is also available.

Run for debugging

python -m conda_index --verbose --threads=1 <path to channel directory>

Contributing

conda create -n conda-index "python >=3.9" conda conda-build "pip >=22"

git clone https://github.com/conda/conda-index.git
pip install -e conda-index[test]

cd conda-index
pytest

Parallelism

This version of conda-index continues indexing packages from other subdirs while the main thread is writing repodata.json.

All current_repodata.json are generated in parallel. This may use a lot of ram if repodata.json has tens of thousands of entries.

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

conda_index-0.11.0.tar.gz (47.4 kB view details)

Uploaded Source

Built Distribution

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

conda_index-0.11.0-py3-none-any.whl (57.7 kB view details)

Uploaded Python 3

File details

Details for the file conda_index-0.11.0.tar.gz.

File metadata

  • Download URL: conda_index-0.11.0.tar.gz
  • Upload date:
  • Size: 47.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for conda_index-0.11.0.tar.gz
Algorithm Hash digest
SHA256 88500e8fa01272ed18ab2b232c69ac2ee045f5bc381846a05e65af8724d74ee6
MD5 3a95c20a3d1c909e4189f5db802d32ec
BLAKE2b-256 8c9cb595d4f300e5ef1592c35ceffa94c21ff5866561e368e8dc53e4ffd54abd

See more details on using hashes here.

Provenance

The following attestation bundles were made for conda_index-0.11.0.tar.gz:

Publisher: pypi.yml on conda/conda-index

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file conda_index-0.11.0-py3-none-any.whl.

File metadata

  • Download URL: conda_index-0.11.0-py3-none-any.whl
  • Upload date:
  • Size: 57.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for conda_index-0.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f7e7256444f3c3dbe9843a86537a5b776c54bc2e54389991ca1276a9d7a6a98f
MD5 f4990dc80a95106dca2a1888ec28e2de
BLAKE2b-256 607ebdef5dca08b6d53b33470d3d4acb7f86a58a3f618531c2cdc9a74d56f1af

See more details on using hashes here.

Provenance

The following attestation bundles were made for conda_index-0.11.0-py3-none-any.whl:

Publisher: pypi.yml on conda/conda-index

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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