A Python wrapper for League of Comic Geeks.
Project description
Himon
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
Project details
Release history Release notifications | RSS feed
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)
Built Distribution
himon-0.7.0-py3-none-any.whl
(12.9 kB
view details)
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
Algorithm | Hash digest | |
---|---|---|
SHA256 |
46336333bfc82176754116df6131b2039185eb3642babd73dffc401b3e34b7c9
|
|
MD5 |
9d4a65a0000ab6f3a1d684d544143850
|
|
BLAKE2b-256 |
b583b3cbcf1a80e07b9b6d9f40a725f141e511f7db9f2e5db902650087b0d00a
|
Provenance
The following attestation bundles were made for himon-0.7.0.tar.gz
:
Publisher:
publishing.yaml
on Buried-In-Code/Himon
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1
-
Predicate type:
https://docs.pypi.org/attestations/publish/v1
-
Subject name:
himon-0.7.0.tar.gz
-
Subject digest:
46336333bfc82176754116df6131b2039185eb3642babd73dffc401b3e34b7c9
- Sigstore transparency entry: 165066420
- Sigstore integration time:
-
Permalink:
Buried-In-Code/Himon@e2c1cac3cdfa8c86b3b9ced6225f6414142d2676
-
Branch / Tag:
refs/tags/0.7.0
- Owner: https://github.com/Buried-In-Code
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com
-
Runner Environment:
github-hosted
-
Publication workflow:
publishing.yaml@e2c1cac3cdfa8c86b3b9ced6225f6414142d2676
-
Trigger Event:
push
-
Statement type:
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
Algorithm | Hash digest | |
---|---|---|
SHA256 |
8d9461fa222cdee5aa4e7f3f7bd35b6f5318967633751b44c74b776a14921528
|
|
MD5 |
27532acbb8cf7dda59c6fd53a50eb8e9
|
|
BLAKE2b-256 |
61320e1fd0f7b328069bb7ccde592dc966df678ce45978bfab298de1b5bf592b
|
Provenance
The following attestation bundles were made for himon-0.7.0-py3-none-any.whl
:
Publisher:
publishing.yaml
on Buried-In-Code/Himon
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1
-
Predicate type:
https://docs.pypi.org/attestations/publish/v1
-
Subject name:
himon-0.7.0-py3-none-any.whl
-
Subject digest:
8d9461fa222cdee5aa4e7f3f7bd35b6f5318967633751b44c74b776a14921528
- Sigstore transparency entry: 165066422
- Sigstore integration time:
-
Permalink:
Buried-In-Code/Himon@e2c1cac3cdfa8c86b3b9ced6225f6414142d2676
-
Branch / Tag:
refs/tags/0.7.0
- Owner: https://github.com/Buried-In-Code
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com
-
Runner Environment:
github-hosted
-
Publication workflow:
publishing.yaml@e2c1cac3cdfa8c86b3b9ced6225f6414142d2676
-
Trigger Event:
push
-
Statement type: