rpm

Python RPM shim module for use in virtualenvs

https://github.com/packit/rpm-shim

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (7.4%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Python RPM shim module for use in virtualenvs

Basic Info
  • Host: GitHub
  • Owner: packit
  • License: mit
  • Language: Python
  • Default Branch: main
  • Size: 36.1 KB
Statistics
  • Stars: 3
  • Watchers: 7
  • Forks: 6
  • Open Issues: 0
  • Releases: 5
Created over 3 years ago · Last pushed about 1 year ago
Metadata Files
Readme Changelog License

README.md

rpm-shim

Python RPM shim module for use in virtalenvs.

Purpose

RPM Python bindings are tied to system RPM installation and are not available as a Python package (on PyPI or elsewhere). This shim module makes it possible to import and use the bindings in a virtualenv.

There is no point installing this shim module on a bare system, outside of a virtualenv. It should still work, but there is no benefit. If you want to do that anyway, pay attention not to overwrite installed RPM Python bindings.

Example

Here is a scenario of how this module enables usage of RPM Python bindings in a newly created virtualenv. First commands are run on a host system.

```bash

make sure RPM Python bindings are installed and functional

$ rpm -q python3-rpm python3-rpm-4.18.0-1.fc37.x86_64

$ pip list Package Version


rpm 4.18.0

$ python -c "import rpm; print(rpm.version)" 4.18.0

let's create a virtualenv

$ python -m venv env $ source env/bin/activate

the bindings are not accessible there

(env) $ python -c "import rpm; print(rpm.version)" Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'rpm'

install the shim module from PyPI

(env) $ pip install rpm ... Successfully installed rpm-0.1.0

now we can import the bindings

(env) $ python -c "import rpm; print(rpm.version)" 4.18.0 ```

Owner

  • Name: Packit
  • Login: packit
  • Kind: organization
  • Email: hello@packit.dev
  • Location: Czech Republic

Packit service: package it in an automated way.

GitHub Events

Total
  • Create event: 5
  • Issues event: 6
  • Release event: 3
  • Watch event: 1
  • Delete event: 2
  • Issue comment event: 71
  • Push event: 9
  • Pull request review event: 33
  • Pull request review comment event: 39
  • Pull request event: 11
  • Fork event: 3
Last Year
  • Create event: 5
  • Issues event: 6
  • Release event: 3
  • Watch event: 1
  • Delete event: 2
  • Issue comment event: 71
  • Push event: 9
  • Pull request review event: 33
  • Pull request review comment event: 39
  • Pull request event: 11
  • Fork event: 3

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 16
  • Total Committers: 2
  • Avg Commits per committer: 8.0
  • Development Distribution Score (DDS): 0.063
Past Year
  • Commits: 16
  • Committers: 2
  • Avg Commits per committer: 8.0
  • Development Distribution Score (DDS): 0.063
Top Committers
Name Email Commits
Nikola Forró n****o@r****m 15
Evgeni Golov e****i@g****e 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 7
  • Total pull requests: 16
  • Average time to close issues: 10 days
  • Average time to close pull requests: 1 day
  • Total issue authors: 6
  • Total pull request authors: 5
  • Average comments per issue: 2.29
  • Average comments per pull request: 6.25
  • Merged pull requests: 16
  • Bot issues: 0
  • Bot pull requests: 4
Past Year
  • Issues: 4
  • Pull requests: 10
  • Average time to close issues: 2 days
  • Average time to close pull requests: 1 day
  • Issue authors: 4
  • Pull request authors: 4
  • Average comments per issue: 2.0
  • Average comments per pull request: 8.5
  • Merged pull requests: 10
  • Bot issues: 0
  • Bot pull requests: 4
Top Authors
Issue Authors
  • dcermak (2)
  • ian-hurst (2)
  • ktdreyer (1)
  • TomasTomecek (1)
  • gridhead (1)
  • morpheuslord (1)
Pull Request Authors
  • nforro (10)
  • github-actions[bot] (8)
  • ian-hurst (3)
  • dcermak (2)
  • evgeni (1)
Top Labels
Issue Labels
bug (2) mergeit (1)
Pull Request Labels
mergeit (18) release (8)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 49,813 last-month
  • Total docker downloads: 4,208,108,272
  • Total dependent packages: 5
  • Total dependent repositories: 157
  • Total versions: 9
  • Total maintainers: 4
pypi.org: rpm

Shim RPM module for use in virtualenvs.

  • Versions: 9
  • Dependent Packages: 5
  • Dependent Repositories: 157
  • Downloads: 49,813 Last month
  • Docker Downloads: 4,208,108,272
Rankings
Docker downloads count: 0.0%
Dependent repos count: 1.2%
Dependent packages count: 1.8%
Downloads: 2.6%
Average: 9.1%
Forks count: 16.8%
Stargazers count: 31.9%
Maintainers (4)
Last synced: 11 months ago

Dependencies

.github/workflows/opened-issues-to-the-board.yml actions
  • actions/add-to-project v0.3.0 composite
.github/workflows/pypi-publish.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v2 composite
  • pypa/gh-action-pypi-publish release/v1 composite
.github/workflows/tests.yml actions
  • actions/checkout v2 composite
pyproject.toml pypi