Python SDK for interacting with Sammler GraphQL API
Project description
Sammler Python SDK
Python client for interacting with the Sammler GraphQL API.
Installation
pip install .
Code Generation
To regenerate the client using ariadne-codegen:
# Set up a virtual environment
python3 -m venv .venv
source .venv/bin/activate
# Install tools
pip install ariadne-codegen[http]
# Generate client
ariadne-codegen
Usage
import asyncio
from sammler import SammlerClient
async def main():
async with SammlerClient(api_key="your_api_key") as client:
collections = await client.get_collections()
for col in collections:
print(col.name)
if __name__ == "__main__":
asyncio.run(main())
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 sammler_sdk-1.0.0.tar.gz.
File metadata
- Download URL: sammler_sdk-1.0.0.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5aaa176d3f9c6ad91887c19535841cae2b88efacf0b05d748f832bd82259d227
|
|
| MD5 |
474257af051dbc0c48aa0d9ca8b3c00f
|
|
| BLAKE2b-256 |
d7cdadcaff090ed73e3185d904dfa44feb8489fc3d0c17893c7c1b1216ad2416
|
Provenance
The following attestation bundles were made for sammler_sdk-1.0.0.tar.gz:
Publisher:
release-and-publish.yml on beverts312/sammler-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sammler_sdk-1.0.0.tar.gz -
Subject digest:
5aaa176d3f9c6ad91887c19535841cae2b88efacf0b05d748f832bd82259d227 - Sigstore transparency entry: 1740800344
- Sigstore integration time:
-
Permalink:
beverts312/sammler-sdk@91ac25e479f02b72466dcf5accfc3eab86c5b0a4 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/beverts312
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-and-publish.yml@91ac25e479f02b72466dcf5accfc3eab86c5b0a4 -
Trigger Event:
push
-
Statement type:
File details
Details for the file sammler_sdk-1.0.0-py3-none-any.whl.
File metadata
- Download URL: sammler_sdk-1.0.0-py3-none-any.whl
- Upload date:
- Size: 10.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
963edb8efccf76daa30f3b6cfa7495bc68c2e3c36a95b32ce6e61c0f5e494bdc
|
|
| MD5 |
26fbd51a8e4b96b265224c2028821e28
|
|
| BLAKE2b-256 |
3900f3f76e068cd66951e628191085941e96d2da914bcf1156c4a1edf890ba4d
|
Provenance
The following attestation bundles were made for sammler_sdk-1.0.0-py3-none-any.whl:
Publisher:
release-and-publish.yml on beverts312/sammler-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sammler_sdk-1.0.0-py3-none-any.whl -
Subject digest:
963edb8efccf76daa30f3b6cfa7495bc68c2e3c36a95b32ce6e61c0f5e494bdc - Sigstore transparency entry: 1740800355
- Sigstore integration time:
-
Permalink:
beverts312/sammler-sdk@91ac25e479f02b72466dcf5accfc3eab86c5b0a4 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/beverts312
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-and-publish.yml@91ac25e479f02b72466dcf5accfc3eab86c5b0a4 -
Trigger Event:
push
-
Statement type: