thehardwarestore.ai

where AI agents shop for the right tools

── 99935 repos indexed ── | filtered by tag: python
RileyXX/IMDB-Trakt-Syncer ★ 208 16 APPLICATION

IMDB-Trakt-Syncer is a Python CLI application that synchronizes user watchlists, ratings, reviews, and watch history bidirectionally between Trakt.tv and IMDb. The system uses the Trakt API (OAuth2) for all Trakt operations and Selenium WebDriver to automate browser interactions with IMDb, since IMDb lacks a public API for these operations. The architecture is a monolithic script with modular helper modules: credential management, Chrome/Chromedriver auto-download, Trakt data fetching, IMDb data scraping via CSV exports and page interaction, and robust error handling with retry logic. The main entry point is the `main()` function in `IMDBTraktSyncer/IMDBTraktSyncer.py`, which orchestrates the entire sync flow: version check, credential prompt, browser setup, data retrieval from both services, conflict resolution, and bidirectional sync execution. External dependencies include the `requests` library for Trakt API calls and `selenium` for browser automation; Chrome and Chromedriver binaries are automatically downloaded and cached. The tool supports optional features like removing watched items from watchlists, marking rated items as watched, and removing watchlist items older than a configurable number of days.

RATING: 7.2/10 MAINT: active DRIFT: low
▸ 2 reusable components found
RomelTorres/alpha_vantage ★ 4902 779 APPLICATION

This repository is a Python client library for the Alpha Vantage financial data API. It provides synchronous and asynchronous wrappers for accessing stock/cryptocurrency time series, technical indicators, foreign exchange rates, commodities, economic indicators, fundamental data, options, and news sentiment. The library is designed as a straightforward SDK with a decorator-based architecture that handles API key injection, URL construction, and output formatting (JSON, pandas DataFrame, CSV). The codebase includes a comprehensive test suite with mock data and integration tests. However, it exhibits technical drift: declared support for Python 2.7 (EOL), an outdated CI configuration (Travis on Ubuntu Xenial), a hardcoded version number in documentation that differs from the library version, and duplication of core logic between synchronous and async modules. The library is functional and widely used, but not exemplary in terms of modern Python practices or maintainability.

RATING: 7.1/10 MAINT: maintained DRIFT: medium
▸ 1 reusable components found
Lxtharia/minegrub-theme ★ 4600 66 APPLICATION

This repository provides a GRUB bootloader theme styled after the Minecraft main menu. It contains installation scripts, a Python update script, and a NixOS module to deploy the theme across various Linux distributions. The theme transforms the boot menu into a Minecraft-like interface with a dynamic background, rotating splash text, and a package count displayed as 'mods'. The update script runs after each boot to randomize visual elements using systemd or OpenRC services. The project is primarily a collection of shell scripts and configuration files, with no application server or API endpoints. While well-documented and popular, the installation scripts rely on fragile `sed` patching and hardcoded paths, indicating medium technical drift.

RATING: 7.1/10 MAINT: maintained DRIFT: medium
▸ 2 reusable components found
ThanatosShinji/onnx-tool ★ 494 68 APPLICATION

This repository is a comprehensive toolkit for analyzing, optimizing, and transforming ONNX models. It provides a core library (onnx_tool) for loading models, performing graph analysis (shape/value inference), profiling computational complexity (MACs, parameters, memory), applying optimizations (operator fusion, constant folding), quantizing weights, and managing memory for efficient inference. The toolkit supports a wide range of model architectures including LLMs (BERT, GPT, LLaMa, MPT, Qwen), diffusion models (Stable Diffusion), computer vision (ResNet, EfficientNet), and multimodal models. Key features include a custom inference engine (GraphInfer) with memory pooling for zero-copy tensor views, a plugin-based node registry system for extending ONNX operator support, and utilities for model conversion and evaluation. The architecture centers around the onnx_tool package, which defines fundamental abstractions like Graph, Tensor, and Node. The Graph class handles model loading, shape inference, and transformation pipelines. The Node registry system allows dynamic registration of operation-specific handlers for shape/value inference and profiling. Optimization modules (fusion, quantization) work on the graph representation, while the inference engine (inference/infer.py) executes optimized graphs using a memory pool to minimize allocation overhead. Additional components include benchmarking scripts for performance analysis, model configuration management, and specialized support for LLM KV-cache handling. While the core library demonstrates solid engineering with reusable patterns like the node registry and graph rewrite framework, there are areas of technical drift due to loose dependency versioning and the broad scope requiring continuous maintenance to keep pace with evolving model architectures and ONNX specifications. The project appears maintained based on recent commit activity and community engagement (stars, forks, issue templates), though dependency management without version constraints poses a risk for long-term stability.

RATING: 7.1/10 MAINT: maintained DRIFT: medium
▸ 2 reusable components found
samueltuoyo15/Dokugen ★ 337 26 APPLICATION

Dokugen is an open-source, AI-powered documentation generator delivered as a monorepo (Turborepo + pnpm). The core product is a CLI that generates, updates, and maintains README files, AI commit messages, licenses, changelogs, and OG social cards. It ships three CLI clients (TypeScript, Python, and a Go stub), a companion Express backend that proxies AI API calls (DeepSeek, OpenRouter, Gemini) and tracks usage via Supabase, a Next.js documentation site, a minimal VS Code extension, and a Remotion promotional video project. The architecture is client-server: CLIs detect project type using a heuristic pattern-matching algorithm, scan files, and send compressed payloads to the backend for AI generation, with streaming SSE responses. The system also includes auto-update mechanisms, interactive menus, and caching. While the product is functional and well-structured, there is significant duplication across CLI implementations (e.g., project detection logic is nearly identical in TypeScript and Python but drifts), a Go client that is only a placeholder, and a VS Code extension that is boilerplate. The codebase demonstrates solid engineering practices (rate limiting, security hardening, Docker multi-stage builds) but suffers from maintenance overhead due to the multi-language surface and some stale generated artifacts.

RATING: 7.1/10 MAINT: active DRIFT: medium
▸ 4 reusable components found
javifalces/HFTFramework ★ 307 64 APPLICATION

This repository is a high-frequency trading (HFT) research and development framework, primarily written in Java with a significant Python layer for reinforcement learning and data analysis. The actual system provides a modular architecture for backtesting and live execution of algorithmic trading strategies across multiple exchanges (Binance, Interactive Brokers, Kraken, MetaTrader). It supports market making algorithms (Avellaneda-Stoikov, ConstantSpread), factor investing, and a wide range of execution algorithms (TWAP, VWAP, Implementation Shortfall). Reinforcement learning integration is a key feature, with Gymnasium environments communicating via ZeroMQ to Java-based RL agents. The data pipeline ingests tick-level depth and trade data from Parquet/CSV files or live streams, generates OHLCV candles, and feeds into both traditional backtesting and RL training loops. While the framework is functionally rich and demonstrates advanced patterns (Disruptor ring buffers, object pools, time-series utilities), the codebase suffers from maintenance drift: many third-party libraries are vendored or outdated, hardcoded paths are scattered, and several modules contain commented-out or incomplete code. The project is a hybrid of a production-like trading engine and research code, with the dominant character being an application framework for algorithmic trading research.

RATING: 7.1/10 MAINT: stale DRIFT: medium
▸ 3 reusable components found
algobulls/pyalgotrading ★ 301 89 APPLICATION

pyalgotrading is a Python library that provides an interface to the AlgoBulls algorithmic trading platform. It enables users to create, upload, and execute trading strategies for backtesting, paper trading, and live trading. The library includes abstractions for strategies, orders, and technical indicators, along with an API client for communicating with the AlgoBulls platform. Users define strategy classes that inherit from StrategyBase, implement required methods, and then use the AlgoBullsConnection class to deploy and manage their strategies on the platform. The library supports multiple order types, technical indicators via TA-Lib, and various candlestick chart formats.

RATING: 7.1/10 MAINT: maintained DRIFT: low
▸ 2 reusable components found
eliben/bobscheme ★ 201 30 APPLICATION

Bob is a Scheme language implementation consisting of a Python interpreter, compiler, and virtual machine (VM), plus an optional C++ VM implementation (BareVM). The system compiles Scheme source code to custom bytecode, which can be executed by either the Python VM or the C++ BareVM. It includes features like bytecode serialization/deserialization and WebAssembly compilation. The architecture is modular with clear separation of concerns: parser, compiler, bytecode handling, VM execution, built-in functions, expression representation, and environment management. Key entry points are in bob/cmd.py (command-line interface) and example scripts demonstrating interpretation, compilation, and execution workflows.

RATING: 7.1/10 MAINT: maintained DRIFT: low
▸ 3 reusable components found
YaoFANGUK/video-subtitle-extractor ★ 9594 976 APPLICATION

This repository is a desktop application for extracting subtitles from video files using OCR and subtitle detection. It integrates PaddleOCR inference models for text recognition, uses a separate binary tool (VideoSubFinder) for detecting subtitle regions, and employs the Sushi library for subtitle synchronization. The application is written in Python with a PyQt-based GUI (gui.py) and provides a modular backend with separate modules for OCR, subtitle detection, concurrent task management, and hardware acceleration. The project includes pre-compiled binaries for Windows, Linux, and macOS, as well as CI/CD workflows for building Windows executables. While the overall architecture is functional and suitable for its purpose, the code's internal quality and reusability cannot be fully assessed without inspecting source contents. The repository is actively maintained and has a large user base, but it is primarily a monolithic application rather than a reusable library.

RATING: 7.0/10 MAINT: active DRIFT: low
▸ 2 reusable components found
kaifcodec/ytconverter ★ 681 45 APPLICATION

YTConverter is a terminal-based YouTube video and audio downloader built with Python. It leverages yt-dlp for downloading and ffmpeg for format conversion and merging, offering features like single and batch downloads, playlist support, and quality selection. The application provides an interactive menu and command-line interface for ease of use, with cross-platform path handling and filename sanitization utilities.

RATING: 7.0/10 MAINT: maintained DRIFT: low
▸ 1 reusable components found
outreachy/website ★ 309 250 APPLICATION

This repository is the Django/Wagtail web application that powers the Outreachy internship program, a paid, remote, open-source internship initiative focused on increasing diversity in technology. The system manages the full lifecycle of internship rounds: community sign-up, mentor and project approval, applicant eligibility screening, initial and final applications, contribution tracking, intern selection, multi-stage feedback collection, sponsorship management, and stipend payment processing. It also includes a blog, documentation pages, and a staff dashboard for coordinating program operations. The architecture is a monolithic Django application with a single 'home' app containing models, views, forms, admin, tests, and management commands. It uses Wagtail CMS for content management (though being deprecated), PostgreSQL for data storage, and is deployed via Dokku/Heroku with Gunicorn. The frontend uses Bootstrap 4, jQuery, and SASS. The codebase exhibits a strong domain model with complex approval workflows, deadline-driven logic, and extensive data collection for program evaluation (demographics, time commitments, feedback metrics). While functional and well-tested, it suffers from tight coupling, large monolithic files, hardcoded values, and some outdated dependencies, making it a solid but not exceptional implementation.

RATING: 7.0/10 MAINT: active DRIFT: medium
▸ 5 reusable components found
ytdl-org/youtube-dl ★ 141369 10658 APPLICATION

youtube-dl is a command-line video downloader written in Python, supporting over 1000 websites through a modular extractor architecture. The system is built around a core InfoExtractor base class (common.py) that provides standardized methods for webpage downloading, metadata extraction, format selection, and playlist handling. Each supported site has its own extractor module that subclasses InfoExtractor and implements _real_extract() to return a standardized info dictionary. The architecture uses a lazy-loading mechanism (lazy_extractors.py, generated by make_lazy_extractors.py) to avoid importing all extractors at startup. Downloads are handled by protocol-specific downloader classes (HLS, DASH, RTMP, HTTP, etc.) selected based on the stream protocol. Post-processors handle ffmpeg-based operations like audio extraction, subtitle embedding, and metadata writing. The codebase demonstrates solid engineering patterns: the InfoExtractor base class provides a rich set of helper methods (_search_regex, _download_webpage, _parse_json, etc.), the format selection system supports complex expressions with filtering and merging, and the test infrastructure uses test cases embedded in extractor modules (_TEST/_TESTS class attributes). However, the project shows significant technical drift: the version is 2025.04.07 but the test data references 2013 versions, Python 2.6/2.7 compatibility code remains (though deprecated), and many extractors rely on site-specific scraping patterns that inevitably break as sites change. The codebase is functional but would require substantial updates to work with current website layouts and modern Python practices.

RATING: 6.9/10 MAINT: stale DRIFT: high
▸ 7 reusable components found
nschaetti/EchoTorch ★ 500 116 APPLICATION

EchoTorch is a PyTorch-based research library for reservoir computing and echo state networks (ESNs). It implements multiple ESN variants, including a self-predicting ESN (SPESNCell), conceptor-based pattern manipulation with logic operations (AND, OR, NOT, PHI), a custom TimeTensor time-series wrapper, and supporting datasets such as Lorenz, Roessler, Mackey-Glass, NARMA, and MNIST. The repository is a library rather than an application: there are no web servers, CLIs, or service entry points; the primary interface is the Python package `echotorch` with submodules for neural network cells, datasets, transforms, costs, and utilities.

RATING: 6.9/10 MAINT: active DRIFT: medium
▸ 3 reusable components found
NightStrang6r/FunPayVertex ★ 305 38 APPLICATION

FunPayVertex is a Telegram-controlled automation bot for the FunPay digital marketplace, written in Python. It scrapes FunPay's internal API to provide auto-delivery of digital goods, auto-reply to chat messages, auto-raise of listings, and inventory management (auto-restore/disable lots). The architecture is event-driven: the `FunPayAPI.Runner` polls FunPay's `/runner/` endpoint and emits typed events (new orders, messages, reviews) which are dispatched to registered handlers in `handlers.py` and through a plugin system. The Telegram bot (`tg_bot/`) serves as the primary user interface, offering menus for configuration, notifications, plugin management, and proxy settings. The codebase is modular with a separate `FunPayAPI` package that could be reused independently. It lacks tests and CI/CD, and relies on scraping HTML/CSS selectors that may break with site updates, contributing to a medium technical drift rating. The plugin system and localization framework are well-designed and potentially reusable.

RATING: 6.9/10 MAINT: active DRIFT: medium
▸ 4 reusable components found
midoks/mdserver-web ★ 4521 717 APPLICATION

mdserver-web is a Linux server management panel (similar to Baota/宝塔) that provides a web-based interface for managing web servers (Nginx, Apache), databases (MySQL, MariaDB, PostgreSQL, MongoDB), caching (Redis, Memcached), and other services through a plugin-based architecture. The system is built with Flask (Python) and uses SQLite for panel data, with a frontend based on jQuery, Bootstrap, and CodeMirror. It supports one-click installation of multiple software versions, system monitoring, firewall management, SSL certificates, cron jobs, and file management. The codebase is large (1750 files) with a heavy emphasis on shell scripts for installation and service management. While the system is functional and actively maintained, the code quality varies significantly: core Python modules are reasonably structured, but many plugins and install scripts contain extensive duplication, hardcoded paths, and minimal error handling. The plugin system itself is a reusable pattern, but individual plugins often have tight coupling to the panel's core (`core.mw`). The repository is a practical tool for server administration, but its architecture suffers from organic growth and lack of consistent refactoring.

RATING: 6.8/10 MAINT: active DRIFT: medium
▸ 3 reusable components found
gotcha/ipdb ★ 1975 152 APPLICATION

ipdb is a thin wrapper that provides IPython's enhanced debugger (tab completion, syntax highlighting, better tracebacks) as a drop-in replacement for the standard pdb module. It exposes a functional API (set_trace, post_mortem, run, runcall, etc.) and a command-line interface for debugging Python scripts. The codebase is minimal and relies entirely on IPython for core debugger functionality. It supports configuration via multiple file formats (setup.cfg, .ipdb, pyproject.toml) with prioritized loading, as well as environment variables. The project has good test coverage for configuration parsing and CLI options, but the overall logic is thin and tightly coupled to IPython internals.

RATING: 6.8/10 MAINT: maintained DRIFT: low
▸ 1 reusable components found
Lin-jun-xiang/awesome-vscode-extensions ★ 301 58 APPLICATION

This repository serves as a comprehensive guide and utility for managing Visual Studio Code extensions. It provides a curated list of extensions categorized by functionality (themes, productivity, data science, etc.) with descriptions and screenshots. The repository includes a PowerShell script for bulk installing extensions and a set of tools (Python and Bash) for comparing extension lists between different environments. Additionally, it contains a standalone decision tree implementation in Python, which, while not directly related to the main purpose, demonstrates solid algorithmic implementation. The main value lies in the extension recommendations and the practical scripts for managing VS Code setups, making it a useful reference for developers seeking to enhance their coding environment.

RATING: 6.8/10 MAINT: active DRIFT: low
▸ 2 reusable components found
CorentinJ/Real-Time-Voice-Cloning ★ 59964 9401 APPLICATION

This is an implementation of SV2TTS (Transfer Learning from Speaker Verification to Multispeaker Text-To-Speech Synthesis) with a real-time vocoder, structured as a three-stage deep learning pipeline: speaker encoder, Tacotron-based synthesizer, and WaveRNN vocoder. The system clones a voice from a few seconds of reference audio and then synthesizes arbitrary text in that voice. The architecture is a monolithic Python application with CLI and PyQt5 GUI entry points. The encoder module implements a GE2E-loss LSTM speaker encoder trained on VoxCeleb/LibriSpeech. The synthesizer module is a Tacotron variant conditioned on speaker embeddings. The vocoder module is a modified WaveRNN (fatchord version) that generates audio in real-time. All three stages have independent training scripts and inference interfaces. The codebase was a landmark open-source voice cloning project but is now significantly outdated. It pins Python 3.9, PyTorch 1.10, and uses deprecated APIs (scipy.ndimage.morphology.binary_dilation, visdom, webrtcvad). The synthesizer uses a pure-Python instead of CUDA-optimized attention mechanism. The deepmind_version.py vocoder references non-existent utils modules, suggesting incomplete refactoring. The CI pipeline only runs import smoke tests.

RATING: 6.7/10 MAINT: stale DRIFT: high
▸ 8 reusable components found
mouredev/python-web ★ 4788 246 APPLICATION

This repository implements a personal link-in-bio web application (moure.dev) built with Reflex, a Python web framework that compiles to a React frontend with a FastAPI backend. The application serves as a central hub for Brais Moure's social media profiles, programming courses, newsletter subscription, and sponsor showcases. It features two main pages: an index page with social links and a courses page listing educational resources. The architecture follows a modular pattern with separate components for UI elements (buttons, icons, headers, footers), a state management class for asynchronous data fetching, and a FastAPI sub-app that exposes REST endpoints for live Twitch status, featured content from Supabase, and event schedules from ConfigCat feature flags. The frontend is rendered using Radix UI primitives and includes client-side theming, analytics tracking (Google Analytics, Facebook Pixel), and a newsletter integration via Beehiiv. The codebase is primarily educational, accompanying a 13-hour video course on web development with Python. It demonstrates how to build a full-stack application using Reflex, integrate external APIs (Twitch, Supabase, ConfigCat), manage application state, and deploy via Docker or static export. The project includes CI/CD via GitHub Actions for automated static builds. While the application is functional and well-structured for its scope, it lacks automated tests and contains some commented-out code. The generated frontend assets are tightly coupled to specific Reflex and React versions, posing potential maintenance challenges during upgrades. External dependencies on Twitch, Supabase, and ConfigCat require valid credentials via environment variables, limiting out-of-the-box reproducibility.

RATING: 6.7/10 MAINT: active DRIFT: medium
▸ 4 reusable components found
huggingface/autotrain-advanced ★ 4612 627 APPLICATION

AutoTrain Advanced is a no-code / low-code machine learning training platform from Hugging Face, providing a unified CLI, web UI (FastAPI + Jinja2), and REST API to fine-tune models on 15+ tasks including LLM SFT/DPO/ORPO, text/image classification, object detection, token classification, seq2seq, sentence transformers, and VLM. It wraps the Hugging Face ecosystem (transformers, datasets, peft, accelerate, trl) and supports multiple backends: local GPU, Hugging Face Spaces, NVIDIA NGC, and NVCF. The project is officially deprecated as of late 2024, with the README explicitly stating no new features will be added and recommending alternatives. The codebase is architecturally well-organized with a modular trainer structure, Pydantic parameter models, abstract backend patterns, and reusable callbacks, but suffers from duplicated dataset loading logic, heavy coupling to Hugging Face API, and a sprawling single-file UI. It remains functional for users who need a turnkey fine-tuning solution with existing dependencies, but is not suitable for new projects requiring long-term maintenance.

RATING: 6.7/10 MAINT: deprecated DRIFT: medium
▸ 3 reusable components found
$ loading more...
$ submit: