OpenAlchemy

Define SQLAlchemy models using the OpenAPI specification.

APACHE-2.0 License

Downloads
5K
Stars
48
Committers
9

Bot releases are hidden (Show)

OpenAlchemy - v2.3.0

Published by jdkandersson over 3 years ago

Added

  • Add support for OpenAPI 3.1. [#276]
OpenAlchemy - v2.1.0

Published by jdkandersson almost 4 years ago

Added

  • Add support for namespaced x-open-alchemy- prefix on top of the shorter
    x- prefix for extension properties. [#236]
OpenAlchemy - Models Distribution Package

Published by jdkandersson about 4 years ago

  • Refactor the models file generation to use the artifacts from the schemas.
  • Add build_json and build_yaml interfaces which can be used to produce a package with the models.
  • Changed output of build_json and build_yaml to be contained within a project directory.
  • Add support for building sdist or wheel distributable archive.
  • Drop support for Python 3.6 and add support for Python 3.9.
OpenAlchemy - v1.5.4 Correct Artifact Location

Published by jdkandersson about 4 years ago

  • Move description to be a top level property artifact for every property.
OpenAlchemy - v1.5.3 Correct Format Artifact Name

Published by jdkandersson about 4 years ago

  • Correct format key to no longer have a trailing _ for artifacts.
OpenAlchemy - v1.5.2 Get Artifacts

Published by jdkandersson about 4 years ago

  • Expose function that collects artifacts for the models.
  • Expose function that collects artifacts for the model properties.
OpenAlchemy - v1.5.1 Mixin Classes

Published by jdkandersson about 4 years ago

  • Add support for arbitrary mix in classes.
OpenAlchemy - v1.5.0 - Generic Format and Validation Improvements

Published by jdkandersson about 4 years ago

  • Add support for generic format for string that are treated like a string without a format.
  • Change constructable check to no longer check the schema of x-tablename and x-inherits.
  • Change schema validation to process properties even if the model is not valid.
  • Add interface to check un-managed models for the reason why they are not managed.
OpenAlchemy - v1.4.3 Remove Black

Published by jdkandersson about 4 years ago

  • Remove dependency on black
OpenAlchemy - v1.4.2 - Black Added Back & Bug Fix

Published by jdkandersson about 4 years ago

  • Fix bug where iterating over constructable schemas did not handle some exceptions
  • Add black dependency back in
OpenAlchemy - v1.4.1 Remove Black Dependency

Published by jdkandersson about 4 years ago

  • Remove black dependency
OpenAlchemy - v1.4.0 Schema Pre-Validation

Published by jdkandersson about 4 years ago

  • Add schemas pre-processor that extracts the required back references.
  • Add foreign key pre-processor that extracts the required foreign keys.
  • Add schema validation pre-processor.
  • Add function that checks a specification.
OpenAlchemy - v1.3.0 JSON and writeOnly

Published by jdkandersson over 4 years ago

  • Add support for generic JSON data for properties.
  • Add support for writeOnly.
  • Fix bug where the name of the foreign key column was based on the table name and not the property name.
Package Rankings
Top 7.88% on Pypi.org
Badges
Extracted from project README
Documentation Status Buy Me A Coffee
Related Projects