Python Compiler

Open-source Python projects categorized as Compiler

Top 23 Python Compiler Projects

  • tvm

    Open deep learning compiler stack for cpu, gpu and specialized accelerators

    Project mention: MLC LLM - "MLC LLM is a universal solution that allows any language model to be deployed natively on a diverse set of hardware backends and native applications, plus a productive framework for everyone to further optimize model performance for their own use cases." | reddit.com/r/LocalLLM | 2023-04-30

    I have tried the iPhone app. It's fast. They're using Apache TVM which should allow better use of native accelerators on different devices. Like using metal on Apple and Vulcan or CUDA or whatever instead of just running the thing on the CPU like llama.cpp.

  • Nuitka

    Nuitka is a Python compiler written in Python. It's fully compatible with Python 2.6, 2.7, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, and 3.11. You feed it your Python app, it does a lot of clever things, and spits out an executable or extension module.

    Project mention: Python cruising on back of c++ | reddit.com/r/ProgrammerHumor | 2023-05-18
  • Sonar

    Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • Numba

    NumPy aware dynamic Python compiler using LLVM

    Project mention: PYTHON vs OCTAVE for Matlab alternative | reddit.com/r/math | 2023-05-22

    Regarding speed, I don't agree this is a good argument against Python. For example, it seems no one here has yet mentioned numba, a Python JIT compiler. With a simple decorator you can compile a function to machine code with speeds on par with C. Numba also allows you to easily write cuda kernels for GPU computation. I've never had to drop down to writing C or C++ to write fast and performant Python code that does computationally demanding tasks thanks to numba.

  • nebuly

    The next-generation platform to monitor and optimize your AI costs in one place 🚀

    Project mention: What are you building with LLMs? I'm writing an article about what people are building with LLMs | reddit.com/r/programming | 2023-03-27

    Hi everyone. I’m the creator of ChatLLaMA https://github.com/nebuly-ai/nebullvm/tree/main/apps/accelerate/chatllama, an opensource framework to train LLMs with limited resources and create There’s been amazing usage of LLMs in these days, from chatbots to retrieve about company’s product information, to cooking assistants for traditional dishes, and much more. And you? What you building or would love to build with LLMs? Let me know and I’ll share the article about your stories soon. https://qpvirevo4tz.typeform.com/to/T3PruEuE Cheers

  • hy

    A dialect of Lisp that's embedded in Python

    Project mention: What if: python without commas | reddit.com/r/Python | 2023-05-19
  • Coconut

    Simple, elegant, Pythonic functional programming.

    Project mention: [2022 Day 1-7] Going for 1 language per day, looking good so far | reddit.com/r/adventofcode | 2022-12-08

    If you're looking for suggestions I want to put forward zig lang if you like C/C++ and Coconut Lang if you like Python!

  • Transcrypt

    Python 3.9 to JavaScript compiler - Lean, fast, open! -

    Project mention: What's your Python story? | reddit.com/r/Python | 2023-05-21

    I now use Python everywhere. Desktop (PySide), embedded (MicroPython), web dev (React via Transcrypt), mobile (Kivy), and just general scripting. I love the versatility of Python, the ease of reading it without the visual cruft of other languages, and the availability of existing libraries that do just about everything you can think of. I also agree with the OP on the welcoming attitude of the Python community. The fact that Python is used in so many different areas leads to many new learning experiences when talking to other Python developers.

  • CodiumAI

    TestGPT | Generating meaningful tests for busy devs. Get non-trivial tests (and trivial, too!) suggested right inside your IDE, so you can code smart, create more value, and stay confident when you push.

  • alpa

    Training and serving large-scale neural networks

    Project mention: How to Train Large Models on Many GPUs? | news.ycombinator.com | 2023-02-11

    - Alpa does training and serving with 175B parameter models https://github.com/alpa-projects/alpa

  • cinder

    Cinder is Meta's internal performance-oriented production version of CPython. (by facebookincubator)

    Project mention: Python true static typing | reddit.com/r/Python | 2023-05-20
  • PeachPy

    x86-64 assembler embedded in Python

    Project mention: Hey guys, have any of you tried creating your own language using Python? I'm interested in giving it a shot and was wondering if anyone has any tips or resources to recommend. Thanks in advance! | reddit.com/r/ProgrammingLanguages | 2023-04-22

    It's not super maintained but you might enjoy building something with ppci, Pure Python Compiler Infrastructure. It has some front-ends and some back-ends. There's also PeachPy for an assembler. People like using Lark for parsing, I hear.

  • ModiScript

    Acche din aa gaye

  • ShivyC

    C compiler created in Python.

    Project mention: Big brain time | reddit.com/r/ProgrammerHumor | 2022-09-13

    I'm pretty sure writing the C compiler in random languages is about as ubiquitous as getting Doom to run on everything with a microcontroller. Python JavaScript Rust

  • Cantonese

    粤语編程語言.The Cantonese programming language.

    Project mention: Opinion on why do parents insist on sending their kids to Chinese schools | reddit.com/r/malaysia | 2023-02-27

    Yeah let’s code in Cantonese!

  • nimporter

    Compile Nim Extensions for Python On Import!

    Project mention: Are there nim users? | reddit.com/r/Python | 2022-09-16

    Nimporter

  • shedskin

    Shed Skin is a restricted-Python-to-C++ compiler. Read the introduction below to learn about the restrictions.

    Project mention: Are there any programming language that implement both a compiler and an interpreter | reddit.com/r/ProgrammingLanguages | 2023-02-10

    Even Shed Skin has Python3 compat now, https://github.com/shedskin/shedskin/releases/tag/v0.9.6

  • rickroll-lang

    The Rick Roll programming language is a rickroll based, process oriented, dynamic, strong, esoteric programming language. All of the keywords/statements are from Rick Astley's lyrics. Discord server: https://discord.gg/gsqJCJ3Agw

    Project mention: Rickroll programming language | reddit.com/r/rickroll | 2023-05-17

    That's it. There is a rickroll programming language my guys. It exists and has its own IDE https://github.com/Rick-Lang/rickroll-lang

  • prometeo

    An experimental Python-to-C transpiler and domain specific language for embedded high-performance computing

    Project mention: Are there any libraries that can easily convert Python to C/C#/or C++? Ones where a person doesn't have to "calibrate" it, just, pip install library and then they can have their Python code in C,C#,or C++? | reddit.com/r/learnpython | 2023-04-06
  • finn

    Dataflow compiler for QNN inference on FPGAs

    Project mention: Can anyone tell if Xilinx's FINN (from Xilinx's research lab) is restricted for use only to xilinx based FPGAs? | reddit.com/r/FPGA | 2023-04-08

    Seems fine to use on other FPGAs, there are some clauses you need to abide by. https://github.com/Xilinx/finn/blob/main/LICENSE.txt

  • Pyverilog

    Python-based Hardware Design Processing Toolkit for Verilog HDL

  • devito

    DSL and compiler framework for automated finite-differences and stencil computation

  • hidet

    An open-source efficient deep learning framework/compiler, written in python.

    Project mention: Hidet: A Deep Learning Compiler for Efficient Model Serving | news.ycombinator.com | 2023-04-28

    Hey @bructhemoose2 can you file an issue, we will try to fix it ASAP: https://github.com/hidet-org/hidet/issues

  • artiq

    A leading-edge control system for quantum information experiments

    Project mention: Senior FPGA Engineer in quantum computing startup, Oxfordshire UK | reddit.com/r/FPGA | 2022-09-06

    At Oxford Ionics we're looking for a senior FPGA engineer to work on our ARTIQ-based experimental control system and build our FPGA team. We're using Migen HDL and Python and software engineering knowledge are highly desirable. No prior quantum computing knowledge is required!

  • pytago

    A source-to-source transpiler for Python to Go translation

    Project mention: Learning Go as a Python Developer: The Good and the Bad | news.ycombinator.com | 2022-07-18

    Similarly helpful, pytago is a source to source transpired for python to go

    https://pytago.dev/

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-05-22.

Python Compiler related posts

Index

What are some of the best open-source Compiler projects in Python? This list will help you:

Project Stars
1 tvm 9,759
2 Nuitka 8,816
3 Numba 8,633
4 nebuly 8,133
5 hy 4,544
6 Coconut 3,741
7 Transcrypt 2,709
8 alpa 2,447
9 cinder 2,289
10 PeachPy 1,759
11 ModiScript 1,038
12 ShivyC 982
13 Cantonese 911
14 nimporter 761
15 shedskin 691
16 rickroll-lang 674
17 prometeo 578
18 finn 525
19 Pyverilog 469
20 devito 449
21 hidet 430
22 artiq 356
23 pytago 346
ONLYOFFICE Docs — document collaboration in your environment
Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises
www.onlyoffice.com