thelatinlibrary

License: GNU General Public License v3 Developer: Hearot

Use thelatinlibrary to search all you want. The best database of latin texts has landed on Python.

Install

Via PyPi.org

Use this piece of code:

pip install thelatinlibrary

Via GitHub

Use this piece of code:

pip install git+https://github.com/hearot/thelatinlibrary.git

Downloading files

In primis (from Latin, “firstable”), clone the repository:

git clone https://github.com/hearot/thelatinlibrary.git

Then, change directory:

cd thelatinlibrary

And finally, install the package:

sudo python setup.py install

Example

import thelatinlibrary

authors = thelatinlibrary.get_authors()

for author in authors:
    print(author, author.works())

caesar = thelatinlibrary.get_author_by_name("caesar")
print(caesar.works())

License

This library is licensed by the GNU General Public License v3. The Latin Library is not affiliated with this project. The logo used in the title has been created by undevicesimus.

Indices and tables