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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
00ceeaec3f71556d15864f4c7d8f09cbcbe0028f5aaf8a1f0c0cb800d82ebd6c
|
|
| MD5 |
df8966c3ddb6656a89d29e4891aee98b
|
|
| BLAKE2b-256 |
c2e341e2bdf4c1ee49ce4591053e1cf36a6aca9e0201e68c88ab341857bfe384
|
Provenance
The following attestation bundles were made for pyfwapi-0.2.4.tar.gz:
Publisher:
python-publish.yml on redmer/pyfwapi
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyfwapi-0.2.4.tar.gz -
Subject digest:
00ceeaec3f71556d15864f4c7d8f09cbcbe0028f5aaf8a1f0c0cb800d82ebd6c - Sigstore transparency entry: 189343135
- Sigstore integration time:
-
Permalink:
redmer/pyfwapi@50242cd37df1f1c721ef690f416eefc218e7cd59 -
Branch / Tag:
refs/tags/v0.2.5 - Owner: https://github.com/redmer
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@50242cd37df1f1c721ef690f416eefc218e7cd59 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c9e4991aa6666e0a04a8ac7fb9c8e9028094cd86f3c5baf46013aab3ab5d78ef
|
|
| MD5 |
1c8f26f79362d1993dc086462ac3c788
|
|
| BLAKE2b-256 |
8ca8fb851c9a84d46fe0bc67000b81bc2d82d4ac69c75886a6f0eba0d0a8b85b
|
Provenance
The following attestation bundles were made for pyfwapi-0.2.4-py3-none-any.whl:
Publisher:
python-publish.yml on redmer/pyfwapi
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyfwapi-0.2.4-py3-none-any.whl -
Subject digest:
c9e4991aa6666e0a04a8ac7fb9c8e9028094cd86f3c5baf46013aab3ab5d78ef - Sigstore transparency entry: 189343136
- Sigstore integration time:
-
Permalink:
redmer/pyfwapi@50242cd37df1f1c721ef690f416eefc218e7cd59 -
Branch / Tag:
refs/tags/v0.2.5 - Owner: https://github.com/redmer
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@50242cd37df1f1c721ef690f416eefc218e7cd59 -
Trigger Event:
release
-
Statement type: