Skip to main content

lush-sqlalchemyx

SQLAlchemy(偏 asyncio) 的一组工具和封装. 这里的东西偏“工程向”: 解决常见的 session 管理、只读会话、以及一些重复写到吐的样板代码.

例子

一个最小的异步 MySQL 管理器:

import asyncio

from lush_sqlalchemyx.mgrs.mysql.manager import AsyncMySQLManager

async def main() -> None:
    mgr = AsyncMySQLManager("mysql+aiomysql://<user>:<password>@127.0.0.1:3306/<dbname>")
    ok = await mgr.health_check()
    print(ok)

    await mgr.close()


asyncio.run(main())

开发

uv sync -p 3.10 --frozen
uv run -p 3.10 pytest

Metadata

Release files for lush-sqlalchemyx 0.7.1

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

Source distribution (sdist)

Source distribution for lush-sqlalchemyx 0.7.1
File Size Uploaded Provenance Actions
lush_sqlalchemyx-0.7.1.tar.gz 36.3 kB Without provenance Details for lush_sqlalchemyx-0.7.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lush-sqlalchemyx 0.7.1
File Interpreter ABI Platform Actions
lush_sqlalchemyx-0.7.1-py3-none-any.whl Python 3 none any Details for lush_sqlalchemyx-0.7.1-py3-none-any.whl

Total release size: 83.0 kB

Release files / lush_sqlalchemyx-0.7.1.tar.gz

Download URL lush_sqlalchemyx-0.7.1.tar.gz
Size 36.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ad5b213c273a1d7634807a4eeee2f8da33457c2467a2a7c391ad863c2bec4bd5
BLAKE2b-256 checksum
How to use checksums
7da9e3adc48cecbd244f442803e1a7763d9165ce93ce9cfbeab8aad74629c9b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / lush_sqlalchemyx-0.7.1-py3-none-any.whl

Download URL lush_sqlalchemyx-0.7.1-py3-none-any.whl
Size 46.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5f1420cd8eff4829c30628ddac92a1453193c02b67d5adef6cd0fcf38a4e091d
BLAKE2b-256 checksum
How to use checksums
c95697f2959fbe042ae379691be506123075a879bf7de38ec92f9afe88c4ea7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for lush-sqlalchemyx 0.7.1

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