1
0
mirror of https://github.com/pruzko/hakuin synced 2024-11-08 13:59:15 +01:00

readme updated for oracledb

This commit is contained in:
Jakub Pruzinec 2024-07-31 10:16:18 +02:00
parent 3723d58705
commit 86cb1051de

@ -58,13 +58,13 @@ class ContentRequester(Requester):
return 'found' in await r.text() return 'found' in await r.text()
``` ```
To start extracting data, use the `Extractor` class. It requires a `DBMS` object to contruct queries and a `Requester` object to inject them. Hakuin currently supports `SQLite`, `MySQL`, `PSQL` (PostgreSQL), and `MSSQL` (SQL Server) DBMSs, but will soon include more options. If you wish to support another DBMS, implement the `DBMS` interface defined in `hakuin/dbms/DBMS.py`. To start extracting data, use the `Extractor` class. It requires a `DBMS` object to contruct queries and a `Requester` object to inject them. Hakuin currently supports `SQLite`, `MySQL`, `PSQL` (PostgreSQL), `MSSQL` (SQL Server) DBMSs, and `OracleDB` but will soon include more options. If you wish to support another DBMS, implement the `DBMS` interface defined in `hakuin/dbms/DBMS.py`.
##### Example 1 - Extracting SQLite/MySQL/PSQL/MSSQL ##### Example 1 - Extracting SQLite/MySQL/PSQL/MSSQL/OracleDB
```python ```python
import asyncio import asyncio
from hakuin import Extractor, Requester from hakuin import Extractor, Requester
from hakuin.dbms import SQLite, MySQL, PSQL, MSSQL from hakuin.dbms import SQLite, MySQL, PSQL, MSSQL, OracleDB
class StatusRequester(Requester): class StatusRequester(Requester):
... ...