Getting Started
=====================
Include pyramid_celery either by setting your includes in your .ini,
or by calling config.include('pyramid_celery').
``` python
pyramid.includes = pyramid_celery
```
Now you can either use class based:
``` python
from celery.task import task
from celery.task import Task
@task
class AddTask(Task):
def run(self, x, y):
print x+y
```
or decorator based:
``` python
from celery.task import task
@task
def add(x, y):
print x+y
```
Configuration
=====================
All standard celery configuration options will work. Check out http://ask.github.com/celery/configuration.html
Demo
=====================
To see it all in action check out pyramid_celery_demo, run rabbitmq-server and then do:
``` python
$ python setup.py develop
$ populate_pyramid_celery_demo ./development.ini
$ pserve ./development.ini
$ pcelery ./development.ini worker
```
If you are using celery < 3.1 use older celery command lines binding.
``` python
pceleryd development.ini
```
Metadata
Release files for praekelt_pyramid_celery 1.4.0
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 |
|---|---|---|---|---|
| praekelt_pyramid_celery-1.4.0.tar.gz | 5.0 kB | Without provenance | Details for praekelt_pyramid_celery-1.4.0.tar.gz |
Release files / praekelt_pyramid_celery-1.4.0.tar.gz
| Download URL | praekelt_pyramid_celery-1.4.0.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
24906f75e5cd366e77e31f37d3d7a743a542d5ab6a72724620445298cca03ca4
|
|
BLAKE2b-256 checksum How to use checksums |
fd127db02867ed07be0324c617a681791ba92b775ba01d6f70fa60a09fc473f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for praekelt_pyramid_celery 1.4.0
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.