Metadata-Version: 2.0
Name: uwsgi-stub
Version: 0.1.2
Summary: A stub file with correct signatures and docstrings for the python uwsgi module
Home-page: https://github.com/dakra/uwsgi-stub
Author: Daniel Kraus
Author-email: dakra-python@tr0ll.net
License: ISC
Keywords: uwsgi
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: ISC License (ISCL)
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Libraries :: Python Modules

uwsgi-stub
==========

This is a stub file for the
`python uwsgi module <http://uwsgi-docs.readthedocs.org/en/latest/PythonModule.html>`_
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

.. code-block:: python

    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``.

.. code-block:: bash

    $ 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


