Skip to main content

A client to retrieve new releases of comic books, filterable by publisher and format.

Project description

ComicBot API

Python

Requirements

  • Python 3.9 or above
  • Virtualenv 20.14.1 or above

Project Expectations

  • Client library to get new releases, or releases for a given date.
  • Client can filter by the format of releases e.g. 'single-issue' or by publisher e.g. 'marvel'
  • Client should be straight forward and easy to use by using the KISS model (Keep It Simple Stupid)
  • Cache results where possible as not to hit provider with too many requests for the same data

How to get started

Create a virtual environment

virtualenv -p python3.9 venv

Enter virtual environment

source venv/bin/activate

Install Poetry, the package manager for this project

pip install poetry

Build distribution of project

poetry build

Build artifacts will be located in dist/

Running Unit Tests

Pytest to run all unit tests in test/

pytest

Pytest to run all unit tests and lint code with Pylama

pytest --pylama

Linting

This project strives to keep the code style in line with PEP8. To test the project for compliance with PEP8, I use Pylama

pip install pylama
pylama comicbot_api

Deployment

To deploy, one must obtain an API key from the public pypi (https://pypi.org/project/comicbot-api/) and add it to the local poetry configuration with the following command:

poetry config pypi-token.pypi <pypi-token>

Once we have a valid token, we can push distributions to PyPi.

poetry build
poertry publish

or do both with

poetry publish --build

Roadmap

  • Database to cache results from source
  • Sphinx Automatic Documentation Creation

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

comicbot_api-0.1.18.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

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

comicbot_api-0.1.18-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file comicbot_api-0.1.18.tar.gz.

File metadata

  • Download URL: comicbot_api-0.1.18.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for comicbot_api-0.1.18.tar.gz
Algorithm Hash digest
SHA256 d6a10a7f287221da0be97ae28a4d3380fc4f4cb0abb9a7cbf9f7776085815c61
MD5 285dd1349988055ec4fa021d2d1fdfcb
BLAKE2b-256 e5ca3a0f34f45a0a6aa0c4ab82eeeb9f18c99cdbc4b81ecb88d4b2a025306ee8

See more details on using hashes here.

Provenance

The following attestation bundles were made for comicbot_api-0.1.18.tar.gz:

Publisher: publish.yml on aaronsteed/comicbot-api

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

File details

Details for the file comicbot_api-0.1.18-py3-none-any.whl.

File metadata

  • Download URL: comicbot_api-0.1.18-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for comicbot_api-0.1.18-py3-none-any.whl
Algorithm Hash digest
SHA256 07113b7a8250203d2a3aad5666bcd030dc626f7b1a290f6dbed1ffe40893a33f
MD5 7ae2f68b077cfc8472367c33ee9a9b04
BLAKE2b-256 3f676d35b4b12f00f6c2386cb8499f31474d44181ad572bb21d0eeb02edc0125

See more details on using hashes here.

Provenance

The following attestation bundles were made for comicbot_api-0.1.18-py3-none-any.whl:

Publisher: publish.yml on aaronsteed/comicbot-api

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