Official MACSS SQL Server integration package for Python.
Project description
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.
Current slice
- 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
- real driver bindings intentionally remain outside this first slice
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file macss_modular_api_sqlserver-0.4.7.tar.gz.
File metadata
- Download URL: macss_modular_api_sqlserver-0.4.7.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c2220eff5f5a52040d7b70833d46ab382092e383cab14bdc977cb18dcb71929f
|
|
| MD5 |
1791584813e45d106bed3e7f9b84f790
|
|
| BLAKE2b-256 |
c85ae0e01615fde2f6f16b8abafd18abf371c78d00eca07907275faa48251cae
|
File details
Details for the file macss_modular_api_sqlserver-0.4.7-py3-none-any.whl.
File metadata
- Download URL: macss_modular_api_sqlserver-0.4.7-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d67dd7d6927c9c23ae70bbafccc79c233eb64cfe2e4803d73069467bf5295d04
|
|
| MD5 |
312a1ca187ec8c83e5645488a76f86bd
|
|
| BLAKE2b-256 |
2e22aa92b4f04a455db48ba51a7a15c2e30a0adeb2febc3c4f3fd3111f622de4
|