https://github.com/Medromenax/pytholic
Catholic-themed python package
https://github.com/Medromenax/pytholic
Last synced: 9 days ago
JSON representation
Catholic-themed python package
- Host: GitHub
- URL: https://github.com/Medromenax/pytholic
- Owner: Medromenax
- License: mit
- Created: 2022-03-26T18:29:41.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-28T22:51:21.000Z (about 3 years ago)
- Last Synced: 2024-11-13T18:43:46.126Z (6 months ago)
- Language: Python
- Size: 194 KB
- Stars: 8
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-catholic - pytholic - Paquete Python de temática católica (Datos)
README

# Pytholic
Develop and praise God at the same time!
## Description
My main goal with Pytholic is to show that we, Catholics, can praise God and teach about Him in any way possible. Just like what Saint Paul said in 1 Corinthians 10, 31: *"Whatever you eat, then, or drink, and whatever else you do, do it all for the glory of God."* My second goal with this project was to practice a different kind of penance other than feast and abstinence in this year's lent (I mean, programming is not a penance, not for me, but doing it instead of play a game or watch a movie is).
## Instalation
```bash
pip install pytholic
```## Usage
Pytholic contains:
* The 4 gospels of the Bible.
* 12 prayers.
* 4 Icons as ASCII.
* A function that sanctify a string.
* A function that explains the doctrine of the Trinity.The Bible class has 4 methods, matthew(), mark(), john() and luke(), they return a verse or a list of verses.
```python
from pytholic.bible.bible import Biblebible = Bible()
# returns one verse
print(bible.matthew(1, 1))
# returns a list of verses
print(bible.matthew(1, 1, 5))
```
To return one of the 12 prayers.
```python
from pytholic.prayers import Prayersprayer = Prayers()
# each prayer is a method that prints a string
prayer.our_father()
```
To return one of the 4 images.
```python
from pytholic.icons import IconAsciiicon = IconAscii()
# returns an Ascii representation of an icon
print(icon.pantocrator())
```
To sanctify a string.
```python
from pytholic.variety import sanctifytext = "Hello World, i'm Charles 5 and i'm cool guy :D"
sanctify(text)
```To get an explanation of the Trinity.
```python
from pytholic.variety import trinity# it will return a mini-game with a pythonic explanation of the Trinity
trinity()
```For more information, access https://pytholic.readthedocs.io/
## Contribute please 🇻🇦
As I said, this project was made as a form of penance, there's nothing special on it, but it can be improved. So if you are a catholic and a developer, please, consider helping this small project.
# *Viva Cristo Rei!*