swiftshadow 2.2.0__tar.gz → 2.2.1__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 (104) hide show
  1. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/PKG-INFO +1 -1
  2. swiftshadow-2.2.1/pyproject.toml +32 -0
  3. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/swiftshadow/providers.py +6 -11
  4. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/uv.lock +2 -2
  5. swiftshadow-2.2.0/pyproject.toml +0 -34
  6. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/.github/CODEOWNERS +0 -0
  7. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/.github/workflows/python-publish-manual.yml +0 -0
  8. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/.github/workflows/python-publish.yml +0 -0
  9. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/.gitignore +0 -0
  10. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/.python-version +0 -0
  11. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/LICENSE +0 -0
  12. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/README.md +0 -0
  13. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/404.html +0 -0
  14. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/API Reference/Classes/proxyInterface/index.html +0 -0
  15. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/API Reference/Classes/quickProxy/index.html +0 -0
  16. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/API Reference/Models/cache-data/index.html +0 -0
  17. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/API Reference/Models/provider/index.html +0 -0
  18. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/API Reference/Models/proxy/index.html +0 -0
  19. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/Getting Started/Usage-In-Async-Environments/index.html +0 -0
  20. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/Getting Started/Using-Proxy-Class/index.html +0 -0
  21. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/Getting Started/Using-QuickProxy/index.html +0 -0
  22. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/Getting Started/examples/index.html +0 -0
  23. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/Use Swiftshadow with/AWS-Lambda/index.html +0 -0
  24. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/Use Swiftshadow with/https/index.html +0 -0
  25. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/Use Swiftshadow with/requests/index.html +0 -0
  26. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/assets/_mkdocstrings.css +0 -0
  27. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/assets/images/favicon.png +0 -0
  28. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/assets/javascripts/bundle.60a45f97.min.js +0 -0
  29. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/assets/javascripts/bundle.60a45f97.min.js.map +0 -0
  30. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/assets/javascripts/lunr/min/lunr.ar.min.js +0 -0
  31. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/assets/javascripts/lunr/min/lunr.da.min.js +0 -0
  32. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/assets/javascripts/lunr/min/lunr.de.min.js +0 -0
  33. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/assets/javascripts/lunr/min/lunr.du.min.js +0 -0
  34. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/assets/javascripts/lunr/min/lunr.el.min.js +0 -0
  35. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/assets/javascripts/lunr/min/lunr.es.min.js +0 -0
  36. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/assets/javascripts/lunr/min/lunr.fi.min.js +0 -0
  37. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/assets/javascripts/lunr/min/lunr.fr.min.js +0 -0
  38. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/assets/javascripts/lunr/min/lunr.he.min.js +0 -0
  39. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/assets/javascripts/lunr/min/lunr.hi.min.js +0 -0
  40. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/assets/javascripts/lunr/min/lunr.hu.min.js +0 -0
  41. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/assets/javascripts/lunr/min/lunr.hy.min.js +0 -0
  42. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/assets/javascripts/lunr/min/lunr.it.min.js +0 -0
  43. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/assets/javascripts/lunr/min/lunr.ja.min.js +0 -0
  44. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/assets/javascripts/lunr/min/lunr.jp.min.js +0 -0
  45. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/assets/javascripts/lunr/min/lunr.kn.min.js +0 -0
  46. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/assets/javascripts/lunr/min/lunr.ko.min.js +0 -0
  47. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/assets/javascripts/lunr/min/lunr.multi.min.js +0 -0
  48. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/assets/javascripts/lunr/min/lunr.nl.min.js +0 -0
  49. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/assets/javascripts/lunr/min/lunr.no.min.js +0 -0
  50. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/assets/javascripts/lunr/min/lunr.pt.min.js +0 -0
  51. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/assets/javascripts/lunr/min/lunr.ro.min.js +0 -0
  52. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/assets/javascripts/lunr/min/lunr.ru.min.js +0 -0
  53. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/assets/javascripts/lunr/min/lunr.sa.min.js +0 -0
  54. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/assets/javascripts/lunr/min/lunr.stemmer.support.min.js +0 -0
  55. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/assets/javascripts/lunr/min/lunr.sv.min.js +0 -0
  56. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/assets/javascripts/lunr/min/lunr.ta.min.js +0 -0
  57. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/assets/javascripts/lunr/min/lunr.te.min.js +0 -0
  58. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/assets/javascripts/lunr/min/lunr.th.min.js +0 -0
  59. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/assets/javascripts/lunr/min/lunr.tr.min.js +0 -0
  60. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/assets/javascripts/lunr/min/lunr.vi.min.js +0 -0
  61. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/assets/javascripts/lunr/min/lunr.zh.min.js +0 -0
  62. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/assets/javascripts/lunr/tinyseg.js +0 -0
  63. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/assets/javascripts/lunr/wordcut.js +0 -0
  64. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/assets/javascripts/workers/search.f8cc74c7.min.js +0 -0
  65. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/assets/javascripts/workers/search.f8cc74c7.min.js.map +0 -0
  66. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/assets/logo.png +0 -0
  67. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/assets/stylesheets/main.a40c8224.min.css +0 -0
  68. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/assets/stylesheets/main.a40c8224.min.css.map +0 -0
  69. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/assets/stylesheets/palette.06af60db.min.css +0 -0
  70. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/assets/stylesheets/palette.06af60db.min.css.map +0 -0
  71. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/index.html +0 -0
  72. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/objects.inv +0 -0
  73. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/providers/index.html +0 -0
  74. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/search/search_index.json +0 -0
  75. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/sitemap.xml +0 -0
  76. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs/sitemap.xml.gz +0 -0
  77. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs-src/API Reference/Classes/proxyInterface.md +0 -0
  78. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs-src/API Reference/Classes/quickProxy.md +0 -0
  79. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs-src/API Reference/Models/cache-data.md +0 -0
  80. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs-src/API Reference/Models/provider.md +0 -0
  81. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs-src/API Reference/Models/proxy.md +0 -0
  82. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs-src/Getting Started/Usage-In-Async-Environments.md +0 -0
  83. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs-src/Getting Started/Using-Proxy-Class.md +0 -0
  84. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs-src/Getting Started/Using-QuickProxy.md +0 -0
  85. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs-src/Getting Started/examples.md +0 -0
  86. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs-src/Use Swiftshadow with/AWS-Lambda.md +0 -0
  87. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs-src/Use Swiftshadow with/https.md +0 -0
  88. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs-src/Use Swiftshadow with/requests.md +0 -0
  89. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs-src/assets/logo.png +0 -0
  90. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs-src/index.md +0 -0
  91. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/docs-src/providers.md +0 -0
  92. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/mkdocs.yml +0 -0
  93. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/swiftshadow/__init__.py +0 -0
  94. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/swiftshadow/cache.py +0 -0
  95. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/swiftshadow/classes.py +0 -0
  96. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/swiftshadow/exceptions.py +0 -0
  97. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/swiftshadow/helpers.py +0 -0
  98. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/swiftshadow/models.py +0 -0
  99. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/swiftshadow/types.py +0 -0
  100. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/swiftshadow/validator.py +0 -0
  101. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/tests/test_models.py +0 -0
  102. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/tests/test_proxy.py +0 -0
  103. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/tests/test_quickproxy.py +0 -0
  104. {swiftshadow-2.2.0 → swiftshadow-2.2.1}/tox.ini +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: swiftshadow
3
- Version: 2.2.0
3
+ Version: 2.2.1
4
4
  Summary: Free IP Proxy rotator for python
5
5
  Author-email: sachin-sankar <mail.sachinsankar@gmail.com>
6
6
  License-File: LICENSE
@@ -0,0 +1,32 @@
1
+ [project]
2
+ name = "swiftshadow"
3
+ version = "2.2.1"
4
+ description = "Free IP Proxy rotator for python"
5
+ readme = "README.md"
6
+ authors = [{ name = "sachin-sankar", email = "mail.sachinsankar@gmail.com" }]
7
+ requires-python = ">=3.12"
8
+ dependencies = [
9
+ "aiofiles>=24.1.0",
10
+ "aiohttp>=3.11.11",
11
+ "appdirs>=1.4.4",
12
+ "lxml>=6.0.0",
13
+ "requests>=2.32.3",
14
+ ]
15
+
16
+ [project.scripts]
17
+ swiftshadow = "swiftshadow:main"
18
+
19
+ [build-system]
20
+ requires = ["hatchling"]
21
+ build-backend = "hatchling.build"
22
+
23
+ [dependency-groups]
24
+ dev = [
25
+ "mkdocs>=1.6.1",
26
+ "mkdocs-autolinks-plugin>=0.7.1",
27
+ "mkdocs-material>=9.5.50",
28
+ "mkdocstrings-python>=1.13.0",
29
+ "pytest>=8.3.4",
30
+ "ruff>=0.9.2",
31
+ "tox>=4.23.2",
32
+ ]
@@ -23,6 +23,10 @@ async def Monosans(
23
23
  for proxy_dict in proxy_dicts:
24
24
  if proxy_dict["protocol"] != protocol:
25
25
  continue
26
+ if ("country" not in proxy_dict["geolocation"].keys() # Avoid errors where geolocation is none
27
+ and len(countries) != 0
28
+ ):
29
+ continue
26
30
  if (
27
31
  len(countries) != 0
28
32
  and proxy_dict["geolocation"]["country"]["iso_code"] not in countries
@@ -86,7 +90,8 @@ async def OpenProxyList(
86
90
  countries: list[str] = [], protocol: Literal["http", "https"] = "http"
87
91
  ):
88
92
  results = await GenericPlainTextProxyProvider(
89
- "https://api.openproxylist.xyz/http.txt", "http"
93
+ "https://raw.githubusercontent.com/roosterkid/openproxylist/refs/heads/main/HTTPS_RAW.txt",
94
+ "http",
90
95
  )
91
96
  return results
92
97
 
@@ -117,15 +122,6 @@ async def Anonym0usWork1221(
117
122
  return results
118
123
 
119
124
 
120
- async def ProxySpace(
121
- countries: list[str] = [], protocol: Literal["http", "https"] = "http"
122
- ):
123
- results = await GenericPlainTextProxyProvider(
124
- "https://proxyspace.pro/http.txt", "http"
125
- )
126
- return results
127
-
128
-
129
125
  async def ProxyDB(
130
126
  countries: list[str] = [], protocol: Literal["http", "https"] = "http"
131
127
  ):
@@ -184,7 +180,6 @@ Providers: list[Provider] = [
184
180
  ),
185
181
  Provider(providerFunction=Mmpx12, countryFilter=False, protocols=["http", "https"]),
186
182
  Provider(providerFunction=GoodProxy, countryFilter=False, protocols=["http"]),
187
- Provider(providerFunction=ProxySpace, countryFilter=False, protocols=["http"]),
188
183
  Provider(providerFunction=OpenProxyList, countryFilter=False, protocols=["http"]),
189
184
  Provider(providerFunction=ProxyDB, countryFilter=True, protocols=["http", "https"]),
190
185
  ]
@@ -1,5 +1,5 @@
1
1
  version = 1
2
- revision = 2
2
+ revision = 3
3
3
  requires-python = ">=3.12"
4
4
 
5
5
  [[package]]
@@ -837,7 +837,7 @@ wheels = [
837
837
 
838
838
  [[package]]
839
839
  name = "swiftshadow"
840
- version = "2.1.0"
840
+ version = "2.2.1"
841
841
  source = { editable = "." }
842
842
  dependencies = [
843
843
  { name = "aiofiles" },
@@ -1,34 +0,0 @@
1
- [project]
2
- name = "swiftshadow"
3
- version = "2.2.0"
4
- description = "Free IP Proxy rotator for python"
5
- readme = "README.md"
6
- authors = [
7
- { name = "sachin-sankar", email = "mail.sachinsankar@gmail.com" }
8
- ]
9
- requires-python = ">=3.12"
10
- dependencies = [
11
- "aiofiles>=24.1.0",
12
- "aiohttp>=3.11.11",
13
- "appdirs>=1.4.4",
14
- "lxml>=6.0.0",
15
- "requests>=2.32.3",
16
- ]
17
-
18
- [project.scripts]
19
- swiftshadow = "swiftshadow:main"
20
-
21
- [build-system]
22
- requires = ["hatchling"]
23
- build-backend = "hatchling.build"
24
-
25
- [dependency-groups]
26
- dev = [
27
- "mkdocs>=1.6.1",
28
- "mkdocs-autolinks-plugin>=0.7.1",
29
- "mkdocs-material>=9.5.50",
30
- "mkdocstrings-python>=1.13.0",
31
- "pytest>=8.3.4",
32
- "ruff>=0.9.2",
33
- "tox>=4.23.2",
34
- ]
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes