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.1.tar.gz (4.9 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.1-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sqlalchemy_db_helper-0.1.1.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.4 CPython/3.12.10 Linux/6.1.0-38-amd64

File hashes

Hashes for sqlalchemy_db_helper-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9779e175115befba8d928a56f75e3666ea838dbbb22a7eac84b51cda5242db44
MD5 c8e7fddf896fa2b2f3e8d097dc5bf069
BLAKE2b-256 6fa313d3a95bf745092816abb0ccfed881ccee300fded98e317edc5cf4812a4a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sqlalchemy_db_helper-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.4 CPython/3.12.10 Linux/6.1.0-38-amd64

File hashes

Hashes for sqlalchemy_db_helper-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c477cffe2cfd707f11b7a563d3eeff4deacb00c8ff5ad005be7b1ac44ba3c860
MD5 8ec52ce9f21d7354a2d6d1c06dee9c46
BLAKE2b-256 7a3b7dfa6200e4ca3c3d609bbc07e7be89c9d800aae7b5784ea45435f21ffcd5

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