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.

latest asks the GitHub API, with GITHUB_TOKEN if it is set, as anonymous calls are limited to 60 an hour. When the API fails, the release page's redirect is followed, and when GitHub cannot be reached at all, the newest AppImage in the cache is used.

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.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 qfield-fetch 0.2.1
File Size Uploaded Provenance Actions
qfield_fetch-0.2.1.tar.gz 15.8 kB Without provenance Details for qfield_fetch-0.2.1.tar.gz

Built distribution (wheel)

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

Total release size: 34.2 kB

Release files / qfield_fetch-0.2.1.tar.gz

Download URL qfield_fetch-0.2.1.tar.gz
Size 15.8 kB
Tags Source
SHA-256 checksum
How to use checksums
02083477099986ec13da0e8667231db3122c603481a9e287ef3158848d95ee9b
BLAKE2b-256 checksum
How to use checksums
d85dd1877a3c72097e076ce0fbb5e75015e75c0881fe9af67b1d122a0d3a5bd8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

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

Download URL qfield_fetch-0.2.1-py3-none-any.whl
Size 18.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0ddb4c48397c0d234dd887851cab4d60ac660b61d9d583836fa040149422e92a
BLAKE2b-256 checksum
How to use checksums
64539efb4c00fd5e92d0e37f43c5134a75918d9cb78ff794a40d63c750af9da9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for qfield-fetch 0.2.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