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.10, 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 py311

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

Uploaded Source

Built Distribution

pkgcore-0.12.28-py3-none-any.whl (703.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pkgcore-0.12.28.tar.gz
  • Upload date:
  • Size: 636.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for pkgcore-0.12.28.tar.gz
Algorithm Hash digest
SHA256 0fc2533d8a7758eb44aba17714ee589640d5fa2eeb3e1a4a63ab99a340a9ee22
MD5 3b88cc6dc92d46e0f5a0f33b221c304b
BLAKE2b-256 3afa14ec514507f279cd6cc3ba5d150d25700f0856c404c528209d0e87c667a2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pkgcore-0.12.28-py3-none-any.whl
  • Upload date:
  • Size: 703.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for pkgcore-0.12.28-py3-none-any.whl
Algorithm Hash digest
SHA256 1b9c69767a3241cdea498f996451fb4234e7c4b51c35f97467976bfd34e1d5b2
MD5 cb32d8fa3c26dd1d9dfa31a9713b10da
BLAKE2b-256 8256d63697ffff530022c9edfc84d06d2b6ccd3f9b5ce7ca0c359eff36b5993c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page