:target: https://travis-ci.org/#!/pinntech/oas3?branch=master
.. |coveralls| image:: https://img.shields.io/coveralls/pinntech/oas3/master.svg?style=flat-square
:target: https://coveralls.io/r/pinntech/oas3?branch=master
.. |pypi| image:: https://img.shields.io/pypi/v/oas3.svg?style=flat-square
:target: https://pypi.python.org/pypi/oas3
.. |license| image:: https://img.shields.io/pypi/l/oas3.svg?style=flat-square
:target: https://pypi.python.org/pypi/oas3
****
OAS3
****
|travis-ci| |coveralls| |pypi| |license|
OAS3 is a parser, validator and compiler for dealing with Open API
Specification v3. This library provides an interface for working with
specifications, and loading and dumping to various locations and formats.
Quickstart
===========
To get started load your spec, it will be validated upon dumping.
.. code-block:: python
from oas3 import Spec
# Load the Spec from a file
spec = Spec.from_file('./spec.json')
spec = Spec.from_file('./spec.yml')
# Load the Spec from a URL
spec = Spec.from_url('https://raw.githubusercontent.com/OAI/OpenAPI-Specification/master/examples/v3.0/petstore.yaml')
# Load the Spec from a python native dictionary
spec = Spec.from_dict(spec_dict)
# A spec that is sufficiently loaded (i.e. valid OAS3) can now be dumped
spec.to_file('/tmp/spec.yaml')
spec.to_dict()
spec.to_json()
spec.to_yaml()
0.1.0 2018-10-01
----------------
- Pre-alpha release
Metadata
Release files for oas3 0.1.13
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 | |
|---|---|---|---|---|
| oas3-0.1.13.tar.gz | 64.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| oas3-0.1.13-py3.7.egg | Legacy Egg format | - | - | Details |
Total release size: 84.1 kB
Release files / oas3-0.1.13.tar.gz
| Download URL | oas3-0.1.13.tar.gz |
|---|---|
| Size | 64.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
58bf01ea537ceff940503c7babc542e2757a67ffbebde5da4635197042008f1f
|
|
BLAKE2b-256 checksum How to use checksums |
8910e880480c797a6b0672ee8fef49d8fccbe962048b4b4ee6cd8bdb7122bf33
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.7
|
Release files / oas3-0.1.13-py3.7.egg
| Download URL | oas3-0.1.13-py3.7.egg |
|---|---|
| Size | 19.4 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
b1a73404bee3fbfbfd185532a5722b078648b7adb63f2b66774d9c30117a451a
|
|
BLAKE2b-256 checksum How to use checksums |
ed67d594761e09c6cfffa1c3608bcd0c34dae8275aacfb50c759da30ee5b8ce6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.7
|
Security for oas3 0.1.13
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.