Making Python fast for free – adventures with mypyc

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

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • black

    The uncompromising Python code formatter

  • I like the concept of using mypyc to leverage type hints to compile python. But I was pretty frustrated recently when I got bit by a bug in mypyc[1] while trying to use black. Especially since I wasn't using mypyc myself and so didn't realize it was even in my dependency tree. Beware adding "alpha" quality software as a dependency to your supposedly production ready tool.

    [1] https://github.com/psf/black/issues/2846

  • sdk-python

    Temporal Python SDK

  • We built to logic backing the Temporal Python SDK[0] in Rust and leverage PyO3. Unfortunately Maturin didn't let us do some of the advanced things we needed to do for wheel creation (at the time, unsure now), so we use setuptools-rust with Poetry.

    0 - https://github.com/temporalio/sdk-python

  • 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
  • matrix-mul-test

    Testing matmul performance on the M1 Mac

  • examples

    TensorFlow examples (by tensorflow)

  • Pytorch

    Tensors and Dynamic neural networks in Python with strong GPU acceleration

  • cupy

    NumPy & SciPy for GPU

  • For that, you can use cupy[0], PyTorch[1] or Tensorflow[2]. They all mimic the numpy's API with the possibility to use your GPU.

    [0] https://cupy.dev/

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