Name | Himon JSON |
Version |
0.7.0
JSON |
| download |
home_page | None |
Summary | A Python wrapper for League of Comic Geeks. |
upload_time | 2025-01-24 00:57:28 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.9 |
license | MIT |
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/MIT)
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-informational?logo=pre-commit&style=flat-square)](https://github.com/pre-commit/pre-commit)
[![Ruff](https://img.shields.io/badge/ruff-enabled-informational?logo=ruff&style=flat-square)](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)
[![Github Action - Publishing](https://img.shields.io/github/actions/workflow/status/Buried-In-Code/Himon/publishing.yaml?branch=main&logo=Github&label=Publishing&style=flat-square)](https://github.com/Buried-In-Code/Himon/actions/workflows/publishing.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
```console
pip install --user Himon
```
### 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}")
```
## Documentation
- [Himon](https://himon.readthedocs.io/en/stable)
## Bugs/Requests
Please use the [GitHub issue tracker](https://github.com/Buried-In-Code/Himon/issues) to submit bugs or request features.
## Socials
[![Social - Fosstodon](https://img.shields.io/badge/%40BuriedInCode-teal?label=Fosstodon&logo=mastodon&style=for-the-badge)](https://fosstodon.org/@BuriedInCode)\
[![Social - Matrix](https://img.shields.io/matrix/The-Dev-Environment:matrix.org?label=The-Dev-Environment&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.9",
"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/b5/83/b3cbcf1a80e07b9b6d9f40a725f141e511f7db9f2e5db902650087b0d00a/himon-0.7.0.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/MIT)\n\n[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-informational?logo=pre-commit&style=flat-square)](https://github.com/pre-commit/pre-commit)\n[![Ruff](https://img.shields.io/badge/ruff-enabled-informational?logo=ruff&style=flat-square)](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[![Github Action - Publishing](https://img.shields.io/github/actions/workflow/status/Buried-In-Code/Himon/publishing.yaml?branch=main&logo=Github&label=Publishing&style=flat-square)](https://github.com/Buried-In-Code/Himon/actions/workflows/publishing.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```console\npip install --user Himon\n```\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## Documentation\n\n- [Himon](https://himon.readthedocs.io/en/stable)\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 - Fosstodon](https://img.shields.io/badge/%40BuriedInCode-teal?label=Fosstodon&logo=mastodon&style=for-the-badge)](https://fosstodon.org/@BuriedInCode)\\\n[![Social - Matrix](https://img.shields.io/matrix/The-Dev-Environment:matrix.org?label=The-Dev-Environment&logo=matrix&style=for-the-badge)](https://matrix.to/#/#The-Dev-Environment:matrix.org)\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A Python wrapper for League of Comic Geeks.",
"version": "0.7.0",
"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": "61320e1fd0f7b328069bb7ccde592dc966df678ce45978bfab298de1b5bf592b",
"md5": "27532acbb8cf7dda59c6fd53a50eb8e9",
"sha256": "8d9461fa222cdee5aa4e7f3f7bd35b6f5318967633751b44c74b776a14921528"
},
"downloads": -1,
"filename": "himon-0.7.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "27532acbb8cf7dda59c6fd53a50eb8e9",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 12863,
"upload_time": "2025-01-24T00:57:26",
"upload_time_iso_8601": "2025-01-24T00:57:26.812953Z",
"url": "https://files.pythonhosted.org/packages/61/32/0e1fd0f7b328069bb7ccde592dc966df678ce45978bfab298de1b5bf592b/himon-0.7.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "b583b3cbcf1a80e07b9b6d9f40a725f141e511f7db9f2e5db902650087b0d00a",
"md5": "9d4a65a0000ab6f3a1d684d544143850",
"sha256": "46336333bfc82176754116df6131b2039185eb3642babd73dffc401b3e34b7c9"
},
"downloads": -1,
"filename": "himon-0.7.0.tar.gz",
"has_sig": false,
"md5_digest": "9d4a65a0000ab6f3a1d684d544143850",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 37559,
"upload_time": "2025-01-24T00:57:28",
"upload_time_iso_8601": "2025-01-24T00:57:28.359105Z",
"url": "https://files.pythonhosted.org/packages/b5/83/b3cbcf1a80e07b9b6d9f40a725f141e511f7db9f2e5db902650087b0d00a/himon-0.7.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-24 00:57:28",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Buried-In-Code",
"github_project": "Himon",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "himon"
}