clientGBP 1.0.0__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.
- clientgbp-1.0.0/LICENSE +21 -0
- clientgbp-1.0.0/PKG-INFO +25 -0
- clientgbp-1.0.0/README.md +4 -0
- clientgbp-1.0.0/gbp/__init__.py +23 -0
- clientgbp-1.0.0/gbp/client.py +865 -0
- clientgbp-1.0.0/gbp/constants.py +50 -0
- clientgbp-1.0.0/gbp/enums.py +20 -0
- clientgbp-1.0.0/gbp/models.py +38 -0
- clientgbp-1.0.0/gbp/payloads.py +990 -0
- clientgbp-1.0.0/gbp/utils.py +354 -0
- clientgbp-1.0.0/pyproject.toml +52 -0
clientgbp-1.0.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 ventas-hue
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
clientgbp-1.0.0/PKG-INFO
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
|
+
Name: clientGBP
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: Libreria para el uso de GBP mediante HTTP. Sin utilizar interfaz gráfica (Scraping).Usando las credenciales de una cuenta, se obtiene las cookies de sesión y se pueden realizar operaciones. Se realiza todo de manera sincrona.
|
|
5
|
+
License: MIT
|
|
6
|
+
Author: Leandro Franco
|
|
7
|
+
Author-email: leandro00fr@gmail.com
|
|
8
|
+
Requires-Python: >=3.12
|
|
9
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
13
|
+
Requires-Dist: beautifulsoup4 (==4.13.5)
|
|
14
|
+
Requires-Dist: email-validator (==2.3.0)
|
|
15
|
+
Requires-Dist: pydantic-settings (==2.10.1)
|
|
16
|
+
Requires-Dist: pydantic[email] (==2.11.9)
|
|
17
|
+
Requires-Dist: requests (==2.32.3)
|
|
18
|
+
Requires-Dist: requests-toolbelt (==1.0.0)
|
|
19
|
+
Description-Content-Type: text/markdown
|
|
20
|
+
|
|
21
|
+
# GBP
|
|
22
|
+
|
|
23
|
+
La libreria permite realizar operaciones en Global Blue Point (GBP)mediante HTTP. Sin utilizar interfaz gráfica (Scraping). Usando las credenciales de una cuenta, se obtiene las cookies de sesión y se pueden realizar operaciones. Se realiza todo de manera sincrona.
|
|
24
|
+
|
|
25
|
+
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
# GBP
|
|
2
|
+
|
|
3
|
+
La libreria permite realizar operaciones en Global Blue Point (GBP)mediante HTTP. Sin utilizar interfaz gráfica (Scraping). Usando las credenciales de una cuenta, se obtiene las cookies de sesión y se pueden realizar operaciones. Se realiza todo de manera sincrona.
|
|
4
|
+
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"""
|
|
2
|
+
ClientGBP - Librería para interactuar con GBP mediante HTTP (Scraping).
|
|
3
|
+
|
|
4
|
+
Uso básico:
|
|
5
|
+
from gbp import ClientGBP, Client, Contact, ClientType
|
|
6
|
+
|
|
7
|
+
client = ClientGBP(username="user", password="pass")
|
|
8
|
+
client.login()
|
|
9
|
+
"""
|
|
10
|
+
|
|
11
|
+
from gbp.client import ClientGBP
|
|
12
|
+
from gbp.models import Client, Contact
|
|
13
|
+
from gbp.enums import ClientType
|
|
14
|
+
|
|
15
|
+
__version__ = "1.0.0"
|
|
16
|
+
|
|
17
|
+
__all__ = [
|
|
18
|
+
"ClientGBP",
|
|
19
|
+
"Client",
|
|
20
|
+
"Contact",
|
|
21
|
+
"ClientType",
|
|
22
|
+
"__version__",
|
|
23
|
+
]
|