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.2.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.2-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bibref_python-2026.4.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 02356f3b29d0255fc969edd23130014f60eace7a4f54a2c832b50bf80afd8fa0
MD5 6b1e5e025319b07f712384c6b95da40f
BLAKE2b-256 03501c21ecf0573d290830419799dbceebc59f8ade5d4c6ba37268a02052cdb2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bibref_python-2026.4.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 156479ca2dce2c5330dc106056b35a627c9ad711e799a71f9fd098b117235ce4
MD5 91c3dc990d5e7444d277a9cc09616e60
BLAKE2b-256 d03698dfce81214effca7de9ebb95d79d4f8d147dbbe815030d4d127d48c4c8c

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