# mini_LiTOY.md
Minimalist approach to the [LiTOY task sorting algorithm](https://github.com/thiswillbeyourgithub/LiTOY-aka-List-that-Outlives-You) based on [ELO scores](https://en.wikipedia.org/wiki/Elo_rating_system).
# Features
* Minimalist
* Statically typed via typeguard
* Made to be extensible
* Supports callbacks
# Questions
### What is LiTOY?
[LiTOY](https://github.com/thiswillbeyourgithub/LiTOY-aka-List-that-Outlives-You) was a personal project. The idea is to dump all your TODOs in one place, then rank them using ELO scores based on how important they are and of how fast they are.
### Why make mini_LiTOY?
mini_LiTOY's idea is to keep the code idea but this time in a minimalist python script. As long as the user takes care of storing the tasks in a text files, the LiTOY algorithm will update an output json based on the score. The first use for this will be to rank my [Omnivore](https://github.com/omnivore-app/omnivore) reading queue by downloading titles of articles to read via their API, then uploading the ELO score as a label. This can be found in the examples folder.
# Usage
* `python -m pip install mini_LiTOY` or `python -m pip install git+https://github.com/thiswillbeyourgithub/mini_LiTOY.git`
* `python -m mini_LiTOY --input_file my_text_file.txt --output_json output_file.json`
* Note: each new (nonempty nor commented) line in input_file will be added to the input_file.json with the default values. Each answer from the user will update the json file.
* In case anything goes wrong, you can see the recovery files and logs using --verbose.
## Examples
* To sort the elements by ELO score: `cat output_file.json | jq 'sort_by(.ELO)'`
Raw data
{
"_id": null,
"home_page": "https://github.com/thiswillbeyourgithub/mini_LiTOY",
"name": "mini-LiTOY",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.11",
"maintainer_email": null,
"keywords": "tasks, sorting, ELO, scoring, organization, smart, tool, productivity, litoy, list, life, learning, optimization",
"author": null,
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/20/16/860b75c708036da8fe4e9dfdd23ece1fa9e108ddf6c1791bd15972bcc2b0/mini_litoy-0.1.1.tar.gz",
"platform": null,
"description": "# mini_LiTOY.md\nMinimalist approach to the [LiTOY task sorting algorithm](https://github.com/thiswillbeyourgithub/LiTOY-aka-List-that-Outlives-You) based on [ELO scores](https://en.wikipedia.org/wiki/Elo_rating_system).\n\n# Features\n* Minimalist\n* Statically typed via typeguard\n* Made to be extensible\n* Supports callbacks\n\n# Questions\n\n### What is LiTOY?\n[LiTOY](https://github.com/thiswillbeyourgithub/LiTOY-aka-List-that-Outlives-You) was a personal project. The idea is to dump all your TODOs in one place, then rank them using ELO scores based on how important they are and of how fast they are.\n\n### Why make mini_LiTOY?\nmini_LiTOY's idea is to keep the code idea but this time in a minimalist python script. As long as the user takes care of storing the tasks in a text files, the LiTOY algorithm will update an output json based on the score. The first use for this will be to rank my [Omnivore](https://github.com/omnivore-app/omnivore) reading queue by downloading titles of articles to read via their API, then uploading the ELO score as a label. This can be found in the examples folder.\n\n# Usage\n* `python -m pip install mini_LiTOY` or `python -m pip install git+https://github.com/thiswillbeyourgithub/mini_LiTOY.git`\n* `python -m mini_LiTOY --input_file my_text_file.txt --output_json output_file.json`\n* Note: each new (nonempty nor commented) line in input_file will be added to the input_file.json with the default values. Each answer from the user will update the json file.\n* In case anything goes wrong, you can see the recovery files and logs using --verbose.\n\n## Examples\n* To sort the elements by ELO score: `cat output_file.json | jq 'sort_by(.ELO)'`\n",
"bugtrack_url": null,
"license": "GPLv3",
"summary": "Minimalist LiTOY task sorting algorithm based on ELO scores",
"version": "0.1.1",
"project_urls": {
"Homepage": "https://github.com/thiswillbeyourgithub/mini_LiTOY"
},
"split_keywords": [
"tasks",
" sorting",
" elo",
" scoring",
" organization",
" smart",
" tool",
" productivity",
" litoy",
" list",
" life",
" learning",
" optimization"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d4e392c8491e45f1b99e3140b2754fc5a01886d0b68c4b430728db29fe408bb1",
"md5": "e3170c28009120de256384cb285b3ed5",
"sha256": "b6d58b2e49ee1af7c55adbc59fa6e0bb00dfcf781b97e03ab062206461eabda0"
},
"downloads": -1,
"filename": "mini_LiTOY-0.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e3170c28009120de256384cb285b3ed5",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.11",
"size": 22012,
"upload_time": "2024-06-27T11:49:34",
"upload_time_iso_8601": "2024-06-27T11:49:34.911440Z",
"url": "https://files.pythonhosted.org/packages/d4/e3/92c8491e45f1b99e3140b2754fc5a01886d0b68c4b430728db29fe408bb1/mini_LiTOY-0.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2016860b75c708036da8fe4e9dfdd23ece1fa9e108ddf6c1791bd15972bcc2b0",
"md5": "369df857c1f6fa58554585adcd9052d4",
"sha256": "4826bbcadd9e9b26e323b4581c33650838c06798d404fa5e40e551b7c6a26f67"
},
"downloads": -1,
"filename": "mini_litoy-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "369df857c1f6fa58554585adcd9052d4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.11",
"size": 20602,
"upload_time": "2024-06-27T11:49:36",
"upload_time_iso_8601": "2024-06-27T11:49:36.316799Z",
"url": "https://files.pythonhosted.org/packages/20/16/860b75c708036da8fe4e9dfdd23ece1fa9e108ddf6c1791bd15972bcc2b0/mini_litoy-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-27 11:49:36",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "thiswillbeyourgithub",
"github_project": "mini_LiTOY",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "mini-litoy"
}