https://github.com/viktorsapozhok/pgcom
Communication manager for PostgreSQL database
https://github.com/viktorsapozhok/pgcom
docker-compose pandas postgres postgresql psycopg
Last synced: 5 months ago
JSON representation
Communication manager for PostgreSQL database
- Host: GitHub
- URL: https://github.com/viktorsapozhok/pgcom
- Owner: viktorsapozhok
- License: mit
- Created: 2020-01-01T17:43:38.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-04-04T14:35:31.000Z (about 4 years ago)
- Last Synced: 2025-09-25T10:41:39.714Z (9 months ago)
- Topics: docker-compose, pandas, postgres, postgresql, psycopg
- Language: Python
- Homepage: https://pgcom.readthedocs.io
- Size: 174 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.rst
- License: LICENSE
Awesome Lists containing this project
README
# pgcom
[](https://travis-ci.org/viktorsapozhok/pgcom)
[](https://pypi.python.org/pypi/pgcom)
[](https://pgcom.readthedocs.io/en/latest/?badge=latest)
[](https://opensource.org/licenses/MIT)
[](https://github.com/psf/black)
Communication manager for PostgreSQL database, provides a collection of convenience
wrappers over Psycopg adapter to simplify the usage of basic Psycopg methods in conjunction
with Pandas DataFrames.
## Installation
To install the package, simply use pip:
```
$ pip install pgcom
```
## Key features
* Reading from database table to Pandas DataFrame.
* Writing from DataFrame to a table.
* Adaptation between DataFrames and COPY FROM.
* Methods to resolve conflicts in DataFrame before applying COPY FROM.
* Tools for setting asynchronous communication with database using LISTEN and NOTIFY commands.
Read the [documentation](https://pgcom.readthedocs.io/en/latest/) for more.
## License
MIT License (see [LICENSE](LICENSE)).