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.30.tar.gz (647.5 kB view details)

Uploaded Source

Built Distribution

pkgcore-0.12.30-py3-none-any.whl (732.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pkgcore-0.12.30.tar.gz
Algorithm Hash digest
SHA256 8258e411cbe23142a3725c8cb0135edd0dd7a498c28ab0aae32b0be1e5f9cbdd
MD5 910b998bffb08bf9b89e79bf4c6cf0d3
BLAKE2b-256 516750cda0598374f4236f71ef7e3a09385055d6d5276a347d853638dfba70d5

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for pkgcore-0.12.30-py3-none-any.whl
Algorithm Hash digest
SHA256 3f05491dde633fe1422f902ca89654fb91a26f2763c9211e0addf0b70d4c502b
MD5 422cd8992484b4fbbffe426f5cc3f58d
BLAKE2b-256 c42c316ab40ff4c94a35b9be074035deb523e232b5ce739709bc6ed25fb80bd8

See more details on using hashes here.

Provenance

The following attestation bundles were made for pkgcore-0.12.30-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 Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page