django-settings-holder


Namedjango-settings-holder JSON
Version 0.1.2 PyPI version JSON
download
home_pagehttps://github.com/MrThearMan/django-settings-holder
SummaryObject that allows settings to be accessed with attributes.
upload_time2024-01-13 18:57:50
maintainer
docs_urlNone
authorMatti Lamppu
requires_python>=3.9,<4
licenseMIT
keywords django settings holder
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Django Settings Holder

[![Coverage Status][coverage-badge]][coverage]
[![GitHub Workflow Status][status-badge]][status]
[![PyPI][pypi-badge]][pypi]
[![GitHub][licence-badge]][licence]
[![GitHub Last Commit][repo-badge]][repo]
[![GitHub Issues][issues-badge]][issues]
[![Downloads][downloads-badge]][pypi]

[![Python Version][version-badge]][pypi]
[![PyPI - Django Version][django]][pypi]

```shell
pip install django-settings-holder
```

---

**Documentation**: [https://mrthearman.github.io/django-settings-holder/](https://mrthearman.github.io/django-settings-holder/)

**Source Code**: [https://github.com/MrThearMan/django-settings-holder/](https://github.com/MrThearMan/django-settings-holder/)

**Contributing**: [https://github.com/MrThearMan/django-settings-holder/blob/main/CONTRIBUTING.md](https://github.com/MrThearMan/django-settings-holder/blob/main/CONTRIBUTING.md)

---

This library provides utilities for Django extensions that want to define their own settings dictionaries.
Settings can be included in a SettingsHolder that allows them to be accessed via attributes.
User defined settings can be reloaded automatically to the SettingsHolder from the `setting_changed` signal.
Functions in dot import notation are automatically imported so that the imported function is available in
the SettingsHolder. You can also define validators for settings that will be run when the setting is first accessed.


[coverage-badge]: https://coveralls.io/repos/github/MrThearMan/django-settings-holder/badge.svg?branch=main
[status-badge]: https://img.shields.io/github/actions/workflow/status/MrThearMan/django-settings-holder/test.yml?branch=main
[pypi-badge]: https://img.shields.io/pypi/v/django-settings-holder
[licence-badge]: https://img.shields.io/github/license/MrThearMan/django-settings-holder
[repo-badge]: https://img.shields.io/github/last-commit/MrThearMan/django-settings-holder
[issues-badge]: https://img.shields.io/github/issues-raw/MrThearMan/django-settings-holder
[version-badge]: https://img.shields.io/pypi/pyversions/django-settings-holder
[django]: https://img.shields.io/pypi/djversions/django-settings-holder
[downloads-badge]: https://img.shields.io/pypi/dm/django-settings-holder

[coverage]: https://coveralls.io/github/MrThearMan/django-settings-holder?branch=main
[status]: https://github.com/MrThearMan/django-settings-holder/actions/workflows/test.yml
[pypi]: https://pypi.org/project/django-settings-holder
[licence]: https://github.com/MrThearMan/django-settings-holder/blob/main/LICENSE
[repo]: https://github.com/MrThearMan/django-settings-holder/commits/main
[issues]: https://github.com/MrThearMan/django-settings-holder/issues

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/MrThearMan/django-settings-holder",
    "name": "django-settings-holder",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9,<4",
    "maintainer_email": "",
    "keywords": "django,settings,holder",
    "author": "Matti Lamppu",
    "author_email": "lamppu.matti.akseli@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/1e/36/0ea7d1e6e782c8c8ec7e8a8f0614526e732e3728dee7778d575f35267e3c/django_settings_holder-0.1.2.tar.gz",
    "platform": null,
    "description": "# Django Settings Holder\n\n[![Coverage Status][coverage-badge]][coverage]\n[![GitHub Workflow Status][status-badge]][status]\n[![PyPI][pypi-badge]][pypi]\n[![GitHub][licence-badge]][licence]\n[![GitHub Last Commit][repo-badge]][repo]\n[![GitHub Issues][issues-badge]][issues]\n[![Downloads][downloads-badge]][pypi]\n\n[![Python Version][version-badge]][pypi]\n[![PyPI - Django Version][django]][pypi]\n\n```shell\npip install django-settings-holder\n```\n\n---\n\n**Documentation**: [https://mrthearman.github.io/django-settings-holder/](https://mrthearman.github.io/django-settings-holder/)\n\n**Source Code**: [https://github.com/MrThearMan/django-settings-holder/](https://github.com/MrThearMan/django-settings-holder/)\n\n**Contributing**: [https://github.com/MrThearMan/django-settings-holder/blob/main/CONTRIBUTING.md](https://github.com/MrThearMan/django-settings-holder/blob/main/CONTRIBUTING.md)\n\n---\n\nThis library provides utilities for Django extensions that want to define their own settings dictionaries.\nSettings can be included in a SettingsHolder that allows them to be accessed via attributes.\nUser defined settings can be reloaded automatically to the SettingsHolder from the `setting_changed` signal.\nFunctions in dot import notation are automatically imported so that the imported function is available in\nthe SettingsHolder. You can also define validators for settings that will be run when the setting is first accessed.\n\n\n[coverage-badge]: https://coveralls.io/repos/github/MrThearMan/django-settings-holder/badge.svg?branch=main\n[status-badge]: https://img.shields.io/github/actions/workflow/status/MrThearMan/django-settings-holder/test.yml?branch=main\n[pypi-badge]: https://img.shields.io/pypi/v/django-settings-holder\n[licence-badge]: https://img.shields.io/github/license/MrThearMan/django-settings-holder\n[repo-badge]: https://img.shields.io/github/last-commit/MrThearMan/django-settings-holder\n[issues-badge]: https://img.shields.io/github/issues-raw/MrThearMan/django-settings-holder\n[version-badge]: https://img.shields.io/pypi/pyversions/django-settings-holder\n[django]: https://img.shields.io/pypi/djversions/django-settings-holder\n[downloads-badge]: https://img.shields.io/pypi/dm/django-settings-holder\n\n[coverage]: https://coveralls.io/github/MrThearMan/django-settings-holder?branch=main\n[status]: https://github.com/MrThearMan/django-settings-holder/actions/workflows/test.yml\n[pypi]: https://pypi.org/project/django-settings-holder\n[licence]: https://github.com/MrThearMan/django-settings-holder/blob/main/LICENSE\n[repo]: https://github.com/MrThearMan/django-settings-holder/commits/main\n[issues]: https://github.com/MrThearMan/django-settings-holder/issues\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Object that allows settings to be accessed with attributes.",
    "version": "0.1.2",
    "project_urls": {
        "Bug Tracker": "https://github.com/MrThearMan/django-settings-holder/issues",
        "Homepage": "https://github.com/MrThearMan/django-settings-holder",
        "Repository": "https://github.com/MrThearMan/django-settings-holder"
    },
    "split_keywords": [
        "django",
        "settings",
        "holder"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "109603b2ed31f267eeaf7d339d1f2ecd95d6ab6cb32a7dca3c3338e90a124c9b",
                "md5": "8dd1f49694a8825066fcd809aa218f3c",
                "sha256": "7a65f888fc1e8427a807be72d43d5f3f242163e0a0eaf33a393592e6fff3e102"
            },
            "downloads": -1,
            "filename": "django_settings_holder-0.1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8dd1f49694a8825066fcd809aa218f3c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9,<4",
            "size": 8197,
            "upload_time": "2024-01-13T18:57:48",
            "upload_time_iso_8601": "2024-01-13T18:57:48.963287Z",
            "url": "https://files.pythonhosted.org/packages/10/96/03b2ed31f267eeaf7d339d1f2ecd95d6ab6cb32a7dca3c3338e90a124c9b/django_settings_holder-0.1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1e360ea7d1e6e782c8c8ec7e8a8f0614526e732e3728dee7778d575f35267e3c",
                "md5": "9e8fe562040b44caa4143dbe8682a442",
                "sha256": "8ab0f2dabf5a1c79ec9e95e97a296808e0f2c48f6f9aa1da1b77b433ee1e2f9e"
            },
            "downloads": -1,
            "filename": "django_settings_holder-0.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "9e8fe562040b44caa4143dbe8682a442",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9,<4",
            "size": 6454,
            "upload_time": "2024-01-13T18:57:50",
            "upload_time_iso_8601": "2024-01-13T18:57:50.589793Z",
            "url": "https://files.pythonhosted.org/packages/1e/36/0ea7d1e6e782c8c8ec7e8a8f0614526e732e3728dee7778d575f35267e3c/django_settings_holder-0.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-13 18:57:50",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "MrThearMan",
    "github_project": "django-settings-holder",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "django-settings-holder"
}
        
Elapsed time: 0.18639s