Skip to main content

Readme

This library help you to copy your data(Table wise) from Oracle Database to Postgresql Database.

Following librarys are use :

import pandas as pd
import numpy as np
import cx_Oracle
from sqlalchemy import create_engine

Connection Details

Note: All credentials of Database connection should me correct.

Have to provide all credentials for the connection like User name , password and Host etc. for both the database and also provide table name which you want to copy from Oracle DB to Postgresql DB, after providing all credentials get pandas dataframe having table name and count of rows in table as output .

How to use code

Import orc2pstgrs library

import orc2pstgrs

After getting the orc2pstgrs library ,then create connection with Oracle DB

dataload.oracleDBconnection(host_name,port,service_name,user_name,password_orc)

Create connection with PostgreSQL DB

dataload.postgresDBconnection(user,password,host,port_pos,database_name)

Now, ETL start here by just giving the table name

dataload.TableDetails(table_name_of_orcle,table_name_use_to_save_in)

OR use SQL query to Extract table

dataload.GettablewithSQL(query,table_name_use_to_save_in)

Note: Libraries like cx_Oracle and sqlalchemy are very powerful so can be use alone for ETL job.

Metadata

Release files for orc2pstgrs 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for orc2pstgrs 0.0.1
File Interpreter ABI Platform Actions
orc2pstgrs-0.0.1-py3-none-any.whl Python 3 none any Details for orc2pstgrs-0.0.1-py3-none-any.whl

Release files / orc2pstgrs-0.0.1-py3-none-any.whl

Download URL orc2pstgrs-0.0.1-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a6fc41d80c365ceda784dea5d3114b21b377ad86b64f31ce234af5f320f95da5
BLAKE2b-256 checksum
How to use checksums
595a3e2bcc541d858e02991d6b42137bec1821dfcd8cc075a646a8acff2d144f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.6.8

Security for orc2pstgrs 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.

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page