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.8.tar.gz (40.7 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.8-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pyfwapi-0.2.8.tar.gz
Algorithm Hash digest
SHA256 d999de8020643f44079f6e7a3f84edb7222e891f2da26807d71204a165a464c6
MD5 259b436bef285172152c60a0b9ef93f3
BLAKE2b-256 1c962a6f0cf644bbeb9ba0605c40b0948b7b8ccde4b998f463c249821b2b5945

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for pyfwapi-0.2.8-py3-none-any.whl
Algorithm Hash digest
SHA256 ba284bbd2824e08ace6ec99e74da914b3bac68aa80148e4431ef35bc9b0456b0
MD5 64005305f4568a920e077fdfd2d6456f
BLAKE2b-256 4a7b201f82ce83f00eba7a62347580e497d9c651d8cfda39847acd14386a54a1

See more details on using hashes here.

Provenance

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