<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Pyhocon on Miloš Kozák</title><link>https://pubs.miloskozak.cz/tags/pyhocon/</link><description>Recent content in Pyhocon on Miloš Kozák</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Mon, 19 Oct 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://pubs.miloskozak.cz/tags/pyhocon/index.xml" rel="self" type="application/rss+xml"/><item><title>pyhocon isn't always right. Here's how I measured it.</title><link>https://pubs.miloskozak.cz/posts/pyhocon-vs-the-hocon-spec/</link><pubDate>Mon, 19 Oct 2026 00:00:00 +0000</pubDate><guid>https://pubs.miloskozak.cz/posts/pyhocon-vs-the-hocon-spec/</guid><description>&lt;p&gt;If your Python service reads &lt;code&gt;.conf&lt;/code&gt; files, you probably use pyhocon. It&amp;rsquo;s the HOCON library Python has had for a decade: &lt;code&gt;ConfigFactory.parse_file(&amp;quot;app.conf&amp;quot;)&lt;/code&gt;, &lt;code&gt;conf.get_string(&amp;quot;db.host&amp;quot;)&lt;/code&gt;, done.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;ve used it in production for years, usually with Pydantic on top. Then I wanted to learn something new, ended up writing &lt;a href="https://pubs.miloskozak.cz/posts/hocon-conformance-suite/"&gt;a conformance suite for HOCON&lt;/a&gt;, and ran pyhocon through it. This post is about what came out for Python.&lt;/p&gt;</description></item></channel></rss>