Skip to main content

pysourcegen

Python Source Code Generator

A different approach for generating repetitive C/C++ source code using Python.

Examples

C++ - Hello World

run src/hello_world_cpp_example.py to create an exectuble called cpphello:

./hello_world_cpp_example.py | g++ -x c++ -o cpphello -

C - Hello World

run src/hello_world_c_example.py to create an exectuble called chello:

./hello_world_c_example.py | gcc -x c -o chello -

Release files for pysourcegen 0.0.3

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

Source distribution (sdist)

Source distribution for pysourcegen 0.0.3
File Size Uploaded
pysourcegen-0.0.3.tar.gz 9.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pysourcegen 0.0.3
File Interpreter ABI Platform
pysourcegen-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 35.5 kB

Release files / pysourcegen-0.0.3.tar.gz

Download URL pysourcegen-0.0.3.tar.gz
Size 9.8 kB
Tags Source
SHA-256 checksum
How to use checksums
503f28a71a4c929cb1158bf1deb3fbc6d5a32f13bb2746350323d5579cfc0440
BLAKE2b-256 checksum
How to use checksums
923be2275f9fb817f14b227191c847aa228a484b136cd5a75a6eff6f734c21af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Release files / pysourcegen-0.0.3-py3-none-any.whl

Download URL pysourcegen-0.0.3-py3-none-any.whl
Size 25.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
910ca247c88303569f6395d3510b834aaf00e14398c10f3f5f26329d5843e374
BLAKE2b-256 checksum
How to use checksums
ee467d1489b13e374ded0f2916dec2b3d6b378fe357685430630a20c09466310
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

0.0.3 This release

2 release files

0.0.1

2 release files

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