🚀 bru-gen
bru-gen é uma CLI que transforma especificações OpenAPI (Swagger) em coleções prontas para o Bruno.
✨ Diferenciais
- Testes de Contrato: Gera asserções JavaScript (Chai.js) baseadas nos formatos do seu Schema (email, uuid, min/max).
- Compatibilidade Total: Estrutura de arquivos otimizada para o Switch File Editor do VS Code.
- Ambiente Pronto: Cria automaticamente arquivos de Environment e o
bruno.jsonnecessário para ativar o suporte a ambientes. - Parâmetros Semânticos: Suporte nativo a Path e Query Parameters usando blocos dedicados do Bruno.
🛠️ Tecnologias
- Python 3.12+
- Typer (CLI Framework)
- Jinja2 (Templating)
- Prance (OpenAPI Resolver)
- Rich (Visual Terminal)
📦 Uso Rápido (Recomendado)
Não é necessário clonar o repositório. Use o uvx para rodar a ferramenta instantaneamente a partir do PyPI:
uvx bru-gen --input ./swagger.json --output ./minha-colecao --url [https://api.exemplo.com](https://api.exemplo.com)
🌟 Philosophy
"Knowledge is the only wealth that grows when we share it"
Developed by: marcelomarkus
Metadata
Release files for bru-gen 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bru_gen-0.1.0.tar.gz | 5.8 kB | Without provenance | Details for bru_gen-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bru_gen-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for bru_gen-0.1.0-py3-none-any.whl |
Total release size: 13.2 kB
Release files / bru_gen-0.1.0.tar.gz
| Download URL | bru_gen-0.1.0.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fee7333deb6f6b5f400089c059e22104b3f515106c3ec357d3560dadaf702b3a
|
|
BLAKE2b-256 checksum How to use checksums |
0b68da860bfe162b9d84ea289055e13a2ec8ca6ddd03285a7d3adea213e3d373
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / bru_gen-0.1.0-py3-none-any.whl
| Download URL | bru_gen-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ce5ac7cab98657dfb290eacdb32ec7494f5e71dd6657e679bb41f962643285f0
|
|
BLAKE2b-256 checksum How to use checksums |
6cccb88a7836fde2966bbf7b675f71edd716af305b45ac3d234158e2abe7fffe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for bru-gen 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.