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.33.tar.gz (586.3 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.33-py3-none-any.whl (727.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pkgcore-0.12.33.tar.gz
  • Upload date:
  • Size: 586.3 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.33.tar.gz
Algorithm Hash digest
SHA256 76d9e305dd8d82b9740d0ca163679d59e55205ae35c1e07fcf364de13aff13e5
MD5 33ec7f6a0bce9030f06b7e80b4f3e3e9
BLAKE2b-256 789b750d651992dee358054ba8f22d5048bed35ac1142bd218060b358aa5b9f2

See more details on using hashes here.

Provenance

The following attestation bundles were made for pkgcore-0.12.33.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.33-py3-none-any.whl.

File metadata

  • Download URL: pkgcore-0.12.33-py3-none-any.whl
  • Upload date:
  • Size: 727.7 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.33-py3-none-any.whl
Algorithm Hash digest
SHA256 55dafa9a61891c3b838adb8c5cd46fb11383a986c80c667b65c65b1f5ec3df6f
MD5 e5ea30450cd64c7de6d21babb00776a5
BLAKE2b-256 6ddab3e3c6713fe29de86b5fb49ba7bda832a1bc458f74ce905ff99814cb3e45

See more details on using hashes here.

Provenance

The following attestation bundles were made for pkgcore-0.12.33-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