Skip to main content

# LLAMA SLOBBER

Llama_slobber is a package of python3 tools useful for Learned League data analysis.

It consists of screen scraping routines which can be used to extract data from Learned League web pages, calculation routines for various Llama Slobber statistics, and some formatting routines to help generate web pages and csv files.

## Name Origin

[Learned League](http://www.learnedleague.com) is a website hosting a series of on-line trivia tournaments (see this [Washington Post article](https://www.washingtonpost.com/lifestyle/style/the-coolest-weirdest-internet-community-youll-never-be-able-to-join/2014/08/20/3c3f565e-26eb-11e4-958c-268a320a60ce_story.html?noredirect=on&utm_term=.16ba008490a5) for more information). Due to the fact that Learned League starts with the letters LL, members of this league tend to refer to themsleves as llamas.

During some on-line discussion on this site, someone off-handedly refered to some members of the group as Learned League Sabrmetricians which definitely is the wrong term. Sabrmetrics refers to the analysis of baseball data performed by the [Society of American Baseball Research](https://sabr.org). We were clearly different. So I have started the Society of Learnedleague Obscure and Byzantine Reseach (abbreviated SLOBR), and developed this package to aid others in doing analysis of Learned League data.

## Installation

Llama_slobber has been packaged on the [Python Package Index website](https://pypi.org) and can be downloaded using the following command: python -m pip install llama_slobber. It also requires the requests packages, so if this is not installed, you should also run: python -m pip install requests.

## logindata.ini file

In order to use the tools in llama_slobber, one must be able to login to the Learned League website. So before any of these tools can work, the user must create a file named logindata.ini which would contain the following:

` [DEFAULT] username = <your Learned League user name> password = <your Learned League user password> `

This logindata.ini file should be placed in the directory from which the user’s python code will be run.

## USAGE

All of the methods documented in the files listed in the Further Documentaion section of this document can be used by importing the method and calling the method with the appropriate variables. For example, the following code will caculate hun values for the B_Pacific rundle during season 78, and print the hun values for ‘usuiw’ as an html page

`python from llama_slobber import get_rundle_comp from llama_slobber import gen_html_table . . . foo = get_rundle_comp(78, 'B_Pacific', 6) print(gen_html_table('usuiw', foo['usuiw'])) `

## Other files in this directory

Most of the other files in this directory are in the application subdirectory, which contains files that are used to produce the Llama Slobber website. (https://warrensusui.com/llama_slobber/main_page.html)

## Futher Documentation

## Author

## License

This project is licensed under the MIT License

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llama_slobber-1.0.14.tar.gz (15.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

llama_slobber-1.0.14-py3-none-any.whl (28.4 kB view details)

Uploaded Python 3

File details

Details for the file llama_slobber-1.0.14.tar.gz.

File metadata

  • Download URL: llama_slobber-1.0.14.tar.gz
  • Upload date:
  • Size: 15.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/28.8.0 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.6.2

File hashes

Hashes for llama_slobber-1.0.14.tar.gz
Algorithm Hash digest
SHA256 ba92d8027db3c5db165f518f4f5da0a06f7c879317859440328b4d7f315f88c1
MD5 1b4634655792428efcc4923cd221b86e
BLAKE2b-256 41806ba0b93bce6c67801044182c25ce3354508a50697933957e797bcf26eb8f

See more details on using hashes here.

File details

Details for the file llama_slobber-1.0.14-py3-none-any.whl.

File metadata

  • Download URL: llama_slobber-1.0.14-py3-none-any.whl
  • Upload date:
  • Size: 28.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/28.8.0 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.6.2

File hashes

Hashes for llama_slobber-1.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 6c8c7f9e46c27142e40c0182560e0bdc427ddb904e4fcf1e1e45567bd42275d8
MD5 e1215d7b8c333826e1765a83e8aba7f6
BLAKE2b-256 f3094fbfffe84b03f1f1fbb0184acd57787998b6a022f659875f25a2f68d5f7f

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 Sentry Error logging StatusPage Status page