Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Libraries

    python-scriptures 1.1.2

    Download button

    No screenshots available
    Downloads: 111  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    David Davis | More programs
    Other/Proprietary Li... / FREE
    April 2nd, 2012, 22:29 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    python-scriptures description

    A Python package and regular expression library for validating, extracting, and normalizing biblical scripture references from blocks of text

    python-scriptures is a Python module and regular expression library for validating, extracting, and normalizing biblical scripture references from blocks of text.

    For more information, see http://www.davisd.com/projects/python-scriptures/

    Typical usage is as follows:

    #!/usr/bin/env python

    >>> import scriptures
    >>> scriptures.extract('This is a test Rom 3:23-28 and 1 JOHn 2')
    [('Romans', 3, 23, 3, 28), ('I John', 2, 1, 2, 29)]

    Range validation is performed automatically and invalid references are not extracted.

     >>> import scriptures
     >>> scriptures.extract('Romans 3:23 is real, but Romans 2:30 is invalid.')
     [('Romans', 3, 23, 3, 23)]


    Installation

    A setup script (setup.py) is provided. To install, simply run the script with the install command:

     python setup.py install

    Or just put the scriptures package somewhere on the Python path.


    Product's homepage

    Requirements:

    · Python

      


    TAGS:

    biblical scripture | regular expression | Python | biblical | scripture

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM