Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Generate projects

Project description

# Progen
## Project Generator

Generate projects easily with a single command(`python [generator]`). As of v0.0.1a, Progen supports generating C++ projects. More efforts are needed to improve it.

### Creating your own generator
You can create your own project generator that will be utilized by Progen. A generator is simply a python file.
There are two types of generators:
- **Folders Only**
This type of generator only requires that you specify folders that will be created with a variable called `folders`.
For example:
folders = [

Just save the code above as a python script (for example, ``) inside Progen's generator folder in the installation directory.

To generate a project based on the specified folders above, just run `python testscript` inside the terminal.
- **Full Generator**
This type of generator requires that you be responsible for making the folders. This is useful if you want to create a generator that is interactive and flexible.

The code must be inside a `main()` function in order for it to work. Running a full generator is similar to running a *Folders only* generator.

*NOTE: Generators must be saved inside Progen's `generators` folder in the installation directory*

### License
Progen is licensed under the GNU General Public License v3.0.

Copyright (C) 2015 Sean Francis N. Ballais

Project details

Download files

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

Files for prg, version 0.0.1a
Filename, size File type Python version Upload date Hashes
Filename, size prg-0.0.1a.tar.gz (3.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page