Skip to main content

Get Marshmallow class from JSON Schema

Project description

JsonSchema to Marshmallow

jsonschema-to-marshmallow translates JSON Schema to Marshmallow class.

Simple Example

from jsonschema_marshmallow import MarshmallowJsonSchema

json_schema = {
  "type": "object",
  "properties": {
    "price": {
      "type": "number"
    },
    "name": {
      "type": "string"
    }
  }
}
Schema = MarshmallowJsonSchema(json_schema).load()

Schema().dump({'name': 'john'})

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

jsonschema_to_marshmallow-0.1.1.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jsonschema_to_marshmallow-0.1.1-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file jsonschema_to_marshmallow-0.1.1.tar.gz.

File metadata

File hashes

Hashes for jsonschema_to_marshmallow-0.1.1.tar.gz
Algorithm Hash digest
SHA256 298cbac6fc53dcc1885401dcbab8e47574485e0dd6f993561781dd22e9b8469a
MD5 da8dc7db62aec1c9cde3fd55de8f2749
BLAKE2b-256 33ac9da8448aa88481a65199c6b430716d3b8c837e2fb831890e43bf2f803867

See more details on using hashes here.

Provenance

The following attestation bundles were made for jsonschema_to_marshmallow-0.1.1.tar.gz:

Publisher: publish.yml on sdefauw/jsonschema-to-marshmallow

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file jsonschema_to_marshmallow-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for jsonschema_to_marshmallow-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 19ebf50205f368ef3ebc261c870e23256ae953b15586634262af3bd6238b8753
MD5 f704719a2d3ab4de8f6e9dda9bd3e6fb
BLAKE2b-256 ad4663432b4f94c38fb33d2844ea8a79f13c27615076386dd0a7fb2377c512c7

See more details on using hashes here.

Provenance

The following attestation bundles were made for jsonschema_to_marshmallow-0.1.1-py3-none-any.whl:

Publisher: publish.yml on sdefauw/jsonschema-to-marshmallow

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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