schemantis
This the documentation for the Schemantis REST API.
The schemantis package is automatically generated by the OpenAPI Generator project:
- API version: 1.0.0
- Package version: 1.0.0
- Generator version: 7.7.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
Requirements.
Python 3.7+
Installation & Usage
This python library package is generated without supporting files like setup.py or requirements files
To be able to use it, you will need these dependencies in your own package that uses this library:
- urllib3 >= 1.25.3
- python-dateutil
- pydantic
Getting Started
In your own code, to use this library to connect and interact with schemantis, you can run the following:
import schemantis
from schemantis.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.schemantis.ca
# See configuration.py for a list of all supported configuration parameters.
configuration = schemantis.Configuration(
host = "https://api.schemantis.ca"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure API key authorization: api_key
configuration.api_key['api_key'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['api_key'] = 'Bearer'
# Enter a context with an instance of the API client
with schemantis.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = schemantis.DefaultApi(api_client)
map_id = 'map_id_example' # str | The ID of the map to retrieve (optional)
map_name = 'map_name_example' # str | The name of the map to retrieve (optional)
try:
# retrieve map with optional configurable formatting
api_response = api_instance.retrieve_map_get(map_id=map_id, map_name=map_name)
print("The response of DefaultApi->retrieve_map_get:\n")
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->retrieve_map_get: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to https://api.schemantis.ca
| Class | Method | HTTP request | Description |
|---|---|---|---|
| DefaultApi | retrieve_map_get | GET /retrieve-map | retrieve map with optional configurable formatting |
| DefaultApi | update_schema_post | POST /update-schema | update schema |
Documentation For Models
- Edge
- ModelSchema
- Node
- RetrieveMapGet200Response
- RetrieveMapGet200ResponseIntermediate
- RetrieveMapGet200ResponseSource
- UpdateSchemaPost200Response
- UpdateSchemaPostRequest
Documentation For Authorization
Authentication schemes defined for the API:
api_key
- Type: API key
- API key parameter name: x-api-key
- Location: HTTP header
Author
Metadata
Release files for schemantis 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| schemantis-0.1.5.tar.gz | 22.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| schemantis-0.1.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 58.6 kB
Release files / schemantis-0.1.5.tar.gz
| Download URL | schemantis-0.1.5.tar.gz |
|---|---|
| Size | 22.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ba973d23eba851d8d388848da4450ef858b0a46c2b83811a80f562d0ce6b006a
|
|
BLAKE2b-256 checksum How to use checksums |
25503aaf3a7ca9c5a603b7c5a4b87868efef4d94ec4a59fdaa872612c7d139f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.4
|
Release files / schemantis-0.1.5-py3-none-any.whl
| Download URL | schemantis-0.1.5-py3-none-any.whl |
|---|---|
| Size | 36.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
248d5e9c04a29dc3d3e1ad90619aee84ced78de03e89904c80524051b8ddcc21
|
|
BLAKE2b-256 checksum How to use checksums |
949108573446140cfc45ab36f212702c06f954d8adb2bab71eafb02109e7659e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.4
|
Security for schemantis 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.