Hacker News
Show HN: Validatedata – lightweight inline data validation for Python
I revived a small project I abandoned ~5 years ago and just released v0.2 on PyPI: validatedata.
It's a lightweight Python library for inline data validation—think quick checks on dicts, lists, function args, or API payloads without defining full schema classes like in Pydantic.
Why revive it? I kept running into cases where Pydantic (or Marshmallow) felt like overkill for scripts, CLIs, simple backends, or one-off data cleaning. I wanted something expressive but minimal: inline rules, decorators, no boilerplate models, built-in checks (email/url/phone/regex/range/length/unique/nullable/transforms/conditionals/nested), and clean error output.
Core ways to use it:
1. Standalone on data: ```python from validatedata import validate_data
data = {"username": "alice", "email": "alice@example.com", "age": 25} rules = {"keys": { "username": {"type": "str", "range": (3, 32)}, "email": {"type": "email"}, "age": {"type": "int", "range": (18, "any")} }}
result = validate_data(data, rules) if result.ok: print("Valid!") else: print(result.errors) # e.g. ["age: must be at least 18"]
Features include:
Shorthand rules like 'email', 'int:18:to:99', 'phone' Conditional (depends_on), transforms (strip/upper), mutation for cleaned data Nested fields/items, strict/no-coercion mode Powered by dateutil for flexible date parsing (ISO, natural-ish formats) MIT licensed, pytest on PRs, Python >=3.7, only optional dep (phonenumbers for phone)
Install: pip install validatedata Repo: https://github.com/Edward-K1/validatedata PyPI: https://pypi.org/project/validatedata/ Happy to hear feedback, bug reports, feature ideas, or use-case stories—especially if this saves anyone time on lightweight validation. Does this fill a gap for you, or am I missing something obvious? Thanks!
Comments URL: https://news.ycombinator.com/item?id=47182234
Points: 1
# Comments: 0
New polymer alloy could solve energy storage challenge
Article URL: https://techxplore.com/news/2026-02-polymer-alloy-energy-storage.html
Comments URL: https://news.ycombinator.com/item?id=47182222
Points: 1
# Comments: 0
Observability Storage Was Designed for Humans. Agents Need Something Else
Article URL: https://www.deductive.ai/blogs/observability-storage-for-the-agentic-era
Comments URL: https://news.ycombinator.com/item?id=47182216
Points: 1
# Comments: 0
Show HN: Fast Database for Agents
Article URL: https://github.com/sushrut141/kalki
Comments URL: https://news.ycombinator.com/item?id=47182215
Points: 1
# Comments: 0
You Don't Need to Detect Prompt Injection to Stop It
Article URL: https://sibylline.dev/articles/2026-02-22-schema-strict-prompt-injection-firewall/
Comments URL: https://news.ycombinator.com/item?id=47182210
Points: 1
# Comments: 0
Finance techie says cloned Bloomberg's $30k/year Terminal with Perplexity
Surviving large migrations: Metrolink and the housing crisis
Article URL: https://thesidedish.flipdish.com/surviving-large-migrations-metrolink-and-the-housing-crisis-5839c2e75279
Comments URL: https://news.ycombinator.com/item?id=47182179
Points: 1
# Comments: 0
SongAI
Article URL: https://songai.io
Comments URL: https://news.ycombinator.com/item?id=47182165
Points: 1
# Comments: 1
Show HN: I built a multi-model AI terminal with a custom mobile web UI
Article URL: https://github.com/jazzenchen/VibeAround
Comments URL: https://news.ycombinator.com/item?id=47182144
Points: 1
# Comments: 1
Show HN: Clappie – Claude Code remote but more fun and useful
This was my personal agent setup that I am now open-sourcing. The landing page got a little crazy. I am a big fan of Claude Code.
There are many alternatives such as OpenClaw, now an official Claude Code Remote Control, and a bunch of open source mini claw projects.
This is different because it:
- Create/Manage/Access Claude Code "Terminals" sessions remotely
- Is basically just contained to a skill and small setup
It also has really cool features from experimenting:
- "Parties" which is a fun way to have your Claude Code sessions coordinate (swarms you can control)
- On-Demand TUI display engine
- Easy automatic skill builder (OAuth & webhook helper)
- Message from Telegram/Slack directly to Claude Code terminal
- Chores (AI assigns to you, you don't assign to it
Then all the classics:
- heartbeat - memory - background manager / helpers - others
And then most importantly:
- It will add a little ASCII dog to your terminal
Comments URL: https://news.ycombinator.com/item?id=47182142
Points: 3
# Comments: 0
If code is cheap, intent is the currency
Article URL: https://zknill.io/posts/commit-message-intent/
Comments URL: https://news.ycombinator.com/item?id=47182137
Points: 1
# Comments: 0
How to take full-page screenshots in Chrome on any device – it's easy and free
Article URL: https://www.zdnet.com/article/how-to-take-a-full-page-screenshot-in-google-chrome-browser/
Comments URL: https://news.ycombinator.com/item?id=47182124
Points: 1
# Comments: 0
Video Conferencing with Postgres
Article URL: https://planetscale.com/blog/video-conferencing-with-postgres
Comments URL: https://news.ycombinator.com/item?id=47182123
Points: 1
# Comments: 0
Corona Discharges Glow on Trees Under Thunderstorms
Article URL: https://agupubs.onlinelibrary.wiley.com/doi/10.1029/2025GL119591
Comments URL: https://news.ycombinator.com/item?id=47182117
Points: 1
# Comments: 0
Writing C with indent-based Python syntax
Article URL: https://sph.mn/computer/guides/c/c-indent.html
Comments URL: https://news.ycombinator.com/item?id=47182115
Points: 1
# Comments: 0
The Rise and Fall of a 3-D Printing Empire
Article URL: https://www.nytimes.com/2026/02/27/business/3d-printing-industry.html
Comments URL: https://news.ycombinator.com/item?id=47182107
Points: 1
# Comments: 0
I'm a truck driver who built a privacy-first RSS and webcomic reader
Article URL: https://addons.mozilla.org/en-US/firefox/addon/rss-ninja/
Comments URL: https://news.ycombinator.com/item?id=47182097
Points: 1
# Comments: 1
I made a website to test if you know colors
Article URL: https://colorguesser.xyz/
Comments URL: https://news.ycombinator.com/item?id=47182094
Points: 1
# Comments: 0
Elon Musk Moves Against the Russians in Ukraine
Article URL: https://www.theatlantic.com/national-security/2026/02/elon-musk-ukraine-russia-starlink/686155/
Comments URL: https://news.ycombinator.com/item?id=47181297
Points: 1
# Comments: 0
Show HN: Open-source proxy to track Claude API costs by team
Article URL: https://github.com/reshevyas-png/claude-usage-analytics
Comments URL: https://news.ycombinator.com/item?id=47181268
Points: 1
# Comments: 1
