{ "info": { "author": "Gregory N. Schmit", "author_email": "gschmi4@uic.edu", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 2.0", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Internet :: WWW/HTTP" ], "description": "Purge\n#####\n\n.. inclusion-marker-do-not-remove\n\n.. image:: https://travis-ci.org/gregschmit/django-purge.svg?branch=master\n :alt: Build Status\n :target: https://travis-ci.org/gregschmit/django-purge\n\n.. image:: https://readthedocs.org/projects/django-purge/badge/?version=latest\n :alt: Documentation Status\n :target: https://django-purge.readthedocs.io/en/latest/?badge=latest\n\n.. image:: https://img.shields.io/pypi/v/django-purge\n :alt: PyPI\n :target: https://pypi.org/project/django-purge/\n\n.. image:: https://coveralls.io/repos/github/gregschmit/django-purge/badge.svg?branch=master\n :alt: Coverage Report\n :target: https://coveralls.io/github/gregschmit/django-purge?branch=master\n\nDocumentation: https://django-purge.readthedocs.io\n\nSource: https://github.com/gregschmit/django-purge\n\nPyPI: https://pypi.org/project/django-purge/\n\nPurge is a reusable Django app for regularly purging old database entries, like\nlogs.\n\n**The Problem**: Tables/models like sessions and logs can grow without limit.\n\n**The Solution**: This app allows you to schedule database purging of old\nrecords. You can also make FilePurgers which can purge old files based on\ndatestamps in the filename or timestamps in the meta-data (atime/mtime/ctime).\n\nHow to Use\n##########\n\n.. code-block:: shell\n\n $ pip install django-purge\n\nInclude :code:`purge` in your :code:`INSTALLED_APPS`. Then, create your\ndatabase purgers or file purgers in the admin interface.\n\nThen, either periodically call the :code:`purge` management command (e.g., via a\nsystem cronjob), or install and configure :code:`django-cron` (add\n:code:`purge.cron` to your :code:`CRON_CLASSES` in your\n:code:`settings.py`). The builtin :code:`CronJob` class is set to run every 4\nhours. You can change this by altering your :code:`settings.py` and adding\n:code:`PURGE_CRON_RUN_AT_TIMES` to an array of times you want to run the job at\n(e.g., :code:`['1:00']` to run at 1am).\n\nContributing\n############\n\nEmail gschmi4@uic.edu if you want to contribute. You must only contribute code\nthat you have authored or otherwise hold the copyright to, and you must\nmake any contributions to this project available under the MIT license.\n\nTo collaborators: don't push using the :code:`--force` option.\n\nDev Quickstart\n##############\n\nPurge comes with a `settings.py` file, technically making it a Django project as\nwell as a Django app. First clone, the repository into a location of your\nchoosing:\n\n.. code-block:: shell\n\n $ git clone https://github.com/gregschmit/django-purge\n\nThen you can go into the :code:`django-purge` directory and do the initial\nmigrations and run the server (you may need to type :code:`python3` rather than\n:code:`python`):\n\n.. code-block:: shell\n\n $ cd django-purge\n $ python manage.py makemigrations\n $ python manage.py migrate\n $ python manage.py createsuperuser\n ...\n $ python manage.py runserver\n\nThen you can see the models at http://127.0.0.1:8000/admin.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/gregschmit/django-purge", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "django-purge", "package_url": "https://pypi.org/project/django-purge/", "platform": "", "project_url": "https://pypi.org/project/django-purge/", "project_urls": { "Homepage": "https://github.com/gregschmit/django-purge" }, "release_url": "https://pypi.org/project/django-purge/1.0.0/", "requires_dist": [ "Django (>=2)", "python-dateutil" ], "requires_python": "", "summary": "A reusable Django app for purging database records (e.g., logs).", "version": "1.0.0" }, "last_serial": 5689763, "releases": { "0.3.7": [ { "comment_text": "", "digests": { "md5": "5d127317f752912d2bd53a66ecb65ec5", "sha256": "70e5da4de9927aea7c0f3c9d77eb17b0c596e3302e1f79b090e9e70db17838ab" }, "downloads": -1, "filename": "django_purge-0.3.7-py3-none-any.whl", "has_sig": false, "md5_digest": "5d127317f752912d2bd53a66ecb65ec5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8714, "upload_time": "2018-12-20T21:46:38", "url": "https://files.pythonhosted.org/packages/76/82/e70f5669f96e424341283ad9cd09dc59c33de0b151f079ab11e96e33094c/django_purge-0.3.7-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "589e380edbe6b1ec41e7a94a527ac525", "sha256": "62e69db49253dbe4e4ee10fd7da5dc4fb36ffe943a7cc75dc6dda7e71cda3278" }, "downloads": -1, "filename": "django-purge-0.3.7.tar.gz", "has_sig": false, "md5_digest": "589e380edbe6b1ec41e7a94a527ac525", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6448, "upload_time": "2018-12-20T21:46:39", "url": "https://files.pythonhosted.org/packages/9c/01/6e0bd375aa0c5a5a846b20b3cdcd02c203c14cc9e7f7526ae211fc520b10/django-purge-0.3.7.tar.gz" } ], "0.4.11": [ { "comment_text": "", "digests": { "md5": "5343f65b34e54e71e3845d3916b41c29", "sha256": "13e32ab2f4adad43052dd1ce39659b14336613be8ee31d1e93723f8ff05b3999" }, "downloads": -1, "filename": "django_purge-0.4.11-py3-none-any.whl", "has_sig": false, "md5_digest": "5343f65b34e54e71e3845d3916b41c29", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11421, "upload_time": "2019-04-03T00:18:11", "url": "https://files.pythonhosted.org/packages/00/d4/521e073d4be172ea02e88c139f24478e2e59f0a93654cd32effab702f1e8/django_purge-0.4.11-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "deaf3f11d78dc53a5a44bc8cafb8d794", "sha256": "52366bb2e1a2a9eca9632f98cd26b2dbd6aadd1456cb1cace9c4dbacfa627a5a" }, "downloads": -1, "filename": "django-purge-0.4.11.tar.gz", "has_sig": false, "md5_digest": "deaf3f11d78dc53a5a44bc8cafb8d794", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8096, "upload_time": "2019-04-03T00:18:12", "url": "https://files.pythonhosted.org/packages/75/f2/52f8605c4d1be513aaafa2318895b7688f87be9a084a005e7901d7711818/django-purge-0.4.11.tar.gz" } ], "0.4.13": [ { "comment_text": "", "digests": { "md5": "7b49f13213d79cab507fcdfcbeb11c69", "sha256": "49b425efff2dd1f2b79e4b47763ae6d6b0595c1eb5877fa3941349512c98718c" }, "downloads": -1, "filename": "django_purge-0.4.13-py3-none-any.whl", "has_sig": false, "md5_digest": "7b49f13213d79cab507fcdfcbeb11c69", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 12383, "upload_time": "2019-05-21T19:04:37", "url": "https://files.pythonhosted.org/packages/2d/ce/2aefde1794d3aac041d7edcca70f97516aec0283cb8cda30c5faa3201d15/django_purge-0.4.13-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ef49fec39c5df3eeb89ffab28316ab0a", "sha256": "0fa9788ef52e7d0182ceed2c6aef1672e53de622715c97f239e11bceadbfaa03" }, "downloads": -1, "filename": "django-purge-0.4.13.tar.gz", "has_sig": false, "md5_digest": "ef49fec39c5df3eeb89ffab28316ab0a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8294, "upload_time": "2019-05-21T19:04:39", "url": "https://files.pythonhosted.org/packages/97/96/301adaeaa77c92f3fe9c4f2f428704d3bc8a055ecad94c3ee482867dd278/django-purge-0.4.13.tar.gz" } ], "0.4.14": [ { "comment_text": "", "digests": { "md5": "39d91faf60721bc8618d647b301a00b2", "sha256": "aaf7b44c8f39e62abd3073328017773cc7442ea32fbd3fcaf99afd270e9954e0" }, "downloads": -1, "filename": "django_purge-0.4.14-py3-none-any.whl", "has_sig": false, "md5_digest": "39d91faf60721bc8618d647b301a00b2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 12398, "upload_time": "2019-05-21T23:04:56", "url": "https://files.pythonhosted.org/packages/1c/3c/3ef6c0bc82afc4fde37762b1fddb68277b777ff3be158fdfd9c6f240d3e0/django_purge-0.4.14-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e2fc5dd3753a9e53ab79c00dcfd50d55", "sha256": "a32d03e73e0e3c6ee8e413678d7d78488f503669278a4d51c0e66cca5ebdafe7" }, "downloads": -1, "filename": "django-purge-0.4.14.tar.gz", "has_sig": false, "md5_digest": "e2fc5dd3753a9e53ab79c00dcfd50d55", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8298, "upload_time": "2019-05-21T23:04:58", "url": "https://files.pythonhosted.org/packages/e4/b9/523d9f93f63eaf9c41a308c1d65f21cf91597ce448418bc63e83588ce280/django-purge-0.4.14.tar.gz" } ], "0.4.15": [ { "comment_text": "", "digests": { "md5": "9ec26142c464c9293bf298bc96b26afe", "sha256": "5cdc8636115ed5e199a8fba56ced559576b97b512bb23a63c94332bd08bf38cd" }, "downloads": -1, "filename": "django_purge-0.4.15-py3-none-any.whl", "has_sig": false, "md5_digest": "9ec26142c464c9293bf298bc96b26afe", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10431, "upload_time": "2019-07-17T04:57:56", "url": "https://files.pythonhosted.org/packages/24/44/7dd62902b42ddaba1b09814e4e5f01c29fc907c04314130ddb5af4c4fb4e/django_purge-0.4.15-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ab306e229626fb33307d233f47e4d073", "sha256": "da85796a1cc16ecaeb143811789b722c19f7e281e60b6cb474aaf4a07f2c2e67" }, "downloads": -1, "filename": "django-purge-0.4.15.tar.gz", "has_sig": false, "md5_digest": "ab306e229626fb33307d233f47e4d073", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7744, "upload_time": "2019-07-17T04:57:58", "url": "https://files.pythonhosted.org/packages/c3/23/676a437889505145841501409ce85c99bb0a7a1a40f9fd009ac77e549cef/django-purge-0.4.15.tar.gz" } ], "0.4.4": [ { "comment_text": "", "digests": { "md5": "911141846dc33a6d281d24e123c99f7b", "sha256": "1f47b833592ae6e232036540d07eb51876e42c381007fb3438c49c277853f302" }, "downloads": -1, "filename": "django_purge-0.4.4-py3-none-any.whl", "has_sig": false, "md5_digest": "911141846dc33a6d281d24e123c99f7b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8629, "upload_time": "2019-02-11T22:12:24", "url": "https://files.pythonhosted.org/packages/17/71/c8809667ee2155961490d0af73d0eeb61680c4e081f41fbb4c6d4a77966e/django_purge-0.4.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "80ca11303ec531def317d7c0dbb8fd68", "sha256": "63a6ae04ce2c1a7ad7bd9b00e74401abba751e38dba016d3b4e0cecfe9dfbd91" }, "downloads": -1, "filename": "django-purge-0.4.4.tar.gz", "has_sig": false, "md5_digest": "80ca11303ec531def317d7c0dbb8fd68", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6094, "upload_time": "2019-02-11T22:12:25", "url": "https://files.pythonhosted.org/packages/d8/5f/409d375118d97430009fee9658d360b432ffb59dabd697d45db6c6af3cbc/django-purge-0.4.4.tar.gz" } ], "0.4.5": [ { "comment_text": "", "digests": { "md5": "a82ed037f1cb07d7d868c0cf194d79df", "sha256": "fda681717c71f32aa6f2580034b39a7145e6f7591dc0d24b12817a8ac04692d6" }, "downloads": -1, "filename": "django_purge-0.4.5-py3-none-any.whl", "has_sig": false, "md5_digest": "a82ed037f1cb07d7d868c0cf194d79df", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8629, "upload_time": "2019-02-11T22:18:31", "url": "https://files.pythonhosted.org/packages/ee/00/ea93f714ee128da7bfbe6d05ec9b71bb71b9df471fd1a06b566ef7643e85/django_purge-0.4.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9cd21e695f5c1e71bf3da3e77f9dbb31", "sha256": "6531021347f0fb13b2c8b8f7e6621fe7d77c5fa9605416a2dddb78fc3301eb9d" }, "downloads": -1, "filename": "django-purge-0.4.5.tar.gz", "has_sig": false, "md5_digest": "9cd21e695f5c1e71bf3da3e77f9dbb31", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6095, "upload_time": "2019-02-11T22:18:32", "url": "https://files.pythonhosted.org/packages/6b/71/b9bf00734a07d65de31951c705c57efa07bd808ac335b25372fe556d7841/django-purge-0.4.5.tar.gz" } ], "0.4.6": [ { "comment_text": "", "digests": { "md5": "1b4f1b9d3835fb9d4300f95912ccf82b", "sha256": "69418a6cd571a6adecd693c8539fdac45444e310b7c0ba05ce915f467a5955b0" }, "downloads": -1, "filename": "django_purge-0.4.6-py3-none-any.whl", "has_sig": false, "md5_digest": "1b4f1b9d3835fb9d4300f95912ccf82b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9343, "upload_time": "2019-02-13T06:55:46", "url": "https://files.pythonhosted.org/packages/fa/9d/ed0461f95d82734537bc1ab692621faf9736847b826f89faa240aca96ca0/django_purge-0.4.6-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "916a09b5217686dd4b5f4b15c6d4edf7", "sha256": "a7285fb5c4163e74e97a107f1c9db75a6d7f79afac53a94cb7dee41376978c9d" }, "downloads": -1, "filename": "django-purge-0.4.6.tar.gz", "has_sig": false, "md5_digest": "916a09b5217686dd4b5f4b15c6d4edf7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6282, "upload_time": "2019-02-13T06:55:47", "url": "https://files.pythonhosted.org/packages/38/c1/62608a3ca3f6e7469a9484100f60f591746688015a416821f3b65af3a137/django-purge-0.4.6.tar.gz" } ], "0.4.7": [ { "comment_text": "", "digests": { "md5": "8a199086b4fd551437ec035a1c74b065", "sha256": "89e8daa98754df83fb97c6262924ad08e866519539a7ba0519a4684b630ab90b" }, "downloads": -1, "filename": "django_purge-0.4.7-py3-none-any.whl", "has_sig": false, "md5_digest": "8a199086b4fd551437ec035a1c74b065", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9351, "upload_time": "2019-02-14T04:03:30", "url": "https://files.pythonhosted.org/packages/2a/46/94404812df29aa71d9f1e8619d7b94051a7cf856079101cc1d5e0d4d36a4/django_purge-0.4.7-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "66e400b4230e7a55a1eec3de61ff1a31", "sha256": "1244ab00bfeae004c3a0c5ff07f00d59c990b62b066eea9115879b9a465d1d3b" }, "downloads": -1, "filename": "django-purge-0.4.7.tar.gz", "has_sig": false, "md5_digest": "66e400b4230e7a55a1eec3de61ff1a31", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6302, "upload_time": "2019-02-14T04:03:32", "url": "https://files.pythonhosted.org/packages/d9/80/a2840218898ba96eff278f1b0968671df6c50cc6de9f104188e472c91e07/django-purge-0.4.7.tar.gz" } ], "0.4.8": [ { "comment_text": "", "digests": { "md5": "9e2c127b708615222ef082fd0a1f0316", "sha256": "06e8557530682a041ed9eacdef465dd07db693ed08f73d2278b0370d0028f37c" }, "downloads": -1, "filename": "django_purge-0.4.8-py3-none-any.whl", "has_sig": false, "md5_digest": "9e2c127b708615222ef082fd0a1f0316", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9352, "upload_time": "2019-02-15T16:11:49", "url": "https://files.pythonhosted.org/packages/d5/7b/aab84d06653332d35450084f5cc564286763adbe393f2e2dc71e58ee2790/django_purge-0.4.8-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4d9da02dbb26fd23ae0b02b9e0e1ae68", "sha256": "a71d995022a3173166543899a91663bd489e41e8d1ecb9b52238d00be29532d2" }, "downloads": -1, "filename": "django-purge-0.4.8.tar.gz", "has_sig": false, "md5_digest": "4d9da02dbb26fd23ae0b02b9e0e1ae68", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6297, "upload_time": "2019-02-15T16:11:50", "url": "https://files.pythonhosted.org/packages/86/ba/9d9000391be46d4fcb659c4d4cdea6391f4e19f39706e9c5344e5f34a83d/django-purge-0.4.8.tar.gz" } ], "0.4.9": [ { "comment_text": "", "digests": { "md5": "38be5f5b07a7cdba7d6b833d845d4d4a", "sha256": "c9a7472601d99f173fa7f78100438f649ea72c32a354ed9e421de98d142de3cf" }, "downloads": -1, "filename": "django_purge-0.4.9-py3-none-any.whl", "has_sig": false, "md5_digest": "38be5f5b07a7cdba7d6b833d845d4d4a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11393, "upload_time": "2019-04-03T00:10:06", "url": "https://files.pythonhosted.org/packages/0c/ce/17e8bea68df81c4ae4cd2a3133ef353fd6ac34a56ece991dabcbd892d424/django_purge-0.4.9-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1604e49093a3f2134fe7cb583de54647", "sha256": "04eb9e781df28a1260eabe50636615a1f48f652282bf4a77426b78f63fcbb576" }, "downloads": -1, "filename": "django-purge-0.4.9.tar.gz", "has_sig": false, "md5_digest": "1604e49093a3f2134fe7cb583de54647", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8083, "upload_time": "2019-04-03T00:10:07", "url": "https://files.pythonhosted.org/packages/2d/5a/8baa03565c9aeb4a8c6c76a9769560a58c8ca9896c19d22b5522f8115d74/django-purge-0.4.9.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "48056fbf2fb53126583d6b5794f5222b", "sha256": "5100d423c4e6935149c72533d9623a76a74f170e9b47732d0c446a7772bf982a" }, "downloads": -1, "filename": "django_purge-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "48056fbf2fb53126583d6b5794f5222b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11275, "upload_time": "2019-08-16T22:10:47", "url": "https://files.pythonhosted.org/packages/15/92/f41de2f7d25536a4b82b8fba1bdbcfeb086b2ee3ab930c30df3e55ed35cc/django_purge-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0eae804aadaf4aef0cead208e750a732", "sha256": "315564992b81c369dcbdea5adcf529c005f7bab9fb44043869d8e1c8108602a8" }, "downloads": -1, "filename": "django-purge-1.0.0.tar.gz", "has_sig": false, "md5_digest": "0eae804aadaf4aef0cead208e750a732", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7844, "upload_time": "2019-08-16T22:10:49", "url": "https://files.pythonhosted.org/packages/2c/ea/1ac4614e9eee649054b3a149398991a88f88ec3755e761a98a18a9e955f0/django-purge-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "48056fbf2fb53126583d6b5794f5222b", "sha256": "5100d423c4e6935149c72533d9623a76a74f170e9b47732d0c446a7772bf982a" }, "downloads": -1, "filename": "django_purge-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "48056fbf2fb53126583d6b5794f5222b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11275, "upload_time": "2019-08-16T22:10:47", "url": "https://files.pythonhosted.org/packages/15/92/f41de2f7d25536a4b82b8fba1bdbcfeb086b2ee3ab930c30df3e55ed35cc/django_purge-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0eae804aadaf4aef0cead208e750a732", "sha256": "315564992b81c369dcbdea5adcf529c005f7bab9fb44043869d8e1c8108602a8" }, "downloads": -1, "filename": "django-purge-1.0.0.tar.gz", "has_sig": false, "md5_digest": "0eae804aadaf4aef0cead208e750a732", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7844, "upload_time": "2019-08-16T22:10:49", "url": "https://files.pythonhosted.org/packages/2c/ea/1ac4614e9eee649054b3a149398991a88f88ec3755e761a98a18a9e955f0/django-purge-1.0.0.tar.gz" } ] }