Skip to main content

A Python wrapper for League of Comic Geeks.

Project description

Himon

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

Rye pre-commit Ruff

Github - Contributors Github Action - Testing

Read the Docs

A Python wrapper for League of Comic Geeks.

Installation

pip install Himon

Documentation

Read the project documentation

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}")

Bugs/Requests

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

Socials

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

Uploaded Source

Built Distribution

himon-0.6.1-py3-none-any.whl (23.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: himon-0.6.1.tar.gz
  • Upload date:
  • Size: 56.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for himon-0.6.1.tar.gz
Algorithm Hash digest
SHA256 5db129fb5374133ae3b31e84a1dd448535ee09969e08f71eee83c8f9299db8a7
MD5 497dbb40a826e19f39a9dcd4865286f1
BLAKE2b-256 1ddfda2ddb1e69b24a5bfee8a3cb83d8bef46ba73cfcf45bc6d978da68dd680a

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: himon-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 23.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for himon-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dda2301de9aee1e9342cb2f94b5c032028be110c797338eb5380cd664dadf731
MD5 98bd329379854cefa526247bf193fcca
BLAKE2b-256 087654ebfbd17ccc696e0876aa6b87aeac225b1806667bcd3fd2e05233f01121

See more details on using hashes here.

Provenance

Supported by

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