Skip to main content

ElevenOne: your perfect lab assistant

PyPI Downloads PyPI Version Python Versions Last Commit

ElevenOne Logo

Examples

ElevenOne is a Python library for seamless scientific unit management, rigorous laboratory data processing, and automated publication-ready plotting.

Some of the things ElevenOne can do include:

  • Handling of physical units
  • Automatic data loading with unit detection
  • High-level scientific plotting and visualizations
  • Automated publication-grade scientific reports
  • Numerous models of data fitting

Handling of physical units

ElevenOne features a complete internal system for handling physical units. Among the things it can do are the use and management of physical units, operations with them, and conversion between them.

from elevenone import *

speed = 90 * km/h
print(speed.convert_to(m/s))
>>> 25 m/s

ElevenOne has more than 60 different units to use in your project!


Automatic Data Loading with Unit Detection

ElevenOne can load data directly from CSV or Excel files (.csv, .xls, .xlsx), automatically detecting physical units in column headers (e.g., Time (s), Pressure [kPa]) or within data cells.

from elevenone import load_data

# Load data automatically parsing units into Quantity objects
df = load_data("experiment_results.csv")

# Access columns directly; units are preserved and active
print(df["Time"])
print(df["Speed"].mean())

High-Level Scientific Plotting

With Data objects, you can generate modern, publication-ready plots with built-in unit handling and automatic labeling:

from elevenone import Data, s, m

# Create dataset with units
t = [1, 2, 3, 4, 5] * s
d = [2.1, 4.3, 5.9, 8.1, 10.2] * m

data = Data({"Time": t, "Distance": d})

# Generate line plot with automatic labels
fig, ax = data.plot(x="Time", y="Distance", title="Kinematic Trajectory")

# Scatter plot with linear fit
fig, ax = data.scatter(x="Time", y="Distance", fit=True, title="Linear Fit Analysis")

ElevenOne supports multiple visualization modes out of the box:

  • data.plot(): Line plots with area fills.
  • data.scatter(): Scatter plots with optional linear fit (fit=True).
  • data.errorbar(): Uncertainty visualization (xerr, yerr).
  • data.hist(): Distribution histograms.
  • data.boxplot() & data.violin(): Outlier and density distribution plots.
  • data.residual_plot(): Residual error analysis for fits.
  • data.pairplot(): Pairwise correlation grid.
  • data.corr_heatmap(): Pearson correlation heatmaps.

Automated Scientific Reports

Generate full statistical and visual analytical reports with a single function call in HTML or PDF format.

from elevenone import load_data, generate_report

# Load laboratory dataset
data = load_data("lab_measurements.xlsx")

# Generate complete HTML report
generate_report(data, output_path="report.html", title="Laboratory Experiment Analysis")

# Export as PDF (requires weasyprint or pdfkit)
generate_report(data, output_path="report.pdf", format_type="pdf")

The report automatically compiles dataset overview metrics, descriptive statistics, advanced indicators (skewness, kurtosis, IQR), correlation matrices, and distribution graphs without exposing raw data lines.


Curve Fitting & Model Optimization

ElevenOne provides a flexible curve fitting module designed for scientific data analysis, featuring built-in standard models (linear, polynomial, exponential, power law and logarithmic) as well as support for custom user-defined functions. Fits preserve physical units and compute fitted parameters alongside standard errors and goodness-of-fit metrics ($R^2$, $\chi^2$).

data = Data({
    "Time": [0.0, 1.0, 2.0, 3.0, 4.0] * s,
    "Position": [0.2, 2.1, 4.3, 5.9, 8.2] * m
})

# Add measurement errors
data.set_error("Time", 0.05)       # 0.05 s error on time
data.set_error("Position", 0.2)    # 0.2 m error on position

# 2. Perform linear fit
result = fit_linear(data, x="Time", y="Position")

# 3. Print complete fit summary
print(result)

# 4. Plot data, fit line, and residuals
fig, axes = result.plot(title="Position vs. Time Fit")

Documentation

The complete documentation, including installation instructions, getting-started guides, usage examples, and feature references, is available at:

📚 ElevenOne Documentation


License

ElevenOne is open-source software released under the MIT License. You are free to use, modify, and distribute it, including for commercial purposes, provided that the copyright and permission notices are retained.

See the LICENSE file for the complete license text.

Metadata

Release files for ElevenOne 0.4.0

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

Source distribution (sdist)

Source distribution for ElevenOne 0.4.0
File Size Uploaded Provenance Actions
elevenone-0.4.0.tar.gz 59.0 kB With provenance Details for elevenone-0.4.0.tar.gz

Built distribution (wheel)

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

Total release size: 121.0 kB

Release files / elevenone-0.4.0.tar.gz

Download URL elevenone-0.4.0.tar.gz
Size 59.0 kB
Tags Source
SHA-256 checksum
How to use checksums
6667f57a96c68d09290ce04f0461e9afd449bd899c0868c36b25b14154028fe9
BLAKE2b-256 checksum
How to use checksums
9077a1aba61ec6665106de807aefcffb9f7e9522b0a026ff2949aa625faa1a5a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 2, 2026.

Transparency log

Release files / elevenone-0.4.0-py3-none-any.whl

Download URL elevenone-0.4.0-py3-none-any.whl
Size 62.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fe9769a477c11941025c2d9def90953428cbeb433cf41be0a6f5f142747d8507
BLAKE2b-256 checksum
How to use checksums
56d156e3cc0ab8808dad5e7dff937a279fb0866d37b9d530a0678b0297b38d21
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 2, 2026.

Transparency log

Security for ElevenOne 0.4.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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for elevenone-0.4.0.tar.gz

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 Nov 2, 2026.

Transparency log

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