Skip to main content

xcherryapi

This APIs between xCherry service and SDKs

This Python package is automatically generated by the OpenAPI Generator project:

  • API version: 0.0.3
  • Package version: 0.0.3
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen

Requirements.

Python 3.7+

Installation & Usage

pip install

If the python package is hosted on a repository, you can install directly using:

pip install git+https://github.com/xcherryio/apis.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/xcherryio/apis.git)

Then import the package:

import xcherryapi

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 xcherryapi

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import time
import xcherryapi
from xcherryapi.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = xcherryapi.Configuration(
    host = "http://localhost"
)



# Enter a context with an instance of the API client
with xcherryapi.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = xcherryapi.DefaultApi(api_client)
    process_execution_describe_request = xcherryapi.ProcessExecutionDescribeRequest() # ProcessExecutionDescribeRequest |  (optional)

    try:
        # describe a process execution
        api_response = api_instance.api_v1_xcherry_service_process_execution_describe_post(process_execution_describe_request=process_execution_describe_request)
        print("The response of DefaultApi->api_v1_xcherry_service_process_execution_describe_post:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DefaultApi->api_v1_xcherry_service_process_execution_describe_post: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
DefaultApi api_v1_xcherry_service_process_execution_describe_post POST /api/v1/xcherry/service/process-execution/describe describe a process execution
DefaultApi api_v1_xcherry_service_process_execution_publish_to_local_queue_post POST /api/v1/xcherry/service/process-execution/publish-to-local-queue send message(s) to be consumed within a single process execution
DefaultApi api_v1_xcherry_service_process_execution_rpc_post POST /api/v1/xcherry/service/process-execution/rpc execute a RPC method of a process execution
DefaultApi api_v1_xcherry_service_process_execution_start_post POST /api/v1/xcherry/service/process-execution/start start a process execution
DefaultApi api_v1_xcherry_service_process_execution_stop_post POST /api/v1/xcherry/service/process-execution/stop stop a process execution
DefaultApi api_v1_xcherry_worker_async_state_execute_post POST /api/v1/xcherry/worker/async-state/execute invoking AsyncState.execute API
DefaultApi api_v1_xcherry_worker_async_state_wait_until_post POST /api/v1/xcherry/worker/async-state/wait-until invoking AsyncState.waitUntil API
DefaultApi api_v1_xcherry_worker_process_rpc_post POST /api/v1/xcherry/worker/process/rpc execute a RPC method of a process execution in the worker
DefaultApi internal_api_v1_xcherry_notify_immediate_tasks_post POST /internal/api/v1/xcherry/notify-immediate-tasks for api service to tell async service that there are new immediate tasks added to the queue
DefaultApi internal_api_v1_xcherry_notify_timer_tasks_post POST /internal/api/v1/xcherry/notify-timer-tasks for api service to tell async service that there are new timer tasks added to the queue

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author

Metadata

Release files for xcherryapi 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xcherryapi 0.0.3
File Size Uploaded Provenance Actions
xcherryapi-0.0.3.tar.gz 36.0 kB Without provenance Details for xcherryapi-0.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for xcherryapi 0.0.3
File Interpreter ABI Platform Actions
xcherryapi-0.0.3-py3-none-any.whl Python 3 none any Details for xcherryapi-0.0.3-py3-none-any.whl

Total release size: 141.6 kB

Release files / xcherryapi-0.0.3.tar.gz

Download URL xcherryapi-0.0.3.tar.gz
Size 36.0 kB
Tags Source
SHA-256 checksum
How to use checksums
df48891c927bca340ce983c73ca264de421584f41a80c6f53a69062f72ebef59
BLAKE2b-256 checksum
How to use checksums
eacfda59f7331755de5da6f6c352ce40da9b82dc0697d16fc35ec91ecb813a75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.11.0 Linux/6.2.0-1016-azure

Release files / xcherryapi-0.0.3-py3-none-any.whl

Download URL xcherryapi-0.0.3-py3-none-any.whl
Size 105.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
38fbcb59bfcf7e07c200c273cbe147fbb2b2564029be2e0c68cdc5ed6b03e256
BLAKE2b-256 checksum
How to use checksums
9dfed53d6dc6f1fa07ccbba72c13fb83eec9b77560548c3c67039d14f1c02b9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.11.0 Linux/6.2.0-1016-azure

Security for xcherryapi 0.0.3

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.

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page