Simyan

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

Black Flake8 Pre-Commit

Github - Contributors

Read the Docs Github Action - Code Analysis Github Action - Testing

A Python wrapper for the Comicvine API.

Installation

Simyan requires >= 3.7.

Installing/Upgrading from PyPI

To install the latest version from PyPI:

$ pip3 install -U --user simyan

or via poetry:

$ poetry install simyan

Example Usage

from simyan.comicvine import Comicvine
from simyan.sqlite_cache import SQLiteCache

session = Comicvine(api_key="ComicVine API Key", cache=SQLiteCache())

# Search for Publisher
results = session.publisher_list(params={"filter": "name:DC Comics"})
for publisher in results:
    print(f"{publisher.publisher_id} | {publisher.name} - {publisher.site_url}")

# Get details for a Volume
result = session.volume(volume_id=26266)
print(result.summary)

Notes

Big thanks to Mokkari for the inspiration and template for this project.

Who or what is Simyan?

Simyan along with his partner Mokkari, are the diminutive proprietors of the Evil Factory, an evil version of Project Cadmus created by Darkseid and his elite.

More details at Simyan (New Earth)