Latest version
Once Oracle, Python, cxOracle package and Instant Client are ready, we can connect to Oracle from Python. The following program will connect to Oracle Database using username hr and password hr. In case you are trying to use a different account or a different version of Oracle database then feel free to change the details and experiment. The cxOracle is designed to conform to the Python database API 2.0 specification. It also provides you with a number of additions designed specifically for the Oracle Database. The cxOracle 7.x works perfectly fine with Python version 2.7, and with versions from 3.5 to 3.7. In this section, we will only use the Python version from 3.5 to 3.7.
Released:
A very simple asynchronous wrapper that allows you to get access to the Oracle database in asyncio programs. - GoodManWEN/cx_Oracle_async
A very simple asynchronous wrapper that allows you to get access to the Oracle database in asyncio programs.
Easy to use , buy may not the best practice for efficiency concern.
query type | asynchronous multithreading | synchronous multithreading | synchronous single thread |
---|---|---|---|
fast single line query | 6259.80 q/s | 28906.93 q/s | 14805.61 q/s |
single line insertion | 1341.88 q/s | 1898 q/s | 1685.17 q/s |
/* Test platform: */
AMD Ryzen 3700x
Windows 10 LTSC
Oracle 19c
You can find performance test codes here.
Before running examples , make sure you've already installed a Oracle Client on your machine.
0.3.2
0.3.0
0.2.3
0.2.2
0.2.0
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size cx_Oracle_async-0.3.2-py3-none-any.whl (11.1 kB) | File type Wheel | Python version py3 | Upload date | Hashes |
Filename, size cx_Oracle_async-0.3.2.tar.gz (7.8 kB) | File type Source | Python version None | Upload date | Hashes |
Algorithm | Hash digest |
---|---|
SHA256 | 84deed43cff40fb0d784ea99aa63e98c5edd3c78ac21bc0a44319fa17c0ed6a2 |
MD5 | 62411b7ff4b87ed27954273f2f37ebe6 |
BLAKE2-256 | f2184014d0eb5055cc5b3fa5786eda0bfe2cc1c788ec833c3263ef2b00604023 |
Algorithm | Hash digest |
---|---|
SHA256 | 4637887fcf9eaa1f11b4742160ce661c1eb815364fb27986ef3e1801d81b003b |
MD5 | 94ea7245f8d2d8fefb153adc76f4bf17 |
BLAKE2-256 | 61f0634139d33cc5460f3bd8e95e2a9eff0c65b4a001595e4305288b761143cd |