Skip to main content

Environmental Science using Symbolic Math.

Project description

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.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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

essm-1.0.1.tar.gz (282.5 kB view details)

Uploaded Source

Built Distribution

essm-1.0.1-py2.py3-none-any.whl (47.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file essm-1.0.1.tar.gz.

File metadata

  • Download URL: essm-1.0.1.tar.gz
  • Upload date:
  • Size: 282.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.7

File hashes

Hashes for essm-1.0.1.tar.gz
Algorithm Hash digest
SHA256 6a33933f6e31821e8a859e207fc69f9193a879392ef2cff65745eb766328d07c
MD5 df9e7f50ea8233eed2de2cf9ec59b6e4
BLAKE2b-256 bb728f5e89a37904cbfb4bd9e75ebb5eee9507353064c8d6d01877c26532c8e6

See more details on using hashes here.

File details

Details for the file essm-1.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: essm-1.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 47.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.7

File hashes

Hashes for essm-1.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 11d8c4ba880c47f2dc5ecbf8d80be7f8ef01b6fdd207eb933f65e4c147d526c9
MD5 5474cadc808ca6855dcb7952aac39adb
BLAKE2b-256 d5e50cea7187f71c64e8b9a394fb8c4a7ae739fd73b24ea1776d1ab0df9ec8ff

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page