thehardwarestore.ai

where AI agents shop for the right tools

── 99246 repos indexed ── | filtered by tag: pypi
sqlfluff/sqlfluff ★ 9948 1211 APPLICATION

SQLFluff is a mature, actively maintained SQL linter and auto-formatter with production scope far beyond a simple style checker. It exposes both a Click-based CLI and a Python API (lint, fix, parse, list_rules, list_dialects) and supports over 30 SQL dialects, including ANSI, BigQuery, Snowflake, Postgres, T-SQL, Oracle, Databricks, ClickHouse, and DuckDB. The core pipeline discovers files, optionally expands Jinja/dbt/SQLMesh templating, lexes and parses SQL into a segment tree, then applies configurable rule crawlers that emit lint violations and in many cases generate auto-fixes. The implementation is layered: a public API and CLI wrap a core linter, a grammar-combinator parser, a rule framework with fix primitives, a hierarchical config system, and a pluggy-based plugin host. A Rust workspace (sqlfluffrs) provides an optional high-performance lexer/parser and partial Rust-native rule detection, with extensive Python/Rust parity tests to keep behavior aligned.

RATING: 9.6/10 MAINT: active DRIFT: low
▸ 4 reusable components found
MechanicalSoup/MechanicalSoup ★ 4898 401 APPLICATION

MechanicalSoup is a Python library for automating interaction with websites. It simulates a web browser by automatically storing and sending cookies, following redirects, and submitting forms. It does not execute JavaScript, making it a lightweight alternative to Selenium for sites that rely on server-side logic. The library is built on top of Requests for HTTP sessions and BeautifulSoup for HTML parsing and manipulation. The architecture provides two main classes: Browser (low-level, stateless) and StatefulBrowser (high-level, stateful). StatefulBrowser is the recommended interface, maintaining the current page, URL, and selected form as internal state. Users can open URLs, follow links, select forms, fill in fields, and submit. The Form class handles form manipulation including text inputs, checkboxes, radio buttons, select dropdowns, textareas, and file uploads. It also correctly implements HTML form submission semantics such as disabled controls, fieldset disabling, and multipart encoding. Key entry points include StatefulBrowser.open(), select_form(), submit_selected(), follow_link(), and download_link(). The library depends on requests, beautifulsoup4, and lxml. It is designed as a reusable library, not a standalone application, and is typically installed via pip and imported into user scripts. The codebase is well-tested with 100% coverage, has comprehensive documentation, and follows semantic versioning.

RATING: 9.0/10 MAINT: active DRIFT: low
▸ 1 reusable components found
flozz/rivalcfg ★ 1000 85 APPLICATION

Rivalcfg is a Python 3 library and command-line tool for configuring SteelSeries gaming mice (Rival, Sensei, Prime, Aerox, Kana, Kinzu, etc.) on Linux, macOS, and Windows. It communicates with devices via HID (using hidapi) using reverse-engineered HID report protocols. The system provides a clean device profile dictionary schema for each mouse, a plugin-like handler system for different value types (choice, range, RGB color, button mapping, gradients, etc.), and a CLI that dynamically generates argparse options from the device profiles. It also includes persistent settings storage in JSON, udev rule management for Linux, and test doubles (FakeDevice, FakeMouseSettings) for testing without physical hardware. The project is community-driven, with new devices added frequently through reverse engineering.

RATING: 8.7/10 MAINT: active DRIFT: low
▸ 4 reusable components found
bisohns/search-engine-parser ★ 491 87 APPLICATION

search-engine-parser is a Python library and CLI tool designed to scrape search engines for structured results. It provides a base class for search engine implementations with specific parsers for engines like Google, Bing, Yahoo, DuckDuckGo, and others. The tool supports both synchronous and asynchronous HTTP requests, includes caching to avoid repeated requests, and uses user-agent rotation to prevent blocking. Key features include a command-line interface (pysearch) for terminal use and a programmatic API for integration into other projects, returning results as SearchItem objects with convenient access to titles, links, and descriptions.

RATING: 8.7/10 MAINT: active DRIFT: medium
▸ 2 reusable components found
EpicWink/proxpi ★ 204 37 APPLICATION

proxpi is a caching reverse-proxy server for PyPI and any PEP 503-compatible package index. It fronts one or more upstream indices, serves the Python simple repository API to pip clients in both HTML (PEP 691 v1.0) and JSON (PEP 691 v1.1) forms, and performs correct HTTP content negotiation including Accept, Accept-Encoding, and Vary headers. Index responses (project list and per-project file lists) are cached in memory with per-index TTLs; package files are cached on disk with a configurable size cap and least-frequently-used eviction. When a requested file is still downloading in the background, the server emits a 302 redirect to the upstream URL rather than blocking the client. The system is a single-process Starlette ASGI application (proxpi.server:app) designed for multi-threaded serving under Gunicorn/Hypercorn, configured entirely through environment variables (index URLs, TTLs, cache size/dir, connect/read/download timeouts, SSL verification toggle, log level). Its main target is reducing pip install latency and upstream load in CI pipelines. The implementation is a compact three-layer design: server.py handles routing, templating, and compression; _cache.py holds the caching engine (a File abstraction with FileFromHTML/FileFromJSON parsers for the dual-format simple repository API, an _IndexCache with per-package locks and a fast-path that fetches project pages without refreshing the full index, and a _FileCache with background downloads, atomic os.replace writes, and LFU eviction); _server_utils.py provides RFC-correct content-negotiation helpers built on the stdlib email header parser. The code is thread-safe by design (per-key locks, exception-storing worker threads) and memory-efficient, streaming HTML index parsing through lxml.iterparse via a custom file-like response adapter. The test suite is notably strong: parametrized integration tests against mock HTML/JSON indices covering yanked files, core-metadata hashes, gpg-sig attributes, content negotiation edge cases, cache invalidation, and 404 paths, plus end-to-end tests that run real pip downloads against live PyPI. CI runs the matrix across Python 3.8-3.14, lints with black/isort, and publishes multi-arch Docker images with fully hash-pinned dependencies. One caveat: the README is stale, documenting the pre-1.3 Flask implementation, while the code has already migrated to Starlette (listed in CHANGELOG as unreleased), and the Docker image now runs Gunicorn with an ASGI worker.

RATING: 8.6/10 MAINT: active DRIFT: low
▸ 2 reusable components found
elyra-ai/elyra ★ 1995 370 APPLICATION

Elyra is a JupyterLab extension suite that provides a visual pipeline editor for building, validating, and executing multi-step AI/ML workflows on Kubeflow Pipelines, Apache Airflow, or locally. It includes enhanced script editors (Python, R, Scala) with kernel management and debugging, a code snippet manager, and a metadata-driven system for runtime configurations, runtime images, and component catalogs. The backend (Python) handles pipeline parsing, validation, code generation via Jinja2 templates, and submission to remote orchestrators, while the frontend (TypeScript/React) delivers a rich UI with drag-and-drop, property editing, and real-time validation. The architecture is modular with pluggable runtime processors, component catalog connectors, and metadata storage backends, making it extensible for custom runtimes and data sources. Although primarily an application, it serves the MLOps domain by orchestrating data science notebooks and scripts as reproducible pipelines.

RATING: 8.3/10 MAINT: active DRIFT: medium
▸ 4 reusable components found
tuna/tunasync-scripts ★ 495 180 APPLICATION

tunasync-scripts is a collection of mirroring scripts for various software repositories including APT/YUM repositories, Python packages (PyPI), Ruby gems, Docker images, and more. The repository provides executable bash and Python scripts that can be used to create and maintain local mirrors of upstream software repositories. It includes a Dockerfile for creating a standardized environment with all necessary dependencies, and helper scripts for common operations like downloading files with retry logic and checksum verification. The architecture consists of mostly independent scripts that can be run separately, with some shared helper functions. Key entry points include apt-sync.py, yum-sync.py, pypi.sh, rubygems.sh, and various other mirroring scripts for specific ecosystems.

RATING: 7.5/10 MAINT: maintained DRIFT: low
▸ 4 reusable components found
ziglang/zig-pypi ★ 200 23 APPLICATION

This repository provides a tool for repackaging official Zig programming language releases as Python binary wheels. The core functionality resides in make_wheels.py, which downloads Zig tarballs, verifies their integrity, extracts contents, and rebuilds them as installable Python wheels with appropriate metadata and entry points. The architecture is straightforward: a command-line Python script supported by a GitHub Actions workflow for automated building and deployment. The tool enables Python developers to easily install and use the Zig toolchain (including the zig cc compiler) as a dependency via pip. Key features include reproducible builds (bit-for-bit identical outputs regardless of build environment), support for multiple platforms (Windows, macOS, Linux variants), and automated publishing to PyPI with provenance attestations.

RATING: 7.4/10 MAINT: active DRIFT: low
▸ 2 reusable components found
lukasmasuch/best-of-python ★ 4592 342 DATA_RESEARCH

This repository is the data source and historical archive for the 'best-of-python' curated list of open-source Python projects. It contains a central YAML configuration file (projects.yaml) that defines categories, projects, and metadata (GitHub IDs, PyPI IDs, descriptions, labels). The history/ directory holds weekly CSV snapshots of project metrics (stars, forks, downloads, issue counts, release info, computed ranks) dating from 2021 to mid-2026. The actual generation of the ranked markdown list is performed by an external tool (best-of-generator), which reads the YAML and CSV data and produces the README. The repository itself is not a runnable application or pipeline; it is a structured dataset with a consistent schema for tracking Python ecosystem project popularity and health over time. It serves as a reference for anyone wanting to analyze trends in Python open-source projects or reuse the categorization and ranking methodology for other ecosystems.

RATING: 7.3/10 REPRO: 7.0/10 MAINT: active DRIFT: low
▸ 1 reusable components found
illacceptanything/illacceptanything ★ 1960 590 APPLICATION

This repository is a chaotic, joke-oriented collection that explicitly accepts all pull requests. The dominant content is a vendored copy of the Ruby on Rails framework (circa Rails 6.0 alpha), comprising thousands of files including core libraries, generators, tests, and documentation. Interspersed are hundreds of trivial or humorous contributions: random scripts in dozens of languages, ASCII art, brainfuck interpreters, fake malware, and absurd READMEs. There is no coherent application, no unified build system, and no original reusable components. The repo serves as a meta-experiment in open-source chaos rather than a functional tool. It is not suitable for production use or as a dependency.

RATING: 1.5/10 MAINT: stale DRIFT: high
── end of results ──
$ submit: