mokkari


Namemokkari JSON
Version 3.5.0 PyPI version JSON
download
home_pageNone
SummaryPython wrapper for Metron API
upload_time2024-12-17 14:09:17
maintainerBrian Pepple
docs_urlNone
authorBrian Pepple
requires_python<4.0,>=3.10
licenseGPL-3.0-or-later
keywords comics comic metadata api rest
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Mokkari

[![PyPI - Version](https://img.shields.io/pypi/v/mokkari.svg)](https://pypi.org/project/mokkari/)
[![PyPI - Python](https://img.shields.io/pypi/pyversions/mokkari.svg)](https://pypi.org/project/mokkari/)
[![Ruff](https://img.shields.io/badge/Linter-Ruff-informational)](https://github.com/charliermarsh/ruff)
[![Pre-Commit](https://img.shields.io/badge/Pre--Commit-Enabled-informational?logo=pre-commit)](https://github.com/pre-commit/pre-commit)

A python wrapper for the [Metron Comic Book Database](https://metron.cloud) API.

## Installation

```bash
pip install mokkari
```

## Example Usage

```python
import mokkari

# Your own config file to keep your credentials secret
from config import username, password

m = mokkari.api(username, password)

# Get all Marvel comics for the week of 2021-06-07
this_week = m.issues_list({"store_date_range_after": "2021-06-07", "store_date_range_before": "2021-06-13", "publisher_name": "marvel"})

# Print the results
for i in this_week:
    print(f"{i.id} {i.issue_name}")

# Retrieve the detail for an individual issue
    asm_68 = m.issue(31660)

# Print the issue Description
print(asm_68.desc)
```

## Documentation

[Read the project documentation](https://mokkari.readthedocs.io/en/stable/?badge=latest)

## Bugs/Requests

Please use the
[GitHub issue tracker](https://github.com/Metron-Project/mokkari/issues) to
submit bugs or request features.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "mokkari",
    "maintainer": "Brian Pepple",
    "docs_url": null,
    "requires_python": "<4.0,>=3.10",
    "maintainer_email": "bdpepple@gmail.com",
    "keywords": "comics, comic, metadata, api, rest",
    "author": "Brian Pepple",
    "author_email": "bdpepple@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/3d/6a/276c537e00af23771031686ee9490c2cb79d1a188a51a051b7068b06b75f/mokkari-3.5.0.tar.gz",
    "platform": null,
    "description": "# Mokkari\n\n[![PyPI - Version](https://img.shields.io/pypi/v/mokkari.svg)](https://pypi.org/project/mokkari/)\n[![PyPI - Python](https://img.shields.io/pypi/pyversions/mokkari.svg)](https://pypi.org/project/mokkari/)\n[![Ruff](https://img.shields.io/badge/Linter-Ruff-informational)](https://github.com/charliermarsh/ruff)\n[![Pre-Commit](https://img.shields.io/badge/Pre--Commit-Enabled-informational?logo=pre-commit)](https://github.com/pre-commit/pre-commit)\n\nA python wrapper for the [Metron Comic Book Database](https://metron.cloud) API.\n\n## Installation\n\n```bash\npip install mokkari\n```\n\n## Example Usage\n\n```python\nimport mokkari\n\n# Your own config file to keep your credentials secret\nfrom config import username, password\n\nm = mokkari.api(username, password)\n\n# Get all Marvel comics for the week of 2021-06-07\nthis_week = m.issues_list({\"store_date_range_after\": \"2021-06-07\", \"store_date_range_before\": \"2021-06-13\", \"publisher_name\": \"marvel\"})\n\n# Print the results\nfor i in this_week:\n    print(f\"{i.id} {i.issue_name}\")\n\n# Retrieve the detail for an individual issue\n    asm_68 = m.issue(31660)\n\n# Print the issue Description\nprint(asm_68.desc)\n```\n\n## Documentation\n\n[Read the project documentation](https://mokkari.readthedocs.io/en/stable/?badge=latest)\n\n## Bugs/Requests\n\nPlease use the\n[GitHub issue tracker](https://github.com/Metron-Project/mokkari/issues) to\nsubmit bugs or request features.\n",
    "bugtrack_url": null,
    "license": "GPL-3.0-or-later",
    "summary": "Python wrapper for Metron API",
    "version": "3.5.0",
    "project_urls": {
        "Bug Tracker": "https://github.com/Metron-Project/mokkari/issues",
        "Homepage": "https://github.com/Metron-Project/mokkari"
    },
    "split_keywords": [
        "comics",
        " comic",
        " metadata",
        " api",
        " rest"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7d099b7ded0dc0bf6dbe9728b1053acc69ecda14bb2c3755f3b80b819f4c96c2",
                "md5": "c0a2ac70ddb0cf6bf53e1624c394c11e",
                "sha256": "dba6b81a0d307f85f65edd0a4ec42478ef3eb2afaa4921950de441d1deea59b7"
            },
            "downloads": -1,
            "filename": "mokkari-3.5.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c0a2ac70ddb0cf6bf53e1624c394c11e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.10",
            "size": 28057,
            "upload_time": "2024-12-17T14:09:16",
            "upload_time_iso_8601": "2024-12-17T14:09:16.458579Z",
            "url": "https://files.pythonhosted.org/packages/7d/09/9b7ded0dc0bf6dbe9728b1053acc69ecda14bb2c3755f3b80b819f4c96c2/mokkari-3.5.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3d6a276c537e00af23771031686ee9490c2cb79d1a188a51a051b7068b06b75f",
                "md5": "30e1498cbcc7b0be6fcb074d899b69f9",
                "sha256": "6b253d2efa3728146de5bd3e5aea9415a34c1d348b58e809a0fbbad802ef5994"
            },
            "downloads": -1,
            "filename": "mokkari-3.5.0.tar.gz",
            "has_sig": false,
            "md5_digest": "30e1498cbcc7b0be6fcb074d899b69f9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.10",
            "size": 268511,
            "upload_time": "2024-12-17T14:09:17",
            "upload_time_iso_8601": "2024-12-17T14:09:17.678891Z",
            "url": "https://files.pythonhosted.org/packages/3d/6a/276c537e00af23771031686ee9490c2cb79d1a188a51a051b7068b06b75f/mokkari-3.5.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-17 14:09:17",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Metron-Project",
    "github_project": "mokkari",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "mokkari"
}
        
Elapsed time: 0.38792s