No project description provided
Project description
nurtelecom_gras_library
This is official NurTelecom GRAS library
from nurtelecom_gras_library import PLSQL_data_importer, make_table_query_from_pandas
#create connection
database_connection = PLSQL_data_importer(user = 'user', password = 'pass', host= '192.168.1.1', port = '1521')
#create query
test_query = "select 1 from dual"
#makes pandas df
test_data = database_connection.get_data(query = test_query)
#make new_create query from pandas df
new_table_name_for_sql = "test_table_name"
query_from_tabel = make_table_query_from_pandas(df = test_data, table_name= new_table_name_for_sql)
#execute query
database_connection.execute(query_from_tabel)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for nurtelecom_gras_library-1.2.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | aae834e43cf45805911549ff7132776af28172140e51a8abee0b2d92a5408f5e |
|
MD5 | b4edd2de710516cfe8dfd2083a30dac6 |
|
BLAKE2b-256 | 4ed42c572d6e258516366f1655d2c5f6350acc9630708976fa60f2c48b1ee770 |