lcr-session


Namelcr-session JSON
Version 1.2.0 PyPI version JSON
download
home_pageNone
SummarySession authentication to the Church of Jesus Christ of Latter Day Saints LCR System
upload_time2025-07-24 00:36:27
maintainerNone
docs_urlNone
authorIsaac Wagner
requires_python<4.0,>=3.10
licenseMIT
keywords lcr churchofjesuschrist
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # LCR Session

<p>
    <a href="https://lcr-session.readthedocs.io/en/stable/">
        <img src="https://img.shields.io/readthedocs/lcr-session"/>
    </a>
    <a href="https://pypi.org/project/lcr-session/">
        <img src="https://img.shields.io/pypi/v/lcr-session"/>
    </a>
    <a href="https://pypi.org/project/lcr-session/">
        <img src="https://img.shields.io/pypi/wheel/lcr-session"/>
    </a>
    <a href="https://pypi.org/project/lcr-session/">
        <img src="https://img.shields.io/pypi/pyversions/lcr-session"/>
    </a>
    <a href="https://github.com/IsaacsLab42/lcr_session/">
        <img src="https://img.shields.io/github/license/IsaacsLab42/lcr_session"/>
    </a>
    <a href="https://black.readthedocs.io/en/stable/">
        <img src="https://img.shields.io/badge/code_style-black-black"/>
    </a>
</p>

---

## Introduction

This library provides session authentication to the [Church of Jesus Christ of Latter
Day Saints](https://www.churchofjesuschrist.org) Leader and Clerk Resources (LCR)
System. This uses the very capable
[Requests](https://requests.readthedocs.io/en/stable/) package to drive the web
connection.

This library can also save the cookies from an established session, which means that
once you authenticate you can repeatedly use your scripts without have to
reauthenticate.

## Disclaimer

This in an unofficial and independent project. This is NOT officially associated with
The Church of Jesus Christ of Latter-Day Saints.

## Installation

```bash
pip install lcr-session
```

## Quick Start

Here's a very simple and quick illustration of how to use the API:

```python
import pprint
from lcr_session import LcrSession, ChurchUrl

endpoint_url = ChurchUrl("lcr", "api/report/members-with-callings?unitNumber={unit}")
api = LcrSession(USERNAME, PASSWORD, cookie_jar_file="cookies.txt")
resp = api.get_json(endpoint_url)
pprint.pprint(resp)
```

See the documentation at: https://lcr-session.readthedocs.io/en/stable/.


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "lcr-session",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.10",
    "maintainer_email": null,
    "keywords": "lcr, churchofjesuschrist",
    "author": "Isaac Wagner",
    "author_email": "14634+IsaacsLab42@users.noreply.github.com",
    "download_url": "https://files.pythonhosted.org/packages/64/80/cbd89f8248cb71179a63242c59e1ef22075a7da4d9f212651f28effda647/lcr_session-1.2.0.tar.gz",
    "platform": null,
    "description": "# LCR Session\n\n<p>\n    <a href=\"https://lcr-session.readthedocs.io/en/stable/\">\n        <img src=\"https://img.shields.io/readthedocs/lcr-session\"/>\n    </a>\n    <a href=\"https://pypi.org/project/lcr-session/\">\n        <img src=\"https://img.shields.io/pypi/v/lcr-session\"/>\n    </a>\n    <a href=\"https://pypi.org/project/lcr-session/\">\n        <img src=\"https://img.shields.io/pypi/wheel/lcr-session\"/>\n    </a>\n    <a href=\"https://pypi.org/project/lcr-session/\">\n        <img src=\"https://img.shields.io/pypi/pyversions/lcr-session\"/>\n    </a>\n    <a href=\"https://github.com/IsaacsLab42/lcr_session/\">\n        <img src=\"https://img.shields.io/github/license/IsaacsLab42/lcr_session\"/>\n    </a>\n    <a href=\"https://black.readthedocs.io/en/stable/\">\n        <img src=\"https://img.shields.io/badge/code_style-black-black\"/>\n    </a>\n</p>\n\n---\n\n## Introduction\n\nThis library provides session authentication to the [Church of Jesus Christ of Latter\nDay Saints](https://www.churchofjesuschrist.org) Leader and Clerk Resources (LCR)\nSystem. This uses the very capable\n[Requests](https://requests.readthedocs.io/en/stable/) package to drive the web\nconnection.\n\nThis library can also save the cookies from an established session, which means that\nonce you authenticate you can repeatedly use your scripts without have to\nreauthenticate.\n\n## Disclaimer\n\nThis in an unofficial and independent project. This is NOT officially associated with\nThe Church of Jesus Christ of Latter-Day Saints.\n\n## Installation\n\n```bash\npip install lcr-session\n```\n\n## Quick Start\n\nHere's a very simple and quick illustration of how to use the API:\n\n```python\nimport pprint\nfrom lcr_session import LcrSession, ChurchUrl\n\nendpoint_url = ChurchUrl(\"lcr\", \"api/report/members-with-callings?unitNumber={unit}\")\napi = LcrSession(USERNAME, PASSWORD, cookie_jar_file=\"cookies.txt\")\nresp = api.get_json(endpoint_url)\npprint.pprint(resp)\n```\n\nSee the documentation at: https://lcr-session.readthedocs.io/en/stable/.\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Session authentication to the Church of Jesus Christ of Latter Day Saints LCR System",
    "version": "1.2.0",
    "project_urls": {
        "Bug Tracker": "https://github.com/IsaacsLab42/lcr_session/issues",
        "Documentation": "https://lcr-session.readthedocs.io/en/stable/",
        "Homepage": "https://github.com/IsaacsLab42/lcr_session",
        "Repository": "https://github.com/IsaacsLab42/lcr_session"
    },
    "split_keywords": [
        "lcr",
        " churchofjesuschrist"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "f01dd9bce65c328d032c4e1ed927aafd73132e2699cec20a60fb2167c9ef24ab",
                "md5": "27bf362878d55a2d176c94cb1c7f7847",
                "sha256": "964b33a4efb9ee673aefb105dafad20bc1066ba150cfcf33685d34f433d146ee"
            },
            "downloads": -1,
            "filename": "lcr_session-1.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "27bf362878d55a2d176c94cb1c7f7847",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.10",
            "size": 8655,
            "upload_time": "2025-07-24T00:36:26",
            "upload_time_iso_8601": "2025-07-24T00:36:26.865909Z",
            "url": "https://files.pythonhosted.org/packages/f0/1d/d9bce65c328d032c4e1ed927aafd73132e2699cec20a60fb2167c9ef24ab/lcr_session-1.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "6480cbd89f8248cb71179a63242c59e1ef22075a7da4d9f212651f28effda647",
                "md5": "fe9f18445662735f6b9041343c8daca7",
                "sha256": "ada50246b20d6ed58705e65a0b28b8cdbb182fa1ac4acb06a457ffe52dd78cf3"
            },
            "downloads": -1,
            "filename": "lcr_session-1.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "fe9f18445662735f6b9041343c8daca7",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.10",
            "size": 7131,
            "upload_time": "2025-07-24T00:36:27",
            "upload_time_iso_8601": "2025-07-24T00:36:27.877727Z",
            "url": "https://files.pythonhosted.org/packages/64/80/cbd89f8248cb71179a63242c59e1ef22075a7da4d9f212651f28effda647/lcr_session-1.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-24 00:36:27",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "IsaacsLab42",
    "github_project": "lcr_session",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "lcr-session"
}
        
Elapsed time: 0.84356s