{ "info": { "author": "SermonAudio.com", "author_email": "info@sermonaudio.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.6" ], "description": "# OSIS Book Tools\n\nThis packages contains tools for converting between OSIS abbreviations\n(both IDs and paratext abbreviations) for books in the canonical Old and\nNew Testaments and localized book names.\n\nThe core of this is a sqlite database which does all the mappings, and ensures basic\ndata integrity. Data is currently loaded once during module init. After that, all\noperations are in-memory.\n\nThis abbreviations were compiled from https://wiki.crosswire.org/OSIS_Book_Abbreviations\n(fetched 2019-03-25).\n\n## Usage Examples\n\n### Reference a book via enumeration value\n\n```python\nOSISBook.Gen # Genesis\nOSISBook._1Sam # 1 Samuel (note the leading underscore to make the identifier valid)\n```\n\n### Construct a book from a paratext value\n\n```python\nOSISBook.from_paratext(\"GEN\")\n```\n\n### Get the paratext abbreviation for a book\n\n```python\nOSISBook.Gen.paratext_abbreviation\n```\n\n### Get the localized name of a book\n\nThis function expects the shortest possible ISO 639 code available for the language. English\nis guaranteed to be available, so use this as a fallback.\n\n```python\nOSISBook.Gen.localized_name(\"en\")\n```\n\n### Get the localized chapter descriptor for a book\n\nThis function returns the chapter descriptor, which may be slightly different from the name. Use this when\nconstructing a reference string. For example, you write `Psalm 23`, not `Psalms 23`. This is the difference\nbetween `localized_name` and `chapter_descriptor`.\n\nLike `localized_name`, this function expects the shortest possible ISO 639 code available for the language. English\nis guaranteed to be available, so use this as a fallback. If a localized name exists, a chapter descriptor must\nalso exist.\n\n```python\nOSISBook.Gen.chapter_descriptor(\"en\")\n```\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://api.sermonaudio.com/", "keywords": "bible OSIS SBL", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "osis-book-tools", "package_url": "https://pypi.org/project/osis-book-tools/", "platform": "", "project_url": "https://pypi.org/project/osis-book-tools/", "project_urls": { "Homepage": "http://api.sermonaudio.com/" }, "release_url": "https://pypi.org/project/osis-book-tools/1.0.1/", "requires_dist": null, "requires_python": "", "summary": "A set of tools for converting between OSIS abbreviations and localized biblical book names", "version": "1.0.1" }, "last_serial": 4986498, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "1529767f0eabcd9e0976953e52ec6981", "sha256": "a78731dcd8077378cf92c2cb3a57ebae2adbff2e00edf5bd924719e51ffcbd71" }, "downloads": -1, "filename": "osis_book_tools-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "1529767f0eabcd9e0976953e52ec6981", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3011, "upload_time": "2019-03-26T07:28:22", "url": "https://files.pythonhosted.org/packages/d7/21/b358d01349b36ea3c26025aea819e97fe1579f7ec89725468aef4bb9c1de/osis_book_tools-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "dcab5d19df5b0f92fa84ebf94992358b", "sha256": "76bd61cb48b01b4abfd3f7dc6824cd422a2f8240eb4d628ec20e24ad7d8891bb" }, "downloads": -1, "filename": "osis_book_tools-1.0.0.tar.gz", "has_sig": false, "md5_digest": "dcab5d19df5b0f92fa84ebf94992358b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2729, "upload_time": "2019-03-26T07:28:24", "url": "https://files.pythonhosted.org/packages/98/76/947333c93a8b36f377e718ea5b5bf9684a90f263f120af3054ec669489d1/osis_book_tools-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "4ed27871059e28a229dadfd4a7815e91", "sha256": "3ebe5df6910ac8238ab5443a08a761bff034b034a96de9df2ad6a77446614f40" }, "downloads": -1, "filename": "osis_book_tools-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "4ed27871059e28a229dadfd4a7815e91", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7210, "upload_time": "2019-03-26T08:11:59", "url": "https://files.pythonhosted.org/packages/19/25/5799adfa561b26a7d649968958a15256b4d75fad2ad00a664cf6282109d7/osis_book_tools-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ffee17f58040a2a7d19358b014878998", "sha256": "59cb8f6f1c61c749ee376a48335fe08cc0112aa714982eea2ccbe580f0ff68ee" }, "downloads": -1, "filename": "osis_book_tools-1.0.1.tar.gz", "has_sig": false, "md5_digest": "ffee17f58040a2a7d19358b014878998", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8030, "upload_time": "2019-03-26T08:12:00", "url": "https://files.pythonhosted.org/packages/52/d3/53dd985aeb1d92fcdd8d06d06c8cf277483c2343f1fc1a70b3a775ee67d6/osis_book_tools-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4ed27871059e28a229dadfd4a7815e91", "sha256": "3ebe5df6910ac8238ab5443a08a761bff034b034a96de9df2ad6a77446614f40" }, "downloads": -1, "filename": "osis_book_tools-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "4ed27871059e28a229dadfd4a7815e91", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7210, "upload_time": "2019-03-26T08:11:59", "url": "https://files.pythonhosted.org/packages/19/25/5799adfa561b26a7d649968958a15256b4d75fad2ad00a664cf6282109d7/osis_book_tools-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ffee17f58040a2a7d19358b014878998", "sha256": "59cb8f6f1c61c749ee376a48335fe08cc0112aa714982eea2ccbe580f0ff68ee" }, "downloads": -1, "filename": "osis_book_tools-1.0.1.tar.gz", "has_sig": false, "md5_digest": "ffee17f58040a2a7d19358b014878998", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8030, "upload_time": "2019-03-26T08:12:00", "url": "https://files.pythonhosted.org/packages/52/d3/53dd985aeb1d92fcdd8d06d06c8cf277483c2343f1fc1a70b3a775ee67d6/osis_book_tools-1.0.1.tar.gz" } ] }