Py

Pyrig – a tool to automate project setup, configuration and development

Hacker News

Pyrig – a tool to automate project setup, configuration and development

Hi HN, I built pyrig after getting tired of manually keeping configuration files in sync across multiple Python projects. Every time I'd start a new project or update tooling standards, I'd spend hours copying and tweaking pyproject.toml, GitHub workflows, pre-commit hooks, etc. pyrig treats project infrastructure as declarative code. Each config file (pyproject.toml, .pre-commit-config.yaml, GitHub workflows) is a Python class that: - Generates the file with working defaults - Validates existing files against expected structure - Merges missing values without removing your customizations - Runs idempotently (safe to run multiple times) The interesting part is the multi-package inheritance. You can create a "base" package that extends pyrig with your own customized standards, then all your projects inherit those configs automatically: pyrig → your-base → service1 → service2 Commands, test fixtures, and config files are discovered automatically across the entire dependency chain using a runtime dependency graph built from importlib.metadata. What makes it different from other scaffolding projects: Pyrig is a system that is kind of living continiously and supports you during code development. You can basically customize everything and tweak almost all behaviour as you see fit. Quick start: uv init uv add pyrig uv run pyrig init This generates a complete project: source structure, tests, CI/CD, docs, pre-commit hooks, containerfile, etc. Run it again later to update configs or add missing files. I'd love feedback on the architecture and this project generally. What do you think? Is this useful or not? I have used it already with many of my projects and it genuinely made things easier and faster for me. GitHub: https://github.com/Winipedia/pyrig Docs: https://winipedia.github.io/pyrig

Share card

Actual performance

1points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: new, using, code · Missing: mac, agents, macos
86%86% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Strong signals: supports · Missing: reddit linkedin, podcasting, created
81%81% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Missing: mobile apps, ios, personal
31%31% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
31%31% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Hacker NewsMay not resonate with HN audience · Strong signals: exist, existing, ide · Missing: https docs, excited, just released
28%28% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
18%18% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Se
SetupMyProject – Setup your Java project in less than five minutes35%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

SetupMyProject – Setup your Java project in less than five minutes

Hacker News1
Se
SetupMyProject – setup your Java project in less than 5 minutes35%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

SetupMyProject – setup your Java project in less than 5 minutes

Hacker News2
1S
1Server – Simplify Your Project Setup36%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

1Server – Simplify Your Project Setup

Hacker News1
Dj
Django Installer – Setup your Django project in one minute43%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Django Installer – Setup your Django project in one minute

Hacker News2
My
My GPG setup for developing and more39%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

My GPG setup for developing and more

Hacker News2
An
An awesome setup for your AngularJS project38%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

An awesome setup for your AngularJS project

Hacker News1
Ho
How to Setup Prettier, ESLint, Husky and Travis CI in Your Project40%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

How to Setup Prettier, ESLint, Husky and Travis CI in Your Project

Hacker News1
In
Incentivize project development with microdonations – Crowdlink.io70%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Incentivize project development with microdonations – Crowdlink.io

Hacker News2
Py
PyScaffold – Easy project setup for Python47%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

PyScaffold – Easy project setup for Python

Hacker News12
Fl
Flask Development Part 13 – Heroku Postres Setup [video]26%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Flask Development Part 13 – Heroku Postres Setup [video]

Hacker News2