Skip to main content

Simyan

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

prek Ruff ty

Linting Testing Publishing Read the Docs

A Python wrapper for the Comicvine API.

Installation

pip install Simyan

Example Usage

from datetime import timedelta
from pathlib import Path

from simyan.comicvine import Comicvine

session = Comicvine(
    api_key="Comicvine API Key",
    cache_path=Path("cache.sqlite"),  # Optional, defaults to ~/.cache/simyan/cache.sqlite
    cache_expiry=timedelta(days=1),  # Optional, defaults to 14 days
    ratelimit_path=Path(
        "ratelimits.sqlite"
    ),  # Optional, defaults to ~/.cache/simyan/ratelimits.sqlite
)

# 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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

simyan-3.1.0.tar.gz (12.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-3.1.0-py3-none-any.whl (32.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: simyan-3.1.0.tar.gz
  • Upload date:
  • Size: 12.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for simyan-3.1.0.tar.gz
Algorithm Hash digest
SHA256 e1d4defcf11a56b281ecc15e25e037148936794f74a3feed3f65bd1ca9c816b0
MD5 13e2d6bde05105540b4715f05cdf53ce
BLAKE2b-256 1f42c4527638102c0213ca589882d2ab65e1e3047aa973fc4962ecebd14b3cc7

See more details on using hashes here.

Provenance

The following attestation bundles were made for simyan-3.1.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-3.1.0-py3-none-any.whl.

File metadata

  • Download URL: simyan-3.1.0-py3-none-any.whl
  • Upload date:
  • Size: 32.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for simyan-3.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d5dfc313104d5df05232f0f72187e073335af7fbc9996fbb7f3b625165ba292e
MD5 8e929d16c70e247e00339c99ce406dd5
BLAKE2b-256 6e02edc527e5a678d70865a08945d0aa0f9886fb529c5277dacd1ce53789459c

See more details on using hashes here.

Provenance

The following attestation bundles were made for simyan-3.1.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.

Release history Release notifications | RSS feed

4.0.0

2 files

This release

3.1.0 This release

2 files

3.0.0

2 files

2.0.0

2 files

1.6.0

2 files

1.5.1

2 files

1.5.0

2 files

1.4.0

2 files

1.3.0

2 files

1.2.2

2 files

1.2.1

2 files

1.2.0

2 files

1.1.0

2 files

1.0.0

2 files

0.14.0

2 files

0.13.0

2 files

0.12.0

2 files

0.11.0

2 files

0.10.0

2 files

0.9.2

2 files

0.9.1

2 files

0.9.0

2 files

0.8.1

2 files

0.8.0

2 files

0.7.4

2 files

0.7.3

2 files

0.7.2

2 files

0.7.1

2 files

0.7.0

2 files

0.6.3

2 files

0.6.2

2 files

0.6.1

2 files

0.6.0

2 files

0.5.2

2 files

0.5.1

2 files

0.5.0

2 files

0.4.3

2 files

0.4.2

2 files

0.4.1

2 files

0.4.0

2 files

0.3.0

2 files

0.2.0

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page