Skip to main content

SQLA-Wrapper

A friendly wrapper for modern SQLAlchemy (v1.4 or later) and Alembic.

Documentation: https://sqla-wrapper.scaletti.dev/

Includes:

  • A SQLAlchemy wrapper, that does all the SQLAlchemy setup and gives you:

    • A scoped session extended with some useful active-record-like methods.
    • A declarative base class.
    • A helper for performant testing with a real database.
    from sqla_wrapper import SQLAlchemy
    
    db = SQLAlchemy("sqlite:///db.sqlite", **options)
    # You can also use separated host, name, etc.
    # db = SQLAlchemy(user=…, password=…, host=…, port=…, name=…)
    
  • An Alembic wrapper that loads the config from your application instead of from separated alembic.ini and env.py files.

    from sqla_wrapper import Alembic, SQLAlchemy
    
    db = SQLAlchemy(…)
    alembic = Alembic(db, "db/migrations")
    

Metadata

Release files for sqla-wrapper 6.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sqla-wrapper 6.0.0
File Size Uploaded Provenance Actions
sqla_wrapper-6.0.0.tar.gz 10.3 kB Without provenance Details for sqla_wrapper-6.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sqla-wrapper 6.0.0
File Interpreter ABI Platform Actions
sqla_wrapper-6.0.0-py3-none-any.whl Python 3 none any Details for sqla_wrapper-6.0.0-py3-none-any.whl

Total release size: 21.6 kB

Release files / sqla_wrapper-6.0.0.tar.gz

Download URL sqla_wrapper-6.0.0.tar.gz
Size 10.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4159aed7aa391d5a664574230fc2c9f6185eb7f1d10852495aadecff55864ac7
BLAKE2b-256 checksum
How to use checksums
305111f64faa47de983e75b03c1d8f7cc9e7b2e8254e6406e667eae4a2963384
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.2 CPython/3.9.16 Linux/5.15.0-1031-azure

Release files / sqla_wrapper-6.0.0-py3-none-any.whl

Download URL sqla_wrapper-6.0.0-py3-none-any.whl
Size 11.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
39665c54c310a40832bf79db36c6c4230d5654a73b109847203cd6b98c93af95
BLAKE2b-256 checksum
How to use checksums
92f664a83b9b5a58ca1b9ac7f174ce577df977f8998044cf707cf10fc192c681
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.2 CPython/3.9.16 Linux/5.15.0-1031-azure

Security for sqla-wrapper 6.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page