forallpeople

Python SI units library: your 'daily driver' for calculations.

APACHE-2.0 License

Downloads
3.3K
Stars
284
Committers
8

Bot releases are hidden (Show)

forallpeople - v.2.6.8 Latest Release

Published by connorferster 4 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/connorferster/forallpeople/compare/v2.6.5...v2.6.8

forallpeople - v2.6.5

Published by connorferster almost 2 years ago

FIXES:

  • Doc string on .to() is incorrect (#74)
  • Added tolerance check to factor look-up (#73, #63)
  • Error raised when using .to() with a unit name that was not available (#72)
  • .repr is now consistent with attribute names (#71)
forallpeople - Bug fixes

Published by connorferster over 2 years ago

  • Symbols of a single dimension (e.g. mm or kg) were being improperly formatted with \\mathrm{} when using the Latex formatter L.
forallpeople - v2.6.0

Published by connorferster over 2 years ago

  • Added format codes for "H" and "L" to render formatted strings in HTML and Latex format explicitly
  • Added mega-newton to "structural" environment (#49)
  • Updated tests and documentation to reflect the above
forallpeople - v2.5.0

Published by connorferster over 2 years ago

Docs:

Bug fixes:

  • Loss of precision with the .factor attribute caused some defined units to not be recognized. This was most apparent with ksi (#41) but crept up in other situations too.
  • Added some additional units to structural.json (#44) - Thanks @thengineer

Misc changes:

  • Created the directory "environments" within the root dir for storing environment .json files
  • Deprectation warning: The .round() method will be deprecated in favour of using the built-in round() function
forallpeople - v2.4.1

Published by connorferster almost 3 years ago

forallpeople - v2.0.6 Updates

Published by connorferster over 3 years ago

This update adds additional units defined in 'structural.json' (pcf, kcf, N/m^3, lbft2, kft2, N*m^2), ensures that any NaN values that are multiplied or divided by a Physical will result in a Nan, instead of, say Nan ft (useful for use within pandas), and adds a test of the Nan behaviour.