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.32.tar.gz (585.8 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.32-py3-none-any.whl (728.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pkgcore-0.12.32.tar.gz
  • Upload date:
  • Size: 585.8 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.32.tar.gz
Algorithm Hash digest
SHA256 140578913d0ba7fbe53d128d70db25b26d3a86b68a15b925383d665d0a2ff0a3
MD5 3a283939b41f723e9269f5d1074afeb8
BLAKE2b-256 7d406e9d2d65495e90aa9b297e45694210e9a8d93f3a80c8157c3b6b5555d12b

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pkgcore-0.12.32-py3-none-any.whl
  • Upload date:
  • Size: 728.0 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.32-py3-none-any.whl
Algorithm Hash digest
SHA256 cb48707f433b481d97173f851f99fdf7c466393f2747ec564ba86304aa016629
MD5 a571315eed9d0261a8b54670c926eddd
BLAKE2b-256 9badcab9755f21f4f7e98b3418a511e7e6d6fd5746b6f31cf466e2a107955281

See more details on using hashes here.

Provenance

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