Flask-ProjectManager
====================
This is a command line tool that will create a new Flask application with the ability to create a simple setup or if you are using blueprints.
[](https://badge.fury.io/py/Flask-NewProject)
* * *
Getting Started
===============
Prerequisites
-------------
Built with Python 2.7
* * *
## Installing ##
pip install Flask-NewProject
## Usage Commands ##
For a skeleton structure:
flask-skeleton ProjectName
This will create a simple skeleton structure with app.py created but with no content inside of it.
For a simple structure:
flask-simple ProjecName
This is the same as the skeleton structure with the addition of basic content in app.py and a test.py in the test directory. You can also run flask-simple right after flask-skeleton and it will add the basic setup into app.py as well.
* * *
## Running Tests ##
Testing your new simple-structure
I use nosetests from the project folder and run
nosetests
There are two built in tests with flask-simple. One the check response code 200 and the other is for Hello World!
* * *
## Contributing ##
Please contribute if you can. This project is just getting underway, but help is always welcome.
* * *
## Version Information ##
0.2.1
* * *
## Authors ##
Raymond Williams
* * *
## License ##
This project is licensed under the MIT License - see the LICENSE file for details
* * *
====================
This is a command line tool that will create a new Flask application with the ability to create a simple setup or if you are using blueprints.
[](https://badge.fury.io/py/Flask-NewProject)
* * *
Getting Started
===============
Prerequisites
-------------
Built with Python 2.7
* * *
## Installing ##
pip install Flask-NewProject
## Usage Commands ##
For a skeleton structure:
flask-skeleton ProjectName
This will create a simple skeleton structure with app.py created but with no content inside of it.
For a simple structure:
flask-simple ProjecName
This is the same as the skeleton structure with the addition of basic content in app.py and a test.py in the test directory. You can also run flask-simple right after flask-skeleton and it will add the basic setup into app.py as well.
* * *
## Running Tests ##
Testing your new simple-structure
I use nosetests from the project folder and run
nosetests
There are two built in tests with flask-simple. One the check response code 200 and the other is for Hello World!
* * *
## Contributing ##
Please contribute if you can. This project is just getting underway, but help is always welcome.
* * *
## Version Information ##
0.2.1
* * *
## Authors ##
Raymond Williams
* * *
## License ##
This project is licensed under the MIT License - see the LICENSE file for details
* * *
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file Flask-NewProject-0.2.1.tar.gz.
File metadata
- Download URL: Flask-NewProject-0.2.1.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e7b741405729d963845837f812bc2e8383216c3cb1a5d3d93a771f8effac0e41
|
|
| MD5 |
cec410e4a1a946a20e381e46c8c2c006
|
|
| BLAKE2b-256 |
2fc336e812e42300bd0357bb6d12413d255dbb384ca2adb3c460e1da80a35263
|