Skip to main content

fedrq

⚠️ This project is a work in progress. ⚠️

A tool for querying the Fedora and EPEL repositories

fedrq makes it easy to query any branch of Fedora or EPEL. It uses the dnf Python bindings and does not shell out to dnf repoquery. It allows querying for reverse dependencies, packages that contain a certain Provide or file, subpackages of an SRPM, and package metadata.

The tool doesn't seek to replace every feature of dnf repoquery. It seeks to provide a more user friendly interface than dnf repoquery for certain common tasks.

builds.sr.ht status

copr build status

fedrq on sr.ht

fedrq on git.sr.ht

fedrq on lists.sr.ht

fedrq on todo.sr.ht

Installation

fedrq has a copr repository at gotmax23/fedrq. A new build is submitted after each commit to main. The RPM specfile is in the repository root.

The package can also be installed from source with pip or any other PEP 517 frontend. The following additional system packages are required:

  • python3-dnf
  • fedora-repos-rawhide

Note that fedrq can only be installed for the system python interpreter. fedrq cannot be installed in a venv unless it has --system-site-packages, as it needs to find dnf.

fedrq check-config --dump requires tomli-w. The RPM package weakly depends on python3-tomli-w.

Versioning

This project is in alpha and has no released version.

Documentaion

WIP. See fedrq --help and fedrq(1) (source).

Contributing

Development, issue reporting, and project discussion happen on the mailing list (~gotmax23/fedrq@lists.sr.ht).

See CONTRIBUTING.md.

Credits

Thank you to the dnf maintainers. This tool is inspired by dnf repoquery and uses the dnf python bindings.

License

This project follows the REUSE specification. In general:

  • Code is licensed under GPL-2.0-or-later. This is the same license as dnf.
  • Configuration and repo files in fedrq/data/ are UNLICENSEed
  • fedrq.spec is licensed under MIT to match Fedora
SPDX-License-Identifier: GPL-2.0-or-later AND Unlicense AND MIT

The RPM and Python package metadata doesn't have the AND MIT portion, as they don't contain the specfile.

Metadata

Release files for fedrq 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fedrq 0.0.1
File Size Uploaded Provenance Actions
fedrq-0.0.1.tar.gz 34.7 kB Without provenance Details for fedrq-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fedrq 0.0.1
File Interpreter ABI Platform Actions
fedrq-0.0.1-py3-none-any.whl Python 3 none any Details for fedrq-0.0.1-py3-none-any.whl

Total release size: 64.1 kB

Release files / fedrq-0.0.1.tar.gz

Download URL fedrq-0.0.1.tar.gz
Size 34.7 kB
Tags Source
SHA-256 checksum
How to use checksums
8443e7e0b07c45a7139d49d8b4dc1412a1dd72b9d4035584679a0b80099409ee
BLAKE2b-256 checksum
How to use checksums
c3660cd2ce9f88fbf38fe77616667dcac04cd9059158734dba15f2a6cda32bdb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.1

Release files / fedrq-0.0.1-py3-none-any.whl

Download URL fedrq-0.0.1-py3-none-any.whl
Size 29.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
923e0e9296e85e25adf9123a50bf01ff6e063335c763f14a5eb5d5a77a81be3b
BLAKE2b-256 checksum
How to use checksums
956ac0a1f8b178b7dc0dcfc87370b5fe4c369989dfc3318523edc216cace668b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.1

Security for fedrq 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page