{ "info": { "author": "Simon L\u00f6vskog", "author_email": "simon@lovskog.eu", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# skolmaten-python\n\n[![Build Status](https://jenkins.lovskog.net/buildStatus/icon?job=skolmaten-python%2Fmaster&style=flat-square)](https://jenkins.lovskog.net/job/skolmaten-python/job/master/)\n\nThis is a simple wrapper for the [skolmaten.se](https://skolmaten.se) service.\n\nI wrote this becuase I needed a way to get the data for what I am going to eat in school for some stuff. So, why not publish it and help somebody else.\n\nFOR NON-SWEDISH PEPOLE: [skolmaten.se](https://skolmaten.se) has data for what is going to be servered in schools all over Sweden.\n\n## Usage\n\n```python\n\nfrom skolmaten import skolmaten\n\n# You can find the id of your school by going to skolmaten.se, selecting your school, and looking in the address bar. \n# For example this is what I see for polhemsskolan => https://skolmaten.se/polhemsskolan2/\nschoolFood = skolmaten(\"polhemsskolan2\")\n\nweekly = schoolFood.getData()\nprint(weekly)\n\n[{'date': datetime.datetime(2019, 10, 14, 0, 0), 'food': [u'Falukorv med potatismos', u'Potatisfrestelse med salladsost', u'\u00e4ngsbiffar']}, ... {'date': datetime.datetime(2019, 10, 21, 0, 0), 'food': [u'Pastas\u00e5s Arrabiata med linser och soltorkade tomater', u'Gr\u00f6nsakspaj']}]\n\n```\n\n## Todo\n\n- [x] Basic weekly data.\n- [ ] 100% Test coverage.\n- [ ] Full documation.\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/simoncircle/skolmaten-python", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "skolmaten-python", "package_url": "https://pypi.org/project/skolmaten-python/", "platform": "", "project_url": "https://pypi.org/project/skolmaten-python/", "project_urls": { "Homepage": "https://github.com/simoncircle/skolmaten-python" }, "release_url": "https://pypi.org/project/skolmaten-python/1.0.0/", "requires_dist": [ "requests", "xmltodict" ], "requires_python": "", "summary": "An python wrapper for the skolmaten service.", "version": "1.0.0" }, "last_serial": 5984064, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "cc5d4d9ab015b9b17e33c4426aa33a89", "sha256": "19f5d16187c275ea916691bfab7d23539ae5af401f7ea098d0b039c72160b32c" }, "downloads": -1, "filename": "skolmaten_python-1.0.0-py2-none-any.whl", "has_sig": false, "md5_digest": "cc5d4d9ab015b9b17e33c4426aa33a89", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 3671, "upload_time": "2019-10-16T15:10:07", "url": "https://files.pythonhosted.org/packages/d4/9c/33c3e2f71b606ed8d27e569bdc6335ca15d5a8c6c7d50a2ae5c80055fcee/skolmaten_python-1.0.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ac9fbfefa2257211254f9dc278c7eee1", "sha256": "b528f15731053bb27e490192b4e7c478bd6e48357058dfd1405ec8c13e74072a" }, "downloads": -1, "filename": "skolmaten_python-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "ac9fbfefa2257211254f9dc278c7eee1", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3673, "upload_time": "2019-10-16T15:11:13", "url": "https://files.pythonhosted.org/packages/3c/7c/dd31c7f1ec33c611b061b4d4c033bdc66b9d22e20949f2a60f9109257193/skolmaten_python-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "eaec21067217c1ed1ec6a1a0fc4638e1", "sha256": "234f44b939d24bff6f1a9b3045eb03fa07926b9af3a999c1d8808bd279b420fc" }, "downloads": -1, "filename": "skolmaten-python-1.0.0.tar.gz", "has_sig": false, "md5_digest": "eaec21067217c1ed1ec6a1a0fc4638e1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2371, "upload_time": "2019-10-16T15:10:48", "url": "https://files.pythonhosted.org/packages/4e/e2/eebb10f2e97f14de15253567f8440b8012ba33be72b219a6be4291687922/skolmaten-python-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cc5d4d9ab015b9b17e33c4426aa33a89", "sha256": "19f5d16187c275ea916691bfab7d23539ae5af401f7ea098d0b039c72160b32c" }, "downloads": -1, "filename": "skolmaten_python-1.0.0-py2-none-any.whl", "has_sig": false, "md5_digest": "cc5d4d9ab015b9b17e33c4426aa33a89", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 3671, "upload_time": "2019-10-16T15:10:07", "url": "https://files.pythonhosted.org/packages/d4/9c/33c3e2f71b606ed8d27e569bdc6335ca15d5a8c6c7d50a2ae5c80055fcee/skolmaten_python-1.0.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ac9fbfefa2257211254f9dc278c7eee1", "sha256": "b528f15731053bb27e490192b4e7c478bd6e48357058dfd1405ec8c13e74072a" }, "downloads": -1, "filename": "skolmaten_python-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "ac9fbfefa2257211254f9dc278c7eee1", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3673, "upload_time": "2019-10-16T15:11:13", "url": "https://files.pythonhosted.org/packages/3c/7c/dd31c7f1ec33c611b061b4d4c033bdc66b9d22e20949f2a60f9109257193/skolmaten_python-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "eaec21067217c1ed1ec6a1a0fc4638e1", "sha256": "234f44b939d24bff6f1a9b3045eb03fa07926b9af3a999c1d8808bd279b420fc" }, "downloads": -1, "filename": "skolmaten-python-1.0.0.tar.gz", "has_sig": false, "md5_digest": "eaec21067217c1ed1ec6a1a0fc4638e1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2371, "upload_time": "2019-10-16T15:10:48", "url": "https://files.pythonhosted.org/packages/4e/e2/eebb10f2e97f14de15253567f8440b8012ba33be72b219a6be4291687922/skolmaten-python-1.0.0.tar.gz" } ] }