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"))

text1("υιος μου ει συ εγω σημερον γεγεννηκα σε")
print(find1("LXX"))
print(find1("StatResGNT"))

Search for names appearing in the beginning of Matthew 1

from bibref.tools import *

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

maxresults(10000)

for name in names:
    text1(name)
    occurrences = find1("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.1.tar.gz (4.6 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.1-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bibref_python-2026.4.1.1.tar.gz
  • Upload date:
  • Size: 4.6 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.1.tar.gz
Algorithm Hash digest
SHA256 3d248078183370391429a10ab4ad222bd3f9ee0de59ba0c331d6ba8911d4c584
MD5 6306f0d4cd7dd57f82ca21113fe1fca8
BLAKE2b-256 cda98ca576fd9b0033f016e1f008b506aa3823c530c56e988107989623c2a8d5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bibref_python-2026.4.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 db583ae857957d3f52043af45f1f6aef2e187b1a02842825a3ca1bef93c76ebc
MD5 7bc8986bbccf9cf211aa5dc62c040c16
BLAKE2b-256 88f064bc9b3ea7a705be5b91a30e03984158583d218bd1577c75f19251010ca3

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