Working on OpenAPI easily.
Features
Some of main features:
- Create a mock server for OpenAPI document
- Validate OpenAPI document with readable error messages
- Bundle OpenAPI fragments into the single document
py-luke supports both json and yaml type. Besides, you can also open file via path or URL.
Installation
You can install py-luke from PyPi or Docker
$ pip install py-luke
$ docker run nguyenkhacthanh/luke:latest
Usage
$ luke mock https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/examples/v3.0/petstore.yaml
or
$ docker run nguyenkhacthanh/latest validate https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/examples/v3.0/petstore.yaml
$ docker run -p8000:8000 nguyenkhacthanh/luke:latest mock https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/examples/v3.0/petstore.yaml
Metadata
Release files for py-luke 0.0.3
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 |
|---|---|---|---|---|
| py_luke-0.0.3.tar.gz | 14.0 kB | Without provenance | Details for py_luke-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| py_luke-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for py_luke-0.0.3-py3-none-any.whl |
Total release size: 25.6 kB
Release files / py_luke-0.0.3.tar.gz
| Download URL | py_luke-0.0.3.tar.gz |
|---|---|
| Size | 14.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
25590aba4adcbf9f90cb7373761f205cd6ef0c7f7dfe15a29d6cd28767b214f1
|
|
BLAKE2b-256 checksum How to use checksums |
63bd2d8a1d754fb2d1073ce21ef2e3b01dd0937cd00b41a43d1f7c78d6df598d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.4
|
Release files / py_luke-0.0.3-py3-none-any.whl
| Download URL | py_luke-0.0.3-py3-none-any.whl |
|---|---|
| Size | 11.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
acc7b548296ec683822340d0464bc3d63b1aa798f91a1e62af5e357ea23206ca
|
|
BLAKE2b-256 checksum How to use checksums |
bb0f4e805eecf9b5780a1d87a2c55a8c934db6ee21afdb6f246b9ac081f9c95c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.4
|
Security for py-luke 0.0.3
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.