Skip to main content

Generate Python project

Project description

Latest Version Documentation Status

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

Create Falcon project.

~ $ init.py -fc bar
~ $ tree bar/
bar/
 ├── app
    ├── __init__.py
    ├── resources
       ├── __init__.py
       └── common.py
    ├── middleware
       └── __init__.py
    └── models
        └── __init__.py
 ├── manage.py
 └── requirements
     └── dev.txt

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.1.tar.gz (4.3 kB view details)

Uploaded Source

File details

Details for the file initpy-0.2.1.tar.gz.

File metadata

  • Download URL: initpy-0.2.1.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for initpy-0.2.1.tar.gz
Algorithm Hash digest
SHA256 c9afe2dd7545ac82a5f8e65e109ed7476b04eac569375ab4f6190ab76ee0e8c0
MD5 0b3ca2accb796b20fdcd5dcdafe4ecc7
BLAKE2b-256 5bbad51581b6cae9b8ad92fb84fb9721f223e62009c3c542c256d5b4d6f80a21

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