File size: 1,576 Bytes
b6c4b9e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
BIBLE_BOOKS = {
    "genesis": "01",
    "exodus": "02",
    "leviticus": "03",
    "numbers": "04",
    "deuteronomy": "05",
    "joshua": "06",
    "judges": "07",
    "ruth": "08",
    "1 samuel": "09",
    "2 samuel": "10",
    "1 kings": "11",
    "2 kings": "12",
    "1 chronicles": "13",
    "2 chronicles": "14",
    "ezra": "15",
    "nehemiah": "16",
    "esther": "17",
    "job": "18",
    "psalms": "19",
    "proverbs": "20",
    "ecclesiastes": "21",
    "song of solomon": "22",
    "isaiah": "23",
    "jeremiah": "24",
    "lamentations": "25",
    "ezekiel": "26",
    "daniel": "27",
    "hosea": "28",
    "joel": "29",
    "amos": "30",
    "obadiah": "31",
    "jonah": "32",
    "micah": "33",
    "nahum": "34",
    "habakkuk": "35",
    "zephaniah": "36",
    "haggai": "37",
    "zechariah": "38",
    "malachi": "39",
    "matthew": "40",
    "mark": "41",
    "luke": "42",
    "john": "43",
    "acts": "44",
    "romans": "45",
    "1 corinthians": "46",
    "2 corinthians": "47",
    "galatians": "48",
    "ephesians": "49",
    "philippians": "50",
    "colossians": "51",
    "1 thessalonians": "52",
    "2 thessalonians": "53",
    "1 timothy": "54",
    "2 timothy": "55",
    "titus": "56",
    "philemon": "57",
    "hebrews": "58",
    "james": "59",
    "1 peter": "60",
    "2 peter": "61",
    "1 john": "62",
    "2 john": "63",
    "3 john": "64",
    "jude": "65",
    "revelation": "66"
}

def get_book_number(book_name: str) -> str:
    """Convert book name to its number"""
    return BIBLE_BOOKS.get(book_name.lower(), "")