Skip to main content

macss-modular-api-sqlserver

Official MACSS SQL Server integration package for Python.

Quick start

from modular_api_sqlserver import DbClient, DbCommand, DbCommandKind, DbConnectionSettings

settings = DbConnectionSettings.from_environment()

client = DbClient(
    settings=settings,
    session_provider=my_session_provider,
    command_executor=my_command_executor,
    transaction_runner=my_transaction_runner,
)

result = client.scalar(
    DbCommand(
        kind=DbCommandKind.SCALAR,
        text="select count(*) from users",
        label="users.count",
    )
)

if result.is_success:
    print(result.value.value)
else:
    print(result.failure.message)

See example/example.py for a complete in-memory wiring sample.

What this package provides

  • normalized SQL Server connection defaults and redacted summaries
  • engine-agnostic DbClient, DbRepository, and transaction contracts
  • explicit lease ownership semantics for package-owned and application-owned sessions
  • health contributor and GraphQL support bundle for higher-level integrations
  • the application supplies the driver binding (adapter) for its chosen engine and driver

This package is contracts-only by design and will never ship a driver binding; you choose your engine and driver and provide the adapter. See ADR-0004.

Metadata

Release files for macss-modular-api-sqlserver 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 macss-modular-api-sqlserver 0.7.1
File Size Uploaded Provenance Actions
macss_modular_api_sqlserver-0.7.1.tar.gz 10.7 kB Without provenance Details for macss_modular_api_sqlserver-0.7.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for macss-modular-api-sqlserver 0.7.1
File Interpreter ABI Platform Actions
macss_modular_api_sqlserver-0.7.1-py3-none-any.whl Python 3 none any Details for macss_modular_api_sqlserver-0.7.1-py3-none-any.whl

Total release size: 16.9 kB

Release files / macss_modular_api_sqlserver-0.7.1.tar.gz

Download URL macss_modular_api_sqlserver-0.7.1.tar.gz
Size 10.7 kB
Tags Source
SHA-256 checksum
How to use checksums
57f3529455758e1400da32efd2bdbc92a3d91790baae7661b0a3a60c1b3a9604
BLAKE2b-256 checksum
How to use checksums
14f4514ab234ad643a30136ea8ec24e8737301e669f926593dd444a155efab4e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

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

Download URL macss_modular_api_sqlserver-0.7.1-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ad43c6b7e84a32f3506885da92c1b4f86c9d9622a260dc938d2b3ad1e4dac17a
BLAKE2b-256 checksum
How to use checksums
f5a44ee12badeadce19f45b638961f12013107becc8967ea67de5acf82052e1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Security for macss-modular-api-sqlserver 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