Skip to main content

A Python wrapper for League of Comic Geeks.

Project description

Himon

PyPI - Python PyPI - Status PyPI - Version PyPI - License

pre-commit Ruff

Github - Contributors Github Action - Testing Github Action - Publishing

Read the Docs

A Python wrapper for League of Comic Geeks.

Installation

pip install --user Himon

Example Usage

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

Bugs/Requests

Please use the GitHub issue tracker to submit bugs or request features.

Socials

Social - Fosstodon
Social - Matrix

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

himon-0.7.0.tar.gz (37.6 kB view details)

Uploaded Source

Built Distribution

himon-0.7.0-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

Details for the file himon-0.7.0.tar.gz.

File metadata

  • Download URL: himon-0.7.0.tar.gz
  • Upload date:
  • Size: 37.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for himon-0.7.0.tar.gz
Algorithm Hash digest
SHA256 46336333bfc82176754116df6131b2039185eb3642babd73dffc401b3e34b7c9
MD5 9d4a65a0000ab6f3a1d684d544143850
BLAKE2b-256 b583b3cbcf1a80e07b9b6d9f40a725f141e511f7db9f2e5db902650087b0d00a

See more details on using hashes here.

Provenance

The following attestation bundles were made for himon-0.7.0.tar.gz:

Publisher: publishing.yaml on Buried-In-Code/Himon

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file himon-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: himon-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 12.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for himon-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8d9461fa222cdee5aa4e7f3f7bd35b6f5318967633751b44c74b776a14921528
MD5 27532acbb8cf7dda59c6fd53a50eb8e9
BLAKE2b-256 61320e1fd0f7b328069bb7ccde592dc966df678ce45978bfab298de1b5bf592b

See more details on using hashes here.

Provenance

The following attestation bundles were made for himon-0.7.0-py3-none-any.whl:

Publisher: publishing.yaml on Buried-In-Code/Himon

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page