Python Code Generation

Open-source Python projects categorized as Code Generation

Top 19 Python Code Generation Projects

  • fastapi-crudrouter

    A dynamic FastAPI router that automatically creates CRUD routes for your models

    Project mention: why when I search for Python jobs I find alot! but when I search for Django (the most used Python framework ) I get few compared to spring or nodejs ? | reddit.com/r/Python | 2022-08-21

    FastAPI does have an equivalent. Something like this? https://github.com/awtkns/fastapi-crudrouter

  • codex_py2cpp

    Converts python code into c++ by using OpenAI CODEX.

  • 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.

  • devito

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

  • apps

    APPS: Automated Programming Progress Standard (NeurIPS 2021) (by hendrycks)

  • hissp

    It's Python with a Lissp. https://hissp.rtfd.io

    Project mention: 2 line tic tac toe | reddit.com/r/Python | 2023-05-11

    Hissp is a Python library that can compile a whole program into one Python expression.

  • yasha

    A command-line tool to render Jinja templates for great good (by kblomqvist)

  • convtools-ita

    convtools is a python library to declaratively define conversions for processing collections, doing complex aggregations and joins.

  • ONLYOFFICE

    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

  • infer-types

    A CLI tool to automatically add type annotations into Python code. Must have tool for annotating existing code.

    Project mention: infer-types: A CLI tool to automatically add type annotations into Python code. Must have tool for annotating existing code. | reddit.com/r/coding | 2023-02-07
  • paprika

    Paprika is a python library that reduces boilerplate. Heavily inspired by Project Lombok.

  • reflecxx

    A static reflection framework for C++, using libclang.

    Project mention: I implement a fast, macro-based namedtuple works under C++11 | reddit.com/r/cpp | 2023-01-19
  • docked

    A friendly and safe alternative to Dockefile. Write Docker images using the full power of Python. (by orsinium-labs)

    Project mention: docked: A friendly and safe alternative to Dockefile. Write Docker images using the full power of Python. | reddit.com/r/coolgithubprojects | 2023-05-02
  • convtools

    convtools is a specialized Python library for dynamic, declarative data transformations with automatic code generation

    Project mention: What is your favorite ,most underrated 3rd party python module that made your programming 10 times more easier and less code ? so we can also try that out :-) .as a beginner , mine is pyinputplus | reddit.com/r/Python | 2022-12-04

    convtools - I built this to generate ad-hoc data converters, but now what I like the most about it is the functional approach.

  • icortex

    A no-code development framework—Let AI do the coding for you 🦾

    Project mention: Show HN: Ipython-GPT, a Jupyter/IPython Interface to Chat GPT | news.ycombinator.com | 2023-04-15

    We released ICortex ai powered python interpreter half a year ago or so: https://github.com/textcortex/icortex

  • llm-code-eval

    Large Language Models Are State-of-the-Art Evaluators of Code Generation

    Project mention: Large Language Models Are State-of-the-Art Evaluators of Code Generation | reddit.com/r/BotNews | 2023-04-28

    Recent advancements in the field of natural language generation have facilitated the use of large language models to assess the quality of generated text. Although these models have shown promising results in tasks such as machine translation and summarization, their applicability in code generation tasks remains limited without human involvement. The complexity of programming concepts required for such tasks makes it difficult to develop evaluation metrics that align with human judgment. Token-matching-based metrics, such as BLEU, have demonstrated weak correlations with human practitioners in code generation tasks. Moreover, the utilization of human-written test suites to evaluate functional correctness can be challenging in domains with low resources. To overcome these obstacles, we propose a new evaluation framework based on the GPT-3.5 (\texttt{GPT-3.5-turbo}), for code generation assessments. Our framework addresses the limitations of existing approaches by achieving superior correlations with functional correctness and human preferences, without the need for test oracles or references. We evaluate the efficacy of our framework on two different tasks and four programming languages, comparing its performance with the state-of-the-art CodeBERTScore metric, which relies on a pre-trained model. Our results demonstrate that our framework surpasses CodeBERTScore, delivering high levels of accuracy and consistency across various programming languages and tasks. We also make our evaluation framework and datasets available to the public at \url{https://github.com/terryyz/llm-code-eval}, encouraging further research in the evaluation of code generation.

  • goli

    A sophisticated boilerplate generator based on best practices and modern useful templates

  • StringEncrypt-Python

    StringEncrypt allows you to encrypt strings and files using a randomly generated algorithm, generating a unique decryption code (so-called polymorphic code) each time in the selected programming language.

  • codex_english2python

    Converts plain english to python code snippets by using OpenAI CODEX.

    Project mention: [AI] Would you trust a language model that writes code? (OpenAI Codex) | reddit.com/r/programming | 2022-10-21
  • protogen-python

    The protogen package makes it easy to write protoc plugins in Python

  • taxonomy-of-concepts-for-AI

    Taxonomy of common concepts based on matrices of concepts, for AI improvement

    Project mention: Show HN: Answering to: 'What is the contrary of courage?' | news.ycombinator.com | 2023-03-12
  • 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-11.

Python Code Generation related posts

Index

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

Project Stars
1 fastapi-crudrouter 1,107
2 codex_py2cpp 469
3 devito 451
4 apps 270
5 hissp 254
6 yasha 226
7 convtools-ita 181
8 infer-types 62
9 paprika 60
10 reflecxx 48
11 docked 39
12 convtools 29
13 icortex 25
14 llm-code-eval 23
15 goli 20
16 StringEncrypt-Python 16
17 codex_english2python 15
18 protogen-python 9
19 taxonomy-of-concepts-for-AI 3
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.
www.influxdata.com