Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/0kalekale/ipaddr

simple python module to get public ip, implemented in rust
https://github.com/0kalekale/ipaddr

Last synced: 22 days ago
JSON representation

simple python module to get public ip, implemented in rust

Awesome Lists containing this project

README

        

## build ![CI](https://github.com/0kalekale/ipaddr/workflows/CI/badge.svg)

```
python3 setup.py install --user
```

## build requirements

- rustc
- cargo
- python3-dev or python3-devel

## install from per built binary
```
wget https://github.com/0kalekale/ipaddr/releases/download/0.1.0/ipaddr-0.1.0-py3.8-linux-x86_64.egg
pip3 install ipaddr-0.1.0-py3.8-linux-x86_64.egg
```

## using
```py
import ipaddr
ip = ipaddr.getip()
```