Skip to main content

humanity_etl

Replicate data from humanity in databricks

pypi

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 access
  • APP_ENV: <development/production> - debug mode
  • SAMPLE_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)

Source distribution for humanity-etl 0.1.1
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
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page