sapiopylib: Official Sapio Informatics Platform Python API
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.
Security
Security fixes are delivered by keeping every environment that runs this package up to date, not only this package itself.
- Dependency minimums that this package needs are enforced in its package metadata, so upgrading the package pulls them in.
- Some vulnerabilities live in packages that this package does not depend on but that its HTTP stack uses if they are installed
(for example Brotli). Audit each environment and container image with
pip-audit, and rebuild images instead of reusing cached layers. - Keep pip, and uv if you use it, current in every virtual environment, and keep your operating system's CA certificates updated.
Specific advisories and the versions that fix them are tracked in the Sapio release notes and the Python Packaging Advisory Database.
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:
- requests - Requests is an Apache2 Licensed HTTP library, written in Python, for human beings.
- pandas - pandasis a fast, powerful, flexible and easy to use open source data analysis and manipulation tool,
built on top of the Python programming language. - Flask - A simple framework for building complex web applications.
- buslane - A simple implementation of event-bus system with proper type hinting
- plotly.py - An open-source, interactive data visualization library for Python
- kaleido - Static image export for web-based visualization libraries with zero dependencies
- certifi - The Mozilla CA certificate bundle used by requests to verify HTTPS connections. Version 2026.10.19 or later is required.
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.
If you have any questions about how to use sapiopylib, please visit our tutorial page.
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
Metadata
Release files for sapiopylib 2026.11.9.319
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 | Actions |
|---|---|---|---|---|
| sapiopylib-2026.11.9.319.tar.gz | 555.8 kB | Without provenance | Details for sapiopylib-2026.11.9.319.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sapiopylib-2026.11.9.319-py3-none-any.whl | Python 3 | none | any | Details for sapiopylib-2026.11.9.319-py3-none-any.whl |
Total release size: 848.4 kB
Release files / sapiopylib-2026.11.9.319.tar.gz
| Download URL | sapiopylib-2026.11.9.319.tar.gz |
|---|---|
| Size | 555.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
88c41ead37dd8cbb257a1205f45818371b3c6d6634491a727bb44df331f4cfb3
|
|
BLAKE2b-256 checksum How to use checksums |
905637721284baf71055a33b6a1fad14e5ededf351feddb41273ac7071ac0524
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Release files / sapiopylib-2026.11.9.319-py3-none-any.whl
| Download URL | sapiopylib-2026.11.9.319-py3-none-any.whl |
|---|---|
| Size | 292.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bcb3299e37d562caf95c14919df255210f1e6b7a5b307786556899776a659486
|
|
BLAKE2b-256 checksum How to use checksums |
756db19a86a1ae47bcf739ad2a92c50cca98f2e77a874b8df4f2189ad42d71c1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Security for sapiopylib 2026.11.9.319
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.