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

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

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

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

Uploaded Source

Built Distribution

rgtracker-0.0.1.1.40-py3-none-any.whl (30.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rgtracker-0.0.1.1.40.tar.gz
  • Upload date:
  • Size: 14.6 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.40.tar.gz
Algorithm Hash digest
SHA256 909d794bf7b7f123502a3f56dd95d6ef82c4892e9f0af83df0de84ad6f7173d0
MD5 15c828c050617f5283bc3f9e8314fc30
BLAKE2b-256 447227ba3866eb5800461fabd2f30c1da6913895a72c724b3ba3d6196e051fa2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rgtracker-0.0.1.1.40-py3-none-any.whl
Algorithm Hash digest
SHA256 e2c6c49c171071e2d3eeaae80739c790382cd81f80159e0f932af768825a500e
MD5 dd8385d198060751d53e300be56fe288
BLAKE2b-256 b1fec389174dbac1d725a6da8ccd946cabeb3f4af263d67ad11034f2018fb199

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