Skip to main content

Codacy Badge Codacy Badge Documentation Status Build Code style: black GitHub Gitter Libraries.io dependency status for GitHub repo Maintenance GitHub issues PyPI - Python Version PyPI Contribute with Codespaces OpenSSF Best Practices

DFetch can manage dependencies

We make products that can last 15+ years; because of this we want to be able to have all sources available to build the entire project from source without depending on external resources. For this, we needed a dependency manager that was flexible enough to retrieve dependencies as plain text from various sources. svn externals, git submodules and git subtrees solve a similar problem, but not in a VCS-agnostic way or completely user-friendly way. We want self-contained code repositories without any hassle for end-users. Dfetch must promote upstreaming changes, but allow for local customizations. The problem is described thoroughly in managing external dependencies and sometimes is also known as vendoring.

Other tools that do similar things are Zephyr's West, CMake ExternalProject and other meta tools. See alternatives for a complete list.

Getting started | Manual | Troubleshooting | Contributing

Install

Stable

pip install dfetch

latest version

pip install git+https://github.com/dfetch-org/dfetch.git#egg=dfetch

Binary distributions

Each release on the releases page provides installers for all major platforms.

  • Linux .deb & .rpm
  • macOS .pkg
  • Windows .msi

Github Action

You can use DFetch in your Github Actions workflow to check your dependencies. The results will be uploaded to Github. Add the following to your workflow file:

jobs:
  dfetch-check:
    runs-on: ubuntu-latest
    permissions:
      contents: read
      security-events: write
    steps:
      - name: Run Dfetch Check
        uses: dfetch-org/dfetch@main
        with:
          working-directory: '.' # optional, defaults to project root

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dfetch-0.11.0.tar.gz (2.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dfetch-0.11.0-py3-none-any.whl (77.7 kB view details)

Uploaded Python 3

File details

Details for the file dfetch-0.11.0.tar.gz.

File metadata

  • Download URL: dfetch-0.11.0.tar.gz
  • Upload date:
  • Size: 2.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.11

File hashes

Hashes for dfetch-0.11.0.tar.gz
Algorithm Hash digest
SHA256 f27b9e05e03e2e8b2097efc754359d530b4ec94b735d733ef91fb5d92d9442f8
MD5 4a05011b9f1c043e62163a5df41ffd7e
BLAKE2b-256 65ba2023165b656dc78ad9677881cb8c6163e3dcaf5c03ef6540a8522a48110d

See more details on using hashes here.

Provenance

The following attestation bundles were made for dfetch-0.11.0.tar.gz:

Publisher: python-publish.yml on dfetch-org/dfetch

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dfetch-0.11.0-py3-none-any.whl.

File metadata

  • Download URL: dfetch-0.11.0-py3-none-any.whl
  • Upload date:
  • Size: 77.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.11

File hashes

Hashes for dfetch-0.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8793ffd50899bdd59d9c2b299543d6516506d982a68decc7003622a3c20ede5f
MD5 d94a09622bab6227561bd16c57a14882
BLAKE2b-256 e0ccb980cf26c32d77f6b3664a6783a1060ce9e51422d77a9cfaf827b994f716

See more details on using hashes here.

Provenance

The following attestation bundles were made for dfetch-0.11.0-py3-none-any.whl:

Publisher: python-publish.yml on dfetch-org/dfetch

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 Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page