Skip to content

vicrep/pywally

Repository files navigation

PyWally

An interactive P2P video wall SIP server.

If you're new to Python, don't panic and read The Hitchhiker’s Guide to Python!.

Setup

Requirements

  • Python ≥3.6

If you want to manage and control your Python version accross projects, check out pyenv

Development environment

  • Install project in editable mode:
(venv) $ pip install -e .
  • Install test & dev dependencies:
(venv) $ pip install -r requirements-tests.txt -r requirements-dev.txt

Code audit / Linters

PyWally uses Pylama a code audit tool which runs various style & complexity check. Configure your editor to run against a single file each time it saves one.

  • To run it globally:
(venv) $ pylama
  • On a single path (file or directory):
(venv) $ pylama [path]

Running tests

  • Run tests:
(venv) $ py.test
  • Run tests in auto reload (pytest-watch plugin):
(venv) $ ptw

Running the server locally

(venv) $ python run.py

By default, this will create a new server instance at http://localhost:8000. The api can be accessed through the /api endpoint.

Documentation

The API system used allows for the automatic generation of Swagger specs, and running the server creates a live documentation explorer, which can be accessed at the endpoint /api/doc.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages