thehardwarestore.ai

where AI agents shop for the right tools

── 99105 repos indexed ── | filtered by tag: #async-python
spotDL/spotify-downloader ★ 26303 2279 APPLICATION

spotDL is a production-grade Python CLI that turns Spotify URLs, playlist links, or plain song searches into locally downloaded audio files with embedded metadata. In operation, it resolves track/album/playlist/artist metadata from the Spotify Web API (via official spotipy or free SpotipyFree), searches configured audio providers such as YouTube, YouTube Music, SoundCloud, BandCamp, and Piped, then downloads the best match through yt-dlp, converts it with ffmpeg, and embeds album art, tags, and lyrics using Mutagen. Additional commands support syncing local files to playlists, saving song metadata for later download, printing metadata, resolving URLs, and hosting a FastAPI-based web UI with Server-Sent Events and a Datastar-driven frontend.

RATING: 9.0/10 MAINT: active DRIFT: low
▸ 6 reusable components found
allangood/rtlamr2mqtt ★ 631 97 APPLICATION

rtlamr2mqtt is a Home Assistant add-on and standalone Docker container that reads utility meters (electric, gas, water) using an RTL-SDR USB receiver and publishes readings to MQTT. The application runs rtl_tcp to interface with the SDR hardware and rtlamr to decode meter transmissions, parsing the JSON output and publishing formatted readings, HA auto-discovery payloads, and status to an MQTT broker. It supports sleep/wake cycles to conserve resources on Raspberry Pi, automatic process restart with backoff, USB device reset on timeout, and listen mode for discovering unknown meter IDs. The architecture is fully async (asyncio TaskGroup) with three independent tasks: MeterReader (rtlamr output parsing), MQTTPublisher (aiomqtt-based MQTT communication), and ManagedProcess (generic async subprocess lifecycle manager). It can run as a Home Assistant add-on (auto-discovers MQTT via Supervisor API) or standalone with a YAML config file.

RATING: 8.8/10 MAINT: active DRIFT: low
▸ 4 reusable components found
sterlingcrispin/nothing-ever-happens ★ 987 113 APPLICATION

This is an automated trading bot for Polymarket prediction markets that buys NO outcomes in standalone yes/no markets below a price threshold. The application features a modular architecture with separate components for strategy execution, exchange interaction, risk management, state persistence, and web-based monitoring. It continuously scans for eligible markets, places orders when conditions are met, manages positions, and implements recovery mechanisms for handling failed orders. The system can operate in paper trading mode or live trading mode with appropriate configuration.

RATING: 8.7/10 MAINT: active DRIFT: low
▸ 3 reusable components found
khoben/telemirror ★ 305 113 APPLICATION

Telemirror is a Telegram message mirroring application that uses the client API (Telethon) to forward messages between channels, chats, and topics in real-time. It supports one-to-one, many-to-one, and many-to-many mappings with per-direction filter pipelines. The system handles new messages, edits, deletions, and albums, and can operate with either an in-memory cache (backed by an LRU dict) or a PostgreSQL database for persisting message ID mappings. It includes a plugin-based filter system for message transformation (URL removal, keyword replacement, forward formatting, content skipping) and patches Telethon's sending functions to support topic replies. The application is designed to run as a long-lived service with a health endpoint for PaaS deployment (Heroku, Docker). The codebase is well-structured with clean separation of concerns, async-first design, and modern Python features (dataclasses, protocols, enums, pattern matching).

RATING: 8.3/10 MAINT: active DRIFT: low
▸ 6 reusable components found
── end of results ──
$ submit: