From 1058e905667639449843fda9bb517b751d5ce8a0 Mon Sep 17 00:00:00 2001 From: github-actions Date: Wed, 5 Oct 2022 07:05:32 +0000 Subject: [PATCH] 0.2.0 Automatically generated by python-semantic-release --- CHANGELOG.md | 105 +++++++++++++++++++---------------- mathpad/__init__.py | 54 +++++++++--------- pyproject.toml | 130 ++++++++++++++++++++++---------------------- 3 files changed, 151 insertions(+), 138 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 398eb7b..2c51483 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,46 +1,59 @@ -# Changelog - - - -## v0.1.10 (2021-10-24) -### Fix -* Re-add kaleido as a dependency ([`c3cb26d`](https://github.com/CallumJHays/mathpad/commit/c3cb26d3af320fdc2ac27569815424b455c74edb)) - -## v0.1.9 (2021-10-24) -### Fix -* Patch to avoid bug ([`e11579b`](https://github.com/CallumJHays/mathpad/commit/e11579bf0e48de8f09d068d7154480aca98f3fa9)) - -## v0.1.8 (2021-10-24) -### Fix -* Commit dist directory for python-semtantic-release ([`2f1b2ed`](https://github.com/CallumJHays/mathpad/commit/2f1b2ed85580182f4d9f91f226f737e5b1a8214b)) - -## v0.1.7 (2021-10-24) -### Fix -* Move kaleido to dev-dependency ([`14f759e`](https://github.com/CallumJHays/mathpad/commit/14f759e017e535007b1089cf78432fa9b63acc0a)) - -## v0.1.6 (2021-10-24) -### Fix -* Simulate_dynamic_system bug ([`1c9bb3e`](https://github.com/CallumJHays/mathpad/commit/1c9bb3e132001e0cac7640f1e5d4cdd124ee962e)) -* Trigger release ([`0f0654d`](https://github.com/CallumJHays/mathpad/commit/0f0654da2d858372491e97c77809fa1a624757c5)) - -## v0.1.5 (2021-10-23) -### Fix -* Actually plot more illuminating values ([`413fea5`](https://github.com/CallumJHays/mathpad/commit/413fea5185345bb4481b2095a397be8a0ced11cd)) -* Plot more illuminating values ([`987bbd4`](https://github.com/CallumJHays/mathpad/commit/987bbd4d80cae10960b98c7348168f5b3c2c79cd)) -* Simulate_dynamic_system integration step order ([`6d666df`](https://github.com/CallumJHays/mathpad/commit/6d666df504e1a6e6a5313f78a3502777f5f1c850)) - -## v0.1.4 (2021-10-22) -### Fix -* Make example plots non-interactive so they display on github ([`9fd9a76`](https://github.com/CallumJHays/mathpad/commit/9fd9a760b37323efb167fdbd80b6285e552d266f)) - -## v0.1.3 (2021-10-22) -### Fix -* Remove @equation ([`d140be5`](https://github.com/CallumJHays/mathpad/commit/d140be505b8f878fad9e07bcba76585991c13328)) - -## v0.1.2 (2021-08-29) -### Fix -* Version ([`9d30de8`](https://github.com/CallumJHays/mathpad/commit/9d30de8b293d1cc908ad96f542e76825a7d75a17)) - -## v0.1.0 (2021-08-16) - -- Initial version +# Changelog + + + +## v0.2.0 (2022-10-05) +### Feature +* Update poetry deps ([`f48768e`](https://github.com/CallumJHays/mathpad/commit/f48768ef3ca05ca457a62ae1e87ad8349d18b2dc)) +* Implement vectors ([`81ec08b`](https://github.com/CallumJHays/mathpad/commit/81ec08bc4e7f73960ad7dec209fd0379cf4ce312)) +* Implement vectors ([`49b6d17`](https://github.com/CallumJHays/mathpad/commit/49b6d17073bb81a604946a3ba484fe7b908e3c39)) + +### Fix +* Cannot import 'Literal' from 'typing' in py3.7 (pt2) ([`a3877d7`](https://github.com/CallumJHays/mathpad/commit/a3877d7cd266894f8c8373be391a318499b24bc2)) +* Cannot import 'Literal' from 'typing' in py3.7 ([`8c96b68`](https://github.com/CallumJHays/mathpad/commit/8c96b684a280f0860b5f3f5bc47b5661fb63353a)) + +### Documentation +* Rewrite double pendulum example using vectors ([`787a6e5`](https://github.com/CallumJHays/mathpad/commit/787a6e57f466cb2b225f60c2cc1a959a8f9b7294)) + +## v0.1.10 (2021-10-24) +### Fix +* Re-add kaleido as a dependency ([`c3cb26d`](https://github.com/CallumJHays/mathpad/commit/c3cb26d3af320fdc2ac27569815424b455c74edb)) + +## v0.1.9 (2021-10-24) +### Fix +* Patch to avoid bug ([`e11579b`](https://github.com/CallumJHays/mathpad/commit/e11579bf0e48de8f09d068d7154480aca98f3fa9)) + +## v0.1.8 (2021-10-24) +### Fix +* Commit dist directory for python-semtantic-release ([`2f1b2ed`](https://github.com/CallumJHays/mathpad/commit/2f1b2ed85580182f4d9f91f226f737e5b1a8214b)) + +## v0.1.7 (2021-10-24) +### Fix +* Move kaleido to dev-dependency ([`14f759e`](https://github.com/CallumJHays/mathpad/commit/14f759e017e535007b1089cf78432fa9b63acc0a)) + +## v0.1.6 (2021-10-24) +### Fix +* Simulate_dynamic_system bug ([`1c9bb3e`](https://github.com/CallumJHays/mathpad/commit/1c9bb3e132001e0cac7640f1e5d4cdd124ee962e)) +* Trigger release ([`0f0654d`](https://github.com/CallumJHays/mathpad/commit/0f0654da2d858372491e97c77809fa1a624757c5)) + +## v0.1.5 (2021-10-23) +### Fix +* Actually plot more illuminating values ([`413fea5`](https://github.com/CallumJHays/mathpad/commit/413fea5185345bb4481b2095a397be8a0ced11cd)) +* Plot more illuminating values ([`987bbd4`](https://github.com/CallumJHays/mathpad/commit/987bbd4d80cae10960b98c7348168f5b3c2c79cd)) +* Simulate_dynamic_system integration step order ([`6d666df`](https://github.com/CallumJHays/mathpad/commit/6d666df504e1a6e6a5313f78a3502777f5f1c850)) + +## v0.1.4 (2021-10-22) +### Fix +* Make example plots non-interactive so they display on github ([`9fd9a76`](https://github.com/CallumJHays/mathpad/commit/9fd9a760b37323efb167fdbd80b6285e552d266f)) + +## v0.1.3 (2021-10-22) +### Fix +* Remove @equation ([`d140be5`](https://github.com/CallumJHays/mathpad/commit/d140be505b8f878fad9e07bcba76585991c13328)) + +## v0.1.2 (2021-08-29) +### Fix +* Version ([`9d30de8`](https://github.com/CallumJHays/mathpad/commit/9d30de8b293d1cc908ad96f542e76825a7d75a17)) + +## v0.1.0 (2021-08-16) + +- Initial version diff --git a/mathpad/__init__.py b/mathpad/__init__.py index 6108a46..0c5478b 100644 --- a/mathpad/__init__.py +++ b/mathpad/__init__.py @@ -1,27 +1,27 @@ -import sympy - -from mathpad.val import * -from mathpad.units import * - -from mathpad.solve import solve, Solution -from mathpad.equation import Equation -from mathpad._quality_of_life import t, g, pi, frac -from mathpad.algebra import subs, simplify, factor, expand -from mathpad.display import tabulate - -from mathpad.functions import piecewise, sqrt -from mathpad.calculus import diff, integral -from mathpad.trigonometry import cos, sin, tan -from mathpad.vector_space import VectorSpace, R2, R3 -from mathpad.simulate_dynamic_system import simulate_dynamic_system - -try: - from IPython.display import display -except ImportError: - pass - - -sympy.init_printing() # type: ignore -sympy.printing.printer.Printer.set_global_settings(min=-3, max=4) # type: ignore - -__version__ = "0.1.10" \ No newline at end of file +import sympy + +from mathpad.val import * +from mathpad.units import * + +from mathpad.solve import solve, Solution +from mathpad.equation import Equation +from mathpad._quality_of_life import t, g, pi, frac +from mathpad.algebra import subs, simplify, factor, expand +from mathpad.display import tabulate + +from mathpad.functions import piecewise, sqrt +from mathpad.calculus import diff, integral +from mathpad.trigonometry import cos, sin, tan +from mathpad.vector_space import VectorSpace, R2, R3 +from mathpad.simulate_dynamic_system import simulate_dynamic_system + +try: + from IPython.display import display +except ImportError: + pass + + +sympy.init_printing() # type: ignore +sympy.printing.printer.Printer.set_global_settings(min=-3, max=4) # type: ignore + +__version__ = "0.2.0" \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index ca9c564..d5ed7ce 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,65 +1,65 @@ -[tool.poetry] -name = "mathpad" -version = "0.1.10" -description = "Simplified interface to Sympy for solving physics, engineering and maths problems" -authors = ["Callum J Hays "] -license = "MIT" -readme = "README.md" -repository = "https://github.com/CallumJHays/mathpad" -documentation = "https://mathpad.readthedocs.io" -classifiers = [ - "Development Status :: 2 - Pre-Alpha", - "Intended Audience :: Developers", - "Natural Language :: English", - "Operating System :: OS Independent", - "Topic :: Software Development :: Libraries", -] -packages = [ - { include = "mathpad" }, -] - -[tool.poetry.urls] -"Bug Tracker" = "https://github.com/CallumJHays/mathpad/issues" -"Changelog" = "https://mathpad.readthedocs.io/changelog.html" - -[tool.poetry.dependencies] -python = ">=3.7,<3.10" # < 3.10 required by scipy currently -typing-extensions = "^4.0.0" -numpy = "^1.20" -sympy = "^1.8" -tqdm = "^4.62.3" -ansitable = "^0.9.6" -scipy = "^1.7.1" -plotly = "^5.3.1" -kaleido = "0.2.1" - - -[build-system] -requires = ["poetry-core>=1.0.0"] -build-backend = "poetry.core.masonry.api" - - -[tool.poetry.dev-dependencies] -black = "^20.8b1" -flake8 = "^3.8.4" -isort = "^5.6.4" -pytest = "^6.1.2" -tox = "^3.20.1" -pre-commit = "^2.13.0" -ipykernel = "^6.4.1" -nbformat = "^5.1.3" -ipywidgets = "^7.6.5" -jupyterlab = "^3.2.1" - -[tool.semantic_release] -branch = "main" -version_toml = "pyproject.toml:tool.poetry.version" -version_variable = "mathpad/__init__.py:__version__" -build_command = "pip install poetry && poetry build" - -[tool.pytest.ini_options] -addopts = "-v -Wdefault" - -[tool.isort] -profile = "black" -known_first_party = ["mathpad", "tests"] +[tool.poetry] +name = "mathpad" +version = "0.2.0" +description = "Simplified interface to Sympy for solving physics, engineering and maths problems" +authors = ["Callum J Hays "] +license = "MIT" +readme = "README.md" +repository = "https://github.com/CallumJHays/mathpad" +documentation = "https://mathpad.readthedocs.io" +classifiers = [ + "Development Status :: 2 - Pre-Alpha", + "Intended Audience :: Developers", + "Natural Language :: English", + "Operating System :: OS Independent", + "Topic :: Software Development :: Libraries", +] +packages = [ + { include = "mathpad" }, +] + +[tool.poetry.urls] +"Bug Tracker" = "https://github.com/CallumJHays/mathpad/issues" +"Changelog" = "https://mathpad.readthedocs.io/changelog.html" + +[tool.poetry.dependencies] +python = ">=3.7,<3.10" # < 3.10 required by scipy currently +typing-extensions = "^4.0.0" +numpy = "^1.20" +sympy = "^1.8" +tqdm = "^4.62.3" +ansitable = "^0.9.6" +scipy = "^1.7.1" +plotly = "^5.3.1" +kaleido = "0.2.1" + + +[build-system] +requires = ["poetry-core>=1.0.0"] +build-backend = "poetry.core.masonry.api" + + +[tool.poetry.dev-dependencies] +black = "^20.8b1" +flake8 = "^3.8.4" +isort = "^5.6.4" +pytest = "^6.1.2" +tox = "^3.20.1" +pre-commit = "^2.13.0" +ipykernel = "^6.4.1" +nbformat = "^5.1.3" +ipywidgets = "^7.6.5" +jupyterlab = "^3.2.1" + +[tool.semantic_release] +branch = "main" +version_toml = "pyproject.toml:tool.poetry.version" +version_variable = "mathpad/__init__.py:__version__" +build_command = "pip install poetry && poetry build" + +[tool.pytest.ini_options] +addopts = "-v -Wdefault" + +[tool.isort] +profile = "black" +known_first_party = ["mathpad", "tests"]