TypedUnit 0.0.5__tar.gz → 0.0.7__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. {typedunit-0.0.5 → typedunit-0.0.7}/PKG-INFO +2 -1
  2. {typedunit-0.0.5 → typedunit-0.0.7}/TypedUnit/_version.py +3 -3
  3. {typedunit-0.0.5 → typedunit-0.0.7}/TypedUnit/units.py +5 -0
  4. {typedunit-0.0.5 → typedunit-0.0.7}/TypedUnit.egg-info/PKG-INFO +2 -1
  5. {typedunit-0.0.5 → typedunit-0.0.7}/TypedUnit.egg-info/requires.txt +1 -0
  6. {typedunit-0.0.5 → typedunit-0.0.7}/meta.yaml +2 -0
  7. {typedunit-0.0.5 → typedunit-0.0.7}/pyproject.toml +2 -1
  8. {typedunit-0.0.5 → typedunit-0.0.7}/.flake8 +0 -0
  9. {typedunit-0.0.5 → typedunit-0.0.7}/.github/dependabot.yml +0 -0
  10. {typedunit-0.0.5 → typedunit-0.0.7}/.github/workflows/deploy_PyPi.yml +0 -0
  11. {typedunit-0.0.5 → typedunit-0.0.7}/.github/workflows/deploy_anaconda.yml +0 -0
  12. {typedunit-0.0.5 → typedunit-0.0.7}/.github/workflows/deploy_coverage.yml +0 -0
  13. {typedunit-0.0.5 → typedunit-0.0.7}/.github/workflows/deploy_documentation.yml +0 -0
  14. {typedunit-0.0.5 → typedunit-0.0.7}/.gitignore +0 -0
  15. {typedunit-0.0.5 → typedunit-0.0.7}/LICENSE +0 -0
  16. {typedunit-0.0.5 → typedunit-0.0.7}/README.rst +0 -0
  17. {typedunit-0.0.5 → typedunit-0.0.7}/TypedUnit/__init__.py +0 -0
  18. {typedunit-0.0.5 → typedunit-0.0.7}/TypedUnit/directories.py +0 -0
  19. {typedunit-0.0.5 → typedunit-0.0.7}/TypedUnit/helper.py +0 -0
  20. {typedunit-0.0.5 → typedunit-0.0.7}/TypedUnit/utils.py +0 -0
  21. {typedunit-0.0.5 → typedunit-0.0.7}/TypedUnit.egg-info/SOURCES.txt +0 -0
  22. {typedunit-0.0.5 → typedunit-0.0.7}/TypedUnit.egg-info/dependency_links.txt +0 -0
  23. {typedunit-0.0.5 → typedunit-0.0.7}/TypedUnit.egg-info/top_level.txt +0 -0
  24. {typedunit-0.0.5 → typedunit-0.0.7}/docs/Makefile +0 -0
  25. {typedunit-0.0.5 → typedunit-0.0.7}/docs/examples/README.rst +0 -0
  26. {typedunit-0.0.5 → typedunit-0.0.7}/docs/examples/example_0.py +0 -0
  27. {typedunit-0.0.5 → typedunit-0.0.7}/docs/examples/example_1.py +0 -0
  28. {typedunit-0.0.5 → typedunit-0.0.7}/docs/images/logo.png +0 -0
  29. {typedunit-0.0.5 → typedunit-0.0.7}/docs/make.bat +0 -0
  30. {typedunit-0.0.5 → typedunit-0.0.7}/docs/source/_static/default.css +0 -0
  31. {typedunit-0.0.5 → typedunit-0.0.7}/docs/source/_static/thumbnail.png +0 -0
  32. {typedunit-0.0.5 → typedunit-0.0.7}/docs/source/code.rst +0 -0
  33. {typedunit-0.0.5 → typedunit-0.0.7}/docs/source/conf.py +0 -0
  34. {typedunit-0.0.5 → typedunit-0.0.7}/docs/source/gallery/index.rst +0 -0
  35. {typedunit-0.0.5 → typedunit-0.0.7}/docs/source/index.rst +0 -0
  36. {typedunit-0.0.5 → typedunit-0.0.7}/docs/source/references.rst +0 -0
  37. {typedunit-0.0.5 → typedunit-0.0.7}/docs/source/sg_execution_times.rst +0 -0
  38. {typedunit-0.0.5 → typedunit-0.0.7}/docs/source/theory.rst +0 -0
  39. {typedunit-0.0.5 → typedunit-0.0.7}/setup.cfg +0 -0
  40. {typedunit-0.0.5 → typedunit-0.0.7}/tests/__init__.py +0 -0
  41. {typedunit-0.0.5 → typedunit-0.0.7}/tests/test_0.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: TypedUnit
3
- Version: 0.0.5
3
+ Version: 0.0.7
4
4
  Summary: A package wrapping pint for handling typed units in Python.
5
5
  Author-email: Martin Poinsinet de Sivry-Houle <martin.poinsinet.de.sivry@gmail.com>
6
6
  License: MIT License
@@ -44,6 +44,7 @@ License-File: LICENSE
44
44
  Requires-Dist: pint
45
45
  Requires-Dist: numpy
46
46
  Requires-Dist: matplotlib
47
+ Requires-Dist: pint_pandas
47
48
  Provides-Extra: testing
48
49
  Requires-Dist: pytest<9.0,>=7.4; extra == "testing"
49
50
  Requires-Dist: pytest-cov<7,>=2; extra == "testing"
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
28
28
  commit_id: COMMIT_ID
29
29
  __commit_id__: COMMIT_ID
30
30
 
31
- __version__ = version = '0.0.5'
32
- __version_tuple__ = version_tuple = (0, 0, 5)
31
+ __version__ = version = '0.0.7'
32
+ __version_tuple__ = version_tuple = (0, 0, 7)
33
33
 
34
- __commit_id__ = commit_id = 'g036d03e92'
34
+ __commit_id__ = commit_id = 'gdd1c6b1a7'
@@ -1,7 +1,12 @@
1
1
  # Initialize a unit registry
2
+ import pint as _pint
2
3
  from pint import Quantity, UnitRegistry
4
+ import pint_pandas as pint
3
5
 
4
6
  ureg = UnitRegistry()
7
+ ureg.setup_matplotlib()
8
+
9
+ _pint.set_application_registry(ureg)
5
10
 
6
11
  ureg.define("photoelectron = [Float64]") # Define a custom unit 'photoelectron'
7
12
  ureg.define("event = [Int64]") # Define a custom unit 'events'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: TypedUnit
3
- Version: 0.0.5
3
+ Version: 0.0.7
4
4
  Summary: A package wrapping pint for handling typed units in Python.
5
5
  Author-email: Martin Poinsinet de Sivry-Houle <martin.poinsinet.de.sivry@gmail.com>
6
6
  License: MIT License
@@ -44,6 +44,7 @@ License-File: LICENSE
44
44
  Requires-Dist: pint
45
45
  Requires-Dist: numpy
46
46
  Requires-Dist: matplotlib
47
+ Requires-Dist: pint_pandas
47
48
  Provides-Extra: testing
48
49
  Requires-Dist: pytest<9.0,>=7.4; extra == "testing"
49
50
  Requires-Dist: pytest-cov<7,>=2; extra == "testing"
@@ -1,6 +1,7 @@
1
1
  pint
2
2
  numpy
3
3
  matplotlib
4
+ pint_pandas
4
5
 
5
6
  [documentation]
6
7
  numpydoc~=1.8
@@ -25,6 +25,8 @@ requirements:
25
25
  run:
26
26
  - pint
27
27
  - numpy
28
+ - matplotlib
29
+ - pint-pandas
28
30
 
29
31
 
30
32
  about:
@@ -31,7 +31,8 @@ keywords = [
31
31
  dependencies = [
32
32
  "pint",
33
33
  'numpy',
34
- 'matplotlib'
34
+ 'matplotlib',
35
+ 'pint_pandas'
35
36
  ]
36
37
 
37
38
  [project.urls]
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes