Metadata-Version: 2.4
Name: pg-db-conn-manager
Version: 0.2.3
Summary: Add your description here
Author-email: QuentinDELRIVE <quentindelrive@gmail.com>
License: MIT
Project-URL: Homepage, https://github.com/QuentinDelrive/pg-db-conn
Project-URL: Issues, https://github.com/QuentinDelrive/pg-db-conn/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.11
Description-Content-Type: text/markdown
Requires-Dist: psycopg[binary]>=3.3.3

# pg-db-conn-manager
A simple package that wraps pgsql connection.  

# Copy simplified
Wraps the copy method. Simplifies the usage of the copy method. Autogenerate the query around the creation of the object.

# Use example
```python
from pg_db_manager import DBConnection, CopyDir

with DBConnection(host, password, database, user) as conn:
    with conn.copy(CopyDir.FROM) as cp:
        cp.write(data)
```
