celery-haystack-ng
This Django app allows you to utilize Celery for automatically updating and deleting objects in a Haystack search index.
Forked from the original celery-haystack.
Requirements
You also need to install your choice of one of the supported search engines for Haystack and one of the supported backends for Celery.
Installation
Use your favorite Python package manager to install the app from PyPI, e.g.:
pip install celery-haystack-ng
For Django < 1.9 you need to install and configure django-transaction-hooks – an app that brings transaction commit hooks to Django.
Usage
Add 'celery_haystack' to the INSTALLED_APPS setting
INSTALLED_APPS = [ # .. 'celery_haystack', ]Enable the celery-haystack signal processor in the settings
HAYSTACK_SIGNAL_PROCESSOR = 'celery_haystack.signals.CelerySignalProcessor'Alter all of your SearchIndex subclasses to inherit from celery_haystack.indexes.CelerySearchIndex and haystack.indexes.Indexable
from haystack import indexes from celery_haystack.indexes import CelerySearchIndex from myapp.models import Note class NoteIndex(CelerySearchIndex, indexes.Indexable): text = indexes.CharField(document=True, model_attr='content') def get_model(self): return NoteEnsure your Celery instance is running.
Thanks
This app is a blatant rip-off of Daniel Lindsley’s queued_search app but uses Ask Solem Hoel’s Celery instead of the equally awesome queues library by Matt Croyden.
Issues
Please use the EduGit issue tracker for any bug reports or feature requests.
Metadata
Release files for celery-haystack-ng 2.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 | Actions |
|---|---|---|---|---|
| celery-haystack-ng-2.0.1.tar.gz | 9.5 kB | Without provenance | Details for celery-haystack-ng-2.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| celery_haystack_ng-2.0.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for celery_haystack_ng-2.0.1-py2.py3-none-any.whl |
Total release size: 20.8 kB
Release files / celery-haystack-ng-2.0.1.tar.gz
| Download URL | celery-haystack-ng-2.0.1.tar.gz |
|---|---|
| Size | 9.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c4c8b25bd14503f04874b77776cc7accf480ca5ba2f5a27473f7dac9a4dfb016
|
|
BLAKE2b-256 checksum How to use checksums |
d02e8a1004dbcea09d4e24063a1cb2c6c4ba531f9b1be21c2735452a9cc7b7f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.8
|
Release files / celery_haystack_ng-2.0.1-py2.py3-none-any.whl
| Download URL | celery_haystack_ng-2.0.1-py2.py3-none-any.whl |
|---|---|
| Size | 11.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
3c79bb224d85aad7c71072210a86bff6f7b502ad990c9f6695b117614477c34b
|
|
BLAKE2b-256 checksum How to use checksums |
d846630c652a24641437a13fc3eb7ee94a4a5922c3917140334bb845d03b111e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.8
|
Security for celery-haystack-ng 2.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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.