frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Pydantic++ – Utilities to Improve Pydantic

https://github.com/andonimichael/pydantic-plus-plus
2•iamandoni•2h ago
I am extremely grateful to the builders and maintainers of Pydantic. It is a really well designed library that has raised the bar of the Python ecosystem. However, I've always found two pieces of the library frustrating to work with:

1. There is no way to atomically update model fields in a type safe manner. `.model_copy(update={...})` consumes a raw dict that only gets validated at runtime. LSP / type-checking offers no help here and refactor tools never catch `.update` calls.

2. While Pydantic works extremely well for full data classes, it falls short in real world RESTful workflows. Specifically in update and upsert (PATCH / PUT) workflows, there is no way to construct a partial object. Users cannot set a subset of the fields in a type-safe manner. While there are stand alone partial pydantic solutions, they all break SOLID design principles and don't have type checking support.

As such, I created Pydantic++ to encapsulate a handful of nice utilities that build upon the core Pydantic library with full mypy type checking support. At it's v1.0.0 it contains support for:

  * `ModelUpdater` - A fluent builder pattern for updating a model with type safety.
  * `PartialBaseModel` - Type safe partial objects that respect Liskov's Substitution Principle.
  * `ModelRegistry` - Automatic model registration via module crawling.
  * `Dummy Models` - Random field instantiation for unit testing.
I built this to solve a couple of my own pain points and currently use this in 2 production FastAPI-based projects. As I release and announce `v1.0.0`, I want to open this up for others to use, contribute to, and built upon as well.

I am looking forward to hearing your use cases and other ideas for utilities to add to Pydantic++!

Mobile Devtool for Agents and Humans

https://github.com/pranshuchittora/simvyn
1•pranshuchittora•1m ago•0 comments

Why domain specific LLMs won't exist: an intuition

https://simianwords.bearblog.dev/why-domain-specific-llms-wont-exist-an-intuition/
1•simianwords•1m ago•0 comments

Linux extreme performance H1 load generator

https://www.gcannon.org/
1•MDA2AV•2m ago•0 comments

Show HN: Detect API changes automatically using real traffic

https://github.com/ojuschugh1/etch
2•ojuschugh1•3m ago•0 comments

Show HN: AgentMarket – Where AI agents pay other agents for tasks they can't do

https://agentmarket-production-2204.up.railway.app
2•Sammysingh4•5m ago•1 comments

EU ready to cave to Trump on tech

https://pluralistic.net/2026/04/04/digital-subjugation/#greenlands-next
2•only_in_america•5m ago•0 comments

Wellbeing, schizotypy and autism in individuals who self-identify as non-human [pdf]

https://irep.ntu.ac.uk/id/eprint/34612/1/12131_1131a_Roxburgh.pdf
1•PaulHoule•10m ago•0 comments

Credit-based backlink exchange with no cold outreach or reciprocal links

https://www.authoriflow.com
1•blak3k•10m ago•0 comments

Ask HN: How do you use AI coding harnesses for individual development?

1•ghm2199•16m ago•0 comments

Teenager makes groundbreaking invention on quest for unlimited energy

https://tech.yahoo.com/science/articles/teenager-makes-groundbreaking-invention-quest-110000941.html
1•indigodaddy•17m ago•0 comments

Tag Wrangling Committee

https://www.transformativeworks.org/committees/tag-wrangling-committee/
3•Tomte•29m ago•0 comments

Primate 0.37: Revised modules, database migrations, and typed environment access

https://primate.run/blog/primate-037
2•terrablue•30m ago•0 comments

Go-LLM-proxy v0.3 released – translating proxy for Claude Code and Codex

https://go-llm-proxy.com
2•yatesdr•31m ago•1 comments

Businesses you can start and run from a phone?

https://old.reddit.com/r/Entrepreneur/comments/2r8vop/businesses_you_can_start_and_run_from_a_phone/
2•peter_d_sherman•32m ago•0 comments

stillOS 10 – A Linux distro designed to be as approachable as Windows/macOS

https://stillhq.io/stillos-10-1-is-here/
1•shaicoleman•32m ago•0 comments

Show HN: WinForge A daily OS connects your annual goals to what you do today

https://www.winforge.app/
1•ksull10•34m ago•1 comments

Just because it's work shaped doesn't make it productive

https://nishtahir.com/just-because-its-work-shaped-doesnt-make-it-productive/
1•CarefreeCrayon•37m ago•0 comments

Iranian missile blitz takes down AWS data centers in Bahrain and Dubai

https://www.tomshardware.com/tech-industry/iranian-missile-blitz-takes-down-aws-data-centers-in-b...
3•lschueller•38m ago•0 comments

This Finnish Privacy-Focused Linux Phone Wants You to Forget Google Exists

https://www.yankodesign.com/2026/04/02/this-finnish-privacy-focused-linux-phone-wants-you-to-forg...
2•doctaj•40m ago•1 comments

Show HN: Facebook marketplace arbitrage tool

https://tryvalue.ai/
1•windyVector•40m ago•0 comments

Coldseq

https://coldseq-478d.vercel.app/auth
1•Javelorant•40m ago•0 comments

The Moment That Reset Robotics

https://www.youtube.com/watch?v=2mrGMMmrVNE
1•wjSgoWPm5bWAhXB•41m ago•0 comments

The college student–and his cat meme–who hunted the biggest cyberweapon

https://www.msn.com/en-us/money/other/the-college-student-and-his-cat-meme-who-hunted-the-world-s...
1•collinmanderson•44m ago•0 comments

See inside your agent's brain

https://kern-ai.com/blog/memory-ui
3•obilgic•44m ago•0 comments

(Synced) Passkey Is Weak

https://yourpasskeyisweak.com/
3•T3OU-736•46m ago•0 comments

Show HN: Hypedar – what's trending in AI that nobody has built yet

https://hypedar.dev/
2•codepawl•48m ago•0 comments

Delta Chat: Zero metadata, group descriptions, native audio/video calls and more

https://delta.chat/en/2026-03-31-zero
2•dabber21•49m ago•0 comments

Ask HN: Anyone started a solo business in the last 6 months and made it work?

1•asim•51m ago•4 comments

Iran Targets Datacenters

https://substack.com/@shanakaanslemperera/note/c-238220142
2•aj7•52m ago•1 comments

Three months of agentic coding – my experience

https://meertens.dev/blog/three-months-of-agentic-coding/index.html
3•rmeertens•55m ago•0 comments