Skip to main content

The ultimate high-performance utility framework for Python, powered by fasthardware.

Project description

Markdown

hython Official Logo

🚀 hython

PyPI version License: MIT

The ultimate high-performance utility framework for Python. Supercharge your functions with just a single decorator.

hython is a next-generation mega-utility pack designed to eliminate Python's performance bottlenecks. Powered by the legendary fasthardware engine, hython allows you to inject hardcore OS-level optimization, strict multicore affinity binding, and ultra-fast computing/networking libraries directly into your critical functions using a simple, native decorator.


⚡ Key Features

  • Built-in fasthardware V2 Engine: Automatically inherits OS priority escalation and multi-process core-binding (ULTIMATE mode).
  • @hython.boost Decorator: Instantly accelerates specific functions on-demand. Boosts hardware efficiency upon entry and clears memory caches immediately upon exit.
  • All-in-One High-Speed Battery Pack: Automatically bundles industry-standard core libraries for high-performance computing and asynchronous networking (NumPy, Requests, AioHTTP).
  • Zero Configuration boilerplate: No tedious setups or multi-package imports. Just decorate and launch.

📦 Installation

Install the complete performance ecosystem with a single command:

pip install hython

(This will automatically install fasthardware, numpy, requests, and aiohttp in the background.)

🛠️ Quick Start

  1. Function-Level On-Demand Acceleration (Recommended) Simply place the @hython.boost() decorator above any heavy CPU-bound or multi-process function.
import hython

Supercharge this specific function and its child processes recursively

@hython.boost(mode="ULTIMATE")
def heavy_data_pipeline():
    # 1. OS priority is elevated to maximum instantly
    # 2. Child processes are strictly bound to isolated CPU cores
    print("Processing massive numbers or real-time streaming...")
# [hython] Automatically provides pre-imported high-speed utilities
# e.g., hython.np, hython.requests, hython.aiohttp are ready to use

# 3. Upon function completion, memory generation-0 cache is swept safely!
  1. Global Environment Initialization If you want to apply the hardware booster globally to your entire script from start to finish:
import hython

Initialize hyper-performance environment for the entire process lifetime

hython.init(mode="ULTIMATE")

Your standard scripts go here...

🏗️ Integrated Ecosystem By installing hython, you instantly get optimized wrappers for:

System Boosting: fasthardware (OS Scheduling Hijacking & Core Affinity)

Fast Vectorization: numpy (C-optimized array operations)

Hyper Network I/O: requests & aiohttp (Blazing fast synchronous & asynchronous I/O)

📜 License This project is licensed under the MIT License - see the LICENSE file for details.

Developed with ⚡ by Choi Woongyo.

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

hython-1.0.1.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

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

hython-1.0.1-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file hython-1.0.1.tar.gz.

File metadata

  • Download URL: hython-1.0.1.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for hython-1.0.1.tar.gz
Algorithm Hash digest
SHA256 572c770a58ccc7814028e6487e02fd3702a5455fa0158889ab85657a1dd63b18
MD5 7a0da0fd06579f532acd7aa1c803b869
BLAKE2b-256 a636ee50104edf0bd1f215276bac984bf281462f0024ba0bc6c9638ce92e9382

See more details on using hashes here.

File details

Details for the file hython-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: hython-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for hython-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d9e4e3f9c485d5f40b06f2aa4d56de8aca0cedad71ec085e03a20f234f9cbe1b
MD5 e96a1d901a2b81391466dace56d70e1f
BLAKE2b-256 29115bf5d0430f2204cfdb783bfd6e06bdd53df7cc693de8e827fa0c6c9de937

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