Skip to main content

Markdown

⚡ fasthardware (ungyoseries Acceleration Engine)

fasthardware is the core low-level acceleration engine of the ungyoseries framework. It provides hyper-performance runtime optimizations, hardware-native boosting (ULTIMATE mode), asynchronous non-blocking video streaming, and automated memory sweep mechanics designed for mission-critical AI inference pipelines.


🚀 Key Features

  • Ultimate Hardware Boosting (speedup): Direct optimization of OS thread schedulers, memory allocation sub-systems, and compiler behaviors tailored for heavy mathematical computations and deep learning.
  • Zero-Latency Streaming (FastVideoStream): Eliminates OpenCV blocking bottlenecks by running frame acquisition on a dedicated hardware-isolated thread using atomic GIL-safe variable swapping.
  • Automated Workspace Purging (manual_sweep): Proactively triggers process working-set trimming and forces garbage collection to maintain a zero-memory-leak state during prolonged loops.
  • Seamless Integration: Fully encapsulated within the ungyoseries unified architecture. Accessible seamlessly via a single master import.

🛠️ Architecture Overview

ungyoseries (Master Package)
└── init() / @boost()
└── fasthardware (Core Engine)
    ├── speedup()          # OS & Thread Level Boosting
    ├── manual_sweep()     # Hardware-level Memory Trimming
    └── FastVideoStream()  # Non-blocking GIL-isolated Stream Engine

💻 Technical Specification & Usage

  1. Initializing Ultra-Performance Mode Invoke init(mode="ULTIMATE") at the very entry point of your application to maximize CPU/GPU thread scheduling priorities and lock down low-latency execution paths.
import ungyoseries

# Initialize Hyper-Performance Environment immediately at boot
ungyoseries.init(mode="ULTIMATE")
  1. Zero-Lag High-Speed Streaming Replace the standard cv2.VideoCapture blocking loop with the asynchronous hardware stream engine to achieve maximum, consistent loop FPS.
# Starts thread-isolated background frame swapper
vs = ungyoseries.fasthardware.FastVideoStream(src=0).start()

while True:
    # Instantly read the latest frame without any blocking delays
    frame = vs.read()
# Your heavy AI inference / Processing Logic goes here...
  1. Automated Memory Trimming via Decorator Utilize the @ungyoseries.boost() decorator on your main pipeline function to manage GC states during the hot loop and execute an automatic manual_sweep() when the pipeline finishes or encounters an unhandled exception.
@ungyoseries.boost()
def main_pipeline():
    vs = ungyoseries.fasthardware.FastVideoStream(src=0).start()
    try:
        while True:
            image = vs.read()
            # Loop execution...
    finally:
        vs.stop()

📦 Requirements & Installation fasthardware is automatically configured and linked as an editable module inside your python virtual environment via setuptools.

Dependencies numpy >= 1.20.0

aiohttp >= 3.8.0

requests >= 2.25.0

openvino >= 2023.0.0

opencv-python >= 4.5.0

Local Development Setup To register and lock the package framework to your local virtual environment:

pip install -e .

🛡️ License Developped and engineered exclusively by ungyo. Unauthorized distribution or commercial reuse of the core acceleration components is strictly restricted.

Metadata

Release files for ungyoseries 26.6.13

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ungyoseries 26.6.13
File Size Uploaded Provenance Actions
ungyoseries-26.6.13.tar.gz 11.0 kB Without provenance Details for ungyoseries-26.6.13.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ungyoseries 26.6.13
File Interpreter ABI Platform Actions
ungyoseries-26.6.13-py3-none-any.whl Python 3 none any Details for ungyoseries-26.6.13-py3-none-any.whl

Total release size: 21.7 kB

Release files / ungyoseries-26.6.13.tar.gz

Download URL ungyoseries-26.6.13.tar.gz
Size 11.0 kB
Tags Source
SHA-256 checksum
How to use checksums
4851f84c16a037e0514545c3b55cbfbff2f8b7d83799e5b2e2d3cf88f8aae1e8
BLAKE2b-256 checksum
How to use checksums
e0ef1f7e0b1f5c46152c1bf78e4038273be085fe391fef7a41ce9dd8244c13dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.9

Release files / ungyoseries-26.6.13-py3-none-any.whl

Download URL ungyoseries-26.6.13-py3-none-any.whl
Size 10.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
41d43fe72cb9161c87730529d8d4a4f5a332447094641691367340352b83fe17
BLAKE2b-256 checksum
How to use checksums
e07d5b7cfd800a9f470369b347f267ca270bd3be5dff7305723206663ab1ae3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.9

Security for ungyoseries 26.6.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page