Skip to main content

A Python wrapper for the Grand Comics Database API.

Project description

Grayven

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

pre-commit Ruff

Linting Testing Publishing Read the Docs

A Python wrapper for the Grand Comics Database API.

Installation

pip install Grayven

Example Usage

from grayven.cache import SQLiteCache
from grayven.grand_comics_database import GrandComicsDatabase

session = GrandComicsDatabase(email="email@example.com", password="password", cache=SQLiteCache())

# Search for Series
results = session.list_series(name="Green Lantern")
for series in results:
    print(f"{series.id} | {series.name} ({series.year_began})")

# Get an issue's release date
result = session.get_issue(id=242700)
print(result.on_sale_date)

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 variables GCD_EMAIL to your GCD email address and GCD_PASSWORD to your GCD password. The responses will be cached in the tests/cache.sqlite database without your credentials.

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

grayven-0.5.0.tar.gz (182.6 kB view details)

Uploaded Source

Built Distribution

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

grayven-0.5.0-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

Details for the file grayven-0.5.0.tar.gz.

File metadata

  • Download URL: grayven-0.5.0.tar.gz
  • Upload date:
  • Size: 182.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for grayven-0.5.0.tar.gz
Algorithm Hash digest
SHA256 7c2ff896ee36b44577160d5b01cf54fe25f5cccf2cdac6f6e511d612ee84756f
MD5 4c9c562a2634a08b16c6ed120a7c0e9f
BLAKE2b-256 359fd9f08ea91b99b438e4798fef8803bf6010d1b5206b273ac171c0af0cd945

See more details on using hashes here.

Provenance

The following attestation bundles were made for grayven-0.5.0.tar.gz:

Publisher: publishing.yaml on Metron-Project/Grayven

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

File details

Details for the file grayven-0.5.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for grayven-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9a31fdc53d86635ea687eb5e26f38e6d3f433bbfc2a1aafc9da5e1e9f3e798d1
MD5 ad8d6aeb6eade14e82a6cd3495fd2309
BLAKE2b-256 95435fc56cf439050607f064328f928ba37d239a52840b7528cdab6b71dee22b

See more details on using hashes here.

Provenance

The following attestation bundles were made for grayven-0.5.0-py3-none-any.whl:

Publisher: publishing.yaml on Metron-Project/Grayven

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