Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

sapiopylib: Official Sapio Informatics Platform Python API


PyPI Latest Release License Issues

What is it?

sapiopylib is a powerful Python package, developed and maintained by Sapio Sciences, that provides the ability to create endpoints to manipulate data and make configuration changes within the Sapio lab informatics platform in a quick and straightforward manner.

The package makes it easy to automate changes to and queries of different types of data in the system, ranging from records to notebooks and the entries within them. Intuitive datatypes, such as record models that allow for simple manipulation of data records and their fields, within the package help to make development nearly as straightforward as performing the same tasks in the application.

As well as serving as the most direct way to programmatically alter data in the application, sapiopylib makes it possible to create endpoints to alter and query configurations in the system. Configurations for system data types, lists used by the system, and more can be easily accessed using this package.

Main Features

Here is a list of major features in this library:

  • Support all Sapio REST API functions.
  • Manipulate data records with record models using client-based caching. This allows you to batch requests easily for performance. Making your changes in mini-batch is also provides transactional commits outside of a webhook context for data record changes.
  • Create new temporary data types easily with FormBuilder utility.
  • Provides Protocol-Step API as we have defined in Sapio Java API.
  • Supports creation of a Flask-based webhook server. Implement additional toolbar buttons, rules, validation logic to customize your ELN experiment, workflows, and user interface.

Where to get it?

Installation is simple:

pip install sapiopylib

However, you may need to pay attention to the library version to ensure it is compatible with your Sapio Informatics Platform.

The correct versions for each platform can be found under the tutorial github. The github will create a branch under 'prior_releases' folder when a specific sapiopylib is made against a platform release. The installation manual inside the tutorial, with the correct branch checked out, will make a reference to the exact version you should install for that platform.

Pre-releases will reference the bleeding-edge non-GA Sapio Platform.

The latest release of sapiopylib marked with final status will reference the latest GA Sapio Platform.

Licenses

sapiopylib along with its tutorials in the github are licensed under MPL 2.0. pypi.org is granted the right to distribute sapiopylib forever.

This license does not provide any rights to use any other copyrighted artifacts from Sapio Sciences. (And they are typically written in another programming language with no linkages to this library.)

Dependencies

The following dependencies are required for this package:

Documentation

All documentations, including code examples and installation guide, are provided at our sapiopylib tutorial github.

Getting Help

If you have support contract with Sapio Sciences, please use our technical support channels. support@sapiosciences.com

If you have any questions about how to use sapiopylib, please visit our tutorial page.

If you would like to report an issue on sapiopylib, or its tutorial content, please feel free to create a issue ticket at the tutorial github.

About Us

Sapio is at the forefront of the Digital Lab with its science-aware platform for managing all your life science data with its integrated Electronic Lab Notebook, LIMS Software and Scientific Data Management System.

Visit us at Sapio Sciences

Release files for sapiopylib 2023.10.19a161

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

Source distribution (sdist)

Source distribution for sapiopylib 2023.10.19a161
File Size Uploaded
sapiopylib-2023.10.19a161.tar.gz 267.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sapiopylib 2023.10.19a161
File Interpreter ABI Platform
sapiopylib-2023.10.19a161-py3-none-any.whl Python 3 none any Details

Total release size: 457.6 kB

Release files / sapiopylib-2023.10.19a161.tar.gz

Download URL sapiopylib-2023.10.19a161.tar.gz
Size 267.2 kB
Tags Source
SHA-256 checksum
How to use checksums
8a89308f3d270a8c8dfb981b6bbe0d25f038dfdec6faf2b83d46aaab3bb45858
BLAKE2b-256 checksum
How to use checksums
8ae30a1655c7a3d5a3dbd5e0bb2d7a451a541cdd14812ce47c93b0b66e40b190
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.2

Release files / sapiopylib-2023.10.19a161-py3-none-any.whl

Download URL sapiopylib-2023.10.19a161-py3-none-any.whl
Size 190.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5ebedf3d7fbe0540c0591899e0d1e11d5d0217fc47a11f1724a84c1a9b8fc05f
BLAKE2b-256 checksum
How to use checksums
f6842df96ac63512dae8c10ebdc8c53da51a6a32ece554fd1f9b622c2bd5e82e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.2

Release history Release notifications | RSS feed

This release

2023.10.19a161 This release

2 release files

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