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.6.tar.gz
(4.2 MB
view details)
File details
Details for the file vstutils-1.1.6.tar.gz.
File metadata
- Download URL: vstutils-1.1.6.tar.gz
- Upload date:
- Size: 4.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
20b3b7f81cad806b084c9ac3cb107f54fa0f4ec03959f4bf7ab67842330ff2e2
|
|
| MD5 |
977c49171384267e18e6f26e993d3b84
|
|
| BLAKE2b-256 |
62608e70c7966f86e1b0914447b75ef60c8745cd9e71ea1660a3fe49bc290ccd
|