GuardianUnivalle-Benito-Yucra 0.1.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.

Potentially problematic release.


This version of GuardianUnivalle-Benito-Yucra might be problematic. Click here for more details.

@@ -0,0 +1,18 @@
1
+ """ Funciones principales """
2
+ # GuardianUnivalle_Benito_Yucra/__init__.py
3
+
4
+ from .encryption import encrypt_data, decrypt_data
5
+ from .web_protection import sanitize_input, check_csrf
6
+ from .dos_protection import rate_limiter
7
+ from .malware_check import scan_malware
8
+
9
+ def protect_app():
10
+ """
11
+ Activa todas las protecciones de seguridad de forma automática.
12
+ """
13
+ print("🔒 GuardianUnivalle-Benito-Yucra: Seguridad activada")
14
+ # Aquí podríamos llamar funciones automáticamente si queremos
15
+ # scan_malware()
16
+ # rate_limiter()
17
+ # sanitize_input()
18
+ # check_csrf()
@@ -0,0 +1,6 @@
1
+ """ Protección DoS """
2
+ # GuardianUnivalle_Benito_Yucra/dos_protection.py
3
+
4
+ def rate_limiter():
5
+ """Simulación de limitador de peticiones"""
6
+ print("✅ Rate limiter activo")
@@ -0,0 +1,10 @@
1
+ """ Funciones de cifrado """
2
+ # GuardianUnivalle_Benito_Yucra/encryption.py
3
+
4
+ def encrypt_data(data: str) -> str:
5
+ """Simulación de cifrado sencillo"""
6
+ return "".join(chr(ord(c)+3) for c in data)
7
+
8
+ def decrypt_data(data: str) -> str:
9
+ """Simulación de descifrado sencillo"""
10
+ return "".join(chr(ord(c)-3) for c in data)
@@ -0,0 +1,6 @@
1
+ """ Escaneo de apps maliciosas """
2
+ # GuardianUnivalle_Benito_Yucra/malware_check.py
3
+
4
+ def scan_malware():
5
+ """Simulación de escaneo de malware"""
6
+ print("✅ Escaneo de malware completado")
@@ -0,0 +1 @@
1
+ """ Funciones auxiliares """
@@ -0,0 +1,9 @@
1
+ # GuardianUnivalle_Benito_Yucra/web_protection.py
2
+
3
+ def sanitize_input(user_input: str) -> str:
4
+ """Elimina caracteres peligrosos (simulación)"""
5
+ return user_input.replace("<", "&lt;").replace(">", "&gt;")
6
+
7
+ def check_csrf():
8
+ """Simulación de protección CSRF"""
9
+ print("✅ CSRF check passed")
@@ -0,0 +1,12 @@
1
+ Metadata-Version: 2.4
2
+ Name: GuardianUnivalle-Benito-Yucra
3
+ Version: 0.1.0
4
+ Summary: Librería de seguridad automática para aplicaciones frontend y backend
5
+ Author-email: Benito Yucra <tu_email@dominio.com>
6
+ License: MIT
7
+ Requires-Python: >=3.8
8
+ Description-Content-Type: text/markdown
9
+ License-File: LICENSE
10
+ Dynamic: license-file
11
+
12
+ <!-- Información de la librería -->
@@ -0,0 +1,14 @@
1
+ LICENSE
2
+ README.md
3
+ pyproject.toml
4
+ setup.cfg
5
+ GuardianUnivalle_Benito_Yucra/__init__.py
6
+ GuardianUnivalle_Benito_Yucra/dos_protection.py
7
+ GuardianUnivalle_Benito_Yucra/encryption.py
8
+ GuardianUnivalle_Benito_Yucra/malware_check.py
9
+ GuardianUnivalle_Benito_Yucra/utils.py
10
+ GuardianUnivalle_Benito_Yucra/web_protection.py
11
+ GuardianUnivalle_Benito_Yucra.egg-info/PKG-INFO
12
+ GuardianUnivalle_Benito_Yucra.egg-info/SOURCES.txt
13
+ GuardianUnivalle_Benito_Yucra.egg-info/dependency_links.txt
14
+ GuardianUnivalle_Benito_Yucra.egg-info/top_level.txt
@@ -0,0 +1 @@
1
+ <!-- Licencia (MIT por ejemplo) -->
@@ -0,0 +1,12 @@
1
+ Metadata-Version: 2.4
2
+ Name: GuardianUnivalle-Benito-Yucra
3
+ Version: 0.1.0
4
+ Summary: Librería de seguridad automática para aplicaciones frontend y backend
5
+ Author-email: Benito Yucra <tu_email@dominio.com>
6
+ License: MIT
7
+ Requires-Python: >=3.8
8
+ Description-Content-Type: text/markdown
9
+ License-File: LICENSE
10
+ Dynamic: license-file
11
+
12
+ <!-- Información de la librería -->
@@ -0,0 +1 @@
1
+ <!-- Información de la librería -->
@@ -0,0 +1,14 @@
1
+ [build-system]
2
+ requires = ["setuptools>=61.0", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "GuardianUnivalle-Benito-Yucra"
7
+ version = "0.1.0"
8
+ description = "Librería de seguridad automática para aplicaciones frontend y backend"
9
+ authors = [
10
+ { name="Benito Yucra", email="tu_email@dominio.com" }
11
+ ]
12
+ readme = "README.md"
13
+ license = { text="MIT" }
14
+ requires-python = ">=3.8"
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+