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.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 perfact-dbutils 1.9.1
File Size Uploaded Provenance
perfact_dbutils-1.9.1.tar.gz 37.5 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 74.3 kB

Release files / perfact_dbutils-1.9.1.tar.gz

Download URL perfact_dbutils-1.9.1.tar.gz
Size 37.5 kB
Tags Source
SHA-256 checksum
How to use checksums
6b132b9398ced80139e44193935377f0faa7eb333615fe42a935e756313e0255
BLAKE2b-256 checksum
How to use checksums
ff818fe8f292c19228a4d053b0fe1597f6a8108b507d87f34d16b4fc3ee39bc9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.0

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

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

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