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.16.tar.gz (34.5 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.16-py3-none-any.whl (38.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gluestick-3.0.16.tar.gz
  • Upload date:
  • Size: 34.5 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.16.tar.gz
Algorithm Hash digest
SHA256 cd71d72cdfbf9919e87446d4f1d255394aef14ca688672be59e2ee6261d4abfa
MD5 5a3e618f511731f3ac5a7a2240a5579b
BLAKE2b-256 8557d1b27dbb5dd66c5749f282077227dcfc3f0832245a42f920bb7f8ca2efdb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gluestick-3.0.16-py3-none-any.whl
  • Upload date:
  • Size: 38.3 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.16-py3-none-any.whl
Algorithm Hash digest
SHA256 fb92df8d1144b61a7f88727024836903d66058967368fe4e1380858627bef221
MD5 5090c3b5182edabb16f709d35f8297e3
BLAKE2b-256 618e2d619caca99cc602730e5ea5dc3908b45421e965ca7b3cc39c30cd053278

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