Skip to main content

DBManager.py

PyVersion

A library for Database Management that makes our development easier.

Compatibility

This module supports connections with MySQL, PostgreSQL, SQL Server and SQLite3.

Features

The module manage almost everything by itself, this means Opening/Closing connections, cursors and managing of Commits.
Some of its features are:

  • execute(sql): Executes either an SQL sentence or a .sql file. It also can return values from a SELECT.
  • select(table, columns, condition, order): This method will return a list of selected values or just a value if ResultSet turns out to be just one.
  • insert(table, values): Inserts values into a table by the folowwing syntax: insert("test", id=12, name="LeCuay", money=32.12).
  • update(table, condition, sets): Updates rows by the following syntax: update("test", "name like '%Cuai%'", name="LeCuay", id=1, money=122.53).
  • create_table(table, values): Creates a table with the params in values by the following syntax: create_table("test", id="INTEGER PRIMARY KEY", name="VARCHAR(255)".
  • create_database(dbname): Manage the creation of a Database and its Isolation levels.
  • callproc(name, params): Calls a stored procedure from the Database.

To-do List

  • Add compatibility with OracleDB.
  • Add compatibility with MongoDB.
  • Add more specific features for each Connection.

Metadata

Release files for DBManager 0.1.3

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

Source distribution (sdist)

Source distribution for DBManager 0.1.3
File Size Uploaded Provenance Actions
DBManager-0.1.3.tar.gz 6.3 kB Without provenance Details for DBManager-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for DBManager 0.1.3
File Interpreter ABI Platform Actions
DBManager-0.1.3-py3-none-any.whl Python 3 none any Details for DBManager-0.1.3-py3-none-any.whl

Total release size: 13.3 kB

Release files / DBManager-0.1.3.tar.gz

Download URL DBManager-0.1.3.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
917838e2fd5b18e9ea30dd450ee39bd83d4a0712f52ca45c25c7fde8cd0ba2b9
BLAKE2b-256 checksum
How to use checksums
ca990ec18006092cf6d309883e7ec9549d926b047e509b01c8e3d13af2ae16af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.0

Release files / DBManager-0.1.3-py3-none-any.whl

Download URL DBManager-0.1.3-py3-none-any.whl
Size 7.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
85fcb975d45d8e755ccd192fad773641d90c616ecd53c997c8c4bb08992f7551
BLAKE2b-256 checksum
How to use checksums
98f1aff6f7767528445784c40d01f5cec7f6adcb10a78e275e2dbf31cb44354b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.0

Security for DBManager 0.1.3

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