Metadata-Version: 2.1
Name: my-ip
Version: 0.2.0
Summary: Get your internet IP. Fast.
Home-page: https://github.com/lainiwa/my-ip
License: MIT
Author: lainiwa
Author-email: kirrik96@gmail.com
Requires-Python: >=3.7,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Requires-Dist: asks (>=2.3,<3.0)
Requires-Dist: click (>=7.0,<8.0)
Requires-Dist: importlib_metadata (>=0.23.0,<0.24.0)
Requires-Dist: loguru (>=0.3.2,<0.4.0)
Requires-Dist: pydantic (>=1.0,<2.0)
Requires-Dist: pyxdg (>=0.26.0,<0.27.0)
Requires-Dist: toml (>=0.10.0,<0.11.0)
Requires-Dist: trio (>=0.12.1,<0.13.0)
Project-URL: Repository, https://github.com/lainiwa/my-ip
Description-Content-Type: text/x-rst


============================================
``my-ip``: Get your public IP address. Fast.
============================================

|Codacy Badge|
|Black Badge|
|Dependabot Badge|

.. |Codacy Badge| image:: https://api.codacy.com/project/badge/Grade/683afc5412064a7da45b9b50ccd79975
   :target: https://www.codacy.com/manual/lainiwa/my-ip?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=lainiwa/my-ip&amp;utm_campaign=Badge_Grade
   :alt: Code quality

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

.. |Dependabot Badge| image:: https://api.dependabot.com/badges/status?host=github&repo=lainiwa/my-ip
   :target: https://dependabot.com
   :alt: Dependabot


.. short-description

``my-ip`` is a simple CLI script,
that finds out your public IP
by asynchronously requesting multiple services.

.. short-description-end



Installation and Usage
======================

.. installation-and-usage

``my-ip`` is a Python-only package `hosted on PyPI`_.
The recommended installation method is `pip <https://pip.pypa.io/en/stable/>`_-installing it:

.. _hosted on PyPI: https://pypi.org/project/my_ip/

.. code-block:: console

   $ pip install my_ip


Now run it to get your public address!

.. code-block:: console

   $ mip
   2019-10-12 08:19:58.070 | INFO     | my_ip.console:cli:76 - Standard config not found. Creating new
   First run.
   Installing config to `/home/lain/.config/my_ip/config.toml`... Done!
   185.xxx.xxx.xxx


As you can see, the script installed the configuration script on the first run.
The second run will be less verbose though:

.. code-block:: console

   $ mip
   185.xxx.xxx.xxx

.. installation-and-usage-end



Getting Help
============

Have a question? Spotted a bug? File a `new issue`_!

.. _new issue: https://github.com/lainiwa/my-ip/issues/new

