Agnostic SQLAlchemy helper with engine registry, safe transactions, and pandas I/O.
Project description
anydbx
Agnostic SQLAlchemy helper with engine registry, safe transactions, and pandas I/O.
from pathlib import Path
from anydbx import load_config, fetch_df, write_df, execute
cfg = load_config(Path("credentials.cfg"), "wms") # INI section
# DDL / DML
execute("CREATE TABLE t (id INT)", name="wms", cfg=cfg)
# pandas -> SQL
import pandas as pd
df = pd.DataFrame({"id": [1,2,3]})
write_df(df, "t", name="wms", cfg=cfg)
# SQL -> pandas
rows = fetch_df("SELECT * FROM t", name="wms", cfg=cfg)
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 anydbx-0.1.1.tar.gz.
File metadata
- Download URL: anydbx-0.1.1.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f01d6d36b5f7acce6891cf393290350cd0dd1d6f83529b30dee9cd772d99d2e3
|
|
| MD5 |
012cdb8acacc4cac6c34456fa1470eff
|
|
| BLAKE2b-256 |
7e65e405a857ab733d9c96a196162fe75d5bbaaa22f6fd2187a8ca73e6ab66ac
|
Provenance
The following attestation bundles were made for anydbx-0.1.1.tar.gz:
Publisher:
publish.yml on nargotik/anydbx
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
anydbx-0.1.1.tar.gz -
Subject digest:
f01d6d36b5f7acce6891cf393290350cd0dd1d6f83529b30dee9cd772d99d2e3 - Sigstore transparency entry: 444235860
- Sigstore integration time:
-
Permalink:
nargotik/anydbx@3197f0cafee2be8115f390f62559e3d6e24fb62c -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/nargotik
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@3197f0cafee2be8115f390f62559e3d6e24fb62c -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file anydbx-0.1.1-py3-none-any.whl.
File metadata
- Download URL: anydbx-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17cbb9750e1e9d63a169cd7b51c429bc5f0395b54869d8c697c5caf24affd37d
|
|
| MD5 |
fdc21d2a97d1c51db476768d2711c76a
|
|
| BLAKE2b-256 |
2ab92064716aea12c8f46a3f82d0e44ef7b8178824ec891d8eac71114227d903
|
Provenance
The following attestation bundles were made for anydbx-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on nargotik/anydbx
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
anydbx-0.1.1-py3-none-any.whl -
Subject digest:
17cbb9750e1e9d63a169cd7b51c429bc5f0395b54869d8c697c5caf24affd37d - Sigstore transparency entry: 444235884
- Sigstore integration time:
-
Permalink:
nargotik/anydbx@3197f0cafee2be8115f390f62559e3d6e24fb62c -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/nargotik
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@3197f0cafee2be8115f390f62559e3d6e24fb62c -
Trigger Event:
workflow_dispatch
-
Statement type: