Skip to main content

Suncoast Systems Core Router Config Mgmt Server

Project description

VSCode Python Project Template

Template for my python (version 3) projects with vscode

Commands

  • Init space (with bash) : source _initial_setup.sh
  • Create virtualenv virtualenv : virtualenv -p python3 .venv
  • Load/Source virtuelenv : source .venv/bin/activate
  • Install requirements : pip install -r requirements.txt
  • Install test requirements : pip install -r tests/requirements.txt
  • Launch unitary tests : python3 -m pytest tests -v
  • Launch coverage tests : python3 -m pytest --cov-report xml:cov.xml --cov my_module tests -v

Tools choices

Extensions

Usefull extensions :

Tasks

  • Unitary tests with code coverage

Use it

  • Clone this repo as a new vscode workspace
  • Create virtualenv and install requirements (see Commands)
  • Rename folder my_module with your module name
  • In .vscode/tasks.json, replace my_module by your module name
  • Fix module import in main.py and ./tests/test_my_module.yy if needed
  • Try everything by:
    • Launching unitary tests
    • Launching task
    • Launching configurations
    • Debugging with a breakpoint

Sources

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

config_mgmt_server-1.0.8.tar.gz (14.9 kB view hashes)

Uploaded Source

Built Distribution

config_mgmt_server-1.0.8-py3-none-any.whl (8.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page