Skip to main content

VST Utils for fast create web-application

Project description

Small lib for easy generates web-applications.

Quickstart

  1. Install package: pip install vstutils

  2. Create package ‘prj’ with minimal __init__.py and __main__.py

  3. 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)
  4. Paste to __main__.py:

    from vstutils.environment import cmd_execution, sys
    sys.path.append('./')
    import prj
    
    cmd_execution()
  5. Run python prj runserver 0.0.0.0:8081 –insecure

  6. 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)

Uploaded Source

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

Hashes for vstutils-1.1.6.tar.gz
Algorithm Hash digest
SHA256 20b3b7f81cad806b084c9ac3cb107f54fa0f4ec03959f4bf7ab67842330ff2e2
MD5 977c49171384267e18e6f26e993d3b84
BLAKE2b-256 62608e70c7966f86e1b0914447b75ef60c8745cd9e71ea1660a3fe49bc290ccd

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