Skip to main content

No project description provided

Project description

Example:

from sqlalchemy_db_helper import db_startup, db_shutdown


async def startup() -> None:
    await db_startup("sqlite+aiosqlite:///projects/analytic.sqlite")


async def shutdown() -> None:
    await db_shutdown()


async def main() -> None:
    await startup()
    ...
    await shutdown()


if __name__ == "__main__":
    from asyncio import run

    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

sqlalchemy_db_helper-0.1.5.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

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

sqlalchemy_db_helper-0.1.5-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file sqlalchemy_db_helper-0.1.5.tar.gz.

File metadata

  • Download URL: sqlalchemy_db_helper-0.1.5.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.9 Windows/10

File hashes

Hashes for sqlalchemy_db_helper-0.1.5.tar.gz
Algorithm Hash digest
SHA256 b3a554de02ceb34bef7ec3f8f20a47bd6a505b4a913b91b149cf35f504bc4b5d
MD5 64b9319e110f1f0079a0b8fbc50397e6
BLAKE2b-256 4e9f7086ec80412c27fd771b3ba4b4c89f251e959615d7cc8ff469f0c0605379

See more details on using hashes here.

File details

Details for the file sqlalchemy_db_helper-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for sqlalchemy_db_helper-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 8c3428836a1068571e0ae2d17fb4b219cfd99822ce6ca3b38b471e2ef66c8491
MD5 0f7618e860505a7699bd1bd9533abcec
BLAKE2b-256 57f16dff448d0b59900f8e97d89bc48f86d8374bfe3c0d71c9ca996adec548a3

See more details on using hashes here.

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