mokkari


Namemokkari JSON
Version 3.1.0 PyPI version JSON
download
home_pageNone
SummaryPython wrapper for Metron API
upload_time2024-03-30 16:02:17
maintainerBrian Pepple
docs_urlNone
authorBrian Pepple
requires_python<4.0,>=3.10
licenseGPL-3.0-or-later
keywords comics comic metadata
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            =======
Mokkari
=======
.. image:: https://img.shields.io/pypi/v/mokkari.svg?logo=PyPI&label=Version&style=flat-square   :alt: PyPI
    :target: https://pypi.org/project/mokkari

.. image:: https://img.shields.io/pypi/pyversions/mokkari.svg?logo=Python&label=Python-Versions&style=flat-square
    :target: https://pypi.org/project/mokkari

.. image:: https://img.shields.io/github/license/bpepple/mokkari
    :target: https://opensource.org/licenses/GPL-3.0

.. image:: https://img.shields.io/badge/Code%20Style-Black-000000.svg?style=flat-square
    :target: https://github.com/psf/black

Quick Description
-----------------
A python wrapper for the metron.cloud_ API.

.. _metron.cloud: https://metron.cloud

Installation
------------

PyPi
~~~~

.. code:: bash

  $ pip3 install --user mokkari

Example Usage
-------------
.. code-block:: 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/latest/>`_

Bugs/Requests
-------------
  
Please use the `GitHub issue tracker <https://github.com/Metron-Project/mokkari/issues>`_ to submit bugs or request features.

License
-------

This project is licensed under the `GPLv3 License <LICENSE>`_.

            

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",
    "author": "Brian Pepple",
    "author_email": "bdpepple@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/ee/4b/0ea9affa0330aa7178a826ccd84601de45e9b125dfc8bd68936f3026dc6b/mokkari-3.1.0.tar.gz",
    "platform": null,
    "description": "=======\nMokkari\n=======\n.. image:: https://img.shields.io/pypi/v/mokkari.svg?logo=PyPI&label=Version&style=flat-square   :alt: PyPI\n    :target: https://pypi.org/project/mokkari\n\n.. image:: https://img.shields.io/pypi/pyversions/mokkari.svg?logo=Python&label=Python-Versions&style=flat-square\n    :target: https://pypi.org/project/mokkari\n\n.. image:: https://img.shields.io/github/license/bpepple/mokkari\n    :target: https://opensource.org/licenses/GPL-3.0\n\n.. image:: https://img.shields.io/badge/Code%20Style-Black-000000.svg?style=flat-square\n    :target: https://github.com/psf/black\n\nQuick Description\n-----------------\nA python wrapper for the metron.cloud_ API.\n\n.. _metron.cloud: https://metron.cloud\n\nInstallation\n------------\n\nPyPi\n~~~~\n\n.. code:: bash\n\n  $ pip3 install --user mokkari\n\nExample Usage\n-------------\n.. code-block:: python\n\n    import mokkari\n\n    # Your own config file to keep your credentials secret\n    from config import username, password\n\n    m = mokkari.api(username, password)\n\n    # Get all Marvel comics for the week of 2021-06-07\n    this_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\n    for 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\n    print(asm_68.desc)\n  \nDocumentation\n-------------\n- `Read the project documentation <https://mokkari.readthedocs.io/en/latest/>`_\n\nBugs/Requests\n-------------\n  \nPlease use the `GitHub issue tracker <https://github.com/Metron-Project/mokkari/issues>`_ to submit bugs or request features.\n\nLicense\n-------\n\nThis project is licensed under the `GPLv3 License <LICENSE>`_.\n",
    "bugtrack_url": null,
    "license": "GPL-3.0-or-later",
    "summary": "Python wrapper for Metron API",
    "version": "3.1.0",
    "project_urls": {
        "Bug Tracker": "https://github.com/Metron-Project/mokkari/issues",
        "Homepage": "https://github.com/Metron-Project/mokkari"
    },
    "split_keywords": [
        "comics",
        " comic",
        " metadata"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f8c8b444aad56e51b7cfc3a3ddde8c7cbb1da50c81c9e3cf1ebc60242270ccb9",
                "md5": "5a47338a59048b67d7d6210514874b06",
                "sha256": "a338b2dd4097e627d349b9a066c81b55402307cb7cfa85cf76cedfe777f16aa1"
            },
            "downloads": -1,
            "filename": "mokkari-3.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "5a47338a59048b67d7d6210514874b06",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.10",
            "size": 26991,
            "upload_time": "2024-03-30T16:02:15",
            "upload_time_iso_8601": "2024-03-30T16:02:15.832519Z",
            "url": "https://files.pythonhosted.org/packages/f8/c8/b444aad56e51b7cfc3a3ddde8c7cbb1da50c81c9e3cf1ebc60242270ccb9/mokkari-3.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ee4b0ea9affa0330aa7178a826ccd84601de45e9b125dfc8bd68936f3026dc6b",
                "md5": "eb66b83d5a0e80289f9d3f8816a529e6",
                "sha256": "0eb54d89d9bdfe2f1ae3909c46cc00f7b6975fab4e7b8046e307724df3529b71"
            },
            "downloads": -1,
            "filename": "mokkari-3.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "eb66b83d5a0e80289f9d3f8816a529e6",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.10",
            "size": 244315,
            "upload_time": "2024-03-30T16:02:17",
            "upload_time_iso_8601": "2024-03-30T16:02:17.836532Z",
            "url": "https://files.pythonhosted.org/packages/ee/4b/0ea9affa0330aa7178a826ccd84601de45e9b125dfc8bd68936f3026dc6b/mokkari-3.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-30 16:02: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.21349s