SimAPIGenerator 0.1.0__py3-none-any.whl

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.
sag/__init__.py ADDED
@@ -0,0 +1 @@
1
+ from .generator import sag
sag/generator.py ADDED
@@ -0,0 +1,11 @@
1
+ import secrets
2
+ import string
3
+
4
+ class SimAPIGenerator:
5
+ def APICreate(self, prefixo):
6
+ caracteres = string.ascii_letters + string.digits
7
+ sufixo = ''.join(secrets.choice(caracteres) for _ in range(24))
8
+ return f"{prefixo}_{sufixo}"
9
+
10
+ # Instância padrão para uso direto
11
+ sag = SimAPIGenerator()
@@ -0,0 +1,9 @@
1
+ Metadata-Version: 2.4
2
+ Name: SimAPIGenerator
3
+ Version: 0.1.0
4
+ Summary: Gerador de API Keys simuladas
5
+ Author: Luiz Gustavo
6
+ Requires-Python: >=3.6
7
+ Dynamic: author
8
+ Dynamic: requires-python
9
+ Dynamic: summary
@@ -0,0 +1,6 @@
1
+ sag/__init__.py,sha256=M8RQBJ4r6LGHF9R5ifjsWsk6KWxiNZFlPo6sXC3flp8,28
2
+ sag/generator.py,sha256=Qm2L2tmlg8zqsnaDEEZJR09wCfBgtTLjSAkR5mT6gJU,327
3
+ simapigenerator-0.1.0.dist-info/METADATA,sha256=cRIFVNuGbSPkWZIvYI2JhDqu40wFxrlj9wQYqQYYQ9w,209
4
+ simapigenerator-0.1.0.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
5
+ simapigenerator-0.1.0.dist-info/top_level.txt,sha256=Rz0826DBEfto_495ffmt5461xq3rDDaEwYX_V1NPN5w,4
6
+ simapigenerator-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.10.2)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1 @@
1
+ sag