VST Utils for fast create web-application
Project description
Small lib for easy generates web-applications.
Quickstart
Install package: pip install vstutils
Create package ‘prj’ with minimal __init__.py and __main__.py
Paste to __init__.py:
from vstutils.environment import prepare_environment, cmd_execution __version__ = '1.0.0' settings = { "VST_PROJECT": 'prj', "VST_ROOT_URLCONF": 'vstutils.urls', "VST_WSGI": 'vstutils.wsgi', "VST_PROJECT_GUI_NAME": "Example Project" } prepare_environment(**settings)
Paste to __main__.py:
rom vstutils.environment import cmd_execution, sys sys.path.append('./') import prj cmd_execution()
Run python prj runserver 0.0.0.0:8081 –insecure
Enjoy!
License
Apache Software License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
vstutils-1.1.1.tar.gz
(4.2 MB
view hashes)