TOML makes writing configuration files simple, straightforward, and more human-readable than many other formats, including JSON.
Compatibility:Gunicorn is a mature web server that has been around for quite some time and works well with many Python frameworks and applications out of the box. Uvicorn, being a newer server, may require additional configuration and dependencies to work with certain frameworks and libraries. Howe...
File OpeningYou can pass in a file path bywhat 'this/is/a/file/path'.Whatis smart enough to figure out it's a file! What about a wholedirectory?Whatcan handle that too! It willrecursivelysearch for files and output everything you need!
ExportingYou can export to json usingwhat --jsonand results can be sent directly to a file usingwhat --json > file.json. Boundaryless modeWhathas a special mode to match identifiable information within strings. By default, it is enabled in CLI but disabled in API. Usewhat --helpor refer ...
Here's a fun project attempting to explain what exactly is happening under the hood for some counter-intuitive snippets and lesser-known features in Python.While some of the examples you see below may not be WTFs in the truest sense, but they'll reveal some of the interesting parts of ...
data-repos-trains/ │├── data_repos/ │ ├── trains.json │ ││ └── readers/ │ └── json.py │└── pyproject.toml Thetrains.jsonfile is picked up by the base DataReposPlugs but doesn’t have a JSON reader by default. But since you included ajson.pymodule with aread...
TOML is a bad file format. It looks good at first glance, and for really really trivial things it is probably good. But once I started using it and the configuration schema became more complex, I found the syntax ugly and hard to read....
The Python and Node.js images are built on top of thegcr.io/distroless/ccimage, and the Java image is built on top of the smallergcr.io/distroless/base-nosslvariant, all adding extra one-two layers with the corresponding runtime and/or interpreter. ...
© 2025 Bite Code! Privacy ∙ Terms ∙ Collection notice Start writingGet the app Substack is the home for great culture
CPython The CPython team is still gearing up for the release of Python 3.11 in October 2022. If you’re interested in learning more about the 3.11 release, check out some in-depth Real Python tutorials exploring the new 3.11 features, such as exception groups, tomllib, and better error me...