Skip to main content

Python wrapper for the bibref command-line tool for working with biblical references

Project description

bibref-python

This Python wrapper allows programmatic interface for the bibref command-line tool to work with biblical references.

Installation

pip install bibref-python

Example usages

Search for connections of Psalm 2

from bibref.tools import *

print(getrefs_maxlength("SBLGNT LXX Psalms 2"))

text_n(1, "υιος μου ει συ εγω σημερον γεγεννηκα σε")
print(find_n(1, "LXX"))
print(find_n(1, "StatResGNT"))

Search for names appearing in the beginning of Matthew 1

from bibref.tools import *

names = [ "Αβρααμ", "Ισαακ", "Ιακωβ", "Ιουδα",
    "Φαρες", "Ζαρα", "Εσρωμ", "Αραμ", "Αμιναδαβ", "Ναασσων",
    "Σαλμων", "Βοες", "Ραχαβ", "Ιωβηδ", "Ρουθ", "Ιεσσαι", "Δαυιδ",
    "Σολομων", "Ροβοαμ", "Αβια", "Ασαφ", "Ιωσαφατ", "Ιωραμ", "Οζιας",
    "Ιωαθαμ", "Αχαζ", "Εζεκιας", "Μανασση", "Αμως", "Ιωσιας",
    "Ιεχονιας", "Σαλαθιηλ", "Ζοροβαβελ", "Αβιουδ", "Ελιακειμ", "Αζωρ",
    "Σαδωκ", "Αχειμ", "Ελιουδ", "Ελεαζαρ", "Ματθαν", "Ιακωβ", "Ιωσηφ" ]

maxresults(10000)

for name in names:
    text_n(1, name)
    occurrences = find_n(1, "LXX")
    print(name, len(occurrences))

Author and copyright

See license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bibref_python-2026.4.1.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bibref_python-2026.4.1-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file bibref_python-2026.4.1.tar.gz.

File metadata

  • Download URL: bibref_python-2026.4.1.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for bibref_python-2026.4.1.tar.gz
Algorithm Hash digest
SHA256 02821abc12fc2fbbbc9fe54c842e29bb9c38a0c1648bbf41e135ece947ce0d94
MD5 d96e00c8d7c803a096691e5ae11a0d24
BLAKE2b-256 9f45ac304f5a831c796696ef6d23ede6e036587fd209b29eedf770c8fa29be47

See more details on using hashes here.

File details

Details for the file bibref_python-2026.4.1-py3-none-any.whl.

File metadata

File hashes

Hashes for bibref_python-2026.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 53d37bc7fff24be7e279a793efba7c57afb868de2898fee3867cb3011727edcb
MD5 5207a3adaf83027eb1f0139671851ee0
BLAKE2b-256 7cb8f77de2d3d5c0540230ce86bb3a23905dd39bed3eb1cf62e072659e934953

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page