https://github.com/lgprobert/pyrdpdb
Pure Python RapidsDB Driver
https://github.com/lgprobert/pyrdpdb
async dbapi2 python rapidsdb sqlalchemy
Last synced: 6 months ago
JSON representation
Pure Python RapidsDB Driver
- Host: GitHub
- URL: https://github.com/lgprobert/pyrdpdb
- Owner: lgprobert
- License: mit
- Created: 2025-02-22T19:26:56.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-02-22T19:33:20.000Z (12 months ago)
- Last Synced: 2025-08-04T14:59:38.896Z (6 months ago)
- Topics: async, dbapi2, python, rapidsdb, sqlalchemy
- Language: Python
- Homepage: https://pypi.org/project/pyrdpdb/
- Size: 120 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- License: LICENSE
Awesome Lists containing this project
README
# 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`:
```shell
python3 -m pip install pyrdpdb
```
## Documentation
## Example
```shell
# Demonstrate DB-API direct database connection
$ python -m pyrdpdb.pyrdp.example.dbapi
$ python -m pyrdpdb.pyrdp.example.simple_sa
# 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
$ python -m pyrdpdb.aiordp.example.simple_sa
$ python -m pyrdpdb.aiordp.example.dbapi_cursor
# assume RDP running on local host, use argument of either aiordp or pyrdp
$ python -m pyrdpdb.pyrdp.example.many [aiordp | pyrdp]
```
> Note: \ is optional, default to **localhost** if not provided.
## Resources
DB-API 2.0:
## License
pyrdpdb is released under the MIT License. See LICENSE for more information.