Skip to main content

SymPy Measurement

A sympy addon for measurement value and uncertainty processing.

Example:

from sympy import pi
from sympy.physics.units import *
from sympy_measurement import *

t = Measurement('t', (50.22, 50.26, 50.20), s, uB=(0.2/3, 0.05/3))
l_0 = Measurement('l_0', (68.20, 68.40, 68.10), cm, uB=0.2/3)
d = Measurement('d', 2.2, cm)

T = CombinedMeasurement('T', t / 30)
l = CombinedMeasurement('l', l_0 + d/2, uB=0.02*cm/3)
g = 4*pi**2 * l / T**2

print(mean(T))
print(u(g, type="A", margs=T))
print(uvalue(g, units=(m, s)))

Metadata

Release files for sympy-measurement 0.0.1

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

Source distribution (sdist)

Source distribution for sympy-measurement 0.0.1
File Size Uploaded Provenance Actions
sympy_measurement-0.0.1.tar.gz 2.6 kB Without provenance Details for sympy_measurement-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sympy-measurement 0.0.1
File Interpreter ABI Platform Actions
sympy_measurement-0.0.1-py3-none-any.whl Python 3 none any Details for sympy_measurement-0.0.1-py3-none-any.whl

Total release size: 5.3 kB

Release files / sympy_measurement-0.0.1.tar.gz

Download URL sympy_measurement-0.0.1.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
4c536eddb46418f88d029e3fb9ba3812d95272a278f6002f80434de044c89853
BLAKE2b-256 checksum
How to use checksums
4c7603ace3beb51bbd0cb0f62736bc4f43731fa3f9c19c5dd46c934f6e10816f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.1

Release files / sympy_measurement-0.0.1-py3-none-any.whl

Download URL sympy_measurement-0.0.1-py3-none-any.whl
Size 2.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0e3bfd99a966c1458868b81263d554f2e9c4c0e263fef75b66d28145cf96b035
BLAKE2b-256 checksum
How to use checksums
ce410db465c953c59915cc47d441a7d29903ce62bba3eda95b4ddd6581c1475b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.1

Security for sympy-measurement 0.0.1

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.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

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