getpubip 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- getpubip-0.1.0/PKG-INFO +30 -0
- getpubip-0.1.0/README.md +23 -0
- getpubip-0.1.0/getpubip/__init__.py +1 -0
- getpubip-0.1.0/getpubip/__main__.py +3 -0
- getpubip-0.1.0/getpubip/core.py +4 -0
- getpubip-0.1.0/getpubip.egg-info/PKG-INFO +30 -0
- getpubip-0.1.0/getpubip.egg-info/SOURCES.txt +9 -0
- getpubip-0.1.0/getpubip.egg-info/dependency_links.txt +1 -0
- getpubip-0.1.0/getpubip.egg-info/top_level.txt +1 -0
- getpubip-0.1.0/pyproject.toml +13 -0
- getpubip-0.1.0/setup.cfg +4 -0
getpubip-0.1.0/PKG-INFO
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: getpubip
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Get the public IP address
|
|
5
|
+
Requires-Python: >=3.8
|
|
6
|
+
Description-Content-Type: text/markdown
|
|
7
|
+
|
|
8
|
+
# getpubip
|
|
9
|
+
|
|
10
|
+
Get your public IP address.
|
|
11
|
+
|
|
12
|
+
## Install
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
pip install getpubip
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Usage
|
|
19
|
+
|
|
20
|
+
```python
|
|
21
|
+
from getpubip import get_ip
|
|
22
|
+
|
|
23
|
+
print(get_ip())
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Or from the terminal:
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
python -m getpubip
|
|
30
|
+
```
|
getpubip-0.1.0/README.md
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# getpubip
|
|
2
|
+
|
|
3
|
+
Get your public IP address.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
pip install getpubip
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
```python
|
|
14
|
+
from getpubip import get_ip
|
|
15
|
+
|
|
16
|
+
print(get_ip())
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Or from the terminal:
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
python -m getpubip
|
|
23
|
+
```
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
from .core import get_ip
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: getpubip
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Get the public IP address
|
|
5
|
+
Requires-Python: >=3.8
|
|
6
|
+
Description-Content-Type: text/markdown
|
|
7
|
+
|
|
8
|
+
# getpubip
|
|
9
|
+
|
|
10
|
+
Get your public IP address.
|
|
11
|
+
|
|
12
|
+
## Install
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
pip install getpubip
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Usage
|
|
19
|
+
|
|
20
|
+
```python
|
|
21
|
+
from getpubip import get_ip
|
|
22
|
+
|
|
23
|
+
print(get_ip())
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Or from the terminal:
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
python -m getpubip
|
|
30
|
+
```
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
getpubip
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=61"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "getpubip"
|
|
7
|
+
version = "0.1.0"
|
|
8
|
+
description = "Get the public IP address"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.8"
|
|
11
|
+
|
|
12
|
+
[tool.setuptools]
|
|
13
|
+
packages = ["getpubip"]
|
getpubip-0.1.0/setup.cfg
ADDED