Skip to main content

Woodlark runtime adapters

Project description

woodlark

PyPI - Version PyPI - Python Version

Woodlark runtime adapters.

Installation

pip install woodlark

Usage

from woodlark.adapters.psycopg import PsycopgAdapter, PsycopgAsyncAdapter
from generated.queries import GetUser, GetUserParams, CountUsers

def get_user(adapter: PsycopgAdapter, user_id: int) -> GetUserRow:
    return adapter.execute(GetUser, GetUserParams(id=user_id))

async def count_users(adapter: PsycopgAsyncAdapter) -> int:
    return await adapter.execute(CountUsers)

License

woodlark is distributed under the terms of the Apache-2.0 license.

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

woodlark-0.1.0.tar.gz (16.8 kB view details)

Uploaded Source

Built Distribution

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

woodlark-0.1.0-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file woodlark-0.1.0.tar.gz.

File metadata

  • Download URL: woodlark-0.1.0.tar.gz
  • Upload date:
  • Size: 16.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for woodlark-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d5ea723a5e6a1f2804740da30ec02d15a68e58a02ff6a58568fe1c3e16d7c302
MD5 0aa231b15b0b62e76cccccc70568327c
BLAKE2b-256 81d677f010e216400e9354fcdc3de089eeb33fbb79d753bcdc3954123a3932ee

See more details on using hashes here.

Provenance

The following attestation bundles were made for woodlark-0.1.0.tar.gz:

Publisher: release.yml on xoudini/woodlark

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

File details

Details for the file woodlark-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: woodlark-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for woodlark-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 21f50a6f628bd170fb3960bdfbc91651089d9982142ebfe5658b7465142b41b7
MD5 83bcc7cf491f426cbf128002510f58d8
BLAKE2b-256 300b4f076f2747f8bc07cce87deb2fdb16235c5e7acb40da9ea4e2de4d22a2be

See more details on using hashes here.

Provenance

The following attestation bundles were made for woodlark-0.1.0-py3-none-any.whl:

Publisher: release.yml on xoudini/woodlark

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