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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyfwapi-0.2.9.tar.gz
  • Upload date:
  • Size: 65.3 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.9.tar.gz
Algorithm Hash digest
SHA256 790ef65cd973eaea3c38fba6ed6afb52b86b5ffaf97be9766f2a853310f6dd6a
MD5 597b1d179898a76191e37208fb4c4656
BLAKE2b-256 2ec15e506c4894f3f505b42d5a823693b4b2bb51290900941c4d1c5189ecac13

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pyfwapi-0.2.9-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.12

File hashes

Hashes for pyfwapi-0.2.9-py3-none-any.whl
Algorithm Hash digest
SHA256 a0c3aa02f99c054cf015065eec8fef33fa0e40ea924e68a1237bb3af1ec0ab3a
MD5 c7af9b5b10a4c0c0bf7ba89641ca1106
BLAKE2b-256 d3ca9e1327f6c02a6fc38e1a07bde78f78e68aa35052f400fd58ea6995283bc4

See more details on using hashes here.

Provenance

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