proxy-reader 2.1.3__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.
@@ -0,0 +1,8 @@
1
+ The MIT License (MIT)
2
+ Copyright © 2024 Rune Tech
3
+
4
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
5
+
6
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
7
+
8
+ THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
File without changes
@@ -0,0 +1,48 @@
1
+ Metadata-Version: 2.4
2
+ Name: proxy-reader
3
+ Version: 2.1.3
4
+ Summary: Proxy reader for Python
5
+ Project-URL: Homepage, https://github.com/runetech0/proxy-reader
6
+ Project-URL: github, https://github.com/runetech0/proxy-reader
7
+ Requires-Python: >=3.12
8
+ Description-Content-Type: text/markdown
9
+ License-File: LICENSE
10
+ Requires-Dist: aiohttp>=3.12.15
11
+ Requires-Dist: aiohttp-socks>=0.9.0
12
+ Requires-Dist: pytest>=8.4.1
13
+ Provides-Extra: test
14
+ Requires-Dist: pytest>=7.0.0; extra == "test"
15
+ Dynamic: license-file
16
+
17
+
18
+
19
+
20
+ # proxy-reader - A simple but useful bulk proxies reader and checker.
21
+
22
+ This is useful when you are working with multiple proxies and want to bulk check
23
+ these proxies before using them.
24
+ It has iterators to iterate the proxies for easy reading.
25
+
26
+
27
+ ## Installation
28
+
29
+ ```
30
+ pip install proxy-reader
31
+ ```
32
+
33
+ ## Changelogs
34
+
35
+ ### [v0.3.0]
36
+ * Add load_list class method to load proxies from list
37
+ * MAJOR: auto detect the proxies format
38
+ * Use new logging config to disable logs and prevent proxy_reader.log from creating
39
+ * Logs can be enabled from user-side
40
+ * Add option to disable proxies checking from __init__
41
+
42
+
43
+ ### [v0.2.0] - 2024-10-21
44
+
45
+ * Previous unrecorded changes
46
+
47
+
48
+ For more info/queries Telegram: [@runetech](https://t.me/runetech)
@@ -0,0 +1,32 @@
1
+
2
+
3
+
4
+ # proxy-reader - A simple but useful bulk proxies reader and checker.
5
+
6
+ This is useful when you are working with multiple proxies and want to bulk check
7
+ these proxies before using them.
8
+ It has iterators to iterate the proxies for easy reading.
9
+
10
+
11
+ ## Installation
12
+
13
+ ```
14
+ pip install proxy-reader
15
+ ```
16
+
17
+ ## Changelogs
18
+
19
+ ### [v0.3.0]
20
+ * Add load_list class method to load proxies from list
21
+ * MAJOR: auto detect the proxies format
22
+ * Use new logging config to disable logs and prevent proxy_reader.log from creating
23
+ * Logs can be enabled from user-side
24
+ * Add option to disable proxies checking from __init__
25
+
26
+
27
+ ### [v0.2.0] - 2024-10-21
28
+
29
+ * Previous unrecorded changes
30
+
31
+
32
+ For more info/queries Telegram: [@runetech](https://t.me/runetech)
@@ -0,0 +1,3 @@
1
+ from .reader import *
2
+
3
+ __version__ = "2.1.3"
@@ -0,0 +1,23 @@
1
+ from typing import TypedDict, NotRequired, List, Iterator, TypeAlias, Any, Optional
2
+ from .proxy import Proxy
3
+
4
+
5
+ class TelegramHTTP(TypedDict):
6
+ proxy_type: int
7
+ addr: str
8
+ port: int
9
+ username: NotRequired[str]
10
+ password: NotRequired[str]
11
+
12
+
13
+ GeneralDict: TypeAlias = dict[str, Any]
14
+
15
+ ProxiesList: TypeAlias = List[Proxy]
16
+ ProxyiesGen: TypeAlias = Iterator[Proxy]
17
+
18
+
19
+ class ProxyDictT(TypedDict):
20
+ host: str
21
+ port: str
22
+ username: Optional[str]
23
+ password: Optional[str]