napalytics
Repository for creating a Python test framework for data testing across multiple data sources
installation
-
To install the package run: pip install -e napalytics if you have downloaded the source files, if directly fetching from the internet use pip install napalytics
-
To test if package has installed: run python in cmd then type import napalytics. It should import the installed package with no errors.
Usage
The bindings for connecting to the database are defined in the module: napalytics/connector.py The module should be used as follows:
- import the module: import napalytics as nps
- call any of the following methods: oracle,sql_server,snow,aws_redshift,google_bigquery,amazon_s3
- Sample calls to these methods are as follows:
- nps.oracle( host,port, sid,username, pwd,service_name)
- nps.sql_server(driver,server,database,uid,password)
- nps.snow(user,password, account,warehouse,database,schema)
- nps.aws_redshift(host,database_name,user, password)
- nps.google_bigquery(username, pwd, hyperlink, database_name)
- nps.amazon_s3(aws_access_key,aws_secret_key)
Updating the package on the PC to the latest version
- Fetch the latest code from the source
- Since all the dependencies have been previously fetched,only the package needs to be updated
- on cmd change directory(cd) to the cloned/downloaded copy of this code
- then run pip install -e napalytics
- This will uninstall the previous version of the package and install the latest package
Release files for napalytics 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| napalytics-1.0.4.tar.gz | 3.3 kB | Details |
Release files / napalytics-1.0.4.tar.gz
| Download URL | napalytics-1.0.4.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1c293220560802958150ec8a75163bf41bd911f900ea68e2af174d1c2a32f95d
|
|
BLAKE2b-256 checksum How to use checksums |
06e8484663f25a309f2fda228cab8b16aa512241ae716923a0b879f1a6e6a67b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
|