nextup-lab
Find the best experimental conditions faster.
nextup-lab picks which experiments to run next when you're optimizing yield, selectivity, EC50 — anything you can measure. Hand it the conditions you've already tested and the candidates you haven't, and it ranks the candidates most likely to beat your current best.
from nextup_lab import suggest
next_batch = suggest(history, candidates, objective="yield", k=4)
Why this exists
A single round of experiments — catalysts, solvents, temperatures, substrates — can burn weeks of lab time, and most of the results are mediocre. nextup-lab reads what you've measured so far and ranks every untested condition by its probability of beating your current best, so each next batch is closer to optimal.
It's domain-agnostic: synthesis, formulation, microbial strain screening, process optimization — anywhere a condition is a row in a table.
How the input looks
One CSV. One column is what you measure (yield, conversion, EC50, …). Tested rows have a value; untested rows leave it blank. Everything else is conditions — numbers, category labels, or molecule SMILES, mixed freely.
| catalyst | solvent | temp_C | substrate | yield |
|---|---|---|---|---|
| Pd-A | toluene | 80 | CC(=O)Oc1ccccc1 | 73 |
| Ni-B | DMF | 100 | CC(=O)Oc1ccccc1 | 12 |
| Pd-A | toluene | 100 | Cc1ccccc1O | |
| … | … | … | … |
Column types are auto-detected; you don't have to label anything.
Quickstart
import pandas as pd
from nextup_lab import suggest
df = pd.read_csv("my_experiments.csv")
history = df[df["yield"].notna()]
candidates = df[df["yield"].isna()].drop(columns=["yield"])
next_batch = suggest(history, candidates, objective="yield", k=4)
print(next_batch)
next_batch is the top-4 candidate rows, sorted best-first, with a nextup_rank column and a nextup_score column (higher = more confident the row is in the top-5% region of the response). Run those four, fill in the results, call suggest() again. Repeat.
Install
pip install nextup-lab
Python 3.10, 3.11, 3.12, on Linux / macOS / Windows. CPU-only — no GPU required. Typical call is well under a minute on pools of a few hundred candidates.
How it works (briefly)
Bayesian optimization under the hood: fit a surrogate to what you've measured, score every candidate by tail probability against your current best, return top-k. For very small inputs (fewer than 5 tested rows, or fewer than 20 candidates) it falls back to a diversity-spread pick — Bayesian methods underperform random in that regime, so it doesn't pretend otherwise.
The default model was selected from a 5-dataset × 165-config × 64-seed screen on published optimization benchmarks (Doyle Pd, Stevens Ni, Perera Suzuki, DeoxyF Ag, others). The benchmark and selection method are described in the project notes.
License
Proprietary. The package on PyPI is distributed under the license in LICENSE — closed-source binary distribution only. No source code is included in the wheel.
Metadata
Release files for nextup-lab 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 1.1 MB
Release files / nextup_lab-0.1.0-cp312-cp312-win_amd64.whl
| Download URL | nextup_lab-0.1.0-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 78.3 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
e215bfda51a8d4561c5db9571847faaa798e5cf812e36c3e308674df9d48f315
|
|
BLAKE2b-256 checksum How to use checksums |
d4e6e3bf611265f76e2262b2a71a5b8b9cccb85b380f74649d0091b3b2ab66ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 14, 2026.
Transparency logRelease files / nextup_lab-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | nextup_lab-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 103.3 kB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
561a1aa5ce59ea0214bc85264025293f2f1e6d0a54120f4f6d21185226c8c36a
|
|
BLAKE2b-256 checksum How to use checksums |
12863b0084247c045873cc22a2a62954c9b3dc7d1726ce592714e3d0066a983e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 14, 2026.
Transparency logRelease files / nextup_lab-0.1.0-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | nextup_lab-0.1.0-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 83.9 kB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
8b92665eb15fc3783fa0e4421efcdedbd69b54e0a93466e644efcea009b33d0f
|
|
BLAKE2b-256 checksum How to use checksums |
9c5bfe95b671237bdcd618dd05befea2d8d995532bcca3ccb6431816e97f726a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 14, 2026.
Transparency logRelease files / nextup_lab-0.1.0-cp312-cp312-macosx_10_13_x86_64.whl
| Download URL | nextup_lab-0.1.0-cp312-cp312-macosx_10_13_x86_64.whl |
|---|---|
| Size | 87.9 kB |
| Tags | CPython 3.12 macOS 10.13+ x86-64 |
|
SHA-256 checksum How to use checksums |
96b0250e080433008e61889ed0ef92801c897c566d07fce51751e031e245b667
|
|
BLAKE2b-256 checksum How to use checksums |
927bcd0e3e80063c4ab7430bed369a8eea4031e7c3242bf011720bc3e12e68cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 14, 2026.
Transparency logRelease files / nextup_lab-0.1.0-cp311-cp311-win_amd64.whl
| Download URL | nextup_lab-0.1.0-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 81.3 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
eb2872497b025c08c0f62f0bda93b8afc71cb03c73e4b7cf6d42432f0be17088
|
|
BLAKE2b-256 checksum How to use checksums |
7243596f56ded1619777302695020f15d994f5cdf26e2874fd8b56b4831d8fe4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 14, 2026.
Transparency logRelease files / nextup_lab-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | nextup_lab-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 109.3 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
36945517acaa674dc088e169b2aad7968d472456662c8200e31cee10e6fd3198
|
|
BLAKE2b-256 checksum How to use checksums |
869b402fd2ab6962a96a89835bed8f349e652de15f790c9904cd60cda1825ed4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 14, 2026.
Transparency logRelease files / nextup_lab-0.1.0-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | nextup_lab-0.1.0-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 84.0 kB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
4a4f9e8f78c6baea76875481146e2765959be5c48743bbc18b9911f3f8bb820d
|
|
BLAKE2b-256 checksum How to use checksums |
99137d93226584e5d8bdb7df6b31b638a78e82c5c5f14231246b6675e2fcb1cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 14, 2026.
Transparency logRelease files / nextup_lab-0.1.0-cp311-cp311-macosx_10_9_x86_64.whl
| Download URL | nextup_lab-0.1.0-cp311-cp311-macosx_10_9_x86_64.whl |
|---|---|
| Size | 87.9 kB |
| Tags | CPython 3.11 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
118624894a1f00b1f2796efe2d113e833fccc497c19c16ed0a79e8693a357618
|
|
BLAKE2b-256 checksum How to use checksums |
fb2fe22a020e473865606594960542bf5566863c8593d51901b2ec98ca445fd1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 14, 2026.
Transparency logRelease files / nextup_lab-0.1.0-cp310-cp310-win_amd64.whl
| Download URL | nextup_lab-0.1.0-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 80.7 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
9b7c0b26cffe5bbc2d9e114e9eeb850ff3a0de6d0d70d819dc223883f19af532
|
|
BLAKE2b-256 checksum How to use checksums |
c866f0df409baff459e757abe54c7455a5ac223f87b9f966ff3bc1c2df9e1ece
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 14, 2026.
Transparency logRelease files / nextup_lab-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | nextup_lab-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 110.1 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
6ec40981d78e4948d68890ae384613a4649df65ea6476694c1e19f91b4aa1adf
|
|
BLAKE2b-256 checksum How to use checksums |
4302ba4f0215efd28af11fc61e27230229dabd6c10a8fc237924b1ae103044a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 14, 2026.
Transparency logRelease files / nextup_lab-0.1.0-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | nextup_lab-0.1.0-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 84.6 kB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
0287c2216f0099b2f7ff18b9ef2ea1ced0336fb483fd468243a8bb4420ce1a4d
|
|
BLAKE2b-256 checksum How to use checksums |
4f47b6b16c6a1481dcee8bf5cf65f78e853f1bbac9f0521be6325db0a45b606d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 14, 2026.
Transparency logRelease files / nextup_lab-0.1.0-cp310-cp310-macosx_10_9_x86_64.whl
| Download URL | nextup_lab-0.1.0-cp310-cp310-macosx_10_9_x86_64.whl |
|---|---|
| Size | 89.1 kB |
| Tags | CPython 3.10 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
eef8a3a89ba146ab05d7cdb4941b74b0c33bd1548886588cd1a9c1755ae3a042
|
|
BLAKE2b-256 checksum How to use checksums |
d35fcdf26beb290b61b86152557d96931aa8fa0c81dbbcf920f1dfb2c0292ffa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 14, 2026.
Transparency logSecurity for nextup-lab 0.1.0
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.
Full provenance
All 12 files in this release have been uploaded with provenance metadata.
Attestation for nextup_lab-0.1.0-cp312-cp312-win_amd64.whl
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 14, 2026.
Transparency logA 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.