VWS Mock
Mock for the Vuforia Web Services (VWS) API, the Vuforia Web Query API, and the Model Target Web API.
Mocking calls made to Vuforia
MockVWS intercepts requests made with requests, httpx or HTTPX2.
pip install vws-python-mock
This requires Python 3.14+.
"""Make a request to the Vuforia Web Services API mock."""
import requests
from mock_vws import MockVWS
from mock_vws.database import CloudDatabase
with MockVWS() as mock:
database = CloudDatabase()
mock.add_cloud_database(cloud_database=database)
# This will use the Vuforia mock.
_ = requests.get(url="https://vws.vuforia.com/summary", timeout=30)
MockVWS also intercepts httpx requests:
"""Make a request to the Vuforia Web Services API mock using httpx."""
import httpx
from mock_vws import MockVWS
from mock_vws.database import CloudDatabase
with MockVWS() as mock:
database = CloudDatabase()
mock.add_cloud_database(cloud_database=database)
# This will use the Vuforia mock.
_ = httpx.get(url="https://vws.vuforia.com/summary", timeout=30)
MockVWS also intercepts HTTPX2 requests, with no need for httpx2.alias_httpx():
"""Make a request to the Vuforia Web Services API mock using httpx2."""
import httpx2
from mock_vws import MockVWS
from mock_vws.database import CloudDatabase
with MockVWS() as mock:
database = CloudDatabase()
mock.add_cloud_database(cloud_database=database)
# This will use the Vuforia mock.
_ = httpx2.get(url="https://vws.vuforia.com/summary", timeout=30)
Asynchronous httpx and HTTPX2 clients are intercepted as well.
By default, an exception will be raised if any requests to unmocked addresses are made.
Using containers to mock calls to Vuforia from any language
You can run a Mock VWS instance using Docker or Apple’s container CLI.
This allows you to run tests against a mock VWS instance regardless of the language or tooling you are using.
See the the instructions for how to do this.
Full documentation
See the full documentation. This includes details on how to use the mock, options, and details of the differences between the mock and the real Vuforia Web Services.
Metadata
Release files for vws-python-mock 2026.10.13.1
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 |
|---|---|---|---|---|
| vws_python_mock-2026.10.13.1.tar.gz | 429.1 kB | With provenance | Details for vws_python_mock-2026.10.13.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vws_python_mock-2026.10.13.1-py3-none-any.whl | Python 3 | none | any | Details for vws_python_mock-2026.10.13.1-py3-none-any.whl |
Total release size: 552.3 kB
Release files / vws_python_mock-2026.10.13.1.tar.gz
| Download URL | vws_python_mock-2026.10.13.1.tar.gz |
|---|---|
| Size | 429.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c5947e5db43ed309c8e16236280cc2869ff7a372bac9158ec166d90333ca8597
|
|
BLAKE2b-256 checksum How to use checksums |
8ed4870f77aa11eb69d2cb765619d5bcd72dad2d1b1eb9337c0048f96229b6b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.
Transparency logRelease files / vws_python_mock-2026.10.13.1-py3-none-any.whl
| Download URL | vws_python_mock-2026.10.13.1-py3-none-any.whl |
|---|---|
| Size | 123.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
93acbb2076be181714cd1cc983da2997369446f811bd06bb8db9a17bd176a4fe
|
|
BLAKE2b-256 checksum How to use checksums |
9d4e8c322762652741546567859ea70d4bf3260eaf97b5a3be42fc0f580f5708
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.
Transparency logSecurity for vws-python-mock 2026.10.13.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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for vws_python_mock-2026.10.13.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.
Transparency logA 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.