Skip to main content

adding number

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

orc2pstgrs-0.0.1-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file orc2pstgrs-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: orc2pstgrs-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for orc2pstgrs-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a6fc41d80c365ceda784dea5d3114b21b377ad86b64f31ce234af5f320f95da5
MD5 e1be3b58c9c6eb0a67912f3e0a0f10ef
BLAKE2b-256 595a3e2bcc541d858e02991d6b42137bec1821dfcd8cc075a646a8acff2d144f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page