Metadata-Version: 2.1
Name: restcountries-cli
Version: 0.0.1
Summary: Client for rest countries API to access data
Home-page: https://github.com/martingaldeca/restcountries_cli
License: MIT
Keywords: restcountries,country,countries,data,api
Author: martingaldeca
Author-email: martingaldeca@gmail.com
Maintainer: martingaldeca
Maintainer-email: martingaldeca@gmail.com
Requires-Python: >=3.9,<4.0.0
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Utilities
Classifier: Typing :: Typed
Requires-Dist: pydantic (==2.1.1)
Requires-Dist: requests-cache (==1.1.0)
Project-URL: Repository, https://github.com/martingaldeca/restcountries_cli
Description-Content-Type: text/x-rst

========================
Restcountries_cli Readme
========================


.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
    :target: https://github.com/psf/black
    :alt: Black

.. image:: https://img.shields.io/badge/types-Mypy-202235.svg?logo=python
    :target: https://github.com/python/mypy
    :alt: Mypy

.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json
    :target: https://github.com/astral-sh/ruff
    :alt: Ruff

.. image:: https://img.shields.io/badge/Sourcery-enabled-edb641
    :target: https://sourcery.ai
    :alt: Sourcery

.. image:: https://github.com/martingaldeca/restcountries_cli/actions/workflows/linters.yml/badge.svg?event=push
    :target: https://github.com/martingaldeca/restcountries_cli/actions/workflows/linters.yml
    :alt: Linters

.. image:: https://github.com/martingaldeca/restcountries_cli/actions/workflows/tests.yml/badge.svg?event=push
    :target: https://github.com/martingaldeca/restcountries_cli/actions
    :alt: Tests

.. image:: https://coveralls.io/repos/github/martingaldeca/restcountries_cli/badge.svg?branch=main
    :target: https://coveralls.io/github/martingaldeca/restcountries_cli?branch=main
    :alt: Coverage

.. image:: https://img.shields.io/pypi/v/restcountries-cli.svg
    :target: https://pypi.org/project/restcountries-cli/
    :alt: PyPI

.. image:: https://readthedocs.org/projects/restcountries-cli/badge/?version=latest
    :target: https://restcountries-cli.readthedocs.io/en/latest/?badge=latest
    :alt: Documentation Status

.. image:: https://img.shields.io/pypi/pyversions/restcountries-cli?logo=python
    :target: https://img.shields.io/pypi/pyversions/restcountries-cli?logo=python
    :alt: Python version

.. image:: https://img.shields.io/badge/license-MIT-202235.svg?logo=python
    :target: https://spdx.org/licenses/
    :alt: License

Restcountries cli is a python client to encapsulate the calls to restcountries API.

The main difference with other restcountries clients is that the calls are cached.

Also all the countries are returned as pydantic models, so the data navigation is easier.

Yo can check the code in `GitHub <https://github.com/martingaldeca/restcountries_cli>`_ or follow the `official documentation <https://restcountries-cli.readthedocs.io/en/latest/>`_.
