Data engineering & Data science Framework
Project description
py-analytics
Contains Data Enginner, Data Scientist and 3rd party integration tools capabilities
Installation
py-test-utility can be installed via pip
pip install ??find the name??
BigQuery
To access BigQuery you will need following environment variables:
BIGQUERY_PROJECT
- name of the project in BigQuery. Default project cannot be changed in the code.BIGQUERY_ACCESS_TOKEN_PATH
- path to the json token file.
BigQuery functions wrap bigrquery
functions to provide higher level API removing boilerplate instructions of the lower level API.
tdd_utility - module
class load_data(type,file,schema)
Contains methods to extract the equivalent json from csv with nested and repeated records structures
Methods
-
to_json()
- if successfuls return the json obj extracted from the csv
-
to_new_line_delimiter_file(output_file_name)
- return 0 if successfuls
- create new line delimiter "output_file_name" file
Generating distribution archives
python3 -m pip install --user --upgrade setuptools wheel
python3 -m pip install --user --upgrade twine
Now run this command from the same directory where setup.py is located:
python3 setup.py sdist bdist_wheel
Uploading the distribution archives
python3 -m twine upload --repository-url dist/*
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
Built Distribution
File details
Details for the file py-am-0.0.2.tar.gz
.
File metadata
- Download URL: py-am-0.0.2.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.21.0 setuptools/42.0.1 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 831411334427df8d83e5a7f694632cc22b0c1c922a1053cd4fbc77d9a9ea833d |
|
MD5 | 2ecfb97d4c61a956a5ccb0c436419fe9 |
|
BLAKE2b-256 | 912bc181b6283a80802752b51c3a2338754f5f6023e66f5bf0d4c70ea9196692 |
File details
Details for the file py_am-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: py_am-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.21.0 setuptools/42.0.1 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b6944c1e8eb4ffcc4f60b89911d2396bbe12b270f9edcf48043ba384f5ddd52 |
|
MD5 | acef78c5261973154051bb11169b7129 |
|
BLAKE2b-256 | 7470dc8cf12952d6e094040e428716a54b603bf5491d31510aaca76c1116c6bc |