Autogenerated API client conforming to the OGC API - Processes
Project description
ogc-api
This document is an API definition document provided alongside the OGC API - Processes standard. The OGC API - Processes Standard specifies a processing interface to communicate over a RESTful protocol using JavaScript Object Notation (JSON) encodings. The specification allows for the wrapping of computational tasks into executable processes that can be offered by a server and be invoked by a client application.
This Python package is automatically generated by the OpenAPI Generator project:
- API version: 1.0.0
- Package version: 1.0.0
- Generator version: 7.12.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit https://www.ogc.org/contacts
Requirements.
Python 3.8+
Installation & Usage
pip install
If the python package is hosted on a repository, you can install directly using:
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)
Then import the package:
import ogc_api_processes_client
Setuptools
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install to install the package for all users)
Then import the package:
import ogc_api_processes_client
Tests
Execute task test (or hatch run test:run) to run the tests.
Development Tasks
Use Taskfile targets for local development:
task build-safe: regenerate code, apply post-generation fixes, run lint checks, and run teststask check: run Ruff checks with auto-fixtask lint: format with Rufftask test: run the test suite
Code Generation Caveats
Code generation can overwrite repository files if run directly via OpenAPI Generator.
- Prefer
task build-safeinstead of raw generation commands. - The low-level
buildtask is internal and is orchestrated bybuild-safe. .openapi-generator-ignoreprotects project-maintained files (pyproject.toml, CI workflows, etc.); keep it up to date.build-safeincludes deterministic post-generation fixes (including the knownbytearray/pydantic>=2incompatibility), then runscheckandtest.
Getting Started
Please follow the installation procedure and then run the following:
import ogc_api_processes_client
from ogc_api_processes_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://example.org/ogc
# See configuration.py for a list of all supported configuration parameters.
configuration = ogc_api_processes_client.Configuration(
host = "http://example.org/ogc"
)
# Enter a context with an instance of the API client
with ogc_api_processes_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = ogc_api_processes_client.CapabilitiesApi(api_client)
try:
# landing page of this API
api_response = api_instance.get_landing_page()
print("The response of CapabilitiesApi->get_landing_page:\n")
pprint(api_response)
except ApiException as e:
print("Exception when calling CapabilitiesApi->get_landing_page: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to http://example.org/ogc
| Class | Method | HTTP request | Description |
|---|---|---|---|
| CapabilitiesApi | get_landing_page | GET / | landing page of this API |
| ConformanceDeclarationApi | get_conformance_classes | GET /conformance | information about standards that this API conforms to |
| DismissApi | dismiss | DELETE /jobs/{jobId} | cancel a job execution, remove a finished job |
| ExecuteApi | execute | POST /processes/{processID}/execution | execute a process. |
| JobListApi | get_jobs | GET /jobs | retrieve the list of jobs. |
| ProcessDescriptionApi | get_process_description | GET /processes/{processID} | retrieve a process description |
| ProcessListApi | get_processes | GET /processes | retrieve the list of available processes |
| ResultApi | get_result | GET /jobs/{jobId}/results | retrieve the result(s) of a job |
| StatusApi | get_status | GET /jobs/{jobId} | retrieve the status of a job |
Documentation For Models
- AdditionalParameter
- AdditionalParameterValueInner
- Bbox
- ConfClasses
- DescriptionType
- DescriptionTypeAdditionalParameters
- Exception
- Execute
- Execute200Response
- ExecuteInputsValue
- Format
- FormatSchema
- InlineOrRefData
- InputDescription
- InputDescriptionAllOfMaxOccurs
- InputValue
- InputValueNoObject
- JobControlOptions
- JobList
- LandingPage
- Link
- Metadata
- ModelSchema
- Output
- OutputDescription
- Process
- ProcessList
- ProcessSummary
- QualifiedInputValue
- Reference
- SchemaOneOf
- SchemaOneOfAdditionalProperties
- SchemaOneOfNot
- StatusCode
- StatusInfo
- Subscriber
- TransmissionMode
Documentation For Authorization
Endpoints do not require authorization.
Author
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ogc_api_processes_client-0.6.0.tar.gz.
File metadata
- Download URL: ogc_api_processes_client-0.6.0.tar.gz
- Upload date:
- Size: 93.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
79aea761a6650841707cc19473f126e9d1b60b9df06865584e998e11a25d8334
|
|
| MD5 |
56e987fb864b54f9857355061e052fed
|
|
| BLAKE2b-256 |
c4de0f3bc874ced645d9e195b88465f926feeaa729e058040f92eee7dcca566c
|
Provenance
The following attestation bundles were made for ogc_api_processes_client-0.6.0.tar.gz:
Publisher:
package.yaml on EOEPCA/ogc-api-processes-client
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ogc_api_processes_client-0.6.0.tar.gz -
Subject digest:
79aea761a6650841707cc19473f126e9d1b60b9df06865584e998e11a25d8334 - Sigstore transparency entry: 1582689107
- Sigstore integration time:
-
Permalink:
EOEPCA/ogc-api-processes-client@75c6367b9c5a7ac9829bb24b3c1973e1ba338a07 -
Branch / Tag:
refs/tags/v0.6.0 - Owner: https://github.com/EOEPCA
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
package.yaml@75c6367b9c5a7ac9829bb24b3c1973e1ba338a07 -
Trigger Event:
push
-
Statement type:
File details
Details for the file ogc_api_processes_client-0.6.0-py3-none-any.whl.
File metadata
- Download URL: ogc_api_processes_client-0.6.0-py3-none-any.whl
- Upload date:
- Size: 115.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d46865c0d0cd4ce0704309868a50706f5e35c604334994d0a1e2db39f0a6dda2
|
|
| MD5 |
712df0caa03d49a481a56b111c0bf724
|
|
| BLAKE2b-256 |
03eee449ab673ebe120d66796331af1bdcf13cc3ef7c533018007ad09f9a2c0d
|
Provenance
The following attestation bundles were made for ogc_api_processes_client-0.6.0-py3-none-any.whl:
Publisher:
package.yaml on EOEPCA/ogc-api-processes-client
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ogc_api_processes_client-0.6.0-py3-none-any.whl -
Subject digest:
d46865c0d0cd4ce0704309868a50706f5e35c604334994d0a1e2db39f0a6dda2 - Sigstore transparency entry: 1582689246
- Sigstore integration time:
-
Permalink:
EOEPCA/ogc-api-processes-client@75c6367b9c5a7ac9829bb24b3c1973e1ba338a07 -
Branch / Tag:
refs/tags/v0.6.0 - Owner: https://github.com/EOEPCA
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
package.yaml@75c6367b9c5a7ac9829bb24b3c1973e1ba338a07 -
Trigger Event:
push
-
Statement type: