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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pysourcegen-0.0.1.tar.gz
Algorithm Hash digest
SHA256 58cfb3c185d001e2b3972fd33d7cf086060ba78bb80971c608eb368bcb5e5006
MD5 604325d18b1a47dd22392e8ecf6da4d6
BLAKE2b-256 28b1909082a68f566c766b814dbb57bc885c9a3dc6631dc4634aa8c26b49bcf2

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pysourcegen-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c3c43530f97f5c0878e2be8af39ec37f74f4dc3532bb883ce28da48fd833305c
MD5 c8a9823554fb709540861e3c77e78243
BLAKE2b-256 a96d0bfa4b33bcdc09a582d36825d7f9d6ddabf2d27d2acb9e5a0761e0cb4189

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