Basic tools for interacting with the database
Project description
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.
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 perfact_dbutils-1.7.0.tar.gz.
File metadata
- Download URL: perfact_dbutils-1.7.0.tar.gz
- Upload date:
- Size: 29.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca007c41db4377ed6d93cd6d64bab3c15af4430e9a65606586f43dac34d2885b
|
|
| MD5 |
f7cce1b3ef2644468ecdf0f8565b2a26
|
|
| BLAKE2b-256 |
8ec7eef046c71cc5d49ad75ab5e89f2d539bf24a7752896d6f36eedd35c7c548
|
File details
Details for the file perfact_dbutils-1.7.0-py2.py3-none-any.whl.
File metadata
- Download URL: perfact_dbutils-1.7.0-py2.py3-none-any.whl
- Upload date:
- Size: 27.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da423c4bd81c8d17674316401538ed7add9755200c63e3e1695c494a944ab457
|
|
| MD5 |
0bd36824ba2bdb0fa9c3bbea4298ee3b
|
|
| BLAKE2b-256 |
446c708abca660a83d9303fffb4c80f6ce8911b2f478fbbd5003f533535a63da
|