An open API service indexing awesome lists of open source software.

https://github.com/zeroniki/python-ip


https://github.com/zeroniki/python-ip

get-ip-info python python-ip python3 requests requests-library-python

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

          

# Python-IP

This little code prints out IP information (Location and other information)

[![Watch the video](https://img.youtube.com/vi/MrmE9uiGi54/maxresdefault.jpg)](https://youtu.be/MrmE9uiGi54)

-------------------------------


# Starting via terminal (GNU/Linux)

First, let's create a virtual environment in python via the terminal:

```
python3 -m venv venv
```

then run the virtual environment:

```
source venv/bin/activate
```

running the virtual environment download the dependencies:

```
pip install -r requirements.txt
```

-----------------------------------

# Running

Run the main.py code:

```
python3 main.py
```

after the successful execution of the command, you will save the file in .html format - this is the map that you can run in the browser