Writing Python Like Rust

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • PyO3

    Rust bindings for the Python interpreter

  • (2020).

    Things have arguably become even nicer (although slightly more divergent between the two) since then: Python's `Optional[T]` can now be written as `T | None`, and the core container types can now be annotated directly (e.g. `List[T]` becomes `list[T]`).

    Combined via pyO3[1], Python and Rust are a real joy to write together.

    [1]: https://github.com/PyO3/pyo3

  • pudb

    Full-screen console debugger for Python

  • such a waste of time...

    To this day, I'm baffled by the dynamic language folks who cannot get they head around how strictness/rigor (via a good expressive type system) actually makes maintenance easier and more importantly: cheaper.

    [1] https://github.com/inducer/pudb

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • beartype

    Unbearably fast near-real-time hybrid runtime-static type-checking in pure Python.

  • https://github.com/beartype/beartype

    I wish more people started using Beartype, it makes Python bearable

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • What Python debugger do you use?

    4 projects | /r/learnpython | 26 Mar 2023
  • Does anyone use python debugger?

    2 projects | /r/Python | 12 Feb 2023
  • Can anyone share some cool projects done with Python?

    7 projects | /r/Python | 13 Feb 2022
  • No more Print For Debugging In Python Anymore

    2 projects | /r/Python | 24 Jun 2021
  • Python VS Common Lisp applied: print, log and icecream

    1 project | dev.to | 16 May 2024