Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jianlins/mariadb4p
A python wrapper for
https://github.com/jianlins/mariadb4p
Last synced: 9 days ago
JSON representation
A python wrapper for
- Host: GitHub
- URL: https://github.com/jianlins/mariadb4p
- Owner: jianlins
- License: mit
- Created: 2024-10-27T19:46:47.000Z (24 days ago)
- Default Branch: main
- Last Pushed: 2024-10-28T07:35:47.000Z (23 days ago)
- Last Synced: 2024-10-28T08:44:26.594Z (23 days ago)
- Language: Python
- Size: 33.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MariaDB4p
[![auto_ci](https://github.com/jianlins/MariaDB4p/actions/workflows/auto_ci.yml/badge.svg)](https://github.com/jianlins/MariaDB4p/actions/workflows/auto_ci.yml)A python wrapper for [MariaDB4j](https://github.com/MariaDB4j/MariaDB4j)
MariaDB4j is a Java (!) "launcher" for MariaDB (the "backward compatible, drop-in replacement of the MySQL® Database Server", see Wikipedia), allowing you to use MariaDB (MySQL®) from Java without ANY installation / external dependencies. Read again: You do NOT have to have MariaDB binaries installed on your system to use MariaDB4j!
```python
from MariaDB4p.mariadb_wrapper import MariaDBWrapper
wrapper = MariaDBWrapper(port=3307)
wrapper.start_server()
wrapper.db.createDB('db')
# ---do something---
wrapper.stop_server()```
For a demo notebook, check [here](https://github.com/jianlins/MariaDB4p/blob/main/notebooks/demo_mariadb.ipynb)