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.10.tar.gz (32.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.10-py3-none-any.whl (36.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gluestick-3.0.10.tar.gz
  • Upload date:
  • Size: 32.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.10.tar.gz
Algorithm Hash digest
SHA256 59ad48797ef802aef0fc40726e487ed8e7867cd149dd557ff77a247c5a8a22f0
MD5 a0d8c8d52851980fa2c6cc2a9a9db913
BLAKE2b-256 4eb8d146a963861925986fde96decb14b429898c350f986682fcf6a919ede4aa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gluestick-3.0.10-py3-none-any.whl
  • Upload date:
  • Size: 36.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.10-py3-none-any.whl
Algorithm Hash digest
SHA256 7825e1144f96086b0f5ed8b5c8da064e36b119b043b4247a0144d97227e692c4
MD5 5f92729c7659d029c325b4abcf67bd4d
BLAKE2b-256 7ab9725236f121e4ed5817c181d2be0e0289ae6cf8979ab9135edbb22cf1778c

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