keep-sabbath


Namekeep-sabbath JSON
Version 0.7.0 PyPI version JSON
download
home_pagehttps://github.com/Correct-Syntax/Keep-Sabbath/
SummaryDjango app to automatically redirect users when it is the Sabbath day, with support for overriding on other Biblical Holy days.
upload_time2023-03-12 03:48:19
maintainer
docs_urlNone
authorNoah Rahm
requires_python
licenseBSD 3-Clause
keywords sabbath django web redirects
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Keep-Sabbath

Keep Sabbath is a Django app to automatically redirect website visitors when it is the Sabbath day, with support for overriding on other Biblical Holy days.


## Introduction

Keep-Sabbath is for webmasters with e-commerce shops, blogs, etc. who would like to keep the Biblical 7th-day Sabbath and other Holy days of the Bible Holy.

The django app allows you to easily setup a system for a Django-powered website that will automatically redirect visitors to a single page (explaining about the Sabbath, redirect, etc.) if it is the Sabbath day or another Holy day.

The app uses internal, offline calculations (via the SolarTime module) and the current date/time of the server to figure out if it is the Sabbath day (thus, if the user should be redirected), so you do not have to do it manually. It is optimized for performance and speed.

There is also an option to manually override it as well, which is useful for other Biblical Holy days.

The timing is based on the understanding that the 7th-day Sabbath day starts on 6th day ("Friday") evening and ends on 7th day ("Saturday") evening, according to the Bible.


## Features

- Simple setup
- 2 ways to use it
- Automatically redirects when it is the 7th day Sabbath
- Support for manual overriding
- Supports Django 3.2+


## Installation

- ``pip install keep_sabbath``
- ``pip install pytz``


## Documentation

The documentation can be found in the demo: ``example/examplewebsite``.


## Contributing

**All contributions are welcome!** Feel free to open a PR or ask questions. :)


## Releasing on PyPI

Navigate to the root directory

Run ``py -m build``

Then run ``twine upload dist/*`` and follow the prompts.


## License

Keep-Sabbath is licensed under the BSD 3-Clause License. Feel free to use as needed in your own projects. See the LICENSE for full copyright and license information.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Correct-Syntax/Keep-Sabbath/",
    "name": "keep-sabbath",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "sabbath,django,web,redirects",
    "author": "Noah Rahm",
    "author_email": "hi@noahrahm.com",
    "download_url": "https://files.pythonhosted.org/packages/2d/5a/fe12efabc7996c0c3f017a64ead55ddc223e8ecd30f8fcc88a5ee5a17891/keep_sabbath-0.7.0.tar.gz",
    "platform": null,
    "description": "# Keep-Sabbath\r\n\r\nKeep Sabbath is a Django app to automatically redirect website visitors when it is the Sabbath day, with support for overriding on other Biblical Holy days.\r\n\r\n\r\n## Introduction\r\n\r\nKeep-Sabbath is for webmasters with e-commerce shops, blogs, etc. who would like to keep the Biblical 7th-day Sabbath and other Holy days of the Bible Holy.\r\n\r\nThe django app allows you to easily setup a system for a Django-powered website that will automatically redirect visitors to a single page (explaining about the Sabbath, redirect, etc.) if it is the Sabbath day or another Holy day.\r\n\r\nThe app uses internal, offline calculations (via the SolarTime module) and the current date/time of the server to figure out if it is the Sabbath day (thus, if the user should be redirected), so you do not have to do it manually. It is optimized for performance and speed.\r\n\r\nThere is also an option to manually override it as well, which is useful for other Biblical Holy days.\r\n\r\nThe timing is based on the understanding that the 7th-day Sabbath day starts on 6th day (\"Friday\") evening and ends on 7th day (\"Saturday\") evening, according to the Bible.\r\n\r\n\r\n## Features\r\n\r\n- Simple setup\r\n- 2 ways to use it\r\n- Automatically redirects when it is the 7th day Sabbath\r\n- Support for manual overriding\r\n- Supports Django 3.2+\r\n\r\n\r\n## Installation\r\n\r\n- ``pip install keep_sabbath``\r\n- ``pip install pytz``\r\n\r\n\r\n## Documentation\r\n\r\nThe documentation can be found in the demo: ``example/examplewebsite``.\r\n\r\n\r\n## Contributing\r\n\r\n**All contributions are welcome!** Feel free to open a PR or ask questions. :)\r\n\r\n\r\n## Releasing on PyPI\r\n\r\nNavigate to the root directory\r\n\r\nRun ``py -m build``\r\n\r\nThen run ``twine upload dist/*`` and follow the prompts.\r\n\r\n\r\n## License\r\n\r\nKeep-Sabbath is licensed under the BSD 3-Clause License. Feel free to use as needed in your own projects. See the LICENSE for full copyright and license information.\r\n",
    "bugtrack_url": null,
    "license": "BSD 3-Clause",
    "summary": "Django app to automatically redirect users when it is the Sabbath day, with support for overriding on other Biblical Holy days.",
    "version": "0.7.0",
    "split_keywords": [
        "sabbath",
        "django",
        "web",
        "redirects"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "987a5d5e2b0d2a5e7f2deee58023eb31fdbb442e9d35f5335123f014454ae52e",
                "md5": "b331faf2fbcafa41348cf5f8bd227266",
                "sha256": "6d6e9fe2ad5a525452f08f320745682dbdf4b99b5639e49d0a6e489593445447"
            },
            "downloads": -1,
            "filename": "keep_sabbath-0.7.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b331faf2fbcafa41348cf5f8bd227266",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 11652,
            "upload_time": "2023-03-12T03:48:17",
            "upload_time_iso_8601": "2023-03-12T03:48:17.769676Z",
            "url": "https://files.pythonhosted.org/packages/98/7a/5d5e2b0d2a5e7f2deee58023eb31fdbb442e9d35f5335123f014454ae52e/keep_sabbath-0.7.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2d5afe12efabc7996c0c3f017a64ead55ddc223e8ecd30f8fcc88a5ee5a17891",
                "md5": "04302ba31ff0cd5d3604beab3a068304",
                "sha256": "061841adcccf944064b02d3a3dc0973efdc76d6676858fac84d2aac36291ba2b"
            },
            "downloads": -1,
            "filename": "keep_sabbath-0.7.0.tar.gz",
            "has_sig": false,
            "md5_digest": "04302ba31ff0cd5d3604beab3a068304",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 10203,
            "upload_time": "2023-03-12T03:48:19",
            "upload_time_iso_8601": "2023-03-12T03:48:19.951188Z",
            "url": "https://files.pythonhosted.org/packages/2d/5a/fe12efabc7996c0c3f017a64ead55ddc223e8ecd30f8fcc88a5ee5a17891/keep_sabbath-0.7.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-03-12 03:48:19",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "Correct-Syntax",
    "github_project": "Keep-Sabbath",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "keep-sabbath"
}
        
Elapsed time: 0.04374s