{ "info": { "author": "Christopher Trudeau", "author_email": "ctrudeau+pypi@arsensa.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Libraries :: Application Frameworks", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "django-yaset\n************\n\nYet Another Settings tool for django contains helper functions for managing\nlocalized settings files for different deployments and developers.\n\nInstallation\n============\n\n.. code-block:: bash\n\n $ pip install django-yaset\n\nUsage\n=====\n\nA common pattern in django to use different settings for different\nenvironments is to have a \"local_settings\" directory. This utility makes this\neasier. \n\nThe expected directory setup is as follows:\n\n.. code-block:: text\n\n project/\n settings.py\n local_settings/\n __init__.py\n import_redirect\n development.py\n production.py\n secrets/\n __init__.py\n development.py\n production.py\n\n\nThe ``import_redirect`` file should contain the local module name of the\nsettings to import in this environment. In the above example, it would be\neither \"development\" or \"production\". The \"devleopment\" and \"production\" files\nwould contain the same types of declarations found in ``settings.py``.\n\nInside of your ``settings.py`` file, include this at the bottom:\n\n.. code-block:: python\n\n from yaset import import_settings\n\n import_settings(globals())\n\nThis passes the ``settings`` packaging into the ``import_settings`` call which\nloads ``import_redirect``, uses its contents to then load the\n``local_settings`` and ``local_settings.secrets`` files specified. \n\nIt is not generally recommended to put either the ``import_redirect`` file or\nthe ``secrets`` directory in your repository.\n\n\nSupports\n========\n\ndjango-yaset has been tested with:\n\n* Django 2.2.3 using Python 3.6, 3.7\n\nDocs & Source\n=============\n\nDocs: http://django-yaset.readthedocs.io/en/latest/\n\nSource: https://github.com/cltrudeau/django-yaset\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/cltrudeau/django-yaset", "keywords": "django,state machine", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "django-yaset", "package_url": "https://pypi.org/project/django-yaset/", "platform": "", "project_url": "https://pypi.org/project/django-yaset/", "project_urls": { "Homepage": "https://github.com/cltrudeau/django-yaset" }, "release_url": "https://pypi.org/project/django-yaset/0.2.0/", "requires_dist": [ "Django (>=2.2)" ], "requires_python": "", "summary": "Django settings utilities", "version": "0.2.0" }, "last_serial": 5590768, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "4349c8e48656871b67c5963aa4e93abc", "sha256": "91e55b33c63c128a836c01d8a3dfadd8cf216241215fdbee26e472318b5327cb" }, "downloads": -1, "filename": "django_yaset-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4349c8e48656871b67c5963aa4e93abc", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7075, "upload_time": "2019-07-24T21:35:27", "url": "https://files.pythonhosted.org/packages/59/ee/50b8f3a094098767773974b8f85c58276a0f45488329a489b07f02e6168d/django_yaset-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "35fef833029332998368b5cc2388c47c", "sha256": "60e0e9fd970bc6ca383dd9902a1febc6b16c92f4d60c628fd1d844882777e401" }, "downloads": -1, "filename": "django-yaset-0.1.0.tar.gz", "has_sig": false, "md5_digest": "35fef833029332998368b5cc2388c47c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4371, "upload_time": "2019-07-24T21:35:29", "url": "https://files.pythonhosted.org/packages/f2/73/db5ca771a33fe1b34d8d1fbe5d6783a41129e746082892353f7fb1497fe6/django-yaset-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "addceaa03d58d20caabfffc396b28a04", "sha256": "d54417aa0413bb4e8ff2914b2e048234a1c3e4e96dcfb607934aeeee4b18a1e2" }, "downloads": -1, "filename": "django_yaset-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "addceaa03d58d20caabfffc396b28a04", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8737, "upload_time": "2019-07-26T20:55:14", "url": "https://files.pythonhosted.org/packages/b8/4d/dbcda3ecb759e70b0076749ffa7a08ac6137df83c0081b6729bdd6e10426/django_yaset-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c585747edea279ba3971ec3f5ec27279", "sha256": "ba44afade98bc9b58572fe9aa0441183eeca8ef87c1775384acdb64e5bbbb3d8" }, "downloads": -1, "filename": "django-yaset-0.2.0.tar.gz", "has_sig": false, "md5_digest": "c585747edea279ba3971ec3f5ec27279", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5412, "upload_time": "2019-07-26T20:55:16", "url": "https://files.pythonhosted.org/packages/0d/a0/e4e3e18a6d45519748e987c3ba737ea58fc921131edf516229a41e25249f/django-yaset-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "addceaa03d58d20caabfffc396b28a04", "sha256": "d54417aa0413bb4e8ff2914b2e048234a1c3e4e96dcfb607934aeeee4b18a1e2" }, "downloads": -1, "filename": "django_yaset-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "addceaa03d58d20caabfffc396b28a04", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8737, "upload_time": "2019-07-26T20:55:14", "url": "https://files.pythonhosted.org/packages/b8/4d/dbcda3ecb759e70b0076749ffa7a08ac6137df83c0081b6729bdd6e10426/django_yaset-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c585747edea279ba3971ec3f5ec27279", "sha256": "ba44afade98bc9b58572fe9aa0441183eeca8ef87c1775384acdb64e5bbbb3d8" }, "downloads": -1, "filename": "django-yaset-0.2.0.tar.gz", "has_sig": false, "md5_digest": "c585747edea279ba3971ec3f5ec27279", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5412, "upload_time": "2019-07-26T20:55:16", "url": "https://files.pythonhosted.org/packages/0d/a0/e4e3e18a6d45519748e987c3ba737ea58fc921131edf516229a41e25249f/django-yaset-0.2.0.tar.gz" } ] }