Skip to main content

Gluestick

PyPI Version License

A Python library for efficient ETL processes, optimized for hotglue

Installation

pip install gluestick

Links

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!

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.19.tar.gz (35.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.19-py3-none-any.whl (39.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for gluestick-3.0.19.tar.gz
Algorithm Hash digest
SHA256 b5e33f3a2c6ca8c114516b92dce88e91ab4ec8757222d596ab40e87989495cc4
MD5 f7eb5b6e2eb2e9eb3e7dbc1fdc819592
BLAKE2b-256 854b40e03b9db5f7900682e660fd96ab3f0f6d486a614c8f36f1b358108434db

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for gluestick-3.0.19-py3-none-any.whl
Algorithm Hash digest
SHA256 3173eaedf4bf44893c8b1d7ceb586ffcfcf59339a5e0cbc5cf3baf7e85e95e1d
MD5 80c6dd174a1432abcff8ee5d82eab5dc
BLAKE2b-256 005d181c6e9cbebafd52ee3f52d2b9e705b55a7f127770cb436c186883ff5fd7

See more details on using hashes here.

Release history Release notifications | RSS feed

Supported by

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