A library for hattrick.org data
Project description
hattrick_libs
This is a library to transform xml-data from the API of the infamous online-strategy-game hattrick (https://www.hattrick.org) into python objects.
As this was just intended to be a python-learning-project and to be the ground-work for another hattrick-project of mine initially, https://hattrick-fun-with-flags.app, hattick_libs doesn't aim to be complete nor useful to any other purpose than it was originally built for.
If you are looking for a complete python library for hattrick.org consider also pyCHPP by Pierre Gobin. His project was there before mine and looks quite sophisticated to me. It's implemented in an object-oriented style and thus well readable and clean. Compared to pyCHPP, hattrick_libs is a very basic implementation of the hattrick-API. But consider also this: If you are a learner like myself, hattrick_libs will be a perfect opportunity to get your hands dirty on some cool python stuff without having to learn oop first. Or you decide to implement your own flavor of a hattick library in python and let yourself inspire by both this projects. There is room for all of us. Whatever your decision is: make sure to connect. Refer to the "Contact" section of this document if you can help improve hattrick_libs, have suggestions, if you want to adopt it to your needs or if you just feel like having a chat with another nerdy hattrick manager.
Have fun!:)
Project state
For now the projects state is experimental. It's just my this-year christmas project after all!;) I'm actively maintaining this project though. (information as of 2023-12-30)
Project link
https://github.com/joschobart/hattrick_libs
Installation
pip3 install hattrick-libs
Usage
In your code directly reference to the module you need:
from ht_libs import do_hattrick_request
License
This package is licensed under the Apache License 2.0.
Contact
joschobart on hattrick.org for a chat about bugs, hattrick, (monty) python or discworld.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file hattrick_libs-0.19.0.tar.gz
.
File metadata
- Download URL: hattrick_libs-0.19.0.tar.gz
- Upload date:
- Size: 16.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d54fa4e9161bd5c1757e08b17494b22278a8524762bd0da2e4c836ec3b9d191e |
|
MD5 | 3261c7c5f7c91fbe157a76442eff75c1 |
|
BLAKE2b-256 | 80d294566f1070d4bec1999b720373d94575659b7fde6e1aa29dfed4c934237d |
File details
Details for the file hattrick_libs-0.19.0-py3-none-any.whl
.
File metadata
- Download URL: hattrick_libs-0.19.0-py3-none-any.whl
- Upload date:
- Size: 17.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b9ce47193bdb9c37aa0f646b1ee08cb64005800d2bec074a5f5b2870776f651 |
|
MD5 | ebefac715dc4025d987dc681782e5298 |
|
BLAKE2b-256 | ffe5833373b339a8026560519beca6ab9924d0b142c47d0d673e3a7cce1a0443 |