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

Uploaded Python 3

File details

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

File metadata

  • Download URL: gluestick-3.0.14.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.14.tar.gz
Algorithm Hash digest
SHA256 e257150a4f62e6ed5609dc0fb4a61ab80edb0899fca8fcd2f71db030b68529c6
MD5 317421107677c7f9717fa472f12c8a82
BLAKE2b-256 6265e464d482d0c783b05fb893543ee84e3cea30ebdfa8b76ca3ba4107be1bf9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gluestick-3.0.14-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.14-py3-none-any.whl
Algorithm Hash digest
SHA256 960cae0513d92167efba1235534206e14186e37273315e55355c9e91c8b4c118
MD5 8613e57d514e4f4b8c424f19d340f40b
BLAKE2b-256 42f8034723fadaeeca205bd4e85fe56162b8fd4912493d3632c9e8d017158313

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