eses 1.0.2__tar.gz → 1.0.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: eses
3
- Version: 1.0.2
3
+ Version: 1.0.3
4
4
  Summary: A library for sending donation requests with proxy rotation
5
5
  Author-email: Your Name <your@email.com>
6
6
  Project-URL: Homepage, https://github.com/yourusername/eses
@@ -0,0 +1,28 @@
1
+ from .eses import ESES
2
+
3
+ # Create module-level instance
4
+ eses = ESES()
5
+
6
+ # Expose main methods at package level
7
+ donate = eses.donate
8
+ add_proxy = eses.add_proxy
9
+ rotateproxy = eses.rotateproxy
10
+ stop_rotation = eses.stop_rotation
11
+ get_proxy_list = eses.get_proxy_list
12
+ set_default_param = eses.set_default_param
13
+ set_default_header = eses.set_default_header
14
+ clear_proxies = eses.clear_proxies
15
+
16
+ # Explicit exports
17
+ __all__ = [
18
+ 'ESES',
19
+ 'eses',
20
+ 'donate',
21
+ 'add_proxy',
22
+ 'rotateproxy',
23
+ 'stop_rotation',
24
+ 'get_proxy_list',
25
+ 'set_default_param',
26
+ 'set_default_header',
27
+ 'clear_proxies'
28
+ ]
@@ -198,7 +198,4 @@ class ESES:
198
198
  value (str): Header value
199
199
  """
200
200
  self.default_headers[key] = value
201
- return f"Updated {key}"
202
-
203
- # Create a module-level instance for the simple interface
204
- eses = ESES()
201
+ return f"Updated {key}"
@@ -0,0 +1 @@
1
+ __version__ = "1.0.3"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: eses
3
- Version: 1.0.2
3
+ Version: 1.0.3
4
4
  Summary: A library for sending donation requests with proxy rotation
5
5
  Author-email: Your Name <your@email.com>
6
6
  Project-URL: Homepage, https://github.com/yourusername/eses
@@ -2,6 +2,7 @@ LICENSE
2
2
  README.md
3
3
  pyproject.toml
4
4
  eses/__init__.py
5
+ eses/eses.py
5
6
  eses/version.py
6
7
  eses.egg-info/PKG-INFO
7
8
  eses.egg-info/SOURCES.txt
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "eses"
7
- version = "1.0.2" # Must match version.py
7
+ version = "1.0.3" # Must match version.py
8
8
  authors = [
9
9
  {name = "Your Name", email = "your@email.com"},
10
10
  ]
@@ -1 +0,0 @@
1
- __version__ = "1.0.2"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes