Skip to main content

Basic tools for interacting with the database

This module provides tools for interacting with a database connection that are usable both from Zope and other modules.

As a first step, it has a Connection class that provides a unified execute method as well as a wrapper that can be used to pass a ZRDBConnection from Zope to obtain a similar class. Future increments will include CRUD functions for DB-Utils compatible database interactions.

Implement and run tests

If you add new functions place your tests below perfact/dbutils/tests. Implement your test using pytest.

You may have to install postgres if not already installed: sudo apt install postgresql-<version>

Now you can run your tests by running tox. All tests need to succeed and your tests need to cover 100% of the code. Tox will tell you which lines are missing.

Metadata

Release files for perfact-dbutils 1.9.0

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

Source distribution (sdist)

Source distribution for perfact-dbutils 1.9.0
File Size Uploaded Provenance
perfact_dbutils-1.9.0.tar.gz 36.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for perfact-dbutils 1.9.0
File Interpreter ABI Platform
perfact_dbutils-1.9.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 73.5 kB

Release files / perfact_dbutils-1.9.0.tar.gz

Download URL perfact_dbutils-1.9.0.tar.gz
Size 36.7 kB
Tags Source
SHA-256 checksum
How to use checksums
cd2ffa090a8aef22b93505123807f4058fdebedfe063a3676a0bee4a16f900cf
BLAKE2b-256 checksum
How to use checksums
efcd67a6ecf55eaa171b851bbd02256f365eeb742b077195947c9b0bc41f1fb9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / perfact_dbutils-1.9.0-py2.py3-none-any.whl

Download URL perfact_dbutils-1.9.0-py2.py3-none-any.whl
Size 36.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
2a137833ed0ada4666250bc25adebbd2e06b21cdea4d4cba84b6f5674dab4461
BLAKE2b-256 checksum
How to use checksums
41c7c3d4f344ae8234ada83d703e7b973ec418fd2430ee8232f378ffa0879880
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for perfact-dbutils 1.9.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.

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