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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cgen-2025.1.tar.gz (19.2 kB view details)

Uploaded Source

File details

Details for the file cgen-2025.1.tar.gz.

File metadata

  • Download URL: cgen-2025.1.tar.gz
  • Upload date:
  • Size: 19.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for cgen-2025.1.tar.gz
Algorithm Hash digest
SHA256 79f01e010d49c13e58b4ca8f2d4996a6b7178968f5f2d906262733480ae7a2d4
MD5 3eec522c3b0b6cfdb20621c5257ccd35
BLAKE2b-256 184ba84a2fd2abce1c7bdef848ef7e7763f9447040e01514f741f8c7dfae1bab

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

2025.1 This release

1 file

2020.1

1 file

2019.1

1 file

2017.1

1 file

2016.2.3

1 file

2016.2.2

1 file

2016.2.1

1 file

2016.2

1 file

2016.1

1 file

2015.2

1 file

2015.1.1

1 file

2015.1

1 file

2014.1

1 file

2013.1.2

1 file

2013.1.1

1 file

2013.1

1 file

2012.1

1 file

2011.1

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page