Skip to main content

Write the smallest possible OpenAPI and generate the rest

Project description

atomically

PyPI Tests Changelog License

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.0.tar.gz (9.3 kB view hashes)

Uploaded Source

Built Distribution

atomically-0.1.0-py3-none-any.whl (9.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page