Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

perfact_dbutils-1.7.0.tar.gz (29.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

perfact_dbutils-1.7.0-py2.py3-none-any.whl (27.8 kB view details)

Uploaded Python 2Python 3

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

Hashes for perfact_dbutils-1.7.0.tar.gz
Algorithm Hash digest
SHA256 ca007c41db4377ed6d93cd6d64bab3c15af4430e9a65606586f43dac34d2885b
MD5 f7cce1b3ef2644468ecdf0f8565b2a26
BLAKE2b-256 8ec7eef046c71cc5d49ad75ab5e89f2d539bf24a7752896d6f36eedd35c7c548

See more details on using hashes here.

File details

Details for the file perfact_dbutils-1.7.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for perfact_dbutils-1.7.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 da423c4bd81c8d17674316401538ed7add9755200c63e3e1695c494a944ab457
MD5 0bd36824ba2bdb0fa9c3bbea4298ee3b
BLAKE2b-256 446c708abca660a83d9303fffb4c80f6ce8911b2f478fbbd5003f533535a63da

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page