nowfound

Alternatives

Products that do what Simple Python struct format-string explainer does

Hi everyone! As a side project I made a tiny static website that helps explain format strings used with Python's `struct` module. Type/paste in a format string and you get a quick explanation of the structure instead of having to look through the docs. It's open source, happy to hear any suggestions how to make it more useful.

  1. 1IA

    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

    2022 · github.com

  2. 2GJ

    Hey HN, I've been using GPT a lot lately in some side projects around data generation and benchmarking. During the course of prompt tuning I ended up with a pretty complicated request: the value that I was looking for, an explanation, a criticism, etc. JSON was the most natural output format for this but results would often be broken, have wrong types, or contain missing fields. There's been some positive movement in this space, like with jsonformer (https://github.com/1rgs/jsonformer) the other day. But nothing that was plug and play with GPT. This library consolidates…

    2023 · github.com

  3. 3PT

    Hi HN, I'm excited to share Python-Type-Challenges, a collection of hands-on, interactive challenges designed to help Python developers master type annotations. Whether you're new to type hints or looking to deepen your understanding, these exercises provide a fun and educational way to explore Python's type system. I'd love to get your feedback and contributions! https://github.com/laike9m/Python-Type-Challenges

    2023 · python-type-challenges.zeabur.app

  4. 4AP

    After having cycled through various CLI-based todo apps, I started to realise that I actually don’t need a tool at all for managing my todos. Most of the time, my use cases are quite simple, like viewing my todo items, checking them off, or adding a new one. Rather than having to memorise CLI commands for these interactions (which I’m not super good at), I figured that it’s easier for me to use my text editor directly, and have an editor plugin help me with the visual structure and some convenience functionality. So, kind-of similar to Emacs Org Mode, but without having to use Emacs. I…

    2022

  5. 5IB

    been working on this for nearly a year

    2023 · github.com

  6. 6SN

    Hello. Briefly about Structpad: All interaction with app comes down to simple typing, like in a notepad. No buttons, commands or special characters needed. However, you can still build complex structured data. Something about why I'm building Structpad: I love taking notes and I think it's necessary for deep thinking because our brain is very powerful, but it has one weakness - memory. I noticed that not only the text itself matters, but also some invisible structure in our minds. There are various tools that try to reveal this structure, such as filenames, folders, tags, links, tables of…

    2022 · structpad.app

  7. 7IW

    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]…

    2019

  8. 8PA

    TL;DR: https://pyflo.net is a free, interactive guide to learning Python Hi Everyone, I am a CS educator who has taught a variety of university courses, including many on introductory Python programming. Over the past few years, I've written down a number of Python programming lessons and has culminated into Pyflo.net. This tool is a completely free, introductory guide to learning Python. It is more-or-less an intro programming textbook, but with a few twists, including: * It is totally free. You don't even have to give me your email to use it * The lessons are short and…

    2023 · pyflo.net

  9. 9NL

    Hi HN: I published part one of my free NLP course. The course is intended to help anyone who knows Python and a bit of math go from the very basics all the way to today's mainstream models and frameworks. I strive to balance theory and practice and so every module consists of detailed explanations and slides along with a Colab notebook (in most modules) putting the theory into practice. In part one, we cover text preprocessing, how to turn text into numbers, and multiple ways to classify and search text using "classical" approaches. And along the way, we'll pick up useful bits on how to use…

    2022 · nlpdemystified.org

  10. 10EP

    I recently build a python time-parser that can parse most formats in a single line. Might be useful to some here. (Also happy to hear feedback and feature requests)

    2025 · github.com

  11. 11
    sttr134

    A cli app to perform various operations on string

    2021

  12. 12

    Write Better Python with Clean, Readable Code.

    Jan 2026 · 99tools.net

  13. 13GA

    Recently, I write an interpreter for subset of Python using Go. I haven't seen source code of CPython, all is just written according to my understanding of Python so there may be some unusual things. Hope you can play fun with it. Any suggestion is welcome, glad to get some feedback.

    2023 · github.com

  14. 14AS

    Took a stab at building my own string diffing JS package. I built an interactive demo for TypeIt’s website (https://typeitjs.com/build-your-own) a while back. The approach I took to handle user input necessitated a way to calculate the difference between the versions of a user’s text input. I searched around for a package to help me out and found a couple of good ones (like fast-diff), but I either didn’t really like their API or didn’t want to take on a huge new dependency. Instead, I thought I’d give it a shot myself (famous last words). I dove into it having no real formal…

    2022

  15. 15AN

    A convenient C string API, friendly alongside classic C strings.

    2022 · github.com

  16. 16PL
  17. 17ST

    SQL-tString is a SQL builder that utilises the recently accepted PEP-750, https://peps.python.org/pep-0750/, t-strings to build SQL queries, for example, from sql_tstring import sql val = 2 query, values = sql(t"SELECT x FROM y WHERE x = {val}") assert query == "SELECT x FROM y WHERE x = ?" assert values == [2] db.execute(query, values) # Most DB engines support this The placeholder ? protects against SQL injection, but cannot be used everywhere. For example, a column name cannot be a placeholder. If you try this SQL-tString will raise an error, col = "x" sql(t"SELECT…

    2025 · github.com

  18. 18
    Struk5

    Clean, format, and structure any text in seconds

    Jan 2026 · struk.ai

  19. 19PX

    Hi everyone! I've been working on a web search interface for Python's documentation as a personal project, and I think it's ready for other people to use... Please give it a go (and join me in praying to the server gods): https://pythondocs.xyz/ Here's the tech stack for those interested: - Parser: Beautiful Soup + Mozilla Bleach - Database: in-memory SQLite (aiosqlite) + SQLAlchemy - Web server: FastAPI + Uvicorn + Jinja2 - Front end: Tailwind CSS + htmx + Alpine.js I have ideas for future improvements but hopefully the current version is useful to someone. Let me know what…

    2022 · pythondocs.xyz

  20. 20FS

    I want to share a really dumb, but very practical project I have packaged this summer, to perform operations on strings much faster. I was using Python to work with a multi-terabyte newline-delimited file. Reading, splitting, and shuffling it was a nightmare. So, I wrapped a trivial hardware-friendly heuristic I've been using for the last few years into a CPython library. The part I enjoyed the most is implementing SIMD behavior without SIMD instructions... Using 64-bit words to work at 8-bit granularity. Unlike conventional SIMD, the code would remain the same for ~~almost~~ any hardware.…

    2023 · ashvardanian.com

  21. 21NL

    Hey folks, I just wanted to share a quick script I threw together called notational ls. One of the big problems of any code base (or any filesystem) is that it's hard to tell what's what - folder and file names often trade brevity for clarity. So I thought about a version of `ls` that works like this: > nls web: Where python web server files are stored ad_hoc: One time scripts ios: Our IOS code images Adding descriptions is really easy too: > nls images Images SHARED between both ios and web web: Where python web server files are stored ad_hoc: One time scripts ios: Our IOS code…

    2011

  22. 22PC

    Hi HN! During the last year, I've been building python.cards: a site to learn Python using spaced repetition. My goal is to make the most of spaced repetition by making it extremely simple to use and by providing high quality flash cards. The site has been live for a month, with a few daily users who had joined the waitlist. The feedback has been quite positive, with most of the users using the site every day. Currently, we have a free deck (A Tour of the Stdlib) and a paid one (Pathlib in depth, for $9.99). I have other decks in the works, covering topics such as f-strings, collections,…

    2024 · python.cards

  23. 23HL

    Kind of lit-html and other html`...` libraries, but in Python. It's a suite of: Few text processing utilities you could write in a hour Linter validating the f-expressions HTML beautifier VS Code syntax highlighter It was used to succesfully rebuild UIs of several internal CRUD-apps. Designed to replace the traditional jinja templates with something preserving type-safety and better IDE support. Keeping the models and templates in sync is much easier now. Maybe you would find it useful too.

    2024 · github.com

  24. 24HT

    Basically wrap your data struct in Option>> Better yet, use your custom type that provides few helper functions that make using it as nice as old C++ pointers. Obviously there's no pointer arithmetic, but it works great for dynamically allocated structures like trees or linked lists. Please comment how it's a horrible idea that will bring doom to me and my family. fn main() { struct Data { pub number: i32 } // struct Data { int number; }; let mut p:Pointer = Pointer(None); // Data *p = NULL; println!("{}", p.is_none()); // printf(p == NULL ? "true\n" :…

    2022

Ranked by how close each launch is in meaning, then by votes. Refine with a description →