Write the smallest possible OpenAPI and generate the rest
Project description
atomically
[!CAUTION] This library is for experimenting and prototyping at this point and may change considerably until it reaches version 1.0.0. Please be cautious about relying on this library at this point.
Write the smallest possible OpenAPI and generate the rest. Read more about this approach in the Atomically repository.
Installation
Install this library using pip
:
pip install atomically
Usage
from atomically import Atomically
openapi = Atomically.from_file("atomically.yaml").generate()
with open("openapi.yaml", "w") as f:
f.write(openapi.to_yaml())
Development
To contribute to this library, first checkout the code. Then create a new virtual environment:
cd atomically
python -m venv venv
source venv/bin/activate
Now install the dependencies and test dependencies:
pip install -e '.[test]'
To run the tests:
pytest
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
atomically-0.1.1.tar.gz
(9.5 kB
view hashes)
Built Distribution
Close
Hashes for atomically-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ec93fd5e747fe1e6e5c3684b9700fe458f4a55f54dfb04542415712c98fa998 |
|
MD5 | 70db5c2894f384e8b07cd923e1482f13 |
|
BLAKE2b-256 | 3c0b177642ac79c578c4001cc62c1374988b5dc20605cd12b6bc888035d347c0 |