Skip to main content

A Python wrapper for the Comicvine API.

Project description

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)

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

Simyan-0.11.0.tar.gz (2.5 MB view hashes)

Uploaded Source

Built Distribution

simyan-0.11.0-py3-none-any.whl (31.4 kB view hashes)

Uploaded Python 3

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