A client to retrieve new releases of comic books, filterable by publisher and format.
Project description
ComicBot API
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d6a10a7f287221da0be97ae28a4d3380fc4f4cb0abb9a7cbf9f7776085815c61
|
|
| MD5 |
285dd1349988055ec4fa021d2d1fdfcb
|
|
| BLAKE2b-256 |
e5ca3a0f34f45a0a6aa0c4ab82eeeb9f18c99cdbc4b81ecb88d4b2a025306ee8
|
Provenance
The following attestation bundles were made for comicbot_api-0.1.18.tar.gz:
Publisher:
publish.yml on aaronsteed/comicbot-api
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
comicbot_api-0.1.18.tar.gz -
Subject digest:
d6a10a7f287221da0be97ae28a4d3380fc4f4cb0abb9a7cbf9f7776085815c61 - Sigstore transparency entry: 171980474
- Sigstore integration time:
-
Permalink:
aaronsteed/comicbot-api@3d249d43542759589958977bbc26222ef8cc02fb -
Branch / Tag:
refs/tags/v0.1.18 - Owner: https://github.com/aaronsteed
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@3d249d43542759589958977bbc26222ef8cc02fb -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
07113b7a8250203d2a3aad5666bcd030dc626f7b1a290f6dbed1ffe40893a33f
|
|
| MD5 |
7ae2f68b077cfc8472367c33ee9a9b04
|
|
| BLAKE2b-256 |
3f676d35b4b12f00f6c2386cb8499f31474d44181ad572bb21d0eeb02edc0125
|
Provenance
The following attestation bundles were made for comicbot_api-0.1.18-py3-none-any.whl:
Publisher:
publish.yml on aaronsteed/comicbot-api
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
comicbot_api-0.1.18-py3-none-any.whl -
Subject digest:
07113b7a8250203d2a3aad5666bcd030dc626f7b1a290f6dbed1ffe40893a33f - Sigstore transparency entry: 171980476
- Sigstore integration time:
-
Permalink:
aaronsteed/comicbot-api@3d249d43542759589958977bbc26222ef8cc02fb -
Branch / Tag:
refs/tags/v0.1.18 - Owner: https://github.com/aaronsteed
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@3d249d43542759589958977bbc26222ef8cc02fb -
Trigger Event:
push
-
Statement type: