Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Wrapper around the tornado web server library

Project description

A wrapper around the tornado web server.

Changlog

0.6 - 18 September 2019
0.5.3 - Dec 26 2018
  • WSHandler now has a connection_future that is cancelled if we lose the connection
0.5.2 - Oct 25 2018
  • Added a message_done hook to SimpleWebSocketBase
  • Fixed the test helpers so that you aren’t left with no set asyncio loop
0.5.1 - Oct 24 2018
  • Made the __server_time__ message for SimpleWebSocketBase optional.
  • Made sure to actually use the reprer set on request handlers
  • ProgressMessageMaker doesn’t nest dictionaries it receives
  • Added a transform_progress hook to SimpleWebSocketBase
0.5 - Oct 22 2018
  • Initial Release

Installation

This package is released to pypi under the name whirlwind-web. When you add this package to your setup.py it is recommended you either specify [peer] as well or pin input_algorithms, option_merge and tornado to particular versions. See https://github.com/delfick/whirlwind/blob/master/setup.py#L24-L28 for the recommended versions.

For example:

from setuptools import setup, find_packages

setup(
      name = "test"
    , version = "0.1"
    , include_package_data = True

    , install_requires =
      [ "whirlwind-web[peer]"
      , "whirlwind-web==0.5.2"
      ]
    )

Running the tests

To run the tests, create and activate a virtualenv somewhere and then:

$ pip install -e ".[peer,tests]"
$ pip install -e .

followed by ./test.sh

Alternatively:

$ pip install tox
$ tox

Usage

See https://whirlwind.readthedocs.io/en/latest/ for usage documentation.

Project details


Download files

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

Files for whirlwind-web, version 0.6
Filename, size File type Python version Upload date Hashes
Filename, size whirlwind-web-0.6.tar.gz (15.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page