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.8.0.tar.gz (71.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

himon-0.8.0-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: himon-0.8.0.tar.gz
  • Upload date:
  • Size: 71.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for himon-0.8.0.tar.gz
Algorithm Hash digest
SHA256 e83f0b5b974f6157603d117503222eccbdc043524c0681aaa9bc8a8e152a21c9
MD5 aa72688d6542647a54a472ff2ee0b964
BLAKE2b-256 e2e4d444a0c96cffd180bcd744061831b5ef95af4a29bc77e204dbc21039fa5c

See more details on using hashes here.

Provenance

The following attestation bundles were made for himon-0.8.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.8.0-py3-none-any.whl.

File metadata

  • Download URL: himon-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 13.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for himon-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 888d53d20c4a54878ba3eb9f2aa4982a356b5309ec3ac7d86750dbc6c36cdfa8
MD5 1c1b4fd384db18068e3b5918df7d11b2
BLAKE2b-256 094fe5e756ba60d9d8d557100cf368f9f97c6c6ae22c9fe2bdb888feeeeebfcc

See more details on using hashes here.

Provenance

The following attestation bundles were made for himon-0.8.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 Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page