<div align="center">
<h1>Bakaweb Timetable</h1>
![GitHub](https://img.shields.io/github/license/MortikCZ/Bakaweb-Timetable)
![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/MortikCZ/Bakaweb-Timetable)
![GitHub last commit](https://img.shields.io/github/last-commit/MortikCZ/Bakaweb-Timetable)
<p>Jednoduchý nástroj pro extrakci rozvrhu z modulu Timetable Bakawebu. Data jsou získavána v HTML formátu a následně zpracována do JSON formátu.</p>
</div>
## Licence
Tento projekt je licencován pod licencí MIT. Pro více informací se podívejte do souboru `LICENSE`.
## Příklad použítí
```python
import bakaweb_timetable
url = "https://bakalari.skola.cz/bakaweb/Timetable/Public/Permanent/Class/4U"
output_file = "timetable.json"
bakaweb_timetable.get_timetable(url, output_file)
```
Je zapotřebí předat funkci `get_timetable` URL adresu rozvrhu a název souboru, do kterého se má rozvrh uložit, viz. příklad výše.
Raw data
{
"_id": null,
"home_page": "https://github.com/MortikCZ/Bakaweb-Timetable",
"name": "bakaweb-timetable",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": "bakaweb timetable rozvrh extractor",
"author": "Luk\u00e1\u0161 S.",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/07/01/09f6d3ccc3aee6fb874f0cd3cbb1d07b30508d00b73493dcd1710c0eb75c/bakaweb-timetable-1.1.1.tar.gz",
"platform": null,
"description": "<div align=\"center\">\n\n <h1>Bakaweb Timetable</h1>\n\n ![GitHub](https://img.shields.io/github/license/MortikCZ/Bakaweb-Timetable)\n ![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/MortikCZ/Bakaweb-Timetable)\n ![GitHub last commit](https://img.shields.io/github/last-commit/MortikCZ/Bakaweb-Timetable)\n\n <p>Jednoduch\u00fd n\u00e1stroj pro extrakci rozvrhu z modulu Timetable Bakawebu. Data jsou z\u00edskav\u00e1na v HTML form\u00e1tu a n\u00e1sledn\u011b zpracov\u00e1na do JSON form\u00e1tu.</p>\n\n</div>\n\n## Licence\nTento projekt je licencov\u00e1n pod licenc\u00ed MIT. Pro v\u00edce informac\u00ed se pod\u00edvejte do souboru `LICENSE`.\n\n## P\u0159\u00edklad pou\u017e\u00edt\u00ed\n```python\nimport bakaweb_timetable\n\nurl = \"https://bakalari.skola.cz/bakaweb/Timetable/Public/Permanent/Class/4U\"\noutput_file = \"timetable.json\"\nbakaweb_timetable.get_timetable(url, output_file)\n```\n\nJe zapot\u0159eb\u00ed p\u0159edat funkci `get_timetable` URL adresu rozvrhu a n\u00e1zev souboru, do kter\u00e9ho se m\u00e1 rozvrh ulo\u017eit, viz. p\u0159\u00edklad v\u00fd\u0161e.\n\n\n\n\n\n\n",
"bugtrack_url": null,
"license": null,
"summary": "N\u00e1stroj pro extrahov\u00e1n\u00ed rozvrhu z Timetable modulu Bakawebu",
"version": "1.1.1",
"project_urls": {
"Bug Tracker": "https://github.com/MortikCZ/Bakaweb-Timetable/issues",
"Documentation": "https://github.com/MortikCZ/Bakaweb-Timetable#readme",
"Homepage": "https://github.com/MortikCZ/Bakaweb-Timetable",
"Source Code": "https://github.com/MortikCZ/Bakaweb-Timetable"
},
"split_keywords": [
"bakaweb",
"timetable",
"rozvrh",
"extractor"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "0e5e92a0f690d03c222d658e5942e71e4e5155bd85dfb4ca672894122062f2bd",
"md5": "6a75dad9cc41ce7a249543244c7fd30e",
"sha256": "4940399ab837a21f64cd9974f46b4bb09e789f96fa2490255569d8af595573d0"
},
"downloads": -1,
"filename": "bakaweb_timetable-1.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "6a75dad9cc41ce7a249543244c7fd30e",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 4204,
"upload_time": "2024-11-27T17:52:11",
"upload_time_iso_8601": "2024-11-27T17:52:11.890525Z",
"url": "https://files.pythonhosted.org/packages/0e/5e/92a0f690d03c222d658e5942e71e4e5155bd85dfb4ca672894122062f2bd/bakaweb_timetable-1.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "070109f6d3ccc3aee6fb874f0cd3cbb1d07b30508d00b73493dcd1710c0eb75c",
"md5": "b4048e069c6d079e31ea72f7c3eb9d08",
"sha256": "5a1fc284f9dca1503c104bb58ed3cfb7e6cd28233c6c4901a41d7373609bb36a"
},
"downloads": -1,
"filename": "bakaweb-timetable-1.1.1.tar.gz",
"has_sig": false,
"md5_digest": "b4048e069c6d079e31ea72f7c3eb9d08",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 3802,
"upload_time": "2024-11-27T17:52:12",
"upload_time_iso_8601": "2024-11-27T17:52:12.832604Z",
"url": "https://files.pythonhosted.org/packages/07/01/09f6d3ccc3aee6fb874f0cd3cbb1d07b30508d00b73493dcd1710c0eb75c/bakaweb-timetable-1.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-27 17:52:12",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "MortikCZ",
"github_project": "Bakaweb-Timetable",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "bakaweb-timetable"
}