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.2.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.2-py3-none-any.whl (25.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pysourcegen-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 ee414ba5c62e9853b49c2efb5d57c6c9b543e0f80c4fd8a2d31b87516e1a341c
MD5 68b317c15694e35341de10f60d2e45e9
BLAKE2b-256 190047b7af9fc1c4ba748ddb4c617aa543b11398733e0e93959dbaf82fc78d4e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pysourcegen-0.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fc46d28b5ff1b06e40ad7e8568ec70e3a3812077577fa61b6a5dd449f5f5770f
MD5 e073e44fff80cba4dccd765edfb2444f
BLAKE2b-256 7d07ff57d055b8f146a4993adbdb1d7063cdbeef8989c503cc2c29570fc86809

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