Hitobito JSON:API
Project description
JublaDB Python API
A package with generated code to access the Jubla DB API with Python code.
For more information, please visit the project page
Requirements
Python 3.10+
Installation
pip install
Install the latest release from PyPI:
pip install jubladb_api
Alternatively, you can install the development version directly from GitHub:
pip install git+https://github.com/Jungwacht-Herisau/jubladb_python_api.git
Getting started
import jubladb_api.client
import jubladb_api.metamodel
client = jubladb_api.client.create(url=jubladb_api.metamodel.API_INFO.default_server_url, api_key="xyz")
person = client.get_person(1234, include=["roles"])
print(f"Roles of {person.first_name} {person.last_name}:")
for role_key in person.roles:
role = client.get_role(role_key)
print(f" - {role.name}")
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 jubladb_api-0.2.0.tar.gz.
File metadata
- Download URL: jubladb_api-0.2.0.tar.gz
- Upload date:
- Size: 69.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
410eb6e1eab2796cf9198801d1787d79c38195edd0119524021ae2a47c504e4a
|
|
| MD5 |
41f73a9942b0071627d0273db03d8308
|
|
| BLAKE2b-256 |
5fe23fb6ca858e214cc90416694bd4df252801e761f12dbe4d89f9507be6f52f
|
Provenance
The following attestation bundles were made for jubladb_api-0.2.0.tar.gz:
Publisher:
python-publish.yml on Jungwacht-Herisau/jubladb_python_api
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
jubladb_api-0.2.0.tar.gz -
Subject digest:
410eb6e1eab2796cf9198801d1787d79c38195edd0119524021ae2a47c504e4a - Sigstore transparency entry: 821258962
- Sigstore integration time:
-
Permalink:
Jungwacht-Herisau/jubladb_python_api@a9f098d526d410a42481a81cabb22711666e8ecf -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/Jungwacht-Herisau
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@a9f098d526d410a42481a81cabb22711666e8ecf -
Trigger Event:
release
-
Statement type:
File details
Details for the file jubladb_api-0.2.0-py3-none-any.whl.
File metadata
- Download URL: jubladb_api-0.2.0-py3-none-any.whl
- Upload date:
- Size: 71.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3dd39528a2b8e6ec0ca48eeee0593bc48a3e40272ce05b3a4a5078ca829c4d88
|
|
| MD5 |
0c6c114d95e62f030b46246ea5eddba0
|
|
| BLAKE2b-256 |
b8c8e60c0957445c6cffeae02e0d94f27003e3c10156ae295bdffe05d0e776e9
|
Provenance
The following attestation bundles were made for jubladb_api-0.2.0-py3-none-any.whl:
Publisher:
python-publish.yml on Jungwacht-Herisau/jubladb_python_api
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
jubladb_api-0.2.0-py3-none-any.whl -
Subject digest:
3dd39528a2b8e6ec0ca48eeee0593bc48a3e40272ce05b3a4a5078ca829c4d88 - Sigstore transparency entry: 821258965
- Sigstore integration time:
-
Permalink:
Jungwacht-Herisau/jubladb_python_api@a9f098d526d410a42481a81cabb22711666e8ecf -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/Jungwacht-Herisau
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@a9f098d526d410a42481a81cabb22711666e8ecf -
Trigger Event:
release
-
Statement type: