Skip to main content

osparcAPIcontrol


Name

osparcAPIcontrol

Description

providing a variety of tools to interact with osparc API faster.
Compiles the different functionalities of the osparc package into composites to simplify and speed up its usage.

Badges

PyPI

Installation

pip install osparcAPIcontrol

Usage

import pprint
from osparcAPIcontrol.controller import OsparcAPIcontroller

# to instantiate a controller object, pass host, your username and password. 
# hosts:
# "https://api.osparc.io" for osparc.io
# "https://api.osparc.speag.com" for s4l.speag.com
#
#username and password can be acquired by creating an API Token on the respective website.
username = 'some_string'
password = 'some_other_string'

control = OsparcAPIcontroller(host="https://api.osparc.io",
                              username=username,
                              password=password)

# prints a list of all available solvers and their properties
control.print_solvers()

# choose a set of solvers to use in your workflow which are saved in a dictionary
control.initialize_solvers(solver_list=['isolve-mpi', 's4l Python Runner'])
print('\n')
pprint.pprint(control.solvers_in_use)
print('\n')
print(control.solvers_in_use['isolve-mpi'])

Support

msteiner@itis.swiss

Roadmap

  1. More functions to interact with the API will be added
  2. Existing functions will be further unified/combined
  3. Functionalities to easily store and access the metadata files containing important file IDs

Authors and acknowledgment

pcrespov, main author of the osparc package

License

MIT

Metadata

Release files for osparcAPIcontrol 0.0.6

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

Source distribution (sdist)

Source distribution for osparcAPIcontrol 0.0.6
File Size Uploaded Provenance Actions
osparcAPIcontrol-0.0.6.tar.gz 5.1 kB Without provenance Details for osparcAPIcontrol-0.0.6.tar.gz

Built distribution (wheel)

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

Total release size: 10.5 kB

Release files / osparcAPIcontrol-0.0.6.tar.gz

Download URL osparcAPIcontrol-0.0.6.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e146b1f223cbfdfb37a79cb3d8d43b8c68ca7d43f9eaf846eec5ea5cc3c09021
BLAKE2b-256 checksum
How to use checksums
eb12f49211fb5869652a8de0a8abe3a6a65a5b5f6cdfb772e4e2e0dab0776916
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.7

Release files / osparcAPIcontrol-0.0.6-py3-none-any.whl

Download URL osparcAPIcontrol-0.0.6-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
52d6946d2ef4ec8e34f3385923e3a9b2b32b5b5e9463a3957099330d8942629e
BLAKE2b-256 checksum
How to use checksums
efac8673571aedfe289414f18f3f043daaa9964fd452257e314d329e22aefcca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.7

Security for osparcAPIcontrol 0.0.6

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.

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