Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

`molly`.

Project Description

# Molly

`molly` is simple application that injects a signal after the WSGIHandler
is instatiated. What this means for you is that you can definitively know when
your application is live and can receive requests.


## Installation:

`pip install django-molly`


## Usage:


```python
# settings.py file

INSTALLED_APPS = (
...,
'molly',
...
)

```

```python
# in some apps.py file
...
from molly.signals import application_started


def hello_world():
print "hello world!!!"

class MyAppConfig(AppConfig):
def ready(self):
application_started.connect(
hello_world, dispatch_uid='my-silly-message'
)
```

So now when you run `python manage.py runserver` or *any* service that utilizes
the `django.core.handlers.wsgi.WSGIHandler` you should see you message.

Enjoy the *ecstacy* of it all...

Release History

This version
History Node

0.0.2

History Node

0.0.1

History Node

0.0.0

Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
django-molly-0.0.2.tar.gz
(2.1 kB) Copy SHA256 Hash SHA256
Source None Apr 16, 2016

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting