Skip to main content

Python module for working with bible references

It can:

  • render reference strings sensibly and non-ambiguously; e.g. returning “Ephesians 1” when Ephesians 1:1-1:23 was specified, because there are only 23 verses in that chapter;

  • look up actual passage text using external API services;

  • fill in missing information where possible; e.g. inferring that for the inputs of book=”EPH” and start_chapter=1, the whole Ephesians 1 chapter (verses 1 to 23) was intended;

  • verify that a passage is valid; e.g. telling you that Ephesians 99 and Genesis 3:5-1:2 can’t exist;

  • add verses or chapters to the start or end of a passage, or [truncate](#passage-truncation) a passage to a given number of verses; such as for satisfying copyright restrictions; and

  • count the number of verses in a passage.

Basic Usage:

from pypassage import Passage
p = Passage(book='Genesis', start_chapter=1, start_verse=1, end_chapter=2, end_verse=3)

Documentation

Full documentation may be found on the GitHub page.

Metadata

Release files for pypassage 1.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pypassage 1.3.1
File Size Uploaded
pypassage-1.3.1.tar.gz 20.6 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for pypassage 1.3.1
File Interpreter ABI Platform
pypassage-1.3.1-py3-none-any.whl Python 3 none any Details
pypassage-1.3.1-py2-none-any.whl Python 2 none any Details

Total release size: 67.4 kB

Release files / pypassage-1.3.1.tar.gz

Download URL pypassage-1.3.1.tar.gz
Size 20.6 kB
Tags Source
SHA-256 checksum
How to use checksums
efb17249aceb0e86ccafa6cd3811041569c6967d553553ec699ba88158ad34c1
BLAKE2b-256 checksum
How to use checksums
01a35f485553b8f3187b0d0ad2a9848fd4da2b11520a61f75eabefdfb403f54d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/18.5 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/2.7.10

Release files / pypassage-1.3.1-py3-none-any.whl

Download URL pypassage-1.3.1-py3-none-any.whl
Size 23.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1290041ec7c26d547178d16acdc204a4c326768c9ecf2284595e8b0de1fc7bf1
BLAKE2b-256 checksum
How to use checksums
bcc1ad79d60da239a95d85ab171f5f9dc793d2de2167d23ea2d5ca9aee7dfbab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/18.5 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/2.7.10

Release files / pypassage-1.3.1-py2-none-any.whl

Download URL pypassage-1.3.1-py2-none-any.whl
Size 23.7 kB
Tags Python 2
SHA-256 checksum
How to use checksums
ef5e5337218acfdb0de98e864918625bb44749cb0d76ac61930459ec1aa57c70
BLAKE2b-256 checksum
How to use checksums
dca8cbde71dd0ba81bf7c952fb19d2ff77eaeed10c43943aa5e567dc3767fcfe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/18.5 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/2.7.10

Release history Release notifications | RSS feed

This release

1.3.1 This release

3 release files

1.3

4 release files

1.2

2 release files

1.1

1 release file

1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page