Pure Python RapidsDB Driver
Project description
pyrdpdb
Table of Contents
- Requirements
- Installation
- Documentation
- Example
- Resources
- License
pyrdpdb package is a Python DB-API 2.0 compliant driver package for RapidsDB database, which contains two pure-Python RapidsDB DB-API sub-packages: pyrdp and aiordp, based on PEP 249. Each driver itself also contains a SQLAlchemy dialect driver to allow seamless operations between SQLAlchemy and RapidsDB as a database source.
Requirements
- Python: >= 3.9
- RapidsDB Server: >= 4.x
Installation
Install package with pip:
python3 -m pip install pyrdpdb
Documentation
Example
# Demonstrate DB-API direct database connection
$ python -m pyrdpdb.pyrdp.example.dbapi <hostname>
$ python -m pyrdpdb.pyrdp.example.simple_sa <table_name> <hostname>
# assume RDP running on local host, use argument of either aiordp or pyrdp
$ python -m pyrdpdb.pyrdp.example.many [aiordp | pyrdp]
# Demonstrate DB-API direct database connection
$ python -m pyrdpdb.aiordp.example.engine <hostname>
$ python -m pyrdpdb.aiordp.example.simple_sa <hostname>
$ python -m pyrdpdb.aiordp.example.dbapi_cursor <hostname>
# assume RDP running on local host, use argument of either aiordp or pyrdp
$ python -m pyrdpdb.pyrdp.example.many [aiordp | pyrdp]
Note: <hostname> is optional, default to localhost if not provided.
Resources
DB-API 2.0: http://www.python.org/dev/peps/pep-0249
License
pyrdpdb is released under the MIT License. See LICENSE for more information.
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
File details
Details for the file pyrdpdb-4.2.2.tar.gz.
File metadata
- Download URL: pyrdpdb-4.2.2.tar.gz
- Upload date:
- Size: 152.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ddc043e38527557b52d9241cfab228411be03c45c66244912c0b21fccac99b5
|
|
| MD5 |
500c95d08ae07c515f3ad449a704bd0a
|
|
| BLAKE2b-256 |
611380c9c97439cd916000fd9dc7b94a90b64c7d6407ee6246bd3b8ae4b6c168
|