qfield-fetch
Downloads QField release AppImages, and QField and QFieldCloud sources, into one cache. pytest-qfield and pytest-qfield-app 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-app 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.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| qfield_fetch-0.1.0.tar.gz | 15.1 kB | Without provenance | Details for qfield_fetch-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| qfield_fetch-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for qfield_fetch-0.1.0-py3-none-any.whl |
Total release size: 32.9 kB
Release files / qfield_fetch-0.1.0.tar.gz
| Download URL | qfield_fetch-0.1.0.tar.gz |
|---|---|
| Size | 15.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
13f6fe0d89a8994847a23b2023f45a0c7cbbc386957873495fce5b9b7193579f
|
|
BLAKE2b-256 checksum How to use checksums |
3c4560fd1eea74d6aaa3141e0f1df880c236ea6fa8a0f933f1105c7ecca3c8e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","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.1.0-py3-none-any.whl
| Download URL | qfield_fetch-0.1.0-py3-none-any.whl |
|---|---|
| Size | 17.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c07d4d11472a9f4e6442390bdf0327c8b89dd94c460a186631ce97550f7c0739
|
|
BLAKE2b-256 checksum How to use checksums |
415048831e050cb8bbbc425f00c02b5ab742bb259bfa54a1adccc8f1194cff81
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","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.1.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.