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.2.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.2-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: woodlark-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 3b9d5943a4eadf45f2faa889622ba2d6fc24401b5a8081a40adb1d93de2113ac
MD5 ef4a88af9ad45eca1fdd09e7afac65ff
BLAKE2b-256 d74625aad4b861e562bea17ef2556b8b1ed95d8a97d25984994d14b844f38405

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: woodlark-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 02d3e4295aa87ba42b35abb33d77b0511e805dd1f6fcdf79129eafbd70d0c483
MD5 2016a94618163abbf04a29fc7c9753c5
BLAKE2b-256 473dda78541d9b1ccc8860db7581913921b9681ff5fc94bde5c926746ff8f5f0

See more details on using hashes here.

Provenance

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