Big update: docs are now linked to on README.md (Thank you SWARUP-Selvaraj) and it is now possible to specify default units in your enviroment files (see docs for more details).
Features * Features/default units by connorferster in https://github.com/connorferster/forallpeople/pull/104
Docs * Updated Readme and Pyproject with links to github pages documentation by SWARUP-Selvaraj in https://github.com/connorferster/forallpeople/pull/94 * Miscellaneous fixes to docs (broken links, etc.) by connorferster in https://github.com/connorferster/forallpeople/pull/105
New Contributors * SWARUP-Selvaraj made their first contribution in https://github.com/connorferster/forallpeople/pull/94
What's Changed * Enforce floats by connorferster in https://github.com/connorferster/forallpeople/pull/77 * Update structural.json by connorferster in https://github.com/connorferster/forallpeople/pull/83 * Bump version by connorferster in https://github.com/connorferster/forallpeople/pull/84 * Update test_tuplevector.py by connor-sp in https://github.com/connorferster/forallpeople/pull/91 * modified physical-to to print different string by phil-vivant in https://github.com/connorferster/forallpeople/pull/96 * Fixes/power of zero to float by connorferster in https://github.com/connorferster/forallpeople/pull/100 * chore: added gha for test and publish by connorferster in https://github.com/connorferster/forallpeople/pull/101
New Contributors * connor-sp made their first contribution in https://github.com/connorferster/forallpeople/pull/91 * phil-vivant made their first contribution in https://github.com/connorferster/forallpeople/pull/96
* 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)
2.6.2
* Symbols of a single dimension (e.g. `mm` or `kg`) were being improperly formatted with `\\mathrm{}` when using the Latex formatter `L`.
v.2.6.0 * 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
2.5.0
Docs: - There are now official docs! - [connorferster.github.io/forallpeople](https://connorferster.github.io/forallpeople)
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
2.4.1
v.2.0.6 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.