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.42

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.42 pandas

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

gears-cli run --host localhost --port 6379 src/jobs/rotate_unique_devices/rotate_ud_website.py REQUIREMENTS rgtracker==0.0.1.1.42 pandas gears-cli run --host localhost --port 6379 src/jobs/rotate_unique_devices/rotate_ud_section.py REQUIREMENTS rgtracker==0.0.1.1.42 pandas gears-cli run --host localhost --port 6379 src/jobs/rotate_unique_devices/rotate_ud_page.py REQUIREMENTS rgtracker==0.0.1.1.42 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.42.tar.gz (14.7 kB view details)

Uploaded Source

Built Distribution

rgtracker-0.0.1.1.42-py3-none-any.whl (30.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rgtracker-0.0.1.1.42.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.42.tar.gz
Algorithm Hash digest
SHA256 c2cd1e1284212e3a1d14e88f7daebbe2a6e999b3da8b5767a3c143bd3ded91cb
MD5 c621b1e2faf6ea8a8ee7f29d20155093
BLAKE2b-256 0bd2c36ef1b16e95855389d73b456b571b277ff27c482f879a6af6e35da0ccbd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rgtracker-0.0.1.1.42-py3-none-any.whl
Algorithm Hash digest
SHA256 41c4fd90195c95ab633fc93ac906f0fdf40988987d92f4e6763234c886e70f3e
MD5 f95ad6c122160fd12a113b67a3c5a219
BLAKE2b-256 5b150925f92565075a3e1f6e6a6ad610eefd57251ba40ef8045e9cd9872ec575

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