{ "info": { "author": "Valentin Samir", "author_email": "valentin.samir@crans.org", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "Django procmail\r\n===============\r\n\r\n.. image:: https://img.shields.io/pypi/v/django-procmail.svg\r\n :target: https://pypi.python.org/pypi/django-procmail\r\n\r\n.. image:: https://img.shields.io/pypi/l/django-procmail.svg\r\n :target: https://www.gnu.org/licenses/gpl-3.0.html\r\n\r\nDjango procmail is a Django application allowing to edit procmail's procmailrc files.\r\n\r\nA demo is avaible at ``_ with username/password demo/demo.\r\n\r\nRequirements\r\n------------\r\n\r\n* `Django `_ >= 1.7 < 1.10\r\n* `pyprocmail `_\r\n* `django-formtools `_ if Django version >= 1.8\r\n\r\nInstallation\r\n------------\r\n\r\nInstall with pip::\r\n\r\n sudo pip install pyprocmail\r\n\r\nor from source code::\r\n\r\n sudo make install\r\n\r\n\r\nQuick start\r\n-----------\r\n\r\n1. Add ``procmail`` to your INSTALLED_APPS setting like this::\r\n\r\n INSTALLED_APPS = (\r\n 'django.contrib.admin',\r\n ...,\r\n 'procmail',\r\n )\r\n\r\n For internatinalization support, add ``django.middleware.locale.LocaleMiddleware``\r\n to your MIDDLEWARE_CLASSES setting like this::\r\n\r\n MIDDLEWARE_CLASSES = (\r\n ...\r\n 'django.middleware.locale.LocaleMiddleware',\r\n ...\r\n )\r\n\r\n2. Include the ``procmail`` URLconf in your project urls.py like this::\r\n\r\n urlpatterns = [\r\n url(r'^admin/', admin.site.urls),\r\n ...\r\n url(r'^procmail/', include('procmail.urls', namespace=\"procmail\")),\r\n ]\r\n\r\n3. Start the development server and visit http://127.0.0.1:8000/procmail/\r\n to edit your procmailrc.\r\n\r\n\r\n\r\nSettings\r\n--------\r\n\r\nAll settings are optional. Add them to ``settings.py`` to customize ``django-procmail``:\r\n\r\n* ``PROCMAIL_INPLACE``: Should ``django-procmail`` try to edit procmailrc inplace ?\r\n The default is ``True``\r\n* ``PROCMAIL_DEBUG_DIR``: When ``PROCMAIL_INPLACE`` is False, where do we copy procmailrc files for\r\n edition. The default is ``None``, no dir defined. The default will crash if ``PROCMAIL_INPLACE``\r\n is False.\r\n* ``PROCMAIL_TEST_PROCMAILRC``: Path to a procmailrc file, used for every user when defined.\r\n It is here for testing purpose. The defaut is ``None``.\r\n* ``PROCMAIL_FALLBACK_ENCODING``: Which encoding to use for reading procmailrc files when\r\n charset autodetection failed. The default is ``'ISO-8859-15'``. You should always use\r\n single-byte encodings of this parameter.\r\n* ``PROCMAIL_DEFAULT_ENCODING``: Chich encoding to use for reading and writing procmailrc files.\r\n If read failed (bad charset), we try to autodetect the charset, is the autodetection failed, we\r\n fallback to ``PROCMAIL_FALLBACK_ENCODING``. The default is ``'utf-8'``.\r\n* ``PROCMAIL_DEFAULT_PROCMAILRC``: The content of the created procmailrc file when the user do not\r\n already have a procmailrc file.\r\n* ``PROCMAIL_VENDOR_CSS``: A dictionnary with two keys ``'bootstrap'`` and ``'font-awesome'``.\r\n The url to bootstrap3 and fontawesome CSS. The default are\r\n ``\"//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css\"`` and\r\n ``\"//maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css\"``.\r\n* ``PRCOMAIL_VENDOR_JAVASCRIPT``: A ordered dictionnary with four keys ``'jquery'``, ``'jquery-ui'``,\r\n ``'sortable'``, ``'bootstrap'``. The default are respectively\r\n ``\"//code.jquery.com/jquery-1.11.3.min.js\"``, ``\"//code.jquery.com/ui/1.11.4/jquery-ui.js\"``,\r\n ``//cdn.jsdelivr.net/sortable/latest/Sortable.min.js\"`` and\r\n ``\"//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js\"``.", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/nitmir/django-procmail/releases", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/nitmir/django-procmail", "keywords": "django,procmail,mail,filter,gui,web,interface", "license": "GPLv3", "maintainer": "", "maintainer_email": "", "name": "django-procmail", "package_url": "https://pypi.org/project/django-procmail/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-procmail/", "project_urls": { "Download": "https://github.com/nitmir/django-procmail/releases", "Homepage": "https://github.com/nitmir/django-procmail" }, "release_url": "https://pypi.org/project/django-procmail/0.1/", "requires_dist": null, "requires_python": null, "summary": "A web interface for editing procmail's procmailrc files.", "version": "0.1" }, "last_serial": 1878878, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "d5bae5f510483da4f6ea67d1beea3a72", "sha256": "77ab11a6b550cf810ffa72b2c13b79c8b6f03376cfa3f4d443a220b8f1f6dab5" }, "downloads": -1, "filename": "django-procmail-0.1.tar.gz", "has_sig": false, "md5_digest": "d5bae5f510483da4f6ea67d1beea3a72", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 46655, "upload_time": "2015-12-27T15:49:18", "url": "https://files.pythonhosted.org/packages/ad/bf/8ce58f2349610060f8fd3c74c7d66d6dec078e73f6a51a711c6d55a9d83c/django-procmail-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d5bae5f510483da4f6ea67d1beea3a72", "sha256": "77ab11a6b550cf810ffa72b2c13b79c8b6f03376cfa3f4d443a220b8f1f6dab5" }, "downloads": -1, "filename": "django-procmail-0.1.tar.gz", "has_sig": false, "md5_digest": "d5bae5f510483da4f6ea67d1beea3a72", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 46655, "upload_time": "2015-12-27T15:49:18", "url": "https://files.pythonhosted.org/packages/ad/bf/8ce58f2349610060f8fd3c74c7d66d6dec078e73f6a51a711c6d55a9d83c/django-procmail-0.1.tar.gz" } ] }