Name | Himon JSON |
Version |
0.6.1
JSON |
| download |
home_page | None |
Summary | A Python wrapper for League of Comic Geeks. |
upload_time | 2024-07-01 04:54:17 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.8 |
license | None |
keywords |
comic
comics
metadata
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Himon
[![PyPI - Python](https://img.shields.io/pypi/pyversions/Himon.svg?logo=Python&label=Python&style=flat-square)](https://pypi.python.org/pypi/Himon/)
[![PyPI - Status](https://img.shields.io/pypi/status/Himon.svg?logo=Python&label=Status&style=flat-square)](https://pypi.python.org/pypi/Himon/)
[![PyPI - Version](https://img.shields.io/pypi/v/Himon.svg?logo=Python&label=Version&style=flat-square)](https://pypi.python.org/pypi/Himon/)
[![PyPI - License](https://img.shields.io/pypi/l/Himon.svg?logo=Python&label=License&style=flat-square)](https://opensource.org/licenses/GPL-3.0)
[![Rye](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/rye/main/artwork/badge.json)](https://rye.astral.sh)
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit)](https://github.com/pre-commit/pre-commit)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
[![Github - Contributors](https://img.shields.io/github/contributors/Buried-In-Code/Himon.svg?logo=Github&label=Contributors&style=flat-square)](https://github.com/Buried-In-Code/Himon/graphs/contributors)
[![Github Action - Testing](https://img.shields.io/github/actions/workflow/status/Buried-In-Code/Himon/testing.yaml?branch=main&logo=Github&label=Testing&style=flat-square)](https://github.com/Buried-In-Code/Himon/actions/workflows/testing.yaml)
[![Read the Docs](https://img.shields.io/readthedocs/himon?label=Read-the-Docs&logo=Read-the-Docs&style=flat-square)](https://himon.readthedocs.io/en/latest/?badge=latest)
A [Python](https://www.python.org/) wrapper for [League of Comic Geeks](https://leagueofcomicgeeks.com).
## Installation
```bash
pip install Himon
```
## Documentation
[Read the project documentation](https://himon.readthedocs.io/en/latest/?badge=latest)
### Example Usage
```python
from himon.league_of_comic_geeks import LeagueofComicGeeks
from himon.sqlite_cache import SQLiteCache
session = LeagueofComicGeeks(client_id="Client Id", client_secret="Client Secret", access_token=None, cache=SQLiteCache())
# Generate an access token if not supplied
if not session.access_token:
session.access_token = session.generate_access_token()
# Search for Comic
for result in session.search(search_term="Blackest Night"):
print(f"Result: {result.publisher_name} - {result.series_name} - {result.title}")
# Get Series by id
series = session.get_series(series_id=100096)
print(f"Series: {series.id} - {series.title}")
# Get Comic by id
comic = session.get_comic(comic_id=2710631)
print(f"Comic: {comic.id} - {comic.title}")
```
## Bugs/Requests
Please use the [GitHub issue tracker](https://github.com/Buried-In-Code/Himon/issues) to submit bugs or request features.
## Socials
[![Social - Matrix](https://img.shields.io/matrix/The-Dev-Environment:matrix.org?label=The%20Dev%20Environment&logo=matrix&style=for-the-badge)](https://matrix.to/#/#The-Dev-Environment:matrix.org)
Raw data
{
"_id": null,
"home_page": null,
"name": "Himon",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "BuriedInCode <BuriedInCode@tuta.io>",
"keywords": "comic, comics, metadata",
"author": null,
"author_email": "BuriedInCode <BuriedInCode@tuta.io>",
"download_url": "https://files.pythonhosted.org/packages/1d/df/da2ddb1e69b24a5bfee8a3cb83d8bef46ba73cfcf45bc6d978da68dd680a/himon-0.6.1.tar.gz",
"platform": null,
"description": "# Himon\n\n[![PyPI - Python](https://img.shields.io/pypi/pyversions/Himon.svg?logo=Python&label=Python&style=flat-square)](https://pypi.python.org/pypi/Himon/)\n[![PyPI - Status](https://img.shields.io/pypi/status/Himon.svg?logo=Python&label=Status&style=flat-square)](https://pypi.python.org/pypi/Himon/)\n[![PyPI - Version](https://img.shields.io/pypi/v/Himon.svg?logo=Python&label=Version&style=flat-square)](https://pypi.python.org/pypi/Himon/)\n[![PyPI - License](https://img.shields.io/pypi/l/Himon.svg?logo=Python&label=License&style=flat-square)](https://opensource.org/licenses/GPL-3.0)\n\n[![Rye](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/rye/main/artwork/badge.json)](https://rye.astral.sh)\n[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit)](https://github.com/pre-commit/pre-commit)\n[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)\n\n[![Github - Contributors](https://img.shields.io/github/contributors/Buried-In-Code/Himon.svg?logo=Github&label=Contributors&style=flat-square)](https://github.com/Buried-In-Code/Himon/graphs/contributors)\n[![Github Action - Testing](https://img.shields.io/github/actions/workflow/status/Buried-In-Code/Himon/testing.yaml?branch=main&logo=Github&label=Testing&style=flat-square)](https://github.com/Buried-In-Code/Himon/actions/workflows/testing.yaml)\n\n[![Read the Docs](https://img.shields.io/readthedocs/himon?label=Read-the-Docs&logo=Read-the-Docs&style=flat-square)](https://himon.readthedocs.io/en/latest/?badge=latest)\n\nA [Python](https://www.python.org/) wrapper for [League of Comic Geeks](https://leagueofcomicgeeks.com).\n\n## Installation\n\n```bash\npip install Himon\n```\n\n## Documentation\n\n[Read the project documentation](https://himon.readthedocs.io/en/latest/?badge=latest)\n\n### Example Usage\n\n```python\nfrom himon.league_of_comic_geeks import LeagueofComicGeeks\nfrom himon.sqlite_cache import SQLiteCache\n\nsession = LeagueofComicGeeks(client_id=\"Client Id\", client_secret=\"Client Secret\", access_token=None, cache=SQLiteCache())\n\n# Generate an access token if not supplied\nif not session.access_token:\n session.access_token = session.generate_access_token()\n\n# Search for Comic\nfor result in session.search(search_term=\"Blackest Night\"):\n print(f\"Result: {result.publisher_name} - {result.series_name} - {result.title}\")\n\n# Get Series by id\nseries = session.get_series(series_id=100096)\nprint(f\"Series: {series.id} - {series.title}\")\n\n# Get Comic by id\ncomic = session.get_comic(comic_id=2710631)\nprint(f\"Comic: {comic.id} - {comic.title}\")\n```\n\n## Bugs/Requests\n\nPlease use the [GitHub issue tracker](https://github.com/Buried-In-Code/Himon/issues) to submit bugs or request features.\n\n## Socials\n\n[![Social - Matrix](https://img.shields.io/matrix/The-Dev-Environment:matrix.org?label=The%20Dev%20Environment&logo=matrix&style=for-the-badge)](https://matrix.to/#/#The-Dev-Environment:matrix.org)\n",
"bugtrack_url": null,
"license": null,
"summary": "A Python wrapper for League of Comic Geeks.",
"version": "0.6.1",
"project_urls": {
"Documentation": "https://himon.readthedocs.io/en/latest/",
"Homepage": "https://pypi.org/project/Himon",
"Issues": "https://github.com/Buried-In-Code/Himon/issues",
"Source": "https://github.com/Buried-In-Code/Himon"
},
"split_keywords": [
"comic",
" comics",
" metadata"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "087654ebfbd17ccc696e0876aa6b87aeac225b1806667bcd3fd2e05233f01121",
"md5": "98bd329379854cefa526247bf193fcca",
"sha256": "dda2301de9aee1e9342cb2f94b5c032028be110c797338eb5380cd664dadf731"
},
"downloads": -1,
"filename": "himon-0.6.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "98bd329379854cefa526247bf193fcca",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 23549,
"upload_time": "2024-07-01T04:54:15",
"upload_time_iso_8601": "2024-07-01T04:54:15.779605Z",
"url": "https://files.pythonhosted.org/packages/08/76/54ebfbd17ccc696e0876aa6b87aeac225b1806667bcd3fd2e05233f01121/himon-0.6.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "1ddfda2ddb1e69b24a5bfee8a3cb83d8bef46ba73cfcf45bc6d978da68dd680a",
"md5": "497dbb40a826e19f39a9dcd4865286f1",
"sha256": "5db129fb5374133ae3b31e84a1dd448535ee09969e08f71eee83c8f9299db8a7"
},
"downloads": -1,
"filename": "himon-0.6.1.tar.gz",
"has_sig": false,
"md5_digest": "497dbb40a826e19f39a9dcd4865286f1",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 56723,
"upload_time": "2024-07-01T04:54:17",
"upload_time_iso_8601": "2024-07-01T04:54:17.270675Z",
"url": "https://files.pythonhosted.org/packages/1d/df/da2ddb1e69b24a5bfee8a3cb83d8bef46ba73cfcf45bc6d978da68dd680a/himon-0.6.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-01 04:54:17",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Buried-In-Code",
"github_project": "Himon",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "himon"
}