tg-utils


Nametg-utils JSON
Version 1.0.1 PyPI version JSON
download
home_pagehttps://github.com/thorgate/tg-utils
SummaryCommon utils for Django-based projects.
upload_time2023-01-13 15:19:27
maintainer
docs_urlNone
authorThorgate
requires_python>=3.7.2,<4
licenseISCL
keywords tg-utils thorgate
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ===============================
tg-utils
===============================

.. image:: https://img.shields.io/pypi/v/tg-utils.svg
        :target: https://pypi.python.org/pypi/tg-utils

.. image:: https://github.com/thorgate/tg-utils/actions/workflows/python-package.yml/badge.svg?branch=master
        :target: https://github.com/thorgate/tg-utils/actions

.. image:: https://readthedocs.org/projects/tg-utils/badge/?version=latest
        :target: https://readthedocs.org/projects/tg-utils/?badge=latest
        :alt: Documentation Status


Collection of various utils for Django-based projects.

This is code that we're using in our projects at Thorgate and we're hoping you'll find some of it useful as well.

* Free software: ISC license
* Documentation: https://tg-utils.readthedocs.org.


Features
--------

* Model utils, e.g. timestamped and closable models, QuerySets that send out a signal when objects are modified.
* Templated email sending.
* Profiling utilities.
* Unique filename generation for uploads.
* Using hashids for models (instead of exposing primary keys).
* System checks for email and Sentry configuration.
* Mixin for easier implementation of ordering in Django's generic ListView.
* Mixin for making admin view read-only.
* Decorator for annotating admin methods.
* JS/CSS compressors for `Django Compressor <https://django-compressor.readthedocs.org/en/latest/>`_.
* Health-check endpoints (with and without token authentication)


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

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/thorgate/tg-utils",
    "name": "tg-utils",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7.2,<4",
    "maintainer_email": "",
    "keywords": "tg-utils,thorgate",
    "author": "Thorgate",
    "author_email": "code@thorgate.eu",
    "download_url": "https://files.pythonhosted.org/packages/7a/ed/2ae04d2a34826885330e2c96b8dae89ac426d281c1087470fb8b1dc9b7ae/tg_utils-1.0.1.tar.gz",
    "platform": null,
    "description": "===============================\ntg-utils\n===============================\n\n.. image:: https://img.shields.io/pypi/v/tg-utils.svg\n        :target: https://pypi.python.org/pypi/tg-utils\n\n.. image:: https://github.com/thorgate/tg-utils/actions/workflows/python-package.yml/badge.svg?branch=master\n        :target: https://github.com/thorgate/tg-utils/actions\n\n.. image:: https://readthedocs.org/projects/tg-utils/badge/?version=latest\n        :target: https://readthedocs.org/projects/tg-utils/?badge=latest\n        :alt: Documentation Status\n\n\nCollection of various utils for Django-based projects.\n\nThis is code that we're using in our projects at Thorgate and we're hoping you'll find some of it useful as well.\n\n* Free software: ISC license\n* Documentation: https://tg-utils.readthedocs.org.\n\n\nFeatures\n--------\n\n* Model utils, e.g. timestamped and closable models, QuerySets that send out a signal when objects are modified.\n* Templated email sending.\n* Profiling utilities.\n* Unique filename generation for uploads.\n* Using hashids for models (instead of exposing primary keys).\n* System checks for email and Sentry configuration.\n* Mixin for easier implementation of ordering in Django's generic ListView.\n* Mixin for making admin view read-only.\n* Decorator for annotating admin methods.\n* JS/CSS compressors for `Django Compressor <https://django-compressor.readthedocs.org/en/latest/>`_.\n* Health-check endpoints (with and without token authentication)\n\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",
    "bugtrack_url": null,
    "license": "ISCL",
    "summary": "Common utils for Django-based projects.",
    "version": "1.0.1",
    "split_keywords": [
        "tg-utils",
        "thorgate"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "81e2ab83e94ae14cecaaf37ffa0df0f51d6602b3a057f9f1fee89eb7c8414d21",
                "md5": "9877cdd44d40c52080c4dee1fa739d63",
                "sha256": "f0514f40e2bda0e87632b97886b0a87f8ada19c96bfe7b8b856fe20364a2da4c"
            },
            "downloads": -1,
            "filename": "tg_utils-1.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "9877cdd44d40c52080c4dee1fa739d63",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7.2,<4",
            "size": 24333,
            "upload_time": "2023-01-13T15:19:25",
            "upload_time_iso_8601": "2023-01-13T15:19:25.905552Z",
            "url": "https://files.pythonhosted.org/packages/81/e2/ab83e94ae14cecaaf37ffa0df0f51d6602b3a057f9f1fee89eb7c8414d21/tg_utils-1.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7aed2ae04d2a34826885330e2c96b8dae89ac426d281c1087470fb8b1dc9b7ae",
                "md5": "901220701c2a5bd4d8195aa46b661900",
                "sha256": "58da75cc965f5898c73b9f16e00fa63a781e94c679d525178f84ee045c201bd0"
            },
            "downloads": -1,
            "filename": "tg_utils-1.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "901220701c2a5bd4d8195aa46b661900",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7.2,<4",
            "size": 16995,
            "upload_time": "2023-01-13T15:19:27",
            "upload_time_iso_8601": "2023-01-13T15:19:27.410162Z",
            "url": "https://files.pythonhosted.org/packages/7a/ed/2ae04d2a34826885330e2c96b8dae89ac426d281c1087470fb8b1dc9b7ae/tg_utils-1.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-01-13 15:19:27",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "thorgate",
    "github_project": "tg-utils",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "tg-utils"
}
        
Elapsed time: 0.06017s