Python Code Generation

Open-source Python projects categorized as Code Generation

Top 23 Python Code Generation Projects

  • CodeGeeX

    CodeGeeX: An Open Multilingual Code Generation Model (KDD 2023)

  • Project mention: For Developers - THUDM/CodeGeeX: CodeGeeX: An Open Multilingual Code Generation Model | /r/OfflineAI | 2023-05-20
  • OpenAgents

    OpenAgents: An Open Platform for Language Agents in the Wild

  • Project mention: [D] github repositories for ai web search agents | /r/MachineLearning | 2023-12-09
  • 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
  • CodeT5

    Home of CodeT5: Open Code LLMs for Code Understanding and Generation

  • Project mention: AI Weekly Rundown (May 13 to May 19) : News from ChatGPT Plugins, Hugging Face, Amazon, Microsoft, Humanoid bot, Healthcare and more. | /r/ChatGPT | 2023-05-20

    CodeT5+: Open code LLMs for code understanding and generation (Link)

  • CodeTF

    CodeTF: One-stop Transformer Library for State-of-the-art Code LLM

  • Project mention: CodeTF: Transformer Based Library for Code Generating Language Models | /r/AutoGPT | 2023-06-16
  • coffee

    Build and iterate on your UI 10x faster with AI - right from your own IDE ☕️

  • Project mention: AI Grant Traction in OSS Startups | dev.to | 2024-02-01

    Coframe

  • fastapi-crudrouter

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

  • devito

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

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • codex_py2cpp

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

  • apps

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

  • hissp

    It's Python with a Lissp.

  • Project mention: Hissp | news.ycombinator.com | 2023-12-17
  • yasha

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

  • mindflow

    🧠 AI-powered CLI git wrapper, boilerplate code generator, chat history manager, and code search engine to streamline your dev workflow 🌊

  • convtools-ita

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

  • balcony

    A CLI tool for easy AWS API reads. Also generates Terraform import-blocks, and actual Terraform Resource code.

  • duckargs

    Code generation tool, creates python / C programs that parse command line arguments. Say bye to starting each project by reading "argparse" / "geptopt.h" docs.

  • monitors4codegen

    Code and Data artifact for NeurIPS 2023 paper - "Monitor-Guided Decoding of Code LMs with Static Analysis of Repository Context". `multispy` is a lsp client library in Python intended to be used to build applications around language servers.

  • Project mention: Show HN: Multilspy – A library to easily use language servers to analyze code | news.ycombinator.com | 2023-11-28
  • paprika

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

  • infer-types

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

  • ice-score

    [EACL 2024] ICE-Score: Instructing Large Language Models to Evaluate Code

  • Project mention: Large Language Models Are State-of-the-Art Evaluators of Code Generation | /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.

  • reflecxx

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

  • 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. | /r/coolgithubprojects | 2023-05-02
  • convtools

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

  • gopilot

    Gopilot 🤖 is a (tiny) Large Language Model, trained on Go code, on a research budget

  • Project mention: Show HN: Training Your Own Language Model on Your Favourite Programming Language | news.ycombinator.com | 2023-06-06
  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
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).

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 CodeGeeX 7,751
2 OpenAgents 3,388
3 CodeT5 2,588
4 CodeTF 1,421
5 coffee 1,340
6 fastapi-crudrouter 1,304
7 devito 518
8 codex_py2cpp 488
9 apps 334
10 hissp 331
11 yasha 242
12 mindflow 215
13 convtools-ita 183
14 balcony 131
15 duckargs 106
16 monitors4codegen 105
17 paprika 77
18 infer-types 73
19 ice-score 60
20 reflecxx 52
21 docked 45
22 convtools 38
23 gopilot 32

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com