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.4.tar.gz (40.5 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.4-py3-none-any.whl (19.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pyfwapi-0.2.4.tar.gz
Algorithm Hash digest
SHA256 00ceeaec3f71556d15864f4c7d8f09cbcbe0028f5aaf8a1f0c0cb800d82ebd6c
MD5 df8966c3ddb6656a89d29e4891aee98b
BLAKE2b-256 c2e341e2bdf4c1ee49ce4591053e1cf36a6aca9e0201e68c88ab341857bfe384

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyfwapi-0.2.4.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.4-py3-none-any.whl.

File metadata

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

File hashes

Hashes for pyfwapi-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c9e4991aa6666e0a04a8ac7fb9c8e9028094cd86f3c5baf46013aab3ab5d78ef
MD5 1c8f26f79362d1993dc086462ac3c788
BLAKE2b-256 8ca8fb851c9a84d46fe0bc67000b81bc2d82d4ac69c75886a6f0eba0d0a8b85b

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyfwapi-0.2.4-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