frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Pyconject – Ditch messy YAML loading in Python with config injection

https://github.com/neolaw84/pyconject
1•neolaw•2h ago

Comments

neolaw•2h ago
Hi HN,

I’ve always found Python’s standard configuration management patterns to be overly verbose. Loading nested YAML files and assigning values to variables just to pass them into standard functions creates a lot of noise.

pyconject is a library I wrote to abstract all of that away using configuration injection. It works by mapping your directory and function structures directly to your YAML hierarchy.

How it works: Instead of writing boilerplate to parse configs.yml, you just wrap your target and open a context:

``` from my_module import black_func from pyconject import pyconject

# Explicitly wrap the function black_func = pyconject.wrap(black_func)

# Inject parameters from configs.yml (and optional environment targets) with pyconject.cntx(target="stg"): black_func() ```

It handles hierarchical resolution (falling back from configs-stg.yml to configs.yml), supports custom file paths, and allows library developers to register default configurations that end-users can seamlessly override.

You can check out the source code and usage examples here: https://github.com/neolaw84/pyconject

Looking forward to your thoughts and critiques!

Should QA Exist

https://www.rubick.com/should-qa-exist/
1•PretzelFisch•5m ago•0 comments

Riding the Memory Boom and Trying to Avoid the Bust

https://www.nextplatform.com/store/2026/03/24/riding-the-memory-boom-and-trying-to-avoid-the-bust...
2•rbanffy•5m ago•0 comments

Taking Down the Internet's Most Popular HTTP Client with a Single JSON Key

https://www.striga.ai/research/crashing-axios-with-proto
3•traekfuglene•6m ago•1 comments

Pyrite64: N64 Game-Engine and Editor using libdragon and tiny3d

https://github.com/HailToDodongo/pyrite64
2•hexmiles•6m ago•0 comments

ninja: a small build system with a focus on speed

https://github.com/ninja-build/ninja
1•tosh•8m ago•0 comments

Show HN: GameHippo.art – Preserving a lost freeware game directory from 2004

https://gamehippo.art
1•hedin_hiervard•8m ago•0 comments

Scaling a Monolith to 1M LOC: 113 Pragmatic Lessons

https://www.semicolonandsons.com/articles/scaling-a-monolith-to-1m-loc-113-pragmatic-lessons-from...
1•semicolonandson•9m ago•0 comments

Ask HN: Any Tradespeople Here?

3•documentorium•20m ago•0 comments

Hold on to Your Hardware

https://xn--gckvb8fzb.com/hold-on-to-your-hardware/
4•LucidLynx•21m ago•2 comments

Ten C64 Demo [video]

https://www.youtube.com/watch?v=QMDE_Sd98cA
1•Fr0styMatt88•22m ago•0 comments

Comparison of two frameworks: 4.0M vs. 2.5M tokens for the same app

https://wasp.sh/blog/2026/03/26/nextjs-vs-wasp-40-percent-less-tokens-same-app
1•Martinsos•24m ago•0 comments

SimpleLogin CLI

https://github.com/mexcool/simplelogin-cli
1•mexcool•26m ago•0 comments

Chronoo – a web-based journaling app where data is stored locally in the browser

https://github.com/altilunium/chronoo
1•altilunium•31m ago•0 comments

Show HN: Walkie-Talkie – Access your terminal from any browser with one command

https://www.walkie-talkie.dev/
1•vochsel•32m ago•0 comments

Noelia Castillo Euthanasia Case

https://en.wikipedia.org/wiki/Noelia_Castillo_euthanasia_case
3•stared•33m ago•0 comments

See what your AI agents are doing (multi-agent observability tool)

https://github.com/hit1001/multiagent-visibility-tool
1•denhit10•34m ago•0 comments

Show HN: Writevoid.com – stop writing, and the void takes it

https://writevoid.com
1•user_timo•36m ago•1 comments

Data centre to be built near planned Polish nuclear power plant

https://world-nuclear-news.org/articles/data-centre-to-be-built-near-planned-polish-nuclear-power...
1•mpweiher•38m ago•0 comments

Ipxlat: a stateless IPv4/IPv6 translation device

https://lore.kernel.org/netdev/20260319151230.655687-1-ralf@mandelbit.com/T/#m6b6603d690f9bd7f85c...
1•argulane•39m ago•0 comments

I built Amazon dynamo in elixir

https://jitesh117.github.io/blog/implementing-amazon-dynamo-in-elixir/
1•Jitesh117•40m ago•0 comments

A discrete-logic solution to the Three-Body Problem (99% compute saving)

https://github.com/alikamp/Parks-Node-Ejection-Protocol
2•kauai1•41m ago•0 comments

Splitflap.org: open-source split-flap display for any screen

https://splitflap.org/
1•mohdmahmodi•42m ago•0 comments

You shall know them by their scams

https://terminaldrift.substack.com/p/you-shall-know-them-by-their-scams
1•limbicsystem•45m ago•0 comments

Show HN: 10 Lines of Python to fix mangled copy-paste from Claude Code

1•collectedparts•46m ago•0 comments

Ronda Rousey Fights Like an Outlier (2015)

https://fivethirtyeight.com/features/ronda-rousey-fights-like-an-outlier/
1•chistev•47m ago•1 comments

Understanding the Go Runtime: The Garbage Collector

https://internals-for-interns.com/posts/go-garbage-collector/
1•valyala•47m ago•0 comments

Proxybase IP Whois Aggregator

https://proxybase.xyz/ip
1•m00dy•48m ago•0 comments

Final analysis of 2025 Iberian blackout: electrical grid operating policies left

https://arstechnica.com/science/2026/03/final-analysis-of-2025-iberian-blackout-policies-left-spa...
1•fanf2•50m ago•0 comments

Rustlings - Small exercises to get you used to reading and writing Rust code

https://rustlings.rust-lang.org/
3•tilt•50m ago•0 comments

I Built My Personal Site with AI in 4 Days

https://www.dhawalshah.net/article/building-personal-site-with-ai
2•djshah•52m ago•0 comments