Skip to main content

qfield-fetch

Downloads QField release AppImages, and QField and QFieldCloud sources, into one cache. pytest-qfield and qfield-driver fetch through it, and the command line manages the same cache.

Each entry is fetched once, even by parallel processes such as pytest-xdist workers. Sources are shallow clones of the one ref asked for (git clone --depth=1 --branch=<ref>).

Install

pip install qfield-fetch

Fetching AppImages needs Linux. Cloning needs git.

Command line

qfield-fetch appimage 4.2.9          # prints .../appimage/4.2.9/AppRun
qfield-fetch source 4.2.9            # tag v4.2.9, prints the checkout
qfield-fetch source master --update  # a branch, cloned again after it moved
qfield-fetch qfieldcloud latest      # newest QFieldCloud release
qfield-fetch list
qfield-fetch remove source v4.2.9

Versions take an optional v, and latest is the newest release. qff is a short alias of qfield-fetch.

Cache

~/.cache/qfield-fetch (or $XDG_CACHE_HOME/qfield-fetch) by default. Set QFIELD_FETCH_CACHE_DIR, or pass --cache-dir, to use another one.

appimage/4.2.9/AppRun
source/v4.2.9/
qfieldcloud/v26.30/

Python

from qfield_fetch import appimage, qfield_source, qfieldcloud_source

app_run = appimage("4.2.9")
checkout = qfield_source("release-4_3", update=True)

Pytest options

The package registers options that pytest-qfield and pytest-qfield-e2e share:

Option Env Ini
--qfield-version QFIELD_VERSION qfield_version
QFIELD_FETCH_CACHE_DIR qfield_fetch_cache_dir, relative to the rootdir

The option wins over the env, and the env over the ini. The qfield_fetch_cache_dir fixture returns the cache in use.

Metadata

Release files for qfield-fetch 0.2.0

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

Source distribution (sdist)

Source distribution for qfield-fetch 0.2.0
File Size Uploaded Provenance Actions
qfield_fetch-0.2.0.tar.gz 15.2 kB Without provenance Details for qfield_fetch-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for qfield-fetch 0.2.0
File Interpreter ABI Platform Actions
qfield_fetch-0.2.0-py3-none-any.whl Python 3 none any Details for qfield_fetch-0.2.0-py3-none-any.whl

Total release size: 33.0 kB

Release files / qfield_fetch-0.2.0.tar.gz

Download URL qfield_fetch-0.2.0.tar.gz
Size 15.2 kB
Tags Source
SHA-256 checksum
How to use checksums
05488e85c9aa5a1794a61a9a2fd2473fd338fae7892b96a0d10c9b85c1918cac
BLAKE2b-256 checksum
How to use checksums
ee5d6d31a59a070b57ed86044d715497a1cd941278923611f46a6a079eb0fb9d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"EndeavourOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / qfield_fetch-0.2.0-py3-none-any.whl

Download URL qfield_fetch-0.2.0-py3-none-any.whl
Size 17.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c89221ff89eb7ca42bbe057a7f9d99b1c76e4524cf4b0ca8aab30b4aee7f806d
BLAKE2b-256 checksum
How to use checksums
6bf03bec2e4f7616ff6044748ad354cef7676871a6e69e9b1a9498c55ff9cf56
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"EndeavourOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for qfield-fetch 0.2.0

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