A production-grade satirical sorting library with enterprise confidence.
Project description
gaslight-sort
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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e8a35d58c05045c89d05d62ae64b97c05a34da4d49f641fda1c44017f6c1f193
|
|
| MD5 |
8800cd1a5c1da008d52a9317072048b0
|
|
| BLAKE2b-256 |
9665d991f94f1603d74538e85bd2fdb204293de44fc3e691d0543efdbf31ae30
|
Provenance
The following attestation bundles were made for gaslight_sort-1.0.0.tar.gz:
Publisher:
release.yml on night-slayer18/gaslight-sort
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gaslight_sort-1.0.0.tar.gz -
Subject digest:
e8a35d58c05045c89d05d62ae64b97c05a34da4d49f641fda1c44017f6c1f193 - Sigstore transparency entry: 1155094403
- Sigstore integration time:
-
Permalink:
night-slayer18/gaslight-sort@fc8b25f2f17205aa913bd9e9cbf4c5e5811bda02 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/night-slayer18
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@fc8b25f2f17205aa913bd9e9cbf4c5e5811bda02 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
61168ba9683706edc52edde4ebf2623db52fd916231d8a212816c8882f5c7013
|
|
| MD5 |
cbb71f483a2fce8fa1474a1d47e43331
|
|
| BLAKE2b-256 |
bbda37b2aa29abcb58b03970ca3dd2ccbee11a78362c4d39b19ee644cfe2c003
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gaslight_sort-1.0.0-py3-none-any.whl -
Subject digest:
61168ba9683706edc52edde4ebf2623db52fd916231d8a212816c8882f5c7013 - Sigstore transparency entry: 1155094404
- Sigstore integration time:
-
Permalink:
night-slayer18/gaslight-sort@fc8b25f2f17205aa913bd9e9cbf4c5e5811bda02 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/night-slayer18
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@fc8b25f2f17205aa913bd9e9cbf4c5e5811bda02 -
Trigger Event:
push
-
Statement type: