Morpho Typing
This module provides a set of schemas common to the Morpho Design Explorer Server and GA-Search Client.
There are two schemas available as of now:
- MorphoProjectSchema: defines and provides validation for the general structure of a project's schema
- MorphoAssetCollection: defines a set of assets / files that are associated with a schema.
Installation:
pip install morpho_typing
Project Usage:
to validate a project schema definition
schema = MorphoProjectSchema(values=[...])
to validate a record against an existing project schema object
schema.validate_record(record)
to validate an asset collection definition
asset_schema = MorphoAssetCollection(assets=[...])
Release files for morpho-typing 1.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| morpho_typing-1.5.0.tar.gz | 2.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| morpho_typing-1.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.9 kB
Release files / morpho_typing-1.5.0.tar.gz
| Download URL | morpho_typing-1.5.0.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6ef98b114bc73f2e267a3e06889eee906ec5e0f7ae1c07ae2cfb1f27d5755f44
|
|
BLAKE2b-256 checksum How to use checksums |
a55e77e92949ef64f8f04c3291178d4171321ef5134079325108f2d302761774
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.7
|
Release files / morpho_typing-1.5.0-py3-none-any.whl
| Download URL | morpho_typing-1.5.0-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2d5f749a2516ee0c0553d1576ba4bd06b1f9da7e8960dcd93b3974c319dbaa72
|
|
BLAKE2b-256 checksum How to use checksums |
f3fac24629129ed8fe36f4618b8216351b1188949b4e447dfb48bb5eb6f8299e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.7
|