Skip to main content
Gitlab Build Status Github Build Status Python Package Index Release Page

cgen offers a simple abstract syntax tree for C and related languages (C++/CUDA/OpenCL) to allow structured code generation from Python. To represent mathematical expressions, cgen can be used with pymbolic.

Places on the web related to cgen:

cgen is licensed under the liberal MIT license and free for commercial, academic, and private use. All of cgen’s dependencies can be automatically installed from the package index after using:

pip install cgen

Release files for cgen 2025.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cgen 2025.1
File Size Uploaded
cgen-2025.1.tar.gz 19.2 kB Details

Release files / cgen-2025.1.tar.gz

Download URL cgen-2025.1.tar.gz
Size 19.2 kB
Tags Source
SHA-256 checksum
How to use checksums
79f01e010d49c13e58b4ca8f2d4996a6b7178968f5f2d906262733480ae7a2d4
BLAKE2b-256 checksum
How to use checksums
184ba84a2fd2abce1c7bdef848ef7e7763f9447040e01514f741f8c7dfae1bab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Release history Release notifications | RSS feed

This release

2025.1 This release

1 release file

2020.1

1 release file

2019.1

1 release file

2017.1

1 release file

2016.2

1 release file

2016.1

1 release file

2015.2

1 release file

2015.1

1 release file

2014.1

1 release file

2013.1

1 release file

2012.1

1 release file

2011.1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page