nowfound

Dev tools · January 24, 2013

IW

I wrote a book on idiomatic Python. Here's its insane build/test system

Background: I've been working on a book to help developers learn and write idiomatic Python. It's taken far longer than I imagined, but today I made it available for purchase (http://www.jeffknupp.com/writing-idiomatic-python-ebook). The automated build and test system I'm using is ridiculous. It uses: virtualenv, tox, pytest, coverage, doctest, pandoc, make, xelatex, makeindex, and a ~200 line Python script to collect and format the output. The details of the build/test system I created are described in detail here:…

I wrote a book on idiomatic Python. Here's its insane build/test system launched on January 24, 2013 with 15 votes, #106 of 526 launches that month and more than 75% of that year's launches.

Visit jeffknupp.com ↗Alternativestop 20% of January 2013

In plain words

This is a build and test system for writing technical books with executable code samples. It automates the process of testing Python code examples, generating documentation in multiple formats, and producing PDF outputs using tools like tox, pytest, pandoc, and LaTeX. The system is designed for authors who need to ensure code samples are accurate and functional while producing professionally formatted books across different output formats.

written from the facts on this page · September 2026

From the sources

In the maker’s words, at launch

Background: I've been working on a book to help developers learn and write idiomatic Python. It's taken far longer than I imagined, but today I made it available for purchase (http://www.jeffknupp.com/writing-idiomatic-python-ebook). The automated build and test system I'm using is ridiculous. It uses: virtualenv…

Does a similar job

all alternatives →
  • I am building a new Python library to read/write PDF files2022 · github.com · ▲279

    Hi HN! This is my pet project, written from scratch because there is so much to discover and learn in the process. The focus is on simplicity and incremental updates. Progress is slow because I do not have much spare time to work on this, but I would love to hear some feedback. Regards

  • I wrote a book about Python2021 · pragprog.com · ▲181

    Hey HN! I wrote a book on programming called The Elements of Code. I put the entire book online here: https://elementsofcode.io/ When mentoring (usually new) programmers, I noticed there were a few common mistakes that seemed to account for about 80% of the complexity in their code. I couldn’t find a concise guide to fixing those mistakes, so I decided to write one. The title is an homage to The Elements of Style by Strunk and White, which is the classic guide for communicating well using prose. That guide is quite tactical in nature, and I wanted to parallel its focus in The…

  • How to make your Python code more idiomatic – 25 tips and tricks2018 · github.com · ▲56

    Jupyter notebooks for teaching/learning Python 3. Contribute to jerry-git/learn-python3 development by creating an account on GitHub.

  • IW
    I wrote a book on Python regular expressions2019 · ▲193

    My book titled "Python re(gex)?" is free to download through this weekend [1][2] The book covers both 're' and 'regex' modules, has plenty of examples and chapters also have cheatsheets and exercises. Code snippets, exercises, sample chapters, etc are available on GitHub repo [3] I used pandoc+xelatex [4] to generate the pdf. [1] https://gumroad.com/l/py_regex [2] https://leanpub.com/py_regex [3] https://github.com/learnbyexample/py_regular_expressions [4]…

  • Practical Python Projects book release2021 · practicalpython.yasoob.me · ▲88

    Hi everyone! I just released the Practical Python Projects book! (https://practicalpython.yasoob.me) I am happy to announce the first version as a release candidate. I have poured a lot of love into writing this book and would love to hear what you guys think. (A limited 100% off and discount coupons at the end) This is not a pure beginner book. The book does assume some background Python knowledge. You need to know the basics like methods, functions, classes, and such. If I use something that is not typically covered in beginner Python books, I will explain it before I use it.…

  • Python Tests That Write Themselves2019 · timothycrosley.github.io · ▲131

More dev tools this month

the category →
  • /dev/null▲489

    a social network for devs

    Dev tools · 3d ago · dev-null.sh

  • open-source IDE for thoughtful software design. Contribute to devdotfast/whiteboard development by creating an account on GitHub.

    Dev tools · 28d ago · github.com

  • Contribute to reladraw/reladraw development by creating an account on GitHub.

    Dev tools · 26d ago · github.com

  • OpenBot▲362

    Grok Bot alternative: free, local, open-source, multiplayer

    Dev tools · 23d ago · openbot.run

  • Talanoa▲346

    Hi HN, I’m a fullstack developer, and honestly, I’ve lost count of how many side projects I’ve worked on over the years. But one idea kept coming back to me: a different kind of email client. It first came to me in 2014: “What if we could handle emails more like conversations?” Every year, I’d revisit this concept in my “Build Notes.” Ten years later, no one had built exactly what I had in mind — so I finally decided to do it myself. That’s how Talanoa was born. I wanted something focused on people, not timelines. I was tired of marking messages as unread just to remember to reply later, or…

    Dev tools · 21d ago · talanoa.email

  • CoreSpeed▲332

    One MCP for everything your agents need: apps, memory, tools

    Dev tools · 29d ago · corespeed.io

Source: Show HN post ↗ · launch text quoted in part

Launched alongside, January 2013

the whole month →