A simple MySQL DBAPI wrapper for simplifying data processing pipelines.
Project description
Reata is a simple wrapper for the official MySQL DBAPI for Python (mysql.connector). The main purpose of the library is to simplify common MySQL operations and make interfacing with the DBAPI a more python-centric affair. Reata attempts to minimize the need for writing SQL statements into Python scripts. Unlike similar libraries, however, Reata is not an ORM and it makes no attempts to be an ORM. Instead, Reata aims to limit the amount of code which must be written to interact with the DBAPI while improving readability. Rather than force the user to write MySQL statements and execute them via a cursor object, as is typically the case with standard DBAPIs in Python, Reata abstracts away the underlying connection object and allows users to execute common MySQL operations via class methods.
Reata also makes efforts to help simplify data processing pipelines by incorporating methods that leverage the Pandas API. Users can load tables directly into dataframes and use dataframes to update tables.
Installation
python -m pip install reata
Documentation
Up-to-date documentation can be found here: https://jammin93.github.io/reata/
Usage
import mysql.connector
from reata import MySQLClient, TableSchema
cnx = mysql.connector.connect(...)
client = MySQLClient(cnx)
License
GNU General Public License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file reata-1.0.2.tar.gz.
File metadata
- Download URL: reata-1.0.2.tar.gz
- Upload date:
- Size: 45.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d9e4d2f6bdbda030c2e56f6d63aced1a4b236283ea1903412959b4a2c7052e8
|
|
| MD5 |
35331c62f17dfba5b95a2a9c4ef9df7b
|
|
| BLAKE2b-256 |
4179a671185f55d63b7fe8ccdbd87bfa8dc0a4f92ea49376925a12aa1d0877aa
|
File details
Details for the file reata-1.0.2-py3-none-any.whl.
File metadata
- Download URL: reata-1.0.2-py3-none-any.whl
- Upload date:
- Size: 33.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
153ce0085ca9a2a995803a0e52d2d9546a9145fd13a72185ba7589201cc8512f
|
|
| MD5 |
98fbe0494052e9f89a3a3f7b1f264ffe
|
|
| BLAKE2b-256 |
ab2c0d5cc6e53d45db8c0386b1459d5755957255af8f4946a1a2742bab6dfe57
|