suxitunnel 0.1.0__py3-none-any.whl → 0.1.1__py3-none-any.whl
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.
- PKG-INFO +16 -16
- README.md +11 -11
- pyproject.toml +5 -5
- {suxitunnel-0.1.0.dist-info → suxitunnel-0.1.1.dist-info}/METADATA +16 -16
- {suxitunnel-0.1.0.dist-info → suxitunnel-0.1.1.dist-info}/RECORD +7 -7
- {suxitunnel-0.1.0.dist-info → suxitunnel-0.1.1.dist-info}/WHEEL +0 -0
- {suxitunnel-0.1.0.dist-info → suxitunnel-0.1.1.dist-info}/licenses/LICENSE +0 -0
PKG-INFO
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: suxitunnel
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: A simple Python library to expose local servers using Cloudflare Tunnel
|
|
5
|
-
Project-URL: Homepage, https://github.com/sadwx/
|
|
6
|
-
Project-URL: Repository, https://github.com/sadwx/
|
|
7
|
-
Project-URL: Issues, https://github.com/sadwx/
|
|
8
|
-
Project-URL: Documentation, https://github.com/sadwx/
|
|
5
|
+
Project-URL: Homepage, https://github.com/sadwx/suxitunnel
|
|
6
|
+
Project-URL: Repository, https://github.com/sadwx/suxitunnel
|
|
7
|
+
Project-URL: Issues, https://github.com/sadwx/suxitunnel/issues
|
|
8
|
+
Project-URL: Documentation, https://github.com/sadwx/suxitunnel#readme
|
|
9
9
|
Author-email: Simon <simon@suxi.world>
|
|
10
10
|
License-Expression: MIT
|
|
11
11
|
License-File: LICENSE
|
|
@@ -21,7 +21,7 @@ Requires-Python: >=3.14
|
|
|
21
21
|
Requires-Dist: requests>=2.32.0
|
|
22
22
|
Description-Content-Type: text/markdown
|
|
23
23
|
|
|
24
|
-
#
|
|
24
|
+
# suxitunnel
|
|
25
25
|
|
|
26
26
|
A simple Python library to expose your local server to the internet using Cloudflare's infrastructure.
|
|
27
27
|
|
|
@@ -30,13 +30,13 @@ Inspired by [localtunnel-py](https://github.com/gweidart/localtunnel-py) but usi
|
|
|
30
30
|
## Installation
|
|
31
31
|
|
|
32
32
|
```bash
|
|
33
|
-
pip install
|
|
33
|
+
pip install suxitunnel
|
|
34
34
|
```
|
|
35
35
|
|
|
36
36
|
## Quick Start
|
|
37
37
|
|
|
38
38
|
```python
|
|
39
|
-
from
|
|
39
|
+
from suxitunnel import Tunnel
|
|
40
40
|
|
|
41
41
|
# Expose local port 8000
|
|
42
42
|
tunnel = Tunnel(8000)
|
|
@@ -63,7 +63,7 @@ That's it! No configuration, no authentication, no manual setup.
|
|
|
63
63
|
### Basic Usage
|
|
64
64
|
|
|
65
65
|
```python
|
|
66
|
-
from
|
|
66
|
+
from suxitunnel import Tunnel
|
|
67
67
|
|
|
68
68
|
tunnel = Tunnel(8000)
|
|
69
69
|
print(tunnel.url) # https://random-name.trycloudflare.com
|
|
@@ -76,7 +76,7 @@ tunnel.close() # Close when done
|
|
|
76
76
|
### Context Manager (Recommended)
|
|
77
77
|
|
|
78
78
|
```python
|
|
79
|
-
from
|
|
79
|
+
from suxitunnel import Tunnel
|
|
80
80
|
|
|
81
81
|
with Tunnel(8000) as tunnel:
|
|
82
82
|
print(f"Public URL: {tunnel.url}")
|
|
@@ -88,7 +88,7 @@ with Tunnel(8000) as tunnel:
|
|
|
88
88
|
|
|
89
89
|
```python
|
|
90
90
|
from flask import Flask
|
|
91
|
-
from
|
|
91
|
+
from suxitunnel import Tunnel
|
|
92
92
|
import threading
|
|
93
93
|
|
|
94
94
|
app = Flask(__name__)
|
|
@@ -110,7 +110,7 @@ if __name__ == '__main__':
|
|
|
110
110
|
|
|
111
111
|
```python
|
|
112
112
|
from fastapi import FastAPI
|
|
113
|
-
from
|
|
113
|
+
from suxitunnel import Tunnel
|
|
114
114
|
import uvicorn
|
|
115
115
|
|
|
116
116
|
app = FastAPI()
|
|
@@ -191,7 +191,7 @@ tunnel.close()
|
|
|
191
191
|
Convenience function to create a tunnel.
|
|
192
192
|
|
|
193
193
|
```python
|
|
194
|
-
from
|
|
194
|
+
from suxitunnel import open_tunnel
|
|
195
195
|
|
|
196
196
|
tunnel = open_tunnel(8000)
|
|
197
197
|
```
|
|
@@ -225,7 +225,7 @@ Supported platforms:
|
|
|
225
225
|
|
|
226
226
|
## Comparison with Alternatives
|
|
227
227
|
|
|
228
|
-
| Feature |
|
|
228
|
+
| Feature | suxitunnel | localtunnel | ngrok |
|
|
229
229
|
|---------|------------------|-------------|-------|
|
|
230
230
|
| Free tier | ✅ Unlimited | ✅ Yes | ⚠️ Limited |
|
|
231
231
|
| Custom domains | ❌ Random | ❌ Random | 💰 Paid |
|
|
@@ -343,8 +343,8 @@ See the `examples/` directory for complete working examples:
|
|
|
343
343
|
|
|
344
344
|
```bash
|
|
345
345
|
# Clone the repo
|
|
346
|
-
git clone https://github.com/sadwx/
|
|
347
|
-
cd
|
|
346
|
+
git clone https://github.com/sadwx/suxitunnel.git
|
|
347
|
+
cd suxitunnel
|
|
348
348
|
|
|
349
349
|
# Install in development mode
|
|
350
350
|
pip install -e .
|
README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# suxitunnel
|
|
2
2
|
|
|
3
3
|
A simple Python library to expose your local server to the internet using Cloudflare's infrastructure.
|
|
4
4
|
|
|
@@ -7,13 +7,13 @@ Inspired by [localtunnel-py](https://github.com/gweidart/localtunnel-py) but usi
|
|
|
7
7
|
## Installation
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
pip install
|
|
10
|
+
pip install suxitunnel
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## Quick Start
|
|
14
14
|
|
|
15
15
|
```python
|
|
16
|
-
from
|
|
16
|
+
from suxitunnel import Tunnel
|
|
17
17
|
|
|
18
18
|
# Expose local port 8000
|
|
19
19
|
tunnel = Tunnel(8000)
|
|
@@ -40,7 +40,7 @@ That's it! No configuration, no authentication, no manual setup.
|
|
|
40
40
|
### Basic Usage
|
|
41
41
|
|
|
42
42
|
```python
|
|
43
|
-
from
|
|
43
|
+
from suxitunnel import Tunnel
|
|
44
44
|
|
|
45
45
|
tunnel = Tunnel(8000)
|
|
46
46
|
print(tunnel.url) # https://random-name.trycloudflare.com
|
|
@@ -53,7 +53,7 @@ tunnel.close() # Close when done
|
|
|
53
53
|
### Context Manager (Recommended)
|
|
54
54
|
|
|
55
55
|
```python
|
|
56
|
-
from
|
|
56
|
+
from suxitunnel import Tunnel
|
|
57
57
|
|
|
58
58
|
with Tunnel(8000) as tunnel:
|
|
59
59
|
print(f"Public URL: {tunnel.url}")
|
|
@@ -65,7 +65,7 @@ with Tunnel(8000) as tunnel:
|
|
|
65
65
|
|
|
66
66
|
```python
|
|
67
67
|
from flask import Flask
|
|
68
|
-
from
|
|
68
|
+
from suxitunnel import Tunnel
|
|
69
69
|
import threading
|
|
70
70
|
|
|
71
71
|
app = Flask(__name__)
|
|
@@ -87,7 +87,7 @@ if __name__ == '__main__':
|
|
|
87
87
|
|
|
88
88
|
```python
|
|
89
89
|
from fastapi import FastAPI
|
|
90
|
-
from
|
|
90
|
+
from suxitunnel import Tunnel
|
|
91
91
|
import uvicorn
|
|
92
92
|
|
|
93
93
|
app = FastAPI()
|
|
@@ -168,7 +168,7 @@ tunnel.close()
|
|
|
168
168
|
Convenience function to create a tunnel.
|
|
169
169
|
|
|
170
170
|
```python
|
|
171
|
-
from
|
|
171
|
+
from suxitunnel import open_tunnel
|
|
172
172
|
|
|
173
173
|
tunnel = open_tunnel(8000)
|
|
174
174
|
```
|
|
@@ -202,7 +202,7 @@ Supported platforms:
|
|
|
202
202
|
|
|
203
203
|
## Comparison with Alternatives
|
|
204
204
|
|
|
205
|
-
| Feature |
|
|
205
|
+
| Feature | suxitunnel | localtunnel | ngrok |
|
|
206
206
|
|---------|------------------|-------------|-------|
|
|
207
207
|
| Free tier | ✅ Unlimited | ✅ Yes | ⚠️ Limited |
|
|
208
208
|
| Custom domains | ❌ Random | ❌ Random | 💰 Paid |
|
|
@@ -320,8 +320,8 @@ See the `examples/` directory for complete working examples:
|
|
|
320
320
|
|
|
321
321
|
```bash
|
|
322
322
|
# Clone the repo
|
|
323
|
-
git clone https://github.com/sadwx/
|
|
324
|
-
cd
|
|
323
|
+
git clone https://github.com/sadwx/suxitunnel.git
|
|
324
|
+
cd suxitunnel
|
|
325
325
|
|
|
326
326
|
# Install in development mode
|
|
327
327
|
pip install -e .
|
pyproject.toml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "suxitunnel"
|
|
3
|
-
version = "0.1.
|
|
3
|
+
version = "0.1.1"
|
|
4
4
|
description = "A simple Python library to expose local servers using Cloudflare Tunnel"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
license = "MIT"
|
|
@@ -23,10 +23,10 @@ dependencies = [
|
|
|
23
23
|
]
|
|
24
24
|
|
|
25
25
|
[project.urls]
|
|
26
|
-
Homepage = "https://github.com/sadwx/
|
|
27
|
-
Repository = "https://github.com/sadwx/
|
|
28
|
-
Issues = "https://github.com/sadwx/
|
|
29
|
-
Documentation = "https://github.com/sadwx/
|
|
26
|
+
Homepage = "https://github.com/sadwx/suxitunnel"
|
|
27
|
+
Repository = "https://github.com/sadwx/suxitunnel"
|
|
28
|
+
Issues = "https://github.com/sadwx/suxitunnel/issues"
|
|
29
|
+
Documentation = "https://github.com/sadwx/suxitunnel#readme"
|
|
30
30
|
|
|
31
31
|
[build-system]
|
|
32
32
|
requires = ["hatchling"]
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: suxitunnel
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: A simple Python library to expose local servers using Cloudflare Tunnel
|
|
5
|
-
Project-URL: Homepage, https://github.com/sadwx/
|
|
6
|
-
Project-URL: Repository, https://github.com/sadwx/
|
|
7
|
-
Project-URL: Issues, https://github.com/sadwx/
|
|
8
|
-
Project-URL: Documentation, https://github.com/sadwx/
|
|
5
|
+
Project-URL: Homepage, https://github.com/sadwx/suxitunnel
|
|
6
|
+
Project-URL: Repository, https://github.com/sadwx/suxitunnel
|
|
7
|
+
Project-URL: Issues, https://github.com/sadwx/suxitunnel/issues
|
|
8
|
+
Project-URL: Documentation, https://github.com/sadwx/suxitunnel#readme
|
|
9
9
|
Author-email: Simon <simon@suxi.world>
|
|
10
10
|
License-Expression: MIT
|
|
11
11
|
License-File: LICENSE
|
|
@@ -21,7 +21,7 @@ Requires-Python: >=3.14
|
|
|
21
21
|
Requires-Dist: requests>=2.32.0
|
|
22
22
|
Description-Content-Type: text/markdown
|
|
23
23
|
|
|
24
|
-
#
|
|
24
|
+
# suxitunnel
|
|
25
25
|
|
|
26
26
|
A simple Python library to expose your local server to the internet using Cloudflare's infrastructure.
|
|
27
27
|
|
|
@@ -30,13 +30,13 @@ Inspired by [localtunnel-py](https://github.com/gweidart/localtunnel-py) but usi
|
|
|
30
30
|
## Installation
|
|
31
31
|
|
|
32
32
|
```bash
|
|
33
|
-
pip install
|
|
33
|
+
pip install suxitunnel
|
|
34
34
|
```
|
|
35
35
|
|
|
36
36
|
## Quick Start
|
|
37
37
|
|
|
38
38
|
```python
|
|
39
|
-
from
|
|
39
|
+
from suxitunnel import Tunnel
|
|
40
40
|
|
|
41
41
|
# Expose local port 8000
|
|
42
42
|
tunnel = Tunnel(8000)
|
|
@@ -63,7 +63,7 @@ That's it! No configuration, no authentication, no manual setup.
|
|
|
63
63
|
### Basic Usage
|
|
64
64
|
|
|
65
65
|
```python
|
|
66
|
-
from
|
|
66
|
+
from suxitunnel import Tunnel
|
|
67
67
|
|
|
68
68
|
tunnel = Tunnel(8000)
|
|
69
69
|
print(tunnel.url) # https://random-name.trycloudflare.com
|
|
@@ -76,7 +76,7 @@ tunnel.close() # Close when done
|
|
|
76
76
|
### Context Manager (Recommended)
|
|
77
77
|
|
|
78
78
|
```python
|
|
79
|
-
from
|
|
79
|
+
from suxitunnel import Tunnel
|
|
80
80
|
|
|
81
81
|
with Tunnel(8000) as tunnel:
|
|
82
82
|
print(f"Public URL: {tunnel.url}")
|
|
@@ -88,7 +88,7 @@ with Tunnel(8000) as tunnel:
|
|
|
88
88
|
|
|
89
89
|
```python
|
|
90
90
|
from flask import Flask
|
|
91
|
-
from
|
|
91
|
+
from suxitunnel import Tunnel
|
|
92
92
|
import threading
|
|
93
93
|
|
|
94
94
|
app = Flask(__name__)
|
|
@@ -110,7 +110,7 @@ if __name__ == '__main__':
|
|
|
110
110
|
|
|
111
111
|
```python
|
|
112
112
|
from fastapi import FastAPI
|
|
113
|
-
from
|
|
113
|
+
from suxitunnel import Tunnel
|
|
114
114
|
import uvicorn
|
|
115
115
|
|
|
116
116
|
app = FastAPI()
|
|
@@ -191,7 +191,7 @@ tunnel.close()
|
|
|
191
191
|
Convenience function to create a tunnel.
|
|
192
192
|
|
|
193
193
|
```python
|
|
194
|
-
from
|
|
194
|
+
from suxitunnel import open_tunnel
|
|
195
195
|
|
|
196
196
|
tunnel = open_tunnel(8000)
|
|
197
197
|
```
|
|
@@ -225,7 +225,7 @@ Supported platforms:
|
|
|
225
225
|
|
|
226
226
|
## Comparison with Alternatives
|
|
227
227
|
|
|
228
|
-
| Feature |
|
|
228
|
+
| Feature | suxitunnel | localtunnel | ngrok |
|
|
229
229
|
|---------|------------------|-------------|-------|
|
|
230
230
|
| Free tier | ✅ Unlimited | ✅ Yes | ⚠️ Limited |
|
|
231
231
|
| Custom domains | ❌ Random | ❌ Random | 💰 Paid |
|
|
@@ -343,8 +343,8 @@ See the `examples/` directory for complete working examples:
|
|
|
343
343
|
|
|
344
344
|
```bash
|
|
345
345
|
# Clone the repo
|
|
346
|
-
git clone https://github.com/sadwx/
|
|
347
|
-
cd
|
|
346
|
+
git clone https://github.com/sadwx/suxitunnel.git
|
|
347
|
+
cd suxitunnel
|
|
348
348
|
|
|
349
349
|
# Install in development mode
|
|
350
350
|
pip install -e .
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
./.gitignore,sha256=P8LMWLmPLbZx9l9idXHBUuyZgTg2yS72dp3GhiNO-78,420
|
|
2
2
|
./LICENSE,sha256=1QbfFX4K5Hc9fT1l8GK3N8RQEXz4L9HfZKdd8HKthPQ,1053
|
|
3
|
-
./PKG-INFO,sha256=
|
|
4
|
-
./README.md,sha256=
|
|
3
|
+
./PKG-INFO,sha256=xb_pqPCpAOyMw5ISsWb9X5wz5-UZOmeVt5sd7xmU6c4,10325
|
|
4
|
+
./README.md,sha256=OPcn-oYX9cpKIVs0LIna10dL_Y1JbkVy6v7Jjowj-bc,9328
|
|
5
5
|
./__init__.py,sha256=b37S0Mt7B88CPV2j_xJ5VLSqrvMvF-_K-vuSpdmGWFo,223
|
|
6
|
-
./pyproject.toml,sha256=
|
|
6
|
+
./pyproject.toml,sha256=_P3yl2-vojo-8TupPPhw7t5PzQzNmsog9FVPZZReW7c,1298
|
|
7
7
|
./suxitunnel.py,sha256=VmySlgkUAZ_cYfEiZ9_Jun_lBatoA_SgvGa6mITZETY,9662
|
|
8
8
|
./examples/basic_example.py,sha256=H3pYsBoliHwevU07Pgd91mZXEQRII2mwoSzTAso3LXo,1025
|
|
9
9
|
./examples/context_manager.py,sha256=0uWx04VN_7kPwOiMnMuhWA3MCl5kIW-cAV4c7cJov1o,2808
|
|
10
10
|
./examples/fastapi_example.py,sha256=zG4dN7O4DgZr9KLs-xP2PWE1vCBQDd7CRWlaioa85Fw,1353
|
|
11
11
|
./examples/flask_example.py,sha256=aRmfRqGxzp41scbIgRQb3BOj3oa1KKarSYsSHLJCgms,1243
|
|
12
12
|
./examples/multiple_tunnels.py,sha256=6lamM7g0nYKvxwWD5bTcnvVfXg_19eZ_np0bYt5neZA,3228
|
|
13
|
-
suxitunnel-0.1.
|
|
14
|
-
suxitunnel-0.1.
|
|
15
|
-
suxitunnel-0.1.
|
|
16
|
-
suxitunnel-0.1.
|
|
13
|
+
suxitunnel-0.1.1.dist-info/METADATA,sha256=xb_pqPCpAOyMw5ISsWb9X5wz5-UZOmeVt5sd7xmU6c4,10325
|
|
14
|
+
suxitunnel-0.1.1.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
15
|
+
suxitunnel-0.1.1.dist-info/licenses/LICENSE,sha256=1QbfFX4K5Hc9fT1l8GK3N8RQEXz4L9HfZKdd8HKthPQ,1053
|
|
16
|
+
suxitunnel-0.1.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|