Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

GenThemAll is a simple, Pythonic tool for genernate code and whatevery you want.

Project Description

This is my first open source software project, and it’s not complete yet.

Script for generate example:

#!/usr/bin/env sh

### install genthemall
pip install genthemall

# generate project config file
genthemall project myProject

### SysUser
# add a module name sysUser and add field id type int.
genthemall field sysUser id type=int

# add field username type string, max length 40, min length 6.
genthemall field sysUser username type=string max=40 min=6

# add field password type string, max length 40, min length 8.
genthemall field sysUser password type=string max=40 min=8

# add field email type string.
genthemall field sysUser email type=string

# add field address type string
genthemall field sysUser address type=string

# add field sex type int
genthemall field sysUser sex type=int

### SysRole
# add a module name sysRole and add field id type int.
genthemall field sysRole id type=int

# add field roleName type string.
genthemall field sysRole roleName type=string

### Generate create database sql file
genthemall generate oracle.create_database "init.sql" -v --one-file && cat out/init.sql

# And then see the output. :)

### Generate java model file
genthemall generate java.model "src/main/java/\${config['path']}/model/\${module['pascalName']}.java" -v && cat out/src/main/java/com/ii2d/model/
# And then see the output. :)
Release History

Release History

This version
History Node


History Node


History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
GenThemAll-0.3.0.tar.gz (7.3 kB) Copy SHA256 Checksum SHA256 Source Dec 26, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting