`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...
Metadata
Release files for django-molly 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-molly-0.0.2.tar.gz | 2.1 kB | Without provenance | Details for django-molly-0.0.2.tar.gz |
Release files / django-molly-0.0.2.tar.gz
| Download URL | django-molly-0.0.2.tar.gz |
|---|---|
| Size | 2.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
232ed0ca9acd06bd7dab4a699ac7a4ccef465a1441dde172e8d3c36c62582301
|
|
BLAKE2b-256 checksum How to use checksums |
111efe3b60d2436a8d9b9d7d3e0d473a698196fd068b1b3629e50e7a1b46dafe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-molly 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.