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.7.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.7-py3-none-any.whl (19.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyfwapi-0.2.7.tar.gz
  • Upload date:
  • Size: 40.7 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.7.tar.gz
Algorithm Hash digest
SHA256 60db2ec29afd77f48ca7c2f5f7fe31241a30f4956884e09842c9a9275ac534c8
MD5 c83a095aa0e84976c789af5a345eef0a
BLAKE2b-256 c47971f94fccb1dcd59d3f82693b563b28741e62b11ae7ac7ee6812a8953b701

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pyfwapi-0.2.7-py3-none-any.whl
  • Upload date:
  • Size: 19.7 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 b04ace3be1ab1e8aa2db859e8f4c1bd96e4cec480ec4b710cc36be090b1eba70
MD5 11fe5abca605140bffc528ddc33bf36c
BLAKE2b-256 9f8e98c4b8a834159628c352e1999f4366adfeda3e0ddbf496c52581059e43d6

See more details on using hashes here.

Provenance

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