esak - Python wrapper for Marvel API
This project is a fork of marvelous with the goal of supporting the full Marvel API.
Installation
pip install --user esak
Example Usage
import esak
# Your own config file to keep your private key local and secret
from config import public_key, private_key
# Authenticate with Marvel, with keys I got from http://developer.marvel.com/
m = esak.api(public_key, private_key)
# Get all comics from this week, sorted alphabetically by title
pulls = sorted(m.comics_list({
'format': "comic",
'formatType': "comic",
'noVariants': True,
'dateDescriptor': "thisWeek",
'limit': 100}),
key=lambda comic: comic.title)
for comic in pulls:
# Write a line to the file with the name of the issue, and the id of the series
print(f'{comic.title} (series #{comic.series.id})')
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
PUBLIC_KEYandPRIVATE_KEYto your Marvel API keys. The responses will be cached in thetests/testing_mock.sqlitedatabase without your keys.
Socials
Metadata
Release files for esak 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| esak-2.0.0.tar.gz | 336.5 kB | Without provenance | Details for esak-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| esak-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for esak-2.0.0-py3-none-any.whl |
Total release size: 353.5 kB
Release files / esak-2.0.0.tar.gz
| Download URL | esak-2.0.0.tar.gz |
|---|---|
| Size | 336.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3caeff8b6b69c9c2ac27990623dad4e868f631ecdcfdbb9b7c34733407cf7256
|
|
BLAKE2b-256 checksum How to use checksums |
ec438548361d99e50883c96813e5d8a4b954ef54baf236ea28039a1fa13a9b43
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.4 CPython/3.12.1 Linux/6.5.0-1025-azure
|
Release files / esak-2.0.0-py3-none-any.whl
| Download URL | esak-2.0.0-py3-none-any.whl |
|---|---|
| Size | 17.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
84d838d6c4472f4608169e634a330b3c375e7bbbbe2ffb804363e2608850b1b4
|
|
BLAKE2b-256 checksum How to use checksums |
3754da4abf304f5bd0e8efc3c5c6923fa53c750dd05207eecb8ec7445c95958c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.4 CPython/3.12.1 Linux/6.5.0-1025-azure
|
Security for esak 2.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.