Skip to main content

A Python wrapper for the Comicvine API.

Project description

Simyan

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 the Comicvine API.

Installation

pip install --user 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.list_publishers(params={"filter": "name:DC Comics"})
for publisher in results:
    print(f"{publisher.id} | {publisher.name} - {publisher.site_url}")

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

Documentation

Bugs/Requests

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

Contributing

  • When running a new test for the first time, set the environment variable COMICVINE__API_KEY to your Comicvine API key. The responses will be cached in the tests/cache.sqlite database without your key.

Socials

Social - Matrix 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

simyan-1.3.0.tar.gz (4.1 MB view details)

Uploaded Source

Built Distribution

simyan-1.3.0-py3-none-any.whl (33.8 kB view details)

Uploaded Python 3

File details

Details for the file simyan-1.3.0.tar.gz.

File metadata

  • Download URL: simyan-1.3.0.tar.gz
  • Upload date:
  • Size: 4.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for simyan-1.3.0.tar.gz
Algorithm Hash digest
SHA256 5ed9aacafcfa028e1ff652620ff5fe71453eb26a9990e1670d50c8c34b469f2c
MD5 90abe7f105991e59b5eaf520b333a154
BLAKE2b-256 2c7b322fa9224bd657ad65a7960a499f4102b15230122026f26cec8870e07c6c

See more details on using hashes here.

File details

Details for the file simyan-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: simyan-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 33.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for simyan-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9cf18d4254d1640cd4167e6984120dcf681a6c3678e6ea9ee7bc4e2f4cb67898
MD5 05f1df54169e6242aeefe632a61ea49d
BLAKE2b-256 f1de316584c7c3b96749838d19d7bdac2bbc2a4750c0b2ab2ac54947e1c62ce9

See more details on using hashes here.

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