pkgcore
pkgcore is a framework for package management; via the appropriate class plugins, the design should allow for any underlying repository/config/format to be used; slackware’s tgzs being exempted due to lack of any real metadata, and autopackage format being exempted due to the fact they effectively embed the manager in each package (pkgcore does require being able to treat the pkg as data, instead of autopackage’s method of handing resolution/all manager ops off to the package script).
Tools
pclean: clean distfiles, binpkgs, and builds dirs
pclonecache: clone a repository cache
pconfig: query configuration info
pebuild: low-level ebuild operations, go through phases manually
pinspect: inspect repository related info
pmaint: repository maintenance (syncing, copying…)
pmerge: dependency resolution, fetching, (un)merging, etc.
pquery: query repository info, revdeps, pkg search, vdb search, etc.
Requirements
At least python version 3.11, and snakeoil — a utility library split out of pkgcore for others to use.
Installing
Installing latest pypi release:
pip install pkgcore
Installing from git:
pip install https://github.com/pkgcore/pkgcore/archive/master.tar.gz
Installing from a tarball:
pip install .
Developing
Installing the dependencies for testing, formatting, and documentation building into an editable environment:
make dev-environment
Tests
Standard python test runners can be used, for example:
pytest -v
A tox config is provided so the testsuite can be run in a virtualenv setup against all supported python versions. To run tests for all environments just execute tox in the root directory of a repo or unpacked tarball. Otherwise, for a specific python version execute something similar to the following:
tox -e py313
Docs
Documentation is available on Github.
Contact
For bugs and feature requests please create an issue.
Metadata
Release files for pkgcore 0.12.46
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pkgcore-0.12.46.tar.gz | 709.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pkgcore-0.12.46-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.5 MB
Release files / pkgcore-0.12.46.tar.gz
| Download URL | pkgcore-0.12.46.tar.gz |
|---|---|
| Size | 709.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
378828891e11fff925d35c0e2cffd1b1e00ab54eeb14fe1286b386cbe13d94d3
|
|
BLAKE2b-256 checksum How to use checksums |
06e2917ba6c78c28c5970ad9ba9afdeacb1912fa57f16bafabe4ea9023fb3646
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.
Transparency logRelease files / pkgcore-0.12.46-py3-none-any.whl
| Download URL | pkgcore-0.12.46-py3-none-any.whl |
|---|---|
| Size | 793.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e4aff6ae60cd645180615fea47b26420dd3a549075878016942d79c110afb93b
|
|
BLAKE2b-256 checksum How to use checksums |
81e8e1b27d1cbcd9f20e6506186550651ea74b115aa4384f672bd95b1e407e88
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.
Transparency log