Snappea
A simple alternative for celery that doesn't require a broker.
See https://www.bugsink.com/snappea-design/
Usage:
-
Add
snappeato yourINSTALLED_APPS. -
Add a "snappea" DATABASE to your settings, and route snappea traffic to it:
DATABASES = {
[..]
"snappea": {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': BASE_DIR / 'snappea.sqlite3',
'OPTIONS': {
'timeout': 5,
},
},
}
DATABASE_ROUTERS = ("snappea.dbrouters.SeparateSnappeaDBRouter",)
- Create the tables:
python manage.py migrate --database=snappea
- Start the snappea background process:
python manage.py runsnappea
- In another Window, fire off a task to test that it works:
python manage.py shell
Python [..] (main, [..]
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> from snappea.example_tasks import printing_task
>>> printing_task.delay()
You should now see text in your snappea console.
Limitations
- Django-only
- Linux-only.
Metadata
Release files for snappea 1.0.1
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 | |
|---|---|---|---|---|
| snappea-1.0.1.tar.gz | 54.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| snappea-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 83.1 kB
Release files / snappea-1.0.1.tar.gz
| Download URL | snappea-1.0.1.tar.gz |
|---|---|
| Size | 54.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3e211ca32e528270b1950d4999aae3b31753ceae57a7b595fcb0e3bea50dcf73
|
|
BLAKE2b-256 checksum How to use checksums |
28d54327f6c5d6b06ca21271fc2df485724b96dae53739d73fdef227ea4af0da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Release files / snappea-1.0.1-py3-none-any.whl
| Download URL | snappea-1.0.1-py3-none-any.whl |
|---|---|
| Size | 28.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6e35b1a8f5aaae3652d007fdfcec65f7b33bcde927b4390c28a00d48894205be
|
|
BLAKE2b-256 checksum How to use checksums |
9746bb8b66b3f9852e947fdfa1acbf306e97c856a8133e6064b95876a4def2d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Security for snappea 1.0.1
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.