Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/0kalekale/ipaddr
- Owner: 0kalekale
- Created: 2021-01-14T15:53:00.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-14T18:06:49.000Z (almost 4 years ago)
- Last Synced: 2023-09-01T14:14:00.211Z (over 1 year ago)
- Language: Rust
- Size: 11.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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()
```