Generate Python project
Project description
Generate Python project.
Installation
~ $ python setup.py install
or can use pip
~ $ pip install initpy
Quick start
Create single Python file.
~ $ init.py foo.py
~ $ cat foo.py
#!/usr/bin/python
# -*- coding:utf-8 -*-
Create Python Module.
~ $ init.py foo/
~ $ tree foo/
foo/
└── __init__.py
Create Flask project.
~ $ init.py -f bar
~ $ tree bar/
bar/
├── app
│ ├── __init__.py
│ ├── common
│ │ ├── __init__.py
│ │ ├── models.py
│ │ └── views.py
│ ├── static
│ └── templates
│ ├── base.html
│ └── common
│ └── index.html
├── manage.py
└── requirements
└── dev.txt
Create Tornado web project.
~ $ init.py -tw bar
~ $ tree bar/
bar/
├── app.py
├── handlers
│ ├── __init__.py
│ └── common.py
├── requirements
│ └── dev.txt
└── urls.py
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
initpy-0.2.0.tar.gz
(4.8 kB
view hashes)