Skip to main content

A stub file with correct signatures and docstrings for the python uwsgi module

Project description

This is a stub file for the python uwsgi module with function signatures and docstrings.

Normally if you import uwsgi in your python application your editor highlights it as an error and also doesn’t autocomplete any uwsgi.* functions since the module is only made available if you run your app in uwsgi.

You can install this package if you want autocompletion and docstrings for the uwsgi module.

Note that ImportError is still raised when importing the uwsgi stub module so you can savely install it just for autocompletion and still use your

try:
    import uwsgi
    # do stuff with uwsgi module here
except ImportError:
    # do alternative things if not running in uwsgi

Installation

Install from PyPI using pip or easy_install.

$ pip install uwsgi-stub

Usage

Just import uwsgi in your editor and enjoy uwsgi docstrings and autocompletion.

1.1

  • Add websocket_* function definitions

1.0

  • First release

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 uwsgi-stub, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size uwsgi_stub-0.1.2-py2.py3-none-any.whl (8.2 kB) File type Wheel Python version 3.5 Upload date Hashes View
Filename, size uwsgi-stub-0.1.2.tar.gz (7.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page