Skip to main content

A small example package

Project description

Build Python project

change version in pyproject.toml delete /dist files python3 -m build

Upload Python package

python3 -m twine upload --repository testpypi dist/* python3 -m twine upload dist/*

Update Local Python Package

pip install rgtracker==0.0.1.1.45

Run RedisGears Jobs

python src/jobs/produce.py python src/jobs/create_requirements.py

gears-cli run --host localhost --port 6379 src/jobs/bigbang.py REQUIREMENTS rgtracker==0.0.1.1.45 pandas

gears-cli run --host localhost --port 6379 src/jobs/rotate_pageviews/rotate_pg_website.py REQUIREMENTS rgtracker==0.0.1.1.45 pandas gears-cli run --host localhost --port 6379 src/jobs/rotate_pageviews/rotate_pg_section.py REQUIREMENTS rgtracker==0.0.1.1.45 pandas gears-cli run --host localhost --port 6379 src/jobs/rotate_pageviews/rotate_pg_page.py REQUIREMENTS rgtracker==0.0.1.1.45 pandas

gears-cli run --host localhost --port 6379 src/jobs/rotate_unique_devices/rotate_ud_website.py REQUIREMENTS rgtracker==0.0.1.1.45 pandas gears-cli run --host localhost --port 6379 src/jobs/rotate_unique_devices/rotate_ud_section.py REQUIREMENTS rgtracker==0.0.1.1.45 pandas gears-cli run --host localhost --port 6379 src/jobs/rotate_unique_devices/rotate_ud_page.py REQUIREMENTS rgtracker==0.0.1.1.45 pandas

Notes

https://stackoverflow.com/questions/22875651/how-to-apply-hyperloglog-to-a-timeseries-stream https://redis.com/blog/7-redis-worst-practices/ https://redis.com/blog/streaming-analytics-with-probabilistic-data-structures/

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

rgtracker-0.0.1.1.45.tar.gz (14.7 kB view details)

Uploaded Source

Built Distribution

rgtracker-0.0.1.1.45-py3-none-any.whl (30.7 kB view details)

Uploaded Python 3

File details

Details for the file rgtracker-0.0.1.1.45.tar.gz.

File metadata

  • Download URL: rgtracker-0.0.1.1.45.tar.gz
  • Upload date:
  • Size: 14.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.13

File hashes

Hashes for rgtracker-0.0.1.1.45.tar.gz
Algorithm Hash digest
SHA256 72f17e863409969a42fae812153af1c0ae2407b42f813170c8347f37a9742070
MD5 ce1d8ae4226c8c05e0e2d001b786c171
BLAKE2b-256 98a0ca39df6d42cc64d857f8bd0f59461e6919a1a3db96ab2fd87088d475954c

See more details on using hashes here.

File details

Details for the file rgtracker-0.0.1.1.45-py3-none-any.whl.

File metadata

File hashes

Hashes for rgtracker-0.0.1.1.45-py3-none-any.whl
Algorithm Hash digest
SHA256 3a80459b2955e944d0ab71dec85f954ec5ec6b07b1d777cc4bb56b22629844cc
MD5 ea4645a0089d670fa4e6b1e4ef113908
BLAKE2b-256 b1f0e5294fec6008b6bac01141388d67f859435c0ee8bff56811b897029fb365

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page