Skip to main content

Python wrapper for APIs of Gentoo package managers

Project description

GentooPM is a wrapper for API of Gentoo package managers (Portage, PkgCore and historically Paludis). It has historically served two purposes:

  1. Making it possible to easily write apps that can utilize any of the available PMs.

  2. Replacing the awful API provided by package managers (especially Portage) with something more Pythonic, easier to use and more readable.

The project provides a gentoopmq tool providing basic lookups into the PM data. Most importantly, it provides an IPython-friendly gentoopmq shell command that can be used to play with the API.

The project is currently in keep-alive mode. It is updated to keep existing consumers working but no new features are implemented. Paludis support is no longer tested and is behind other PMs, primarily because Paludis is no longer maintaining Gentoo ebuild support and has not been updated to support new EAPIs at the time of writing.

The author’s recommendation is to use PkgCore directly.

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

gentoopm-0.4.tar.gz (42.3 kB view hashes)

Uploaded Source

Built Distribution

gentoopm-0.4-py3-none-any.whl (58.7 kB view hashes)

Uploaded Python 3

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