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

Linting Testing Publishing Read the Docs

A Python wrapper for the Comicvine API.

Installation

pip install Simyan

Example Usage

from simyan.cache import SQLiteCache
from simyan.comicvine import Comicvine

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-2.0.0.tar.gz (4.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

simyan-2.0.0-py3-none-any.whl (34.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: simyan-2.0.0.tar.gz
  • Upload date:
  • Size: 4.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for simyan-2.0.0.tar.gz
Algorithm Hash digest
SHA256 7d7bcd18b2f67420f3759657f0aa396442005396b8f44dafe89ec71e7707b3a2
MD5 964ea54d5f1f2d58dc5eef503b1e1a50
BLAKE2b-256 98dbb594c8b133cdbc9a541a325fe0d5f03b1c036bf67387e82c3788b80fa540

See more details on using hashes here.

Provenance

The following attestation bundles were made for simyan-2.0.0.tar.gz:

Publisher: publishing.yaml on Metron-Project/Simyan

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: simyan-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 34.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for simyan-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a36974d8aaea92ca650beaab24c16dd723b5f46d12cc4b7789b636b40ed4c129
MD5 1d9bcd138035be3f0c959a197397fd86
BLAKE2b-256 26d3a9511fe64ea5297757c2f71ab3abb629bcb5ad2533ca29ea7b0dbb8ccb6b

See more details on using hashes here.

Provenance

The following attestation bundles were made for simyan-2.0.0-py3-none-any.whl:

Publisher: publishing.yaml on Metron-Project/Simyan

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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