frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Pyrig – A tool that automates project setup and maintenance

https://github.com/Winipedia/pyrig
4•Winipedia•1h ago
# What is pyrig?

pyrig is a package and tool that *rigs up* your project. It scaffolds and initializes a complete, fully configured, installed and working Python project with one command and makes the process of developing and maintaining it more seamless and efficient by automating things like configuration management, CLI generation, testing infrastructure, and more.

# Requirements

* Python 3.12+ * Git * uv

# Quick Start

    uv init my-project --python 3.12
    cd my-project
    uv add pyrig --dev
    uv run pyrig init
See the [Getting Started Guide](https://Winipedia.github.io/pyrig/getting-started) for detailed setup instructions to also fully integrate with GitHub and CI/CD from the start.

# Features

# [Project Scaffolding & Initialization](https://Winipedia.github.io/pyrig/scaffolding)

`pyrig init` generates a complete project in one command that works out of the box. This includes everything a modern python project needs:

* Standardized directory structure * Fully configured dev tools (linters, formatters, type checkers, test frameworks, git hooks, etc.) * End-to-end CI/CD pipeline with GitHub Actions and integrated repository protection * Complete and working CLI * And much more...

# [File & Configuration Management](https://Winipedia.github.io/pyrig/config-files)

Every generated file is backed by a Python class that validates and merges automatically. Override any config by subclassing, or define entirely new config files — pyrig discovers and manages them for you. Run `pyrig sync` to create or update all config files at once. Run `pyrig mk subcls` to generate a subclass for overriding a specific file.

# [Automatic CLI](https://Winipedia.github.io/pyrig/cli)

`pyrig init` sets up a CLI for your project that works immediately. Generate and add new commands by running `pyrig mk cmd <name>`. An automatic version command is included that shows the version of your project. Run `my-project version` to see it in action.

# [Mirror Test Generation & Maintenance](https://Winipedia.github.io/pyrig/mirror-tests)

Generate test skeletons with `pyrig sync`. This will generate test skeletons for all source modules and update them automatically as your project evolves.

# [Multi-Package Inheritance and Extensibility Architecture](https://Winipedia.github.io/pyrig/architecture)

Override and customize any and all behaviour to suit your project's needs. pyrig's classes are designed for inheritance and composition, allowing you to create custom configurations, tools, and more by subclassing and simply overriding methods. pyrig will automatically discover and use your custom classes without any additional configuration. Run `pyrig mk subcls` to generate a subclass for any pyrig class.

# [CI/CD & Repository Protection](https://Winipedia.github.io/pyrig/ci-cd)

Pyrig generates GitHub Actions workflows for CI/CD which automatically test and release your code. They also configure and apply repository protection settings and protection rulesets. Push your code to GitHub after initialization and see it in action.

# Commands

Run `pyrig --help` to see a list of all available commands and their usage. Run `pyrig <command> --help` for more information about a specific command and its usage. Run `my-project --help` to see the automatically generated CLI for your project.

# Documentation

|[*Full Documentation*](https://Winipedia.github.io/pyrig)|The manually written documentation| |:-|:-| |[*CodeWiki*](https://codewiki.google/github.com/winipedia/pyrig)|AI-generated documentation| |[*Tutorials*](https://www.youtube.com/@Winipedia-py/playlists)|YouTube tutorials for pyrig|

Show HN: Needle2: 14MB agentic LLM for phones, wearables, smart home and robots

https://cactuscompute.com/needle
114•HenryNdubuaku•6h ago•62 comments

Show HN: Scroll through all 43252003274489856000 Rubik's Cube states

https://everycube.alen.is/
3•Alen123•48m ago•0 comments

Show HN: AI Pulse a fake LED strip beside the macOS Dock that shows agent status

https://github.com/leog/ai-pulse
3•leog_me•1h ago•2 comments

Show HN: Higher-dimensional lattices unfolded into the 2D plane

https://number-garden.com/?@THLP@
13•unitX•4d ago•1 comments

Show HN: My local climbing gym from photogrammetry

https://kmcheung12.github.io/climb-preview/tour/ae43c6e5
4•a_c•2h ago•0 comments

Show HN: Pyrig – A tool that automates project setup and maintenance

https://github.com/Winipedia/pyrig
4•Winipedia•1h ago•0 comments

Show HN: Ante, a coding agent in a single binary that runs offline

https://github.com/AntigmaLabs/ante
119•ubermon•8h ago•71 comments

Show HN: Voice driven murder mystery, Interview AI suspects with your voice

https://www.whodunnitai.com/
188•MrRowTheBoat•20h ago•81 comments

Show HN: Typegres 0.3 – SQL-as-your-API, safely (using Cap'n Web RPC)

https://typegres.com/
3•ryanrasti•2h ago•0 comments

Show HN: Calldiff – a CLI to see callstack diffs in all major languages

https://github.com/tanishqkancharla/calldiff
2•tanishqkanc•2h ago•0 comments

Show HN: Keen Code – an agentic-engineered coding agent

https://github.com/mochow13/keen-code
4•mochow13•2h ago•1 comments

Show HN: A tiny LLM running at 21,000 tok/s on a $250 FPGA (Live Demo)

https://www.mikeayles.com/blog/on-chip-llm-kv260/
40•mikeayles•12h ago•11 comments

Show HN: Graph2agent; Mermaid diagrams, explained for agents

https://graph2agent.github.io/
3•alexandroskyr•2h ago•0 comments

Show HN: PicPocket – Dedicated 'chats' for photo-sharing (share to organize)

https://picpocket.io/
5•amr_shawky•7h ago•0 comments

Show HN: A Project Oberon System version running on RISC-V instead of RISC-5

https://github.com/rochus-keller/OberonSystem/tree/op2-rv32
118•Rochus•1d ago•19 comments

Show HN: 100% native Swift harness (NOT Electron)

https://github.com/Lore-Hex/QuillCode
11•ljlolel•10h ago•3 comments

Show HN: Design Engineering, as a Service

https://designshippers.com/?0
11•krm01•10h ago•3 comments

Show HN: I made alchemical-cosmological PCB badges

https://github.com/KaiPereira/Alchemical-Cosmological-Badges
22•kaipereira•5d ago•3 comments

Show HN: Neolabs.fyi – 100 new AI labs by research area, valuation, and more

https://neolabs.fyi/
7•polyphilz•9h ago•2 comments

Show HN: DocSift convert a PDF once, give the model only the passages it needs

https://github.com/anishmoncivarghese/docsift
3•anishvarghese•9h ago•0 comments

Show HN: Watching browser fingerprinting calls via Chromium's Blink layer

https://kameleo.io/blog/this-is-the-closest-well-ever-get-to-reverse-engineering-anti-bots
10•brnbs•14h ago•0 comments

Show HN: Hawser – sign, notarize, DMG, auto-update and license a Mac app

https://hawserkit.com/
3•yaveez•10h ago•0 comments

Show HN: Bio Tools – install drug design tools easily

https://github.com/David-OConnor/bio_tools
2•the__alchemist•8h ago•0 comments

Show HN: Issue Apple and Google wallet passes from Node.js

https://github.com/getpassmint/passmint
5•alexpate•14h ago•0 comments

Show HN: Slashscore, an open developer graph built from public GitHub activity

https://www.slashscore.com
2•wingravity•8h ago•2 comments

Show HN: PrivateRedact – Offline PII redaction with a local LLM, no cloud

https://github.com/monjurulkarim/privateredact
4•rajubuet24•8h ago•0 comments

Show HN: My math notes for anything that touches ML

https://github.com/publications-and-more/pub
3•Amlal•8h ago•0 comments

Show HN: Vocal Slice – cut audio by selecting text, fully on-device

https://vocalslice.com/
3•terranivium•8h ago•1 comments

Show HN: filebouncer - npm package for detecting suspicious uploads.

https://github.com/Ramzi-Abidi/filebouncer
2•ramzi-abidi•8h ago•0 comments

Show HN: Self-hosted universal context layer for Mac

https://github.com/Rafaelpta/litepipe
2•rafaepta•8h ago•0 comments