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.3.tar.gz (16.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.3-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: woodlark-0.1.3.tar.gz
  • Upload date:
  • Size: 16.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.3.tar.gz
Algorithm Hash digest
SHA256 98d1d65d7461320ded5581d26a872b9528182e8db8e37de41a8cbb80cb7f1fb6
MD5 36f95f1512c6e86de4ec6b7afb198ab4
BLAKE2b-256 d27bd5895033c1ac5f64c830324df03cba973ebf9659f221317657e708b65d20

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: woodlark-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 9.3 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e237b9bb156470937622763c74565f88c874f3f1ec59ef46058a313044c499e2
MD5 d7646cbbba14f6154d6df33abb212355
BLAKE2b-256 7b224d7bb3c7833b9db0ef413e9f4b868c98d29210d4755d4332327769f061ba

See more details on using hashes here.

Provenance

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