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

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

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

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

gears-cli run --host localhost --port 6379 src/jobs/enrich.py REQUIREMENTS rgtracker==0.0.1.1.47 pandas requests

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.47.tar.gz (15.3 kB view details)

Uploaded Source

Built Distribution

rgtracker-0.0.1.1.47-py3-none-any.whl (31.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rgtracker-0.0.1.1.47.tar.gz
  • Upload date:
  • Size: 15.3 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.47.tar.gz
Algorithm Hash digest
SHA256 b5f7a1558464bbb77028b30f594d1846b56811c82d8d494d676530457ee0f082
MD5 a9c2ead51a771a67a3a2d6e22ea58bb3
BLAKE2b-256 39007878630604a39df834d6347d64f0415a4dceec71abbb8f5f4804f1266444

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rgtracker-0.0.1.1.47-py3-none-any.whl
Algorithm Hash digest
SHA256 b5ab52cc3b998f850ca926a0dbdb0a8dbfb7bbbd4b042722bdda7aa3743129e1
MD5 aa4c2175596d423560b0e2136512157e
BLAKE2b-256 ed7b8c8f7381e7537a68f39081eda5614f48f078c7331b20e4b3a5e7af758a41

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