{ "info": { "author": "Jonathan Nicholas", "author_email": "Jonathan.Nicholas@protonmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries", "Topic :: Utilities" ], "description": "# instiz\n\nA Python3-only library for iChart K-Pop chart scores.\n\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)\n\n## Installation\n\n`pip install instiz`\n\n## Getting Started\n\nGetting started is easy. The following example is to get the top 10 at the realtime chart of iChart.\n\n```python\nfrom instiz import iChart\n\nichart = iChart()\ntop_10 = ichart.realtime_top_10()\n\n```\n\n## Type hinting\n\nIf you're using Python 3.7+'s type hinting feature, the type used for the return type of the chart can be imported from the `instiz.models` module.\n\n```python\nfrom instiz.models import Entry\n\ndef get_name(entry: Entry) -> str:\n return entry.title\n\n```\n\n## Artist name\n\nIt's now possible to get the Korean name and the English name of an artist easily, alongside with the raw artist name provided from iChart's site. Nice title property will always return the English name, unless unavailable. If one of the names are unavailable, the property will return an empty string.\n\n```python\nfrom instiz import iChart\n\nichart = iChart()\nfirst_place = ichart.get_next_entry()\nnice_title = first_place.nice_title # JENNIE - SOLO\nraw_artist_name = first_place.artist.raw_name # \uc81c\ub2c8 (JENNIE)\nenglish_artist_name = first_place.artist.english_name # JENNIE\nkorean_artist_name = first_place.artist.korean_name # \uc81c\ub2c8\n\n```\n\n## Contributing\n\n* Fork the repo\n* Make your changes\n* Write your tests so I don't accidentally remove it when updating\n* Run the tests.\n* Make a pull request.\n\n## TODO\n\n- [ ] Document the API\n- [ ] Weekly chart\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/Chromadream/instiz", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "instiz", "package_url": "https://pypi.org/project/instiz/", "platform": "", "project_url": "https://pypi.org/project/instiz/", "project_urls": { "Homepage": "https://github.com/Chromadream/instiz" }, "release_url": "https://pypi.org/project/instiz/0.2.1/", "requires_dist": [ "requests (>=2.20.0)", "beautifulsoup4 (>=4.6.3)", "attrs (>=18.2.0)", "lxml (>=4.2.5)" ], "requires_python": "", "summary": "A Python3-only library for iChart K-Pop chart scores.", "version": "0.2.1" }, "last_serial": 4519570, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "7bd92f7e528b4c010bafc1267ee3f2c3", "sha256": "c4b959ca24ff6c46e302c4f1a3f28c4f879a2787e7d2d28e24a80b095c859be0" }, "downloads": -1, "filename": "instiz-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "7bd92f7e528b4c010bafc1267ee3f2c3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5796, "upload_time": "2018-11-11T15:56:19", "url": "https://files.pythonhosted.org/packages/94/df/45565a59effdf5fd3a4c4f4151b336b74210134c60da76bd5c2a446f010f/instiz-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e753544c0ab3bd6d6844c7c177110552", "sha256": "14771b64c27fc083dc37f4b1ae1713bc30d3887898d908aa55528987ce6b1802" }, "downloads": -1, "filename": "instiz-0.1.0.tar.gz", "has_sig": false, "md5_digest": "e753544c0ab3bd6d6844c7c177110552", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3438, "upload_time": "2018-11-11T15:56:22", "url": "https://files.pythonhosted.org/packages/09/4d/aaa7ad99ba27af9b00a453b2aca350a1bfc01b91b89e433dee37fc3d7ee5/instiz-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "72c722434919a94342719959cbaa5a0a", "sha256": "c257ce274f0cb572534ecea1b39544f5fcd9d994c6adf98d4cd891041027f7f0" }, "downloads": -1, "filename": "instiz-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "72c722434919a94342719959cbaa5a0a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5797, "upload_time": "2018-11-11T16:00:17", "url": "https://files.pythonhosted.org/packages/93/c0/a1ead276e1b99908f4f4880e11b9f170dd74a181933e38fb01f06cea41c6/instiz-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f84b31cedf7968914c456e98ecd0187b", "sha256": "ec8834f57cb4a042957c922ea5cb4034fef30c848f6c7ad62e1c0b5fa1fe0e23" }, "downloads": -1, "filename": "instiz-0.1.1.tar.gz", "has_sig": false, "md5_digest": "f84b31cedf7968914c456e98ecd0187b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3436, "upload_time": "2018-11-11T16:00:19", "url": "https://files.pythonhosted.org/packages/ff/61/e0b16b1a48590332440134b7039d1b436fe904b2c02edecab6ad800229b3/instiz-0.1.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "af0fe29f3f1b08689c1d79f2be137551", "sha256": "f6add40184f7dcbac25b725f122152e22483f3a1b68a715ae2bdf5cb18a9683f" }, "downloads": -1, "filename": "instiz-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "af0fe29f3f1b08689c1d79f2be137551", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7396, "upload_time": "2018-11-23T07:56:53", "url": "https://files.pythonhosted.org/packages/35/cc/f614617087f5352de941ea0cf639de3e08f420c1c2b1e491b7d9bdf40b19/instiz-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5b492703a3fed3748d11ebabe4eb8ebd", "sha256": "25fe93a59fab69cba72d44c83b849d0f8bf809cf59695745fcb7694b12e259c3" }, "downloads": -1, "filename": "instiz-0.2.0.tar.gz", "has_sig": false, "md5_digest": "5b492703a3fed3748d11ebabe4eb8ebd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4658, "upload_time": "2018-11-23T07:56:57", "url": "https://files.pythonhosted.org/packages/e6/54/96bd280c304523fb64767da6eb6d3979bbbce1545443691fb36c432f4c1b/instiz-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "17fca358aa6abf26a72ba5635387cf0b", "sha256": "85621f1f055ad17b9b6abdd4931e0f0290d96ecb5718f37c4090847799d9eb4b" }, "downloads": -1, "filename": "instiz-0.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "17fca358aa6abf26a72ba5635387cf0b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7397, "upload_time": "2018-11-23T08:12:36", "url": "https://files.pythonhosted.org/packages/d1/ad/d6ca58d5ef415db1c96a96c90e7ebde66e41738ae20d41f1842583eb9911/instiz-0.2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6cfff46e404b71da0aea782dbe033fb7", "sha256": "7e05fea18b0f26d62181e94f4487fb34b561d3432e046cd1cd445c455a981d49" }, "downloads": -1, "filename": "instiz-0.2.1.tar.gz", "has_sig": false, "md5_digest": "6cfff46e404b71da0aea782dbe033fb7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4657, "upload_time": "2018-11-23T08:12:41", "url": "https://files.pythonhosted.org/packages/d3/1f/625848039622c97a76a0b2af225430e92dd60d97e231474a9809d64f2720/instiz-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "17fca358aa6abf26a72ba5635387cf0b", "sha256": "85621f1f055ad17b9b6abdd4931e0f0290d96ecb5718f37c4090847799d9eb4b" }, "downloads": -1, "filename": "instiz-0.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "17fca358aa6abf26a72ba5635387cf0b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7397, "upload_time": "2018-11-23T08:12:36", "url": "https://files.pythonhosted.org/packages/d1/ad/d6ca58d5ef415db1c96a96c90e7ebde66e41738ae20d41f1842583eb9911/instiz-0.2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6cfff46e404b71da0aea782dbe033fb7", "sha256": "7e05fea18b0f26d62181e94f4487fb34b561d3432e046cd1cd445c455a981d49" }, "downloads": -1, "filename": "instiz-0.2.1.tar.gz", "has_sig": false, "md5_digest": "6cfff46e404b71da0aea782dbe033fb7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4657, "upload_time": "2018-11-23T08:12:41", "url": "https://files.pythonhosted.org/packages/d3/1f/625848039622c97a76a0b2af225430e92dd60d97e231474a9809d64f2720/instiz-0.2.1.tar.gz" } ] }