mokkari


Namemokkari JSON
Version 3.6.0 PyPI version JSON
download
home_pageNone
SummaryPython wrapper for Metron API
upload_time2025-01-20 20:03:07
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/40/cd/a184f991a6f005a3bc4efa22352346ef7af31b5bd09ddc508eaaa26fcd0a/mokkari-3.6.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.6.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": "b8aa54576de7be0c0d3369ed00d6aaee6b62b18db57c340b00eb63e14d15df1d",
                "md5": "3e7a96aea63488a026717876e3c28f8d",
                "sha256": "c2e94105b672f324280cc99c327319edd74b691450b738ce51124ebcfc58d07f"
            },
            "downloads": -1,
            "filename": "mokkari-3.6.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3e7a96aea63488a026717876e3c28f8d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.10",
            "size": 28743,
            "upload_time": "2025-01-20T20:03:06",
            "upload_time_iso_8601": "2025-01-20T20:03:06.290120Z",
            "url": "https://files.pythonhosted.org/packages/b8/aa/54576de7be0c0d3369ed00d6aaee6b62b18db57c340b00eb63e14d15df1d/mokkari-3.6.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "40cda184f991a6f005a3bc4efa22352346ef7af31b5bd09ddc508eaaa26fcd0a",
                "md5": "a966ee81761d847939041c576e536626",
                "sha256": "b685cbc4cb66f29c11877f03b50da92644e33678973378c684363054966470fa"
            },
            "downloads": -1,
            "filename": "mokkari-3.6.0.tar.gz",
            "has_sig": false,
            "md5_digest": "a966ee81761d847939041c576e536626",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.10",
            "size": 283828,
            "upload_time": "2025-01-20T20:03:07",
            "upload_time_iso_8601": "2025-01-20T20:03:07.781009Z",
            "url": "https://files.pythonhosted.org/packages/40/cd/a184f991a6f005a3bc4efa22352346ef7af31b5bd09ddc508eaaa26fcd0a/mokkari-3.6.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-01-20 20:03:07",
    "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.41001s