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.13.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.13-py3-none-any.whl (37.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gluestick-3.0.13.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.13.tar.gz
Algorithm Hash digest
SHA256 d22a3c042c4e6e1c465fbde0f53ff674733ed1a7ec0fc6647d319168d3116c16
MD5 ca3b8d7ff7c1adbbe17b70e73fd67bba
BLAKE2b-256 c05abc3e30252ef694b99979382640f93a3ae7f061624e7267b7fe8f811bba36

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gluestick-3.0.13-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.13-py3-none-any.whl
Algorithm Hash digest
SHA256 d6b6a7b2e50bf692554b30048220b4ba2fe9205dfd908b760b36027b2583f6f5
MD5 5151d9721f3c368e5e6c7f2675b960fe
BLAKE2b-256 dde219140f13f64aa080fda5e76377c7d146b33fe25f95347f7b1230a792c92c

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