connector_db_tools
connector_db_tools is a Python library that implements for connection databases
Installation
The code is packaged for PyPI, so that the installation consists in running:
pip install spark-datax-schema-tools
Usage
wrapper take connection database using pandas and modin
example1: (generate dummy_data)
================================
import ray
import os
from connector_db_tools import Core
ray.shutdown()
ray.init(local_mode=True)
""""config.json
{"ORACLE":{
"oracle":{
"host":"XXXXXX",
"port":1521,
"db":"XXXXXX",
"username":"XXXXX",
"password":"XXXXX",
"driver":"{Microsoft ODBC for Oracle}"
}
}
""""
path = os.getcwd()
path_file_config = os.path.join(path, "config.json")
df = Core.database_query(file_config=path_file_config,
server="oracle",
database="oracle",
query=query,
is_sql_direct=False)
df.head(10)
License
New features v1.0
BugFix
- choco install visualcpp-build-tools
Reference
- Jonathan Quiza github.
- Jonathan Quiza RumiMLSpark.
- Jonathan Quiza linkedin.
Metadata
Release files for connector-db-tools 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| connector_db_tools-0.0.1.tar.gz | 4.8 kB | Without provenance | Details for connector_db_tools-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| connector_db_tools-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for connector_db_tools-0.0.1-py3-none-any.whl |
Total release size: 10.6 kB
Release files / connector_db_tools-0.0.1.tar.gz
| Download URL | connector_db_tools-0.0.1.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0be78499c3e06b4a755cb86932ba250dd0870a6c582be85d23e7ccd8d2e78743
|
|
BLAKE2b-256 checksum How to use checksums |
c77729c4491041492d9acb83f0e19bbfe3baee25a979af4f5e948b3b934d7166
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.9
|
Release files / connector_db_tools-0.0.1-py3-none-any.whl
| Download URL | connector_db_tools-0.0.1-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b2c50675b07d7aae0c605673c56d26e345585858d68c1622a9385fa83158c8cb
|
|
BLAKE2b-256 checksum How to use checksums |
cca323742a4041112a1b00535ce71c2a1e203724558b12218e4fe1ede878eb72
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.9
|
Security for connector-db-tools 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.