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:
from vstutils.environment import cmd_execution, sys sys.path.append('./') import prj cmd_execution()Run python prj runserver 0.0.0.0:8081 –insecure
Enjoy!
See example in test_src/test_proj.
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.4.tar.gz
(4.2 MB
view details)
File details
Details for the file vstutils-1.1.4.tar.gz.
File metadata
- Download URL: vstutils-1.1.4.tar.gz
- Upload date:
- Size: 4.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a6d311f5f2f083dccf2738ddf7e24d72aa26e28a18f2094a1b21f9715f02fd88
|
|
| MD5 |
ed2b456ab442e38b040a3bd965d2bb69
|
|
| BLAKE2b-256 |
cb58c123c1b5d55c376a98e2812e9a29aa19d216764a91ddb5519f56af5d18c3
|