Skip to main content

ETL utility functions built for the hotglue iPaaS platform

Project description

gluestick Build Status

A small Python module containing quick utility functions for standard ETL processes.

Installation

pip install gluestick

Links

License

MIT

Dependencies

  • NumPy
  • Pandas

Memory benchmarking (local development)

The repo includes a script that prints peak RSS (resident set size) in MiB for several gluestick workloads. It uses the same scenarios as tests/function_tests/test_memory_usage.py, so you can compare numbers before and after a change on your machine. Peak RSS is a rough signal, not a portable “this library always uses X MB” guarantee.

Setup (from the repository root):

pip install ".[test]"

This installs gluestick, pytest, and memory-profiler, which the script and memory tests need.

Run the benchmark:

python scripts/memory_benchmark.py

For machine-readable output (e.g. to save and diff):

python scripts/memory_benchmark.py --json > before.json
# change code, then:
python scripts/memory_benchmark.py --json > after.json

Compare the JSON objects (or use diff / jq) to see per-scenario peak MiB before and after. Percent change is only meaningful when both runs use the same host and similar load.

Sanity-check with tests:

pytest tests/function_tests/test_memory_usage.py -q

If pytest passes, the same workloads stay within the smoke-test RSS bands used in CI.

Contributing

This project is maintained by the hotglue team. We welcome contributions from the community via issues and pull requests.

If you wish to chat with our team, feel free to join our Slack!

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

gluestick-3.0.12.tar.gz (33.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gluestick-3.0.12-py3-none-any.whl (37.7 kB view details)

Uploaded Python 3

File details

Details for the file gluestick-3.0.12.tar.gz.

File metadata

  • Download URL: gluestick-3.0.12.tar.gz
  • Upload date:
  • Size: 33.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for gluestick-3.0.12.tar.gz
Algorithm Hash digest
SHA256 c3a057b7151ebf8aa77ed84d9bd17fac915513709004e7fb20c94a41f9fb1710
MD5 9031d7fdd577e2d775c7a31f2a79716c
BLAKE2b-256 1dd519a8554828aa1408304dee0ee48c003a2fe58e7892f4fdefe232142476c5

See more details on using hashes here.

File details

Details for the file gluestick-3.0.12-py3-none-any.whl.

File metadata

  • Download URL: gluestick-3.0.12-py3-none-any.whl
  • Upload date:
  • Size: 37.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for gluestick-3.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 d95ab0adb05cebff99cc9ed194d5ac0d4ab5c2cc4ea5bd79ae306772ca2276a6
MD5 6c8ee42b0a2ede15088f9d5c7d81b64c
BLAKE2b-256 78bd4542ca27ff81e23f4988749114919ca4bf654ed7d716e80646887a2057b7

See more details on using hashes here.

Supported by

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