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.6.tar.gz (20.9 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.6-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: woodlark-0.1.6.tar.gz
  • Upload date:
  • Size: 20.9 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.6.tar.gz
Algorithm Hash digest
SHA256 5511176c23b354221286aec76367ba658141af2b1854b8fb0c9207468184ad22
MD5 2771f2320d659ced653c4f3d2d09585f
BLAKE2b-256 83e677075d316e6636e9d724c1bdcfab1b41c6ad5d13b80a621b89f5bc265dfc

See more details on using hashes here.

Provenance

The following attestation bundles were made for woodlark-0.1.6.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.6-py3-none-any.whl.

File metadata

  • Download URL: woodlark-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 9.6 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 e5e7906ffdf41103c5c2985fdef8e20f1ee534597b719d7120636f7d5602600c
MD5 4e11fcac45646ec05310ff5769479964
BLAKE2b-256 f3e73b548441f8d91dd0d6b49975ba883709276e197c1f51f15bd084d26ee92c

See more details on using hashes here.

Provenance

The following attestation bundles were made for woodlark-0.1.6-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