Skip to main content
https://zenodo.org/badge/90965956.svg https://img.shields.io/travis/environmentalscience/essm.svg https://img.shields.io/coveralls/environmentalscience/essm.svg https://img.shields.io/github/tag/environmentalscience/essm.svg https://img.shields.io/pypi/dm/essm.svg https://img.shields.io/github/license/environmentalscience/essm.svg

This package contains helpers to deal with physical variables and units.

The documentation is available on https://essm.rtfd.io/.

The quick installation for impatient users can be done by running:

pip install essm

Changes

v1.1

released 2020-12-20

Features

  • utils: Enable supplementary_imports in VariableWriter and EquationWriter (PR #84)

v1.0.1

released 2020-11-05

Bug Fixes

  • global: Allow dimensionless variables in functions (PR #94)

v1.0.0

released 2020-09-24

Bug Fixes

  • utils: Update code to work with isort5 (PR #89)

Features

  • global: Refactor code to work with sympy>=1.6 (PR #90)

v0.4.3

released 2020-06-18

Bug Fixes

  • utils: Include expr in variable definitions when writing to file (PR #87)

Features

  • documentation: Add use examples as Jupyter notebooks and integrate in documentation (PR #83)

  • utils: Enable writers of .py files for re-import of variable and equation definitions (PR #84)

v0.4.2

released 2020-04-28

Bug Fixes

  • utils: Improve markdown representation of units (PR #79)

  • variables: Fix generate_metadata_table for selected variables (PR #80)

v0.4.1

released 2019-11-20

Bug Fixes

  • equations: Improve dimensional testing of equations and substitution (PR #73)

  • equations: Add support for Integral and Piecewise in Equation PR (PR #76)

Features

  • utils: subs_eq() for simultaneous substitutions.(PR #75)

v0.3.0

released 2019-04-09

Bug Fixes

  • equations: improve substitutions with equations (79ac37d)

Features

  • utils: add definition to metadata table (3ceaa69)

v0.2.0

released 2019-04-04

  • global: adapt to Python 3 and Sympy >=1.3

  • global: removal of SageMath mentions

  • docs: fix latex representation of x_O2 as x_{O2}

  • equations: extend replace_variables

  • equations: make .subs() on equation return an equality

  • units: reverted missing dimension lookup

  • variables: behave as Symbols

  • variables: better markdown formatting of units

  • variables: changes base class to Symbol

  • variables: enableddictionaries with symbols in replace_variables

  • variables: fix derive_unit for dimensionless expression

  • variables: fix latex rendering

  • variables: generate_metadata_table with HTML

  • variables: include assumptions from cls attribute

  • variables: modify derive_unit to work with summations

  • variables: remove Dimension deprecation warnings

  • variables: remove internal SI and refer to sympy.physics.units.systems.si

  • variables: respect unit in variable with expr

  • variables: set dimension and scale factor using method

  • variables: support dimensionless variable expression

  • variables: support replacing variables by their default values

v0.1.0

released 2017-06-29

  • Initial public release.

Release files for essm 1.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 essm 1.1
File Size Uploaded
essm-1.1.tar.gz 282.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for essm 1.1
File Interpreter ABI Platform
essm-1.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 330.8 kB

Release files / essm-1.1.tar.gz

Download URL essm-1.1.tar.gz
Size 282.9 kB
Tags Source
SHA-256 checksum
How to use checksums
b45104c8b061bd4311a98e7101ee0cea3db614aea8a8dbcb8c2975d0cfc724df
BLAKE2b-256 checksum
How to use checksums
ff4d626b583e8b3d5972f2f772bb94a376d146f398aa49c28095d676e75905e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.6.7

Release files / essm-1.1-py2.py3-none-any.whl

Download URL essm-1.1-py2.py3-none-any.whl
Size 47.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
18eb81f9dc8a3e571a64ef03426ef52f875bd4fb4ca993f3219a6ed33dac728b
BLAKE2b-256 checksum
How to use checksums
aedf0ed245a85242aa6747ca2c77b42e6e9a124f079a8d91357b0633a8108809
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.6.7

Release history Release notifications | RSS feed

This release

1.1 This release

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.3.0

2 release files

0.1.0

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