pyproxytools 0.4.3__tar.gz → 0.4.4__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.
Files changed (47) hide show
  1. {pyproxytools-0.4.3 → pyproxytools-0.4.4}/LICENSE +1 -1
  2. {pyproxytools-0.4.3/pyproxytools.egg-info → pyproxytools-0.4.4}/PKG-INFO +18 -18
  3. {pyproxytools-0.4.3 → pyproxytools-0.4.4}/README.md +14 -14
  4. {pyproxytools-0.4.3 → pyproxytools-0.4.4}/pyproject.toml +3 -3
  5. {pyproxytools-0.4.3 → pyproxytools-0.4.4}/pyproxy/__init__.py +1 -1
  6. {pyproxytools-0.4.3 → pyproxytools-0.4.4}/pyproxy/monitoring/web.py +1 -1
  7. {pyproxytools-0.4.3 → pyproxytools-0.4.4/pyproxytools.egg-info}/PKG-INFO +18 -18
  8. {pyproxytools-0.4.3 → pyproxytools-0.4.4}/benchmark/benchmark.py +0 -0
  9. {pyproxytools-0.4.3 → pyproxytools-0.4.4}/benchmark/utils/__init__.py +0 -0
  10. {pyproxytools-0.4.3 → pyproxytools-0.4.4}/benchmark/utils/html.py +0 -0
  11. {pyproxytools-0.4.3 → pyproxytools-0.4.4}/benchmark/utils/req.py +0 -0
  12. {pyproxytools-0.4.3 → pyproxytools-0.4.4}/pyproxy/__main__.py +0 -0
  13. {pyproxytools-0.4.3 → pyproxytools-0.4.4}/pyproxy/handlers/__init__.py +0 -0
  14. {pyproxytools-0.4.3 → pyproxytools-0.4.4}/pyproxy/handlers/client.py +0 -0
  15. {pyproxytools-0.4.3 → pyproxytools-0.4.4}/pyproxy/handlers/http.py +0 -0
  16. {pyproxytools-0.4.3 → pyproxytools-0.4.4}/pyproxy/handlers/https.py +0 -0
  17. {pyproxytools-0.4.3 → pyproxytools-0.4.4}/pyproxy/modules/__init__.py +0 -0
  18. {pyproxytools-0.4.3 → pyproxytools-0.4.4}/pyproxy/modules/cancel_inspect.py +0 -0
  19. {pyproxytools-0.4.3 → pyproxytools-0.4.4}/pyproxy/modules/custom_header.py +0 -0
  20. {pyproxytools-0.4.3 → pyproxytools-0.4.4}/pyproxy/modules/filter.py +0 -0
  21. {pyproxytools-0.4.3 → pyproxytools-0.4.4}/pyproxy/modules/shortcuts.py +0 -0
  22. {pyproxytools-0.4.3 → pyproxytools-0.4.4}/pyproxy/monitoring/__init__.py +0 -0
  23. {pyproxytools-0.4.3 → pyproxytools-0.4.4}/pyproxy/pyproxy.py +0 -0
  24. {pyproxytools-0.4.3 → pyproxytools-0.4.4}/pyproxy/server.py +0 -0
  25. {pyproxytools-0.4.3 → pyproxytools-0.4.4}/pyproxy/utils/__init__.py +0 -0
  26. {pyproxytools-0.4.3 → pyproxytools-0.4.4}/pyproxy/utils/args.py +0 -0
  27. {pyproxytools-0.4.3 → pyproxytools-0.4.4}/pyproxy/utils/config.py +0 -0
  28. {pyproxytools-0.4.3 → pyproxytools-0.4.4}/pyproxy/utils/crypto.py +0 -0
  29. {pyproxytools-0.4.3 → pyproxytools-0.4.4}/pyproxy/utils/http_req.py +0 -0
  30. {pyproxytools-0.4.3 → pyproxytools-0.4.4}/pyproxy/utils/logger.py +0 -0
  31. {pyproxytools-0.4.3 → pyproxytools-0.4.4}/pyproxytools.egg-info/SOURCES.txt +0 -0
  32. {pyproxytools-0.4.3 → pyproxytools-0.4.4}/pyproxytools.egg-info/dependency_links.txt +0 -0
  33. {pyproxytools-0.4.3 → pyproxytools-0.4.4}/pyproxytools.egg-info/entry_points.txt +0 -0
  34. {pyproxytools-0.4.3 → pyproxytools-0.4.4}/pyproxytools.egg-info/requires.txt +0 -0
  35. {pyproxytools-0.4.3 → pyproxytools-0.4.4}/pyproxytools.egg-info/top_level.txt +0 -0
  36. {pyproxytools-0.4.3 → pyproxytools-0.4.4}/requirements.txt +0 -0
  37. {pyproxytools-0.4.3 → pyproxytools-0.4.4}/setup.cfg +0 -0
  38. {pyproxytools-0.4.3 → pyproxytools-0.4.4}/setup.py +0 -0
  39. {pyproxytools-0.4.3 → pyproxytools-0.4.4}/tests/modules/__init__.py +0 -0
  40. {pyproxytools-0.4.3 → pyproxytools-0.4.4}/tests/modules/test_cancel_inspect.py +0 -0
  41. {pyproxytools-0.4.3 → pyproxytools-0.4.4}/tests/modules/test_custom_header.py +0 -0
  42. {pyproxytools-0.4.3 → pyproxytools-0.4.4}/tests/modules/test_filter.py +0 -0
  43. {pyproxytools-0.4.3 → pyproxytools-0.4.4}/tests/modules/test_shortcuts.py +0 -0
  44. {pyproxytools-0.4.3 → pyproxytools-0.4.4}/tests/utils/__init__.py +0 -0
  45. {pyproxytools-0.4.3 → pyproxytools-0.4.4}/tests/utils/test_crypto.py +0 -0
  46. {pyproxytools-0.4.3 → pyproxytools-0.4.4}/tests/utils/test_http_req.py +0 -0
  47. {pyproxytools-0.4.3 → pyproxytools-0.4.4}/tests/utils/test_logger.py +0 -0
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2025 6C656C65
3
+ Copyright (c) 2025 pyproxytools
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,11 +1,11 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyproxytools
3
- Version: 0.4.3
3
+ Version: 0.4.4
4
4
  Summary: Lightweight and fast python web proxy
5
- Author: 6C656C65
5
+ Author: pyproxytools
6
6
  License-Expression: MIT
7
- Project-URL: Documentation, https://github.com/6C656C65/pyproxy/wiki
8
- Project-URL: Issue tracker, https://github.com/6C656C65/pyproxy/issues
7
+ Project-URL: Documentation, https://github.com/pyproxytools/pyproxy/wiki
8
+ Project-URL: Issue tracker, https://github.com/pyproxytools/pyproxy/issues
9
9
  Classifier: Development Status :: 5 - Production/Stable
10
10
  Classifier: Intended Audience :: Developers
11
11
  Classifier: Natural Language :: English
@@ -39,14 +39,14 @@ Dynamic: license-file
39
39
  **pyproxy** is a lightweight, fast, and customizable Python-based web proxy server designed to handle both HTTP and HTTPS traffic efficiently. It can be used for various purposes, including web scraping, traffic monitoring, and content filtering.
40
40
 
41
41
  <p align="center">
42
- <img src="https://img.shields.io/github/license/6C656C65/pyproxy?style=for-the-badge">
43
- <img src="https://img.shields.io/github/issues/6C656C65/pyproxy?style=for-the-badge">
44
- <img src="https://img.shields.io/github/issues-closed/6C656C65/pyproxy?style=for-the-badge">
42
+ <img src="https://img.shields.io/github/license/pyproxytools/pyproxy?style=for-the-badge">
43
+ <img src="https://img.shields.io/github/issues/pyproxytools/pyproxy?style=for-the-badge">
44
+ <img src="https://img.shields.io/github/issues-closed/pyproxytools/pyproxy?style=for-the-badge">
45
45
  <br>
46
- <img src="https://img.shields.io/github/forks/6C656C65/pyproxy?style=for-the-badge">
47
- <img src="https://img.shields.io/github/stars/6C656C65/pyproxy?style=for-the-badge">
48
- <img src="https://img.shields.io/github/commit-activity/w/6C656C65/pyproxy?style=for-the-badge">
49
- <img src="https://img.shields.io/github/contributors/6C656C65/pyproxy?style=for-the-badge">
46
+ <img src="https://img.shields.io/github/forks/pyproxytools/pyproxy?style=for-the-badge">
47
+ <img src="https://img.shields.io/github/stars/pyproxytools/pyproxy?style=for-the-badge">
48
+ <img src="https://img.shields.io/github/commit-activity/w/pyproxytools/pyproxy?style=for-the-badge">
49
+ <img src="https://img.shields.io/github/contributors/pyproxytools/pyproxy?style=for-the-badge">
50
50
  <br>
51
51
  <img src="https://img.shields.io/pypi/v/pyproxytools?style=for-the-badge">
52
52
  <img src="https://img.shields.io/pypi/pyversions/pyproxytools?style=for-the-badge">
@@ -81,21 +81,21 @@ pip install pyproxytools
81
81
 
82
82
  ### Install from source
83
83
  ```bash
84
- git clone https://github.com/6C656C65/pyproxy.git
84
+ git clone https://github.com/pyproxytools/pyproxy.git
85
85
  cd pyproxy
86
86
  pip install -r requirements.txt
87
87
  ```
88
88
 
89
89
  ### Install with Docker
90
90
  ```bash
91
- docker pull ghcr.io/6c656c65/pyproxy:latest
92
- docker run -d ghcr.io/6c656c65/pyproxy:latest
91
+ docker pull ghcr.io/pyproxytools/pyproxy:latest
92
+ docker run -d ghcr.io/pyproxytools/pyproxy:latest
93
93
  ```
94
94
  You can use slim images by adding `-slim` to the end of the tags
95
95
 
96
96
  ### Install with Compose
97
97
  ```bash
98
- wget https://raw.githubusercontent.com/6C656C65/pyproxy/main/docker-compose.yml
98
+ wget https://raw.githubusercontent.com/pyproxytools/pyproxy/main/docker-compose.yml
99
99
  docker-compose up -d
100
100
  ```
101
101
 
@@ -109,7 +109,7 @@ The proxy will be available at: `0.0.0.0:8080`.
109
109
  The access log will be available at `./logs/access.log`.
110
110
 
111
111
  ## 📚 **Documentation**
112
- If you encounter any problems, or if you want to use the program in a particular way, I advise you to read the [documentation](https://github.com/6C656C65/pyproxy/wiki).
112
+ If you encounter any problems, or if you want to use the program in a particular way, I advise you to read the [documentation](https://github.com/pyproxytools/pyproxy/wiki).
113
113
 
114
114
  ## 🔧 **To do**
115
115
 
@@ -130,12 +130,12 @@ Contributions are welcome and appreciated! If you'd like to improve this project
130
130
 
131
131
  ## 📦 Deployment with Ansible
132
132
 
133
- If you want to deploy **pyproxy** automatically to remote servers (via source or Docker), an official [Ansible role](https://github.com/6C656C65/pyproxy_ansible) is available:
133
+ If you want to deploy **pyproxy** automatically to remote servers (via source or Docker), an official [Ansible role](https://github.com/pyproxytools/pyproxy-ansible) is available:
134
134
 
135
135
  * 🔧 Install from source or run as a Docker container
136
136
  * 📁 Supports customization of ports, versions, and paths
137
137
  * 🚀 Easily integrable into your infrastructure or CI/CD pipelines
138
138
 
139
- 👉 Check out the [ansible-role-pyproxy](https://github.com/6C656C65/pyproxy_ansible) repository for more details and usage instructions.
139
+ 👉 Check out the [pyproxy-ansible](https://github.com/pyproxytools/pyproxy-ansible) repository for more details and usage instructions.
140
140
 
141
141
  ---
@@ -6,14 +6,14 @@
6
6
  **pyproxy** is a lightweight, fast, and customizable Python-based web proxy server designed to handle both HTTP and HTTPS traffic efficiently. It can be used for various purposes, including web scraping, traffic monitoring, and content filtering.
7
7
 
8
8
  <p align="center">
9
- <img src="https://img.shields.io/github/license/6C656C65/pyproxy?style=for-the-badge">
10
- <img src="https://img.shields.io/github/issues/6C656C65/pyproxy?style=for-the-badge">
11
- <img src="https://img.shields.io/github/issues-closed/6C656C65/pyproxy?style=for-the-badge">
9
+ <img src="https://img.shields.io/github/license/pyproxytools/pyproxy?style=for-the-badge">
10
+ <img src="https://img.shields.io/github/issues/pyproxytools/pyproxy?style=for-the-badge">
11
+ <img src="https://img.shields.io/github/issues-closed/pyproxytools/pyproxy?style=for-the-badge">
12
12
  <br>
13
- <img src="https://img.shields.io/github/forks/6C656C65/pyproxy?style=for-the-badge">
14
- <img src="https://img.shields.io/github/stars/6C656C65/pyproxy?style=for-the-badge">
15
- <img src="https://img.shields.io/github/commit-activity/w/6C656C65/pyproxy?style=for-the-badge">
16
- <img src="https://img.shields.io/github/contributors/6C656C65/pyproxy?style=for-the-badge">
13
+ <img src="https://img.shields.io/github/forks/pyproxytools/pyproxy?style=for-the-badge">
14
+ <img src="https://img.shields.io/github/stars/pyproxytools/pyproxy?style=for-the-badge">
15
+ <img src="https://img.shields.io/github/commit-activity/w/pyproxytools/pyproxy?style=for-the-badge">
16
+ <img src="https://img.shields.io/github/contributors/pyproxytools/pyproxy?style=for-the-badge">
17
17
  <br>
18
18
  <img src="https://img.shields.io/pypi/v/pyproxytools?style=for-the-badge">
19
19
  <img src="https://img.shields.io/pypi/pyversions/pyproxytools?style=for-the-badge">
@@ -48,21 +48,21 @@ pip install pyproxytools
48
48
 
49
49
  ### Install from source
50
50
  ```bash
51
- git clone https://github.com/6C656C65/pyproxy.git
51
+ git clone https://github.com/pyproxytools/pyproxy.git
52
52
  cd pyproxy
53
53
  pip install -r requirements.txt
54
54
  ```
55
55
 
56
56
  ### Install with Docker
57
57
  ```bash
58
- docker pull ghcr.io/6c656c65/pyproxy:latest
59
- docker run -d ghcr.io/6c656c65/pyproxy:latest
58
+ docker pull ghcr.io/pyproxytools/pyproxy:latest
59
+ docker run -d ghcr.io/pyproxytools/pyproxy:latest
60
60
  ```
61
61
  You can use slim images by adding `-slim` to the end of the tags
62
62
 
63
63
  ### Install with Compose
64
64
  ```bash
65
- wget https://raw.githubusercontent.com/6C656C65/pyproxy/main/docker-compose.yml
65
+ wget https://raw.githubusercontent.com/pyproxytools/pyproxy/main/docker-compose.yml
66
66
  docker-compose up -d
67
67
  ```
68
68
 
@@ -76,7 +76,7 @@ The proxy will be available at: `0.0.0.0:8080`.
76
76
  The access log will be available at `./logs/access.log`.
77
77
 
78
78
  ## 📚 **Documentation**
79
- If you encounter any problems, or if you want to use the program in a particular way, I advise you to read the [documentation](https://github.com/6C656C65/pyproxy/wiki).
79
+ If you encounter any problems, or if you want to use the program in a particular way, I advise you to read the [documentation](https://github.com/pyproxytools/pyproxy/wiki).
80
80
 
81
81
  ## 🔧 **To do**
82
82
 
@@ -97,12 +97,12 @@ Contributions are welcome and appreciated! If you'd like to improve this project
97
97
 
98
98
  ## 📦 Deployment with Ansible
99
99
 
100
- If you want to deploy **pyproxy** automatically to remote servers (via source or Docker), an official [Ansible role](https://github.com/6C656C65/pyproxy_ansible) is available:
100
+ If you want to deploy **pyproxy** automatically to remote servers (via source or Docker), an official [Ansible role](https://github.com/pyproxytools/pyproxy-ansible) is available:
101
101
 
102
102
  * 🔧 Install from source or run as a Docker container
103
103
  * 📁 Supports customization of ports, versions, and paths
104
104
  * 🚀 Easily integrable into your infrastructure or CI/CD pipelines
105
105
 
106
- 👉 Check out the [ansible-role-pyproxy](https://github.com/6C656C65/pyproxy_ansible) repository for more details and usage instructions.
106
+ 👉 Check out the [pyproxy-ansible](https://github.com/pyproxytools/pyproxy-ansible) repository for more details and usage instructions.
107
107
 
108
108
  ---
@@ -6,7 +6,7 @@ license = "MIT"
6
6
  license-files = [
7
7
  "LICENSE",
8
8
  ]
9
- authors = [{name = "6C656C65"}]
9
+ authors = [{name = "pyproxytools"}]
10
10
  classifiers = [
11
11
  "Development Status :: 5 - Production/Stable",
12
12
  "Intended Audience :: Developers",
@@ -26,8 +26,8 @@ classifiers = [
26
26
  dynamic = ["version", "dependencies"]
27
27
 
28
28
  [project.urls]
29
- Documentation = "https://github.com/6C656C65/pyproxy/wiki"
30
- "Issue tracker" = "https://github.com/6C656C65/pyproxy/issues"
29
+ Documentation = "https://github.com/pyproxytools/pyproxy/wiki"
30
+ "Issue tracker" = "https://github.com/pyproxytools/pyproxy/issues"
31
31
 
32
32
  [tool.setuptools.packages]
33
33
  find = {}
@@ -5,7 +5,7 @@ that holds the current version number of the application.
5
5
 
6
6
  import os
7
7
 
8
- __version__ = "0.4.3"
8
+ __version__ = "0.4.4"
9
9
 
10
10
  if os.path.isdir("pyproxy/monitoring"):
11
11
  __slim__ = False
@@ -272,7 +272,7 @@ def start_flask_server(proxy_server, flask_port, flask_pass, debug) -> None:
272
272
  "ssl_config": (
273
273
  proxy_server.ssl_config.to_dict() if proxy_server.ssl_config else None
274
274
  ),
275
- "flask_port": proxy_server.flask_port,
275
+ "flask_port": proxy_server.monitoring_config.flask_port,
276
276
  }
277
277
  return jsonify(config_data)
278
278
 
@@ -1,11 +1,11 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyproxytools
3
- Version: 0.4.3
3
+ Version: 0.4.4
4
4
  Summary: Lightweight and fast python web proxy
5
- Author: 6C656C65
5
+ Author: pyproxytools
6
6
  License-Expression: MIT
7
- Project-URL: Documentation, https://github.com/6C656C65/pyproxy/wiki
8
- Project-URL: Issue tracker, https://github.com/6C656C65/pyproxy/issues
7
+ Project-URL: Documentation, https://github.com/pyproxytools/pyproxy/wiki
8
+ Project-URL: Issue tracker, https://github.com/pyproxytools/pyproxy/issues
9
9
  Classifier: Development Status :: 5 - Production/Stable
10
10
  Classifier: Intended Audience :: Developers
11
11
  Classifier: Natural Language :: English
@@ -39,14 +39,14 @@ Dynamic: license-file
39
39
  **pyproxy** is a lightweight, fast, and customizable Python-based web proxy server designed to handle both HTTP and HTTPS traffic efficiently. It can be used for various purposes, including web scraping, traffic monitoring, and content filtering.
40
40
 
41
41
  <p align="center">
42
- <img src="https://img.shields.io/github/license/6C656C65/pyproxy?style=for-the-badge">
43
- <img src="https://img.shields.io/github/issues/6C656C65/pyproxy?style=for-the-badge">
44
- <img src="https://img.shields.io/github/issues-closed/6C656C65/pyproxy?style=for-the-badge">
42
+ <img src="https://img.shields.io/github/license/pyproxytools/pyproxy?style=for-the-badge">
43
+ <img src="https://img.shields.io/github/issues/pyproxytools/pyproxy?style=for-the-badge">
44
+ <img src="https://img.shields.io/github/issues-closed/pyproxytools/pyproxy?style=for-the-badge">
45
45
  <br>
46
- <img src="https://img.shields.io/github/forks/6C656C65/pyproxy?style=for-the-badge">
47
- <img src="https://img.shields.io/github/stars/6C656C65/pyproxy?style=for-the-badge">
48
- <img src="https://img.shields.io/github/commit-activity/w/6C656C65/pyproxy?style=for-the-badge">
49
- <img src="https://img.shields.io/github/contributors/6C656C65/pyproxy?style=for-the-badge">
46
+ <img src="https://img.shields.io/github/forks/pyproxytools/pyproxy?style=for-the-badge">
47
+ <img src="https://img.shields.io/github/stars/pyproxytools/pyproxy?style=for-the-badge">
48
+ <img src="https://img.shields.io/github/commit-activity/w/pyproxytools/pyproxy?style=for-the-badge">
49
+ <img src="https://img.shields.io/github/contributors/pyproxytools/pyproxy?style=for-the-badge">
50
50
  <br>
51
51
  <img src="https://img.shields.io/pypi/v/pyproxytools?style=for-the-badge">
52
52
  <img src="https://img.shields.io/pypi/pyversions/pyproxytools?style=for-the-badge">
@@ -81,21 +81,21 @@ pip install pyproxytools
81
81
 
82
82
  ### Install from source
83
83
  ```bash
84
- git clone https://github.com/6C656C65/pyproxy.git
84
+ git clone https://github.com/pyproxytools/pyproxy.git
85
85
  cd pyproxy
86
86
  pip install -r requirements.txt
87
87
  ```
88
88
 
89
89
  ### Install with Docker
90
90
  ```bash
91
- docker pull ghcr.io/6c656c65/pyproxy:latest
92
- docker run -d ghcr.io/6c656c65/pyproxy:latest
91
+ docker pull ghcr.io/pyproxytools/pyproxy:latest
92
+ docker run -d ghcr.io/pyproxytools/pyproxy:latest
93
93
  ```
94
94
  You can use slim images by adding `-slim` to the end of the tags
95
95
 
96
96
  ### Install with Compose
97
97
  ```bash
98
- wget https://raw.githubusercontent.com/6C656C65/pyproxy/main/docker-compose.yml
98
+ wget https://raw.githubusercontent.com/pyproxytools/pyproxy/main/docker-compose.yml
99
99
  docker-compose up -d
100
100
  ```
101
101
 
@@ -109,7 +109,7 @@ The proxy will be available at: `0.0.0.0:8080`.
109
109
  The access log will be available at `./logs/access.log`.
110
110
 
111
111
  ## 📚 **Documentation**
112
- If you encounter any problems, or if you want to use the program in a particular way, I advise you to read the [documentation](https://github.com/6C656C65/pyproxy/wiki).
112
+ If you encounter any problems, or if you want to use the program in a particular way, I advise you to read the [documentation](https://github.com/pyproxytools/pyproxy/wiki).
113
113
 
114
114
  ## 🔧 **To do**
115
115
 
@@ -130,12 +130,12 @@ Contributions are welcome and appreciated! If you'd like to improve this project
130
130
 
131
131
  ## 📦 Deployment with Ansible
132
132
 
133
- If you want to deploy **pyproxy** automatically to remote servers (via source or Docker), an official [Ansible role](https://github.com/6C656C65/pyproxy_ansible) is available:
133
+ If you want to deploy **pyproxy** automatically to remote servers (via source or Docker), an official [Ansible role](https://github.com/pyproxytools/pyproxy-ansible) is available:
134
134
 
135
135
  * 🔧 Install from source or run as a Docker container
136
136
  * 📁 Supports customization of ports, versions, and paths
137
137
  * 🚀 Easily integrable into your infrastructure or CI/CD pipelines
138
138
 
139
- 👉 Check out the [ansible-role-pyproxy](https://github.com/6C656C65/pyproxy_ansible) repository for more details and usage instructions.
139
+ 👉 Check out the [pyproxy-ansible](https://github.com/pyproxytools/pyproxy-ansible) repository for more details and usage instructions.
140
140
 
141
141
  ---
File without changes
File without changes