https://github.com/conda/conda-index
conda index, formerly part of conda-build. Create channels from collections of packages.
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.8%) to scientific vocabulary
Keywords from Contributors
Repository
conda index, formerly part of conda-build. Create channels from collections of packages.
Basic Info
- Host: GitHub
- Owner: conda
- License: bsd-3-clause
- Language: Python
- Default Branch: main
- Homepage: https://conda.github.io/conda-index/
- Size: 6.05 MB
Statistics
- Stars: 12
- Watchers: 8
- Forks: 9
- Open Issues: 10
- Releases: 8
Metadata Files
README.md
conda-index
conda index, formerly part of conda-build. Create repodata.json for
collections of conda packages.
The conda_index command operates on a channel directory. A channel directory
contains a noarch subdirectory at a minimum and will almost always contain
other subdirectories named for conda's supported platforms linux-64, win-64,
osx-64, etc. A channel directory cannot have the same name as a supported
platform. Place packages into the same platform subdirectory each archive was
built for. Conda-index extracts metadata from these packages to generate
index.html, repodata.json etc. with summaries of the packages' metadata.
Then 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 always 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 it would typically be placed on a web
server.
Run normally
sh
python -m conda_index <path to channel directory>
Note conda index (instead of python -m conda_index) may find legacy
conda-build index.
Run for debugging
sh
python -m conda_index --verbose --threads=1 <path to channel directory>
Contributing
```sh 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 ```
Summary of changes from the previous conda-build index version
Approximately 2.2x faster conda package extraction, by extracting just the metadata to streams instead of extracting packages to a temporary directory; closes the package early if all metadata has been found.
No longer read existing
repodata.json. Always load from cache.Uses a sqlite metadata cache that is orders of magnitude faster than the old many-tiny-files cache.
The first time
conda indexruns, it will convert the existing file-based.cacheto a sqlite3 database.cache/cache.db. This takes about ten minutes per subdir for conda-forge. (If this is interrupted, deletecache.dbto start over, or packages will be re-extracted into the cache.)sqlite3must be compiled with the JSON1 extension. JSON1 is built into SQLite by default as of SQLite version 3.38.0 (2022-02-22).Each subdir
osx-64,linux-64etc. has its owncache.db; conda-forge’s 1.2T osx-64 subdir has a single 2.4GBcache.db. Storing the cache in fewer files saves time since there is a per-file wait to open each of the many tiny.jsonfiles in old-style.cache/.cache.dbis highly compressible, like the text metadata. 2.4G → zstd → 88MNo longer cache
paths.json(only used to createpost_install.jsonand not referenced later in the indexing process). Saves 90% disk space in.cache.Updated Python and dependency requirements.
Mercilessly cull less-used features.
Format with
black
Parallelism
This version of conda-index continues indexing packages from other subdirs while the main thread is writing a 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.
Owner
- Name: conda
- Login: conda
- Kind: organization
- Website: https://conda.org
- Twitter: condaproject
- Repositories: 29
- Profile: https://github.com/conda
conda is system-level, binary package and environment manager running on all major operating systems and platforms.
GitHub Events
Total
- Issues event: 20
- Watch event: 2
- Delete event: 5
- Issue comment event: 23
- Push event: 54
- Pull request review comment event: 36
- Pull request review event: 39
- Pull request event: 18
- Create event: 9
Last Year
- Issues event: 20
- Watch event: 2
- Delete event: 5
- Issue comment event: 23
- Push event: 54
- Pull request review comment event: 36
- Pull request review event: 39
- Pull request event: 18
- Create event: 9
Committers
Last synced: over 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| Daniel Holth | d****h@a****m | 87 |
| conda-bot | 1****t | 33 |
| Jannis Leidel | j****s@l****o | 5 |
| jaimergp | j****p | 1 |
| Klaus Zimmermann | k****n@q****m | 1 |
| Ken Odegard | k****d@a****m | 1 |
| Carl Anderson | b****o | 1 |
| Andrew Vallette | a****e@g****m | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 84
- Total pull requests: 131
- Average time to close issues: 4 months
- Average time to close pull requests: 20 days
- Total issue authors: 13
- Total pull request authors: 7
- Average comments per issue: 1.6
- Average comments per pull request: 0.5
- Merged pull requests: 117
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 12
- Pull requests: 31
- Average time to close issues: about 2 months
- Average time to close pull requests: 11 days
- Issue authors: 5
- Pull request authors: 5
- Average comments per issue: 0.42
- Average comments per pull request: 0.35
- Merged pull requests: 25
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- dholth (69)
- jezdez (3)
- kenodegard (2)
- barabo (1)
- jaimergp (1)
- scdub (1)
- JeanChristopheMorinPerso (1)
- ialb97 (1)
- meesepyter (1)
- opoplawski (1)
- clement-chaneching (1)
- jpmaterial (1)
Pull Request Authors
- dholth (99)
- conda-bot (51)
- jezdez (11)
- barabo (5)
- jaimergp (2)
- jtroe (2)
- kenodegard (1)
- zklaus (1)
- AndrewVallette (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 2
-
Total downloads:
- pypi 940 last-month
-
Total dependent packages: 1
(may contain duplicates) -
Total dependent repositories: 2
(may contain duplicates) - Total versions: 8
pypi.org: conda-index
- Homepage: https://github.com/conda/conda-index
- Documentation: https://conda-index.readthedocs.io/
- License: BSD 3-Clause License Copyright (c) 2022, conda All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
Latest release: 0.6.1
published about 1 year ago
Rankings
anaconda.org: conda-index
Create repodata.json for collections of conda packages.
- Homepage: https://github.com/conda/conda-index
- License: BSD-3-Clause
-
Latest release: 0.6.1
published about 1 year ago
Rankings
Dependencies
- conda/actions/check-cla v22.9.0 composite
- actions-ecosystem/action-add-labels v1.1.0 composite
- actions-ecosystem/action-remove-labels v1.3.0 composite
- EndBug/label-sync v2.3.0 composite
- actions/checkout v3 composite
- andstor/file-existence-action v1.0.1 composite
- actions/add-to-project v0.3.0 composite
- actions/checkout v3 composite
- actions/deploy-pages v1 composite
- actions/setup-python v4 composite
- actions/upload-pages-artifact v1 composite
- actions/stale v4 composite
- conda/actions/read-yaml v22.9.0 composite
- actions/checkout v2 composite
- actions/checkout v3 composite
- actions/download-artifact v3 composite
- actions/upload-artifact v3 composite
- conda-incubator/setup-miniconda v2 composite
- conda/actions/canary-release v22.10.0 composite
- re-actors/alls-green release/v1 composite
- test-summary/action v2 composite
- furo *
- mdit-py-plugins >=0.3.0
- myst-parser *
- sphinx *
- click >=8
- conda >=4.14.0
- conda-package-streaming >=0.7.0
- filelock *
- jinja2 *
- more-itertools *
- ruamel.yaml *
- actions/checkout v2 composite
- actions/download-artifact v3 composite
- actions/upload-artifact v3 composite
- conda-incubator/setup-miniconda v2 composite
- re-actors/alls-green release/v1 composite
- test-summary/action v2 composite
- dessant/lock-threads v4 composite