humanity_etl
Replicate data from humanity in databricks
Usage
CLI
python -m humanity_etl --table <table-name>
where table-name is one of the following: timeclocks or ALL.
API
from humanity_etl.tables.timeclocks import timeclocks
timeclocks()
Further configs are set via environment variables:
Further configs are set via environment variables:
*_ACCESS_TOKEN: API accessAPP_ENV: <development/production> - debug modeSAMPLE_OUTPUT: <True/False> - Save dataframes to csv
DEV
Create venv
python -m venv env
Activate venv
- unix
source env/bin/activate
- windows
env\Scripts\activate.bat
Install Packages
pip install -r requirements.txt
Test
make test
Format
make format
make lint
Version & Release
bump2version <major/minor/patch>
make release
note Don't forget to git push with --tags
pre-commit
Setup
pre-commit install
Run all
make pre-commit
Metadata
Release files for humanity-etl 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| humanity_etl-0.1.1.tar.gz | 7.6 kB | Details |
Release files / humanity_etl-0.1.1.tar.gz
| Download URL | humanity_etl-0.1.1.tar.gz |
|---|---|
| Size | 7.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
29f684add1063687cd40a14d5c85120146100950702691e95ff15c90ecd1f5ec
|
|
BLAKE2b-256 checksum How to use checksums |
3f0b884b9d8d80cfb22aa67e34bb41d7538673e538c577d01ed99ba3fc638dd9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.14.0 pkginfo/1.9.6 requests/2.28.2 setuptools/58.1.0 requests-toolbelt/0.10.1 tqdm/4.65.0 CPython/3.9.16
|