Skip to main content

Work with the Fotoware API in Python

Project description

pyfwapi

Work with the Fotoware API in Python.

Examples

>>> from pyfwapi import Tenant
... fw = Tenant("https://tenant.example.org", client_id="abd123", client_secret="sekret")
...
... async for archive in fw.archives():
...     print(a.name)
Marketing
Technical docs

Design considerations

The API responses are parsed using Pydantic. It's a hefty dependency, but -- for now -- allows easy parsing of the JSON responses. And it also enables easy integration with FastAPI.

Explorations of attrs, cattrs, and msgspec failed to quickly result in satisfactory objects from the API JSON responses.

Project details


Download files

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

Source Distribution

pyfwapi-0.2.10.tar.gz (65.4 kB view details)

Uploaded Source

Built Distribution

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

pyfwapi-0.2.10-py3-none-any.whl (19.9 kB view details)

Uploaded Python 3

File details

Details for the file pyfwapi-0.2.10.tar.gz.

File metadata

  • Download URL: pyfwapi-0.2.10.tar.gz
  • Upload date:
  • Size: 65.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pyfwapi-0.2.10.tar.gz
Algorithm Hash digest
SHA256 8aeff9afca552b84965accc6b25c62ec705ec8e77e33d55d7047e60d13a432aa
MD5 82ccc5b1caf6e46e4f54f35a05e4bb9a
BLAKE2b-256 e6d48c733f87c02cd0c1e19affe6e29f69b2d16f0c297e23d93ae19bd7fc62fe

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyfwapi-0.2.10.tar.gz:

Publisher: python-publish.yml on redmer/pyfwapi

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

File details

Details for the file pyfwapi-0.2.10-py3-none-any.whl.

File metadata

  • Download URL: pyfwapi-0.2.10-py3-none-any.whl
  • Upload date:
  • Size: 19.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pyfwapi-0.2.10-py3-none-any.whl
Algorithm Hash digest
SHA256 c0ddd63980313d3cb4bf0d08c66b6f3e16305269e1a85d9d24bca2966c445373
MD5 ed1a034734a95d8678456a9e2fb04e12
BLAKE2b-256 e3c7cb9ca2f28f323b36ac6388b08d19a6cb8d0a586a66386ceeee4295a947b6

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyfwapi-0.2.10-py3-none-any.whl:

Publisher: python-publish.yml on redmer/pyfwapi

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

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page