Skip to main content

Database

This module was created to easily access different databases. Now it supports only Oracle connection, other DBs will be added in future versions.

Oracle

Examples:

  • use:
    from db.oracle import Oracle
    
    conn = Oracle(
        db='tns',
        username='user',
        password='pwd'
    )
    
    # query
    query = conn.sql(
        stmt='''
            select :test
            from DUAL d
        ''',
        params={
            'test': 123
        }
    )
    print(f'query: {query}')
    
    dml = conn.sql(
        stmt='''
            delete
            from TABLE_NAME tn
            where tn.ID > :id
        ''',
        params={
            'id': 1234
        }
    )
    print(f'dml: {dml}')
    
    plsql = conn.plsql(
        stmt='''
            begin
                :val2 := :val1 + 5;
                :val4 := :val4 + :val2;
            end;
        ''',
        params={
            'val1': 10,  # in-param
            'val4': 3  # in/out-param
        },
        params_out={
            'val2': int,  # out-param
            'val4': int  # in/out-param
        }
    )
    print(f'plsql: {plsql}')
    

Metadata

Release files for ruth-db 2022.0.0

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

Built distributions (wheels)

Table of built distributions (wheels) for ruth-db 2022.0.0
File Actions
ruth_db-2022.0.0-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for ruth_db-2022.0.0-cp313-cp313-win_amd64.whl
ruth_db-2022.0.0-cp313-cp313-musllinux_1_2_x86_64.whl CPython 3.13 CPython 3.13 Linux musl 1.2+ x86-64 Details for ruth_db-2022.0.0-cp313-cp313-musllinux_1_2_x86_64.whl
ruth_db-2022.0.0-cp313-cp313-musllinux_1_2_i686.whl CPython 3.13 CPython 3.13 Linux musl 1.2+ x86-32 Details for ruth_db-2022.0.0-cp313-cp313-musllinux_1_2_i686.whl
ruth_db-2022.0.0-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.5+ x86-64, Linux glibc 2.17+ x86-64 Details for ruth_db-2022.0.0-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
ruth_db-2022.0.0-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details for ruth_db-2022.0.0-cp313-cp313-macosx_11_0_arm64.whl
ruth_db-2022.0.0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for ruth_db-2022.0.0-cp312-cp312-win_amd64.whl
ruth_db-2022.0.0-cp312-cp312-musllinux_1_2_x86_64.whl CPython 3.12 CPython 3.12 Linux musl 1.2+ x86-64 Details for ruth_db-2022.0.0-cp312-cp312-musllinux_1_2_x86_64.whl
ruth_db-2022.0.0-cp312-cp312-musllinux_1_2_i686.whl CPython 3.12 CPython 3.12 Linux musl 1.2+ x86-32 Details for ruth_db-2022.0.0-cp312-cp312-musllinux_1_2_i686.whl
ruth_db-2022.0.0-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64, Linux glibc 2.5+ x86-64 Details for ruth_db-2022.0.0-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
ruth_db-2022.0.0-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for ruth_db-2022.0.0-cp312-cp312-macosx_11_0_arm64.whl
ruth_db-2022.0.0-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for ruth_db-2022.0.0-cp311-cp311-win_amd64.whl
ruth_db-2022.0.0-cp311-cp311-musllinux_1_2_x86_64.whl CPython 3.11 CPython 3.11 Linux musl 1.2+ x86-64 Details for ruth_db-2022.0.0-cp311-cp311-musllinux_1_2_x86_64.whl
ruth_db-2022.0.0-cp311-cp311-musllinux_1_2_i686.whl CPython 3.11 CPython 3.11 Linux musl 1.2+ x86-32 Details for ruth_db-2022.0.0-cp311-cp311-musllinux_1_2_i686.whl
ruth_db-2022.0.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64, Linux glibc 2.5+ x86-64 Details for ruth_db-2022.0.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
ruth_db-2022.0.0-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details for ruth_db-2022.0.0-cp311-cp311-macosx_11_0_arm64.whl

Total release size: 3.0 MB

Release files / ruth_db-2022.0.0-cp313-cp313-win_amd64.whl

Download URL ruth_db-2022.0.0-cp313-cp313-win_amd64.whl
Size 45.8 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
3274e2ae7252d521d776fd5274f053391b76bf3f8af326ed4338ca1c86bcaa1a
BLAKE2b-256 checksum
How to use checksums
5ed70db9c7ab0fc0e7ac33caad3123bd75571e6db0e1ee63c671b4edfaf73d6c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / ruth_db-2022.0.0-cp313-cp313-musllinux_1_2_x86_64.whl

Download URL ruth_db-2022.0.0-cp313-cp313-musllinux_1_2_x86_64.whl
Size 309.1 kB
Tags CPython 3.13 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
c4ea1dff2f6e3beb087d5b4d6c67a306ad10341f43465c3fdd6ba03c5087f574
BLAKE2b-256 checksum
How to use checksums
db771bba44b7699f8cda171407e893b2c030623c7ee5ff0d620db4d7b9163825
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / ruth_db-2022.0.0-cp313-cp313-musllinux_1_2_i686.whl

Download URL ruth_db-2022.0.0-cp313-cp313-musllinux_1_2_i686.whl
Size 297.1 kB
Tags CPython 3.13 Linux musl 1.2+ x86-32
SHA-256 checksum
How to use checksums
fbb3b02a45382d3f7806603050aceebd9032fa4f5e1a64b4800c8ce432e0925e
BLAKE2b-256 checksum
How to use checksums
914c9e03c288827a1743a75d081df734c6b27e480bed586f6838586be3193b4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / ruth_db-2022.0.0-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL ruth_db-2022.0.0-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 301.6 kB
Tags CPython 3.13 Linux glibc 2.17+ x86-64 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
134bb35374b5650b139efbdf2c0cd953273eb4103dcc1306d52fbe3e20b91c20
BLAKE2b-256 checksum
How to use checksums
46c1ea571fbc9b435004d161ac1ad7504bd5c0418dbd9ceaa36310903ac8a07d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / ruth_db-2022.0.0-cp313-cp313-macosx_11_0_arm64.whl

Download URL ruth_db-2022.0.0-cp313-cp313-macosx_11_0_arm64.whl
Size 48.8 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
74b8fe3c4d73e5e9644d1235dfb60e8669b7c7c7d6ca353c0e4ef12232c9026b
BLAKE2b-256 checksum
How to use checksums
304d22dfe5f7afaa7d6364b955218b1ae591c8dd0cb997b572bd26900a5f56ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / ruth_db-2022.0.0-cp312-cp312-win_amd64.whl

Download URL ruth_db-2022.0.0-cp312-cp312-win_amd64.whl
Size 46.0 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
93e7c5c4f6fbedacc96180dc8dd40f92fd1c640054190372d65713de6a1accb5
BLAKE2b-256 checksum
How to use checksums
a914d619d07d8ff74a8c15cd7ab1211c8fff6f8a95cf19d7e256c44a4ddc378e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / ruth_db-2022.0.0-cp312-cp312-musllinux_1_2_x86_64.whl

Download URL ruth_db-2022.0.0-cp312-cp312-musllinux_1_2_x86_64.whl
Size 315.1 kB
Tags CPython 3.12 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
218f0d27595b6859e8ad8986c3600f8133f1d63b1079883b6f6ee770f863dc1e
BLAKE2b-256 checksum
How to use checksums
cdc24b2f35241417af7e05000fab6cc49d3c2084e7b3ccb3562d61a9b9b40c6f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / ruth_db-2022.0.0-cp312-cp312-musllinux_1_2_i686.whl

Download URL ruth_db-2022.0.0-cp312-cp312-musllinux_1_2_i686.whl
Size 302.7 kB
Tags CPython 3.12 Linux musl 1.2+ x86-32
SHA-256 checksum
How to use checksums
5ea9aee2103a9769bc657f7a5e225a8e5baadf345ed306ea535190bc7b2f243c
BLAKE2b-256 checksum
How to use checksums
4322f8fc58eab9da1c034ab3920fda2762b35147fd5ae8650fb6a71688c7beab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / ruth_db-2022.0.0-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL ruth_db-2022.0.0-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 300.2 kB
Tags CPython 3.12 Linux glibc 2.17+ x86-64 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
84e2b13de8bf0dc6cdccae5cee72f7affdc384a40478c12f343dbbe1d4b59b36
BLAKE2b-256 checksum
How to use checksums
f1650cdea3a501c2a8982b89b8ad2e989e9cbf88da35c3d39b8d410f38cc155f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / ruth_db-2022.0.0-cp312-cp312-macosx_11_0_arm64.whl

Download URL ruth_db-2022.0.0-cp312-cp312-macosx_11_0_arm64.whl
Size 49.1 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
02dbf8c4782d686e48d959d0535d6479fc109506fe8050711ee6ad5d6335edba
BLAKE2b-256 checksum
How to use checksums
73662b8586a602b7880b11a822280330f2726b4d0c6494c42428d48afa8c39bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / ruth_db-2022.0.0-cp311-cp311-win_amd64.whl

Download URL ruth_db-2022.0.0-cp311-cp311-win_amd64.whl
Size 47.2 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
58da819c53d12c66b215f19d7898bee98441775acaf08574c0550fe0c8cdfb61
BLAKE2b-256 checksum
How to use checksums
9e36bbdafbe942c65007781c7165fdafab6eb78e4c6127bcdc41a907cba7151d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / ruth_db-2022.0.0-cp311-cp311-musllinux_1_2_x86_64.whl

Download URL ruth_db-2022.0.0-cp311-cp311-musllinux_1_2_x86_64.whl
Size 310.9 kB
Tags CPython 3.11 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
2e6f92f795074c9c573790c2a8bd7f760988117c61ca7f1c4124f8d45373c257
BLAKE2b-256 checksum
How to use checksums
94c4c3d2541d0fadbb755a619938c543bf4fd391e72db2e516bdf2fcc3031a77
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / ruth_db-2022.0.0-cp311-cp311-musllinux_1_2_i686.whl

Download URL ruth_db-2022.0.0-cp311-cp311-musllinux_1_2_i686.whl
Size 304.9 kB
Tags CPython 3.11 Linux musl 1.2+ x86-32
SHA-256 checksum
How to use checksums
523576fa122d7fb4384751b68396254c24d9659560f279c05cc2c251612ac319
BLAKE2b-256 checksum
How to use checksums
ff730f0f8ee921ff64129b0b4b365f0bcc5f17a2f5b44eb6a512bb86f24efb1c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / ruth_db-2022.0.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL ruth_db-2022.0.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 298.4 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
0890982256e7d484cceec7899263c2d2878505072c10daaf6bc42cc4826672cc
BLAKE2b-256 checksum
How to use checksums
2d9cdfa139364b9bb695034daefe0a6394cb7e0000616e048118fef492cbdbab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / ruth_db-2022.0.0-cp311-cp311-macosx_11_0_arm64.whl

Download URL ruth_db-2022.0.0-cp311-cp311-macosx_11_0_arm64.whl
Size 49.4 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
aa067d2e6ea3120a4fb1daebe32b659556844d93906952a5c4e9e5b7319ea790
BLAKE2b-256 checksum
How to use checksums
e7a798de6aa92720c7490b5bf5b6591fcdf360c47013ee97044f09a770280204
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Security for ruth-db 2022.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.

Release history Release notifications | RSS feed

This release

2022.0.0 This release

15 release files No provenance

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