惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

大猫的无限游戏
大猫的无限游戏
aimingoo的专栏
aimingoo的专栏
I
InfoQ
B
Blog RSS Feed
D
DataBreaches.Net
S
SegmentFault 最新的问题
P
Proofpoint News Feed
A
About on SuperTechFans
WordPress大学
WordPress大学
Hugging Face - Blog
Hugging Face - Blog
博客园 - 司徒正美
小众软件
小众软件
博客园 - Franky
有赞技术团队
有赞技术团队
D
Docker
T
Tailwind CSS Blog
雷峰网
雷峰网
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Blog — PlanetScale
Blog — PlanetScale
酷 壳 – CoolShell
酷 壳 – CoolShell
B
Blog
V
Visual Studio Blog
宝玉的分享
宝玉的分享
爱范儿
爱范儿

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
yini-parser-python is now public - feedback and early tes...
Mr Smithnen · 2026-06-14 · via DEV Community

Mr Smithnen

yini-parser-python is now public - feedback and early testing welcome

I recently made yini-parser-python public.

It is a Python parser for YINI - an INI-inspired, indentation-insensitive configuration format with explicit nested sections and predictable parsing rules.

The package is also on PyPI: pypi.org/project/yini-parser


YINI is still a young project and the spec is moving toward its first stable 1.0.0 release. That is exactly why I want feedback now - before things solidify. If something looks unclear, surprising, fragile, or difficult to maintain, I would rather hear about it at this stage than after the format is locked.

What the parser does

The goal of yini-parser-python is to provide a usable Python implementation of YINI. A small example looks like this:

@yini

^ Application
name = 'Demo Application'
version = '1.0.0'
debug = yes

^^ Server
host = 'localhost'
port = 8080

^^^ Logging
level = 'info'
file = './app.log'

Which represents this structure:

Application
└─ Server
   └─ Logging

Section nesting is defined by the markers - not by indentation or whitespace. That is the core idea.

Current status

The parser is early-stage but usable enough for testing and review. It currently passes the full yini-test suite - a separate Python-based test project with golden tests for parser behavior.

That suite has around 150 tests at the moment (76 lenient + 75 strict = 151 golden tests, I might make a more specific post about yini-test later on). It covers the important cases but is not yet comprehensive. More tests will be added as both the format and the implementations mature. The yini-test project is also planned to go public, if it has not already by the time you read this.

What kind of feedback would be useful?

Primarily:

  • Parser bugs
  • Unclear or surprising behavior
  • Edge cases worth adding to the test suite
  • Packaging or installation issues
  • Python API design
  • Documentation improvements
  • Places where the implementation could be simpler or more maintainable

Bug reports, small reproductions, pull requests, and implementation suggestions are all welcome. Alpha or beta testers too - even a quick "I tried this and it worked / did not work" is useful right now.

Why share it before 1.0.0?

Because this is when careful review matters most. Once a configuration format stabilizes, small syntax and behavior decisions become much harder to change. I would rather get practical feedback early - especially from developers with experience in configuration formats, parsers, tooling, or Python packaging.

YINI is not trying to replace JSON, YAML, TOML, or INI. Those all have valid use cases. This is a more focused experiment:

What if INI-style configuration had clearer nested structure, while staying readable and predictable?

That is the design space I am trying to test.

Links

If you try the parser and notice anything odd, unclear, or broken - feel free to make an issue, comment, or pull request, that would be very much appreciated.

Thanks for reading,

Marko