===============
Django PyNotify
===============
.. image:: https://img.shields.io/pypi/v/django-pynotify.svg
:target: https://pypi.python.org/pypi/django-pynotify
.. image:: https://img.shields.io/travis/druids/django-pynotify.svg
:target: https://travis-ci.org/druids/django-pynotify
.. image:: https://readthedocs.org/projects/django-pynotify/badge/?version=latest
:target: https://django-pynotify.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
.. image:: https://coveralls.io/repos/github/druids/django-pynotify/badge.svg?branch=master
:target: https://coveralls.io/github/druids/django-pynotify?branch=master
:alt: Code coverage
General purpose notification library for Django.
* Free software: MIT license
* Documentation: https://django-pynotify.readthedocs.io.
* Supported Python versions: 3.7, 3.8, 3.9, 3.10, 3.11
* Supported Django versions: 3.1, 3.2
.. Always make sure that versions are in sync with CI file
Features
--------
* Easy integration into project
* Notification templating and translation
* Asynchronous operation
Credits
-------
This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage
=======
History
=======
0.5.5 (2023-01-03)
------------------
* Add support for Python 3.10 and 3.11
0.5.4 (2022-03-10)
------------------
* Migrate CI from Travis to Github Actions
* Fix lint errors
0.5.3 (2022-03-01)
------------------
* Prevent duplicates of ``NotificationTemplate`` objects
0.5.2 (2022-02-21)
------------------
* Allow handlers that are not paired with any signal
* Return notifications created with ``notify`` helper function
0.5.1 (2022-01-20)
------------------
* Use ``JSONField`` instead of ``TextField`` for JSON based fields
* Add ``extra_fields`` to ``BaseTemplate``
* Drop Django 2.x support
0.4.6 (2021-08-31)
------------------
* Add ``is_locked`` field to ``AdminNotificationTemplate``
0.4.5 (2021-01-21)
------------------
* Update dependencies
0.4.4 (2021-01-15)
------------------
* Add support for Python 3.9
* Add support for Django 3
* Fix BS4 warning
0.4.3 (2020-12-16)
------------------
* Fix translation file
0.4.2 (2020-12-11)
------------------
* Add ``send_push`` flag to ``AdminNotificationTemplate`` model
* Ignore duplicit dispatcher classes in ``BaseHandler``
0.4.1 (2020-10-12)
------------------
* Add ``PYNOTIFY_STRIP_HTML`` config option
0.4.0 (2020-08-12)
------------------
* Removed support of Django 1.11, 2.0 and 2.1
* Fixed library requirements
0.3.2 (2020-07-27)
------------------
* Add ``is_active`` flag to ``AdminNotificationTemplate`` model
0.3.1 (2020-06-12)
------------------
* Improve template variable checking
* Add new filter ``filter_with_related_object``
0.3.0 (2020-04-19)
------------------
* Fix documentation
* Change ``PYNOTIFY_AUTOLOAD_APPS`` to ``PYNOTIFY_AUTOLOAD_MODULES``, i.e. allow notification handlers to reside in
arbitrary module
0.2.2 (2020-02-11)
------------------
* Use Django JSON encoder for encoding extra data
0.2.1 (2020-02-11)
------------------
* Fix failed PyPi upload
0.2.0 (2020-02-11)
------------------
* Add admin templates
* Limit usage of related objects in templates and add ``PYNOTIFY_RELATED_OBJECTS_ALLOWED_ATTRIBUTES`` setting
* Show placeholder text for deleted related objects
0.1.7 (2020-01-20)
------------------
* Add support for Python 3.8 and Django 2.2
* Fix generating of translations
* Allow unnamed related objects to be passed in a list
0.1.6 (2019-04-16)
------------------
* Add ``PYNOTIFY_TEMPLATE_PREFIX`` config option
* Add methods ``get_template_slug()`` and ``get_dispatcher_classes()`` to ``BaseHandler``
* Add coveralls.io integration
0.1.5 (2019-04-12)
------------------
* Add extra data to ``Notification`` model
0.1.4 (2019-04-08)
------------------
* Add ``_can_handle()`` method to ``BaseHandler``
* Add ``PYNOTIFY_ENABLED`` setting
0.1.3 (2019-04-01)
------------------
* Add ``kwargs`` to Notification manager's ``create()`` method
* Add ``realted_objects_dict`` property to ``Notification`` model
0.1.2 (2019-03-20)
------------------
* Remove automatic deploy to PyPi from Travis
0.1.1 (2019-03-20)
------------------
* First release of the library
Raw data
{
"_id": null,
"home_page": "https://github.com/druids/django-pynotify",
"name": "django-pynotify",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "django-pynotify",
"author": "Ond\u0159ej Kulat\u00fd",
"author_email": "kulaty.o@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/d5/bd/8d21b69c12f29b165533175bb5770c15a2b20f965bb6dd9253ef5317f82b/django-pynotify-0.5.5.tar.gz",
"platform": null,
"description": "===============\nDjango PyNotify\n===============\n\n\n.. image:: https://img.shields.io/pypi/v/django-pynotify.svg\n :target: https://pypi.python.org/pypi/django-pynotify\n\n.. image:: https://img.shields.io/travis/druids/django-pynotify.svg\n :target: https://travis-ci.org/druids/django-pynotify\n\n.. image:: https://readthedocs.org/projects/django-pynotify/badge/?version=latest\n :target: https://django-pynotify.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\n.. image:: https://coveralls.io/repos/github/druids/django-pynotify/badge.svg?branch=master\n :target: https://coveralls.io/github/druids/django-pynotify?branch=master\n :alt: Code coverage\n\nGeneral purpose notification library for Django.\n\n\n* Free software: MIT license\n* Documentation: https://django-pynotify.readthedocs.io.\n* Supported Python versions: 3.7, 3.8, 3.9, 3.10, 3.11\n* Supported Django versions: 3.1, 3.2\n\n.. Always make sure that versions are in sync with CI file\n\nFeatures\n--------\n\n* Easy integration into project\n* Notification templating and translation\n* Asynchronous operation\n\nCredits\n-------\n\nThis package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage\n\n\n=======\nHistory\n=======\n\n0.5.5 (2023-01-03)\n------------------\n\n* Add support for Python 3.10 and 3.11\n\n0.5.4 (2022-03-10)\n------------------\n\n* Migrate CI from Travis to Github Actions\n* Fix lint errors\n\n0.5.3 (2022-03-01)\n------------------\n\n* Prevent duplicates of ``NotificationTemplate`` objects\n\n0.5.2 (2022-02-21)\n------------------\n\n* Allow handlers that are not paired with any signal\n* Return notifications created with ``notify`` helper function\n\n0.5.1 (2022-01-20)\n------------------\n\n* Use ``JSONField`` instead of ``TextField`` for JSON based fields\n* Add ``extra_fields`` to ``BaseTemplate``\n* Drop Django 2.x support\n\n0.4.6 (2021-08-31)\n------------------\n\n* Add ``is_locked`` field to ``AdminNotificationTemplate``\n\n0.4.5 (2021-01-21)\n------------------\n\n* Update dependencies\n\n0.4.4 (2021-01-15)\n------------------\n\n* Add support for Python 3.9\n* Add support for Django 3\n* Fix BS4 warning\n\n0.4.3 (2020-12-16)\n------------------\n\n* Fix translation file\n\n0.4.2 (2020-12-11)\n------------------\n\n* Add ``send_push`` flag to ``AdminNotificationTemplate`` model\n* Ignore duplicit dispatcher classes in ``BaseHandler``\n\n0.4.1 (2020-10-12)\n------------------\n\n* Add ``PYNOTIFY_STRIP_HTML`` config option\n\n0.4.0 (2020-08-12)\n------------------\n\n* Removed support of Django 1.11, 2.0 and 2.1\n* Fixed library requirements\n\n0.3.2 (2020-07-27)\n------------------\n\n* Add ``is_active`` flag to ``AdminNotificationTemplate`` model\n\n0.3.1 (2020-06-12)\n------------------\n\n* Improve template variable checking\n* Add new filter ``filter_with_related_object``\n\n0.3.0 (2020-04-19)\n------------------\n\n* Fix documentation\n* Change ``PYNOTIFY_AUTOLOAD_APPS`` to ``PYNOTIFY_AUTOLOAD_MODULES``, i.e. allow notification handlers to reside in\n arbitrary module\n\n0.2.2 (2020-02-11)\n------------------\n\n* Use Django JSON encoder for encoding extra data\n\n0.2.1 (2020-02-11)\n------------------\n\n* Fix failed PyPi upload\n\n0.2.0 (2020-02-11)\n------------------\n\n* Add admin templates\n* Limit usage of related objects in templates and add ``PYNOTIFY_RELATED_OBJECTS_ALLOWED_ATTRIBUTES`` setting\n* Show placeholder text for deleted related objects\n\n0.1.7 (2020-01-20)\n------------------\n\n* Add support for Python 3.8 and Django 2.2\n* Fix generating of translations\n* Allow unnamed related objects to be passed in a list\n\n0.1.6 (2019-04-16)\n------------------\n\n* Add ``PYNOTIFY_TEMPLATE_PREFIX`` config option\n* Add methods ``get_template_slug()`` and ``get_dispatcher_classes()`` to ``BaseHandler``\n* Add coveralls.io integration\n\n0.1.5 (2019-04-12)\n------------------\n\n* Add extra data to ``Notification`` model\n\n0.1.4 (2019-04-08)\n------------------\n\n* Add ``_can_handle()`` method to ``BaseHandler``\n* Add ``PYNOTIFY_ENABLED`` setting\n\n0.1.3 (2019-04-01)\n------------------\n\n* Add ``kwargs`` to Notification manager's ``create()`` method\n* Add ``realted_objects_dict`` property to ``Notification`` model\n\n0.1.2 (2019-03-20)\n------------------\n\n* Remove automatic deploy to PyPi from Travis\n\n0.1.1 (2019-03-20)\n------------------\n\n* First release of the library\n\n\n",
"bugtrack_url": null,
"license": "MIT license",
"summary": "General purpose notification library for Django",
"version": "0.5.5",
"split_keywords": [
"django-pynotify"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "772fdfb69947c861cd1e718e594d7b41884dd52b4683ad493969676f3debeaa5",
"md5": "951cce25a06478c7adf1f4bd8dce871b",
"sha256": "c269a6ed541174a7df18df6780a23632aff3267c295a93843fb9797334bd440f"
},
"downloads": -1,
"filename": "django_pynotify-0.5.5-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "951cce25a06478c7adf1f4bd8dce871b",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=3.6",
"size": 24109,
"upload_time": "2023-01-03T18:13:03",
"upload_time_iso_8601": "2023-01-03T18:13:03.805069Z",
"url": "https://files.pythonhosted.org/packages/77/2f/dfb69947c861cd1e718e594d7b41884dd52b4683ad493969676f3debeaa5/django_pynotify-0.5.5-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d5bd8d21b69c12f29b165533175bb5770c15a2b20f965bb6dd9253ef5317f82b",
"md5": "05f495f42966e5e30e1acc8e58ea8622",
"sha256": "9fda287a59995030d843d781d0bd31f259134ddebe7a3d1a5139e4a36a1de0bb"
},
"downloads": -1,
"filename": "django-pynotify-0.5.5.tar.gz",
"has_sig": false,
"md5_digest": "05f495f42966e5e30e1acc8e58ea8622",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 169757,
"upload_time": "2023-01-03T18:13:05",
"upload_time_iso_8601": "2023-01-03T18:13:05.901620Z",
"url": "https://files.pythonhosted.org/packages/d5/bd/8d21b69c12f29b165533175bb5770c15a2b20f965bb6dd9253ef5317f82b/django-pynotify-0.5.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-03 18:13:05",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "druids",
"github_project": "django-pynotify",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "django-pynotify"
}