A Python test framework for data testing across multiple data sources
Project description
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
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
File details
Details for the file napalytics-1.0.4.tar.gz.
File metadata
- Download URL: napalytics-1.0.4.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c293220560802958150ec8a75163bf41bd911f900ea68e2af174d1c2a32f95d
|
|
| MD5 |
2331f097bc4d32f22fdde0fe73afaecd
|
|
| BLAKE2b-256 |
06e8484663f25a309f2fda228cab8b16aa512241ae716923a0b879f1a6e6a67b
|