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.8.0.tar.gz (31.2 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.8.0-py2.py3-none-any.whl (30.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file perfact_dbutils-1.8.0.tar.gz.

File metadata

  • Download URL: perfact_dbutils-1.8.0.tar.gz
  • Upload date:
  • Size: 31.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for perfact_dbutils-1.8.0.tar.gz
Algorithm Hash digest
SHA256 932c4fe6f3ad282f471340d19a69cbe8444c13c22747a2ee27cfceaf0f3069a1
MD5 4f5c03523442172a18b2edee188f7552
BLAKE2b-256 908d36515e96e94a3fb87cb2ff499f9bd57226186ba0815901badce3a1cbd85f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for perfact_dbutils-1.8.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e1c02ba457ba67d673f876655da9c0791aed6265bfb411584bb8be9502dc9ae8
MD5 06518ec858fbb5780e0bdcd7c6af870e
BLAKE2b-256 8958e0b4a36353b1da97640236364696622290662a3096d9a91885bd28c15cd9

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