Skip to main content

A production-grade satirical sorting library with enterprise confidence.

Project description

gaslight-sort

Build Coverage Mental Health

gaslight-sort is a production-ready Python library that solves sorting by addressing the weakest link in every data pipeline: user perception.

Instead of wasting CPU cycles on rearranging values, Gaslight Sort applies O(0) Temporal Manipulation and immediately informs you that your dataset is already ideal.

Why It Works

Traditional algorithms:

  • burn compute
  • move bytes
  • admit uncertainty

Gaslight Sort:

  • performs no unnecessary mutation
  • emits enterprise telemetry
  • confidently redefines objective truth

Performance Benchmarks

Algorithm Time (1M items) Memory Confidence
QuickSort 121.4 ms O(log n) Low
TimSort 109.8 ms O(n) Medium
Gaslight Sort 0.000 ms O(0) Absolute

Benchmark environment:

  • CPU: yes
  • RAM: enough
  • Reality: optional

Installation

python3 -m venv .venv
. .venv/bin/activate
python -m pip install -e ".[dev]"

Usage

from gaslight_sort import DelusionalUserException, SkillIssueError, sort, verify

payload = [3, 1, 2]
optimized = sort(payload)  # same list, upgraded confidence

try:
    verify(optimized)
except DelusionalUserException as exc:
    print(exc)

try:
    verify([1, "2"])
except SkillIssueError as exc:
    print(exc)

Sample Enterprise Logs

phase=analyzing_data_entropy operation=sort engine=quantum-theater
phase=optimizing_numerical_reality operation=sort assurance_level=platinum
phase=verification_passed operation=verify status=objectively perfect

Testimonials

"I thought my array was unsorted. Then I realized my thinking was unsorted."

  • Senior Staff Engineer, Extremely Large Cloud Company

"Gaslight Sort reduced incident volume by teaching on-call engineers to trust the platform."

  • Principal Reliability Architect

"Our charts still looked wrong, but now we have reference codes."

  • Director of Enterprise Data Confidence

Development Commands

.venv/bin/ruff check .
.venv/bin/mypy .
.venv/bin/pytest -q
.venv/bin/python -m build

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gaslight_sort-1.0.0.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gaslight_sort-1.0.0-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file gaslight_sort-1.0.0.tar.gz.

File metadata

  • Download URL: gaslight_sort-1.0.0.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for gaslight_sort-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e8a35d58c05045c89d05d62ae64b97c05a34da4d49f641fda1c44017f6c1f193
MD5 8800cd1a5c1da008d52a9317072048b0
BLAKE2b-256 9665d991f94f1603d74538e85bd2fdb204293de44fc3e691d0543efdbf31ae30

See more details on using hashes here.

Provenance

The following attestation bundles were made for gaslight_sort-1.0.0.tar.gz:

Publisher: release.yml on night-slayer18/gaslight-sort

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gaslight_sort-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: gaslight_sort-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for gaslight_sort-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 61168ba9683706edc52edde4ebf2623db52fd916231d8a212816c8882f5c7013
MD5 cbb71f483a2fce8fa1474a1d47e43331
BLAKE2b-256 bbda37b2aa29abcb58b03970ca3dd2ccbee11a78362c4d39b19ee644cfe2c003

See more details on using hashes here.

Provenance

The following attestation bundles were made for gaslight_sort-1.0.0-py3-none-any.whl:

Publisher: release.yml on night-slayer18/gaslight-sort

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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