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

Uploaded Python 3

File details

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

File metadata

  • Download URL: sqlalchemy_db_helper-0.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 695d85110661c181be4ccdba786ef2a24e862f1c6828bbd86e5f811905972f45
MD5 a5a85784912b6b77e35d2be749398520
BLAKE2b-256 1d181d03ec0273b240cae75277a3711bd5fd57832023fc2323888e7c52b06baf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqlalchemy_db_helper-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 666876d253f78a6936c6e937062d070507a18cc4abbd078bb384cc60a8f2c172
MD5 fe8f0852caaf18f4240b44a7e352732d
BLAKE2b-256 0c4a8ea40fcb1e97e98ac23b94667e23fb87be096229910d19011a760f576b11

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