Skip to main content

Industrial-Grade Algorithms by Arprax Lab

Project description

Arprax Algorithms

Industrial-grade algorithms, performance profilers, and data structures for Python.

Built by Arprax Lab, this toolkit is designed for the "Applied Data Intelligence" era—where understanding how code scales is as important as the code itself.


🚀 Features

  • ArpraxProfiler: High-precision analysis with GC control, warmup cycles, and OHPV2 (Doubling Test) complexity estimation.
  • Industrial Generators: Data factories for random, sorted, and reversed datasets.
  • Standard Library: High-performance implementations of classic algorithms (Merge Sort, Bubble Sort, etc.) with strict type hinting.

📦 Installation

pip install arprax-algorithms

🔬 Quick Start: Benchmarking

Once installed, you can immediately run a performance battle between algorithms.

from arprax_algorithms import ArpraxProfiler, generators, algorithms

# 1. Initialize the industrial profiler
profiler = ArpraxProfiler(mode="min", repeats=5)

# 2. Run a doubling test (OHPV2 Analysis)
# This measures how Merge Sort scales as data size (N) doubles
results = profiler.run_doubling_test(
    algorithms.sorting.merge_sort, 
    generators.random_array,
    start_n=500,
    rounds=5
)

# 3. Print the performance analysis
profiler.print_analysis("Merge Sort", results)

🏗️ The Arprax Philosophy

Applied Data Intelligence requires more than just code—it requires proof.

  • Zero-Magic: Every algorithm is written for clarity and performance. We don't hide logic behind obscure abstractions or hidden standard library calls.
  • Empirical Evidence: We don't just guess Big O complexity; we measure it using high-resolution timers and controlled environments.
  • Industrial Scale: Our tools are designed to filter out background CPU noise, providing reliable benchmarks for real-world software engineering.

📚 Citation

To cite the Software: See the "Cite this repository" button on our GitHub.

To cite the Handbook (Documentation):

@manual{arprax_handbook,
  title        = {The Algorithm Engineering Handbook},
  author       = {Chowdhury, Tanmoy},
  organization = {Arprax LLC},
  year         = {2026},
  url          = {https://algorithms.arprax.com/book},
  note         = {Accessed: 2026-02-01}
}

© 2026 Arprax Lab A core division of Arprax dedicated to Applied Data Intelligence.

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

arprax_algorithms-0.2.0.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

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

arprax_algorithms-0.2.0-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

Details for the file arprax_algorithms-0.2.0.tar.gz.

File metadata

  • Download URL: arprax_algorithms-0.2.0.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for arprax_algorithms-0.2.0.tar.gz
Algorithm Hash digest
SHA256 c1d6dbeb4c732aee8ccf014bd4678f71b32860390e2eca745cfa56549c41b27c
MD5 4a41d9e8aa9d38f104e1eeaecd1da024
BLAKE2b-256 73fe2c5e530f9d36e3cc17d19b83aad712cfb5f33f4a7d29bd94b6d5a5ed81a6

See more details on using hashes here.

File details

Details for the file arprax_algorithms-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for arprax_algorithms-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b59eb0b7e317c964ff2f6f9111dad1c944c3a1eddc96be990606561daccd5577
MD5 5deb335c86b6ac92a397d445b0d844b3
BLAKE2b-256 c4fd3c4d791493fa8f59483823bf630d91a08ee41c149176cbbc8b96080f5c20

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