nowfound

Alternatives

Products that do what Python 3 with backwards compatibility features does

Porting Python code from version 2.x to 3.x is not a simple task. To help, I built a version of Python 3.6 that includes backwards compatibility features. Most important is the mixing of bytes and str objects and comparisons. For example, in vanilla Python 3: >>> b'foo' + 'bar' Traceback (most recent call last): File "", line 1, in TypeError: can't concat bytes to str >>> None ", line 1, in TypeError: unorderable types: NoneType() >> b'foo' + 'bar' sys:1: DeprecationWarning: encoding bytes to str 'foobar' >>> None < 'hi' __main__:1: DeprecationWarning: default compare is depreciated True…

  1. 1PT
  2. 2IA

    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

  3. 3RA
  4. 4AD

    Greetings! A 2.5 weekends project to teach myself newer Python features (>= 3.10). Conditions are written as Lambda expressions that annotate parameters and return types, and coexist with type annotations. Symbols to share values between conditions are also supported to a limited extend.

    2022 · github.com

  5. 5AP
  6. 6SR
  7. 7TC

    Get it from here: https:&#x2F;&#x2F;github.com&#x2F;c3lang&#x2F;c3c In 2019, while contributing to the C2 language, I started up "C3" as a pet project while waiting for pull requests to be approved... Now it's 6 years later and C3 well on its way to 1.0, having released 0.7.0 last week. Unlike other C alternatives, C3 tries to evolve C – but without concern to backwards compatibility to the latter. What it adds to C is among other things: - Module system - Semantic macros and compile time introspection - Lightweight generic modules - Zero overhead errors - Build-in slices and SIMD types -…

    2025 · github.com

  8. 8IW

    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:&#x2F;&#x2F;gumroad.com&#x2F;l&#x2F;py_regex [2] https:&#x2F;&#x2F;leanpub.com&#x2F;py_regex [3] https:&#x2F;&#x2F;github.com&#x2F;learnbyexample&#x2F;py_regular_expressions [4]…

    2019

  9. 9CA

    I built Copapy as an experiment: Can Python be used for hard real-time systems? Instead of an interpreter or JIT, Copapy builds a computation graph by tracing Python code and uses a custom copy-and-patch compiler. The result is very fast native code with no GC, no syscalls, and no memory allocations at runtime. The copy-and-patch compiler currently supports x86_64 as well as 32- and 64-bit ARM. It comes as small Python package with no other dependencies - no cross-compiler, nothing except Python. The current focus is on robotics and control systems in general. This project is early but…

    Feb 2026 · github.com

  10. 10GJ

    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:&#x2F;&#x2F;github.com&#x2F;1rgs&#x2F;jsonformer) the other day. But nothing that was plug and play with GPT. This library consolidates…

    2023 · github.com

  11. 11PT

    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:&#x2F;&#x2F;github.com&#x2F;laike9m&#x2F;Python-Type-Challenges

    2023 · python-type-challenges.zeabur.app

  12. 12PL
  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
  15. 15PA

    I’m sure many of you are familiar, but there’s a treacherous gap between finding (or building) a model that works in PyTorch, and getting that deployed into your application, especially in consumer-facing applications. I’ve been very interested in solving this problem with a great developer experience. Over time, I gradually realized that the highest-impact thing to have was a way to go from existing Python code to a self-contained native binary—in other words, a Python compiler. I was already pretty familiar with a successful attempt: when Apple introduced armv8 on the iPhone 5s, they…

    2025 · blog.fxn.ai

  16. 16AS

    Took a stab at building my own string diffing JS package. I built an interactive demo for TypeIt’s website (https:&#x2F;&#x2F;typeitjs.com&#x2F;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

  17. 17DE
  18. 18DT

    An MIT-licensed human-friendly extension of JSON with quality-of-life improvements (comments, trailing commas, unquoted keys), extra types (tuples, bytes, raw strings), and semantic identifiers (think type annotations). Built in Rust, with bindings for Python and WebAssembly, as well as syntax highlighting in VSCode. I made it for those like me who hand-edit JSONs and want a breath of fresh air. It's at a good enough point that I felt like sharing it, but there's still plenty I wanna work on! Namely, I want to add (real) Node support, make a proper LSP with auto-formatting, and get it out…

    Nov 2025 · duper.dev.br

  19. 19TO

    Throughout my career, while exploring different programming languages, I realized that having a quick reference was essential for refreshing my memory on the fly. So I developed a habit: for every new language I learned, I’d build a reference file (like python_reference.py) that documented everything from basic syntax to advanced features. Now, a decade later, these files have become my go-to resource. They’ve helped me study for interviews, revisit old projects after years, and now, in the AI era where generating code in unfamiliar languages is more common than ever, I think they’re more…

    2025 · referencecollection.com

  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. 21PW
  22. 22SP

    Hi everyone! As a side project I made a tiny static website that helps explain format strings used with Python's `struct` module. Type&#x2F;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.

    2022 · pythonstruct.com

  23. 23IM
  24. 24A1

    Minimal, clean, and well-documented implementations of data structures and algorithms in Python 3. Each file is self-contained with docstrings, type hints, and complexity notes — designed to be read and learned from.

    Feb 2026 · github.com

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