Skip to main content

package managing framework

Project description

pypi test coverage

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.

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

pkgcore-0.12.35.tar.gz (597.7 kB view details)

Uploaded Source

Built Distribution

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

pkgcore-0.12.35-py3-none-any.whl (734.1 kB view details)

Uploaded Python 3

File details

Details for the file pkgcore-0.12.35.tar.gz.

File metadata

  • Download URL: pkgcore-0.12.35.tar.gz
  • Upload date:
  • Size: 597.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pkgcore-0.12.35.tar.gz
Algorithm Hash digest
SHA256 aa2f550baca24664a5321fdf5ef905493926f2cc9b6bf5eb715e273fd37b141b
MD5 b135f7a24bdf6c403b28b4a2ac700ea2
BLAKE2b-256 1d817cf462c93cf442e20cb36babb3129e5d5df7cde16ac640180e8685101f88

See more details on using hashes here.

Provenance

The following attestation bundles were made for pkgcore-0.12.35.tar.gz:

Publisher: release.yml on pkgcore/pkgcore

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

File details

Details for the file pkgcore-0.12.35-py3-none-any.whl.

File metadata

  • Download URL: pkgcore-0.12.35-py3-none-any.whl
  • Upload date:
  • Size: 734.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pkgcore-0.12.35-py3-none-any.whl
Algorithm Hash digest
SHA256 e443315ea68c242fe07c961c32b635055e98690a431479924e40bb532f69c944
MD5 845e50a1345d83710ae8ccdd54d5567b
BLAKE2b-256 cbff8471c465bffc02d34e54a16ea8179bc5174b5db3b0eb83bbac5d0f407c2b

See more details on using hashes here.

Provenance

The following attestation bundles were made for pkgcore-0.12.35-py3-none-any.whl:

Publisher: release.yml on pkgcore/pkgcore

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