Skip to main content

Build Status PyPI

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 or httpx.

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)

By default, an exception will be raised if any requests to unmocked addresses are made.

Using Docker to mock calls to Vuforia from any language

It is possible run a Mock VWS instance using Docker containers.

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.

Download files

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

Source Distribution

vws_python_mock-2026.8.4.2.tar.gz (188.7 kB view details)

Uploaded Source

Built Distribution

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

vws_python_mock-2026.8.4.2-py3-none-any.whl (82.2 kB view details)

Uploaded Python 3

File details

Details for the file vws_python_mock-2026.8.4.2.tar.gz.

File metadata

  • Download URL: vws_python_mock-2026.8.4.2.tar.gz
  • Upload date:
  • Size: 188.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for vws_python_mock-2026.8.4.2.tar.gz
Algorithm Hash digest
SHA256 bef391eb3425d1c7b43dcc32fb100895e600946c59ae67d0f2b21ea72be21fed
MD5 334787e2e4f684b9395588bad393b60a
BLAKE2b-256 ee6999975540207d2bb81c743f4325a67ac6609bcb18246a8a809cc0cb7ceab9

See more details on using hashes here.

Provenance

The following attestation bundles were made for vws_python_mock-2026.8.4.2.tar.gz:

Publisher: release.yml on VWS-Python/vws-python-mock

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

File details

Details for the file vws_python_mock-2026.8.4.2-py3-none-any.whl.

File metadata

File hashes

Hashes for vws_python_mock-2026.8.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b7c1b35beb8d3012e8b38c97fc3eaff4053e5f23f027aa3fc2874e3597e5100b
MD5 d5afce3fd78c256935c8ad819e62c49f
BLAKE2b-256 8fa2efa0f97a12dff30b4a9ebcb463364531e50be58790e052ceb109dd738cf6

See more details on using hashes here.

Provenance

The following attestation bundles were made for vws_python_mock-2026.8.4.2-py3-none-any.whl:

Publisher: release.yml on VWS-Python/vws-python-mock

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

Release history Release notifications | RSS feed

2026.8.26.1

2 files

2026.8.26

2 files

2026.8.14

2 files

This release

2026.8.4.2 This release

2 files

2026.8.4.1

2 files

2026.8.4

2 files

2026.4.26

2 files

2026.2.22.3

2 files

2026.2.22.2

2 files

2026.2.22.1

2 files

2026.2.22

2 files

2026.2.21

2 files

2026.2.18.2

2 files

2026.2.18.1

2 files

2026.2.18

2 files

2026.2.15.5

2 files

2026.2.15.4

2 files

2026.2.15.3

2 files

2026.2.15.2

2 files

2026.2.15.1

2 files

2026.2.15

2 files

2025.3.10.1

2 files

2025.3.10

2 files

2025.2.21

2 files

2025.2.18

2 files

2024.8.30

2 files

2024.7.15

2 files

2024.7.2.1

2 files

2024.2.16

2 files

2024.1.21

2 files

2023.5.21

2 files

2023.4.8

2 files

2023.3.26

2 files

2023.3.5

2 files

2021.12.27.3

2 files

2021.12.27.1

2 files

2021.12.27

2 files

2021.12.26.8

2 files

2021.12.26.6

2 files

2021.12.26.5

2 files

2021.12.26.4

2 files

2021.12.26.3

2 files

2021.12.26.2

2 files

2021.12.26.1

2 files

2021.12.26

2 files

2021.3.27.1

2 files

2020.10.3.0

2 files

2020.9.25.0

2 files

2019.12.27.0

2 files

2019.12.17.0

2 files

2019.12.7.1

2 files

2019.9.28.0

2 files

2018.12.1.0

2 files

2018.11.25.0

2 files

2018.10.2.0

2 files

2018.10.1.1

2 files

2018.9.23.1

2 files

2018.9.10.6

2 files

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