Skip to main content

Python Source Code Generator

Project description

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 -

Project details


Download files

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

Source Distribution

pysourcegen-0.0.3.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pysourcegen-0.0.3-py3-none-any.whl (25.7 kB view details)

Uploaded Python 3

File details

Details for the file pysourcegen-0.0.3.tar.gz.

File metadata

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

File hashes

Hashes for pysourcegen-0.0.3.tar.gz
Algorithm Hash digest
SHA256 503f28a71a4c929cb1158bf1deb3fbc6d5a32f13bb2746350323d5579cfc0440
MD5 d0fbb115d28b19e2c5002ebee8f65cec
BLAKE2b-256 923be2275f9fb817f14b227191c847aa228a484b136cd5a75a6eff6f734c21af

See more details on using hashes here.

File details

Details for the file pysourcegen-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: pysourcegen-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 25.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for pysourcegen-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 910ca247c88303569f6395d3510b834aaf00e14398c10f3f5f26329d5843e374
MD5 fe2903dbb496ea784688c754a4cc8603
BLAKE2b-256 ee467d1489b13e374ded0f2916dec2b3d6b378fe357685430630a20c09466310

See more details on using hashes here.

Supported by

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