Skip to main content

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

sammler_sdk-1.0.0.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sammler_sdk-1.0.0-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

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

Hashes for sammler_sdk-1.0.0.tar.gz
Algorithm Hash digest
SHA256 5aaa176d3f9c6ad91887c19535841cae2b88efacf0b05d748f832bd82259d227
MD5 474257af051dbc0c48aa0d9ca8b3c00f
BLAKE2b-256 d7cdadcaff090ed73e3185d904dfa44feb8489fc3d0c17893c7c1b1216ad2416

See more details on using hashes here.

Provenance

The following attestation bundles were made for sammler_sdk-1.0.0.tar.gz:

Publisher: release-and-publish.yml on beverts312/sammler-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for sammler_sdk-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 963edb8efccf76daa30f3b6cfa7495bc68c2e3c36a95b32ce6e61c0f5e494bdc
MD5 26fbd51a8e4b96b265224c2028821e28
BLAKE2b-256 3900f3f76e068cd66951e628191085941e96d2da914bcf1156c4a1edf890ba4d

See more details on using hashes here.

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

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