TypedUnit 0.0.3__tar.gz → 0.0.4__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.3 → typedunit-0.0.4}/PKG-INFO +1 -1
  2. {typedunit-0.0.3 → typedunit-0.0.4}/TypedUnit/_version.py +3 -3
  3. {typedunit-0.0.3 → typedunit-0.0.4}/TypedUnit/units.py +0 -10
  4. {typedunit-0.0.3 → typedunit-0.0.4}/TypedUnit.egg-info/PKG-INFO +1 -1
  5. {typedunit-0.0.3 → typedunit-0.0.4}/.flake8 +0 -0
  6. {typedunit-0.0.3 → typedunit-0.0.4}/.github/dependabot.yml +0 -0
  7. {typedunit-0.0.3 → typedunit-0.0.4}/.github/workflows/deploy_PyPi.yml +0 -0
  8. {typedunit-0.0.3 → typedunit-0.0.4}/.github/workflows/deploy_anaconda.yml +0 -0
  9. {typedunit-0.0.3 → typedunit-0.0.4}/.github/workflows/deploy_coverage.yml +0 -0
  10. {typedunit-0.0.3 → typedunit-0.0.4}/.github/workflows/deploy_documentation.yml +0 -0
  11. {typedunit-0.0.3 → typedunit-0.0.4}/.gitignore +0 -0
  12. {typedunit-0.0.3 → typedunit-0.0.4}/LICENSE +0 -0
  13. {typedunit-0.0.3 → typedunit-0.0.4}/README.rst +0 -0
  14. {typedunit-0.0.3 → typedunit-0.0.4}/TypedUnit/__init__.py +0 -0
  15. {typedunit-0.0.3 → typedunit-0.0.4}/TypedUnit/directories.py +0 -0
  16. {typedunit-0.0.3 → typedunit-0.0.4}/TypedUnit/helper.py +0 -0
  17. {typedunit-0.0.3 → typedunit-0.0.4}/TypedUnit/utils.py +0 -0
  18. {typedunit-0.0.3 → typedunit-0.0.4}/TypedUnit.egg-info/SOURCES.txt +0 -0
  19. {typedunit-0.0.3 → typedunit-0.0.4}/TypedUnit.egg-info/dependency_links.txt +0 -0
  20. {typedunit-0.0.3 → typedunit-0.0.4}/TypedUnit.egg-info/requires.txt +0 -0
  21. {typedunit-0.0.3 → typedunit-0.0.4}/TypedUnit.egg-info/top_level.txt +0 -0
  22. {typedunit-0.0.3 → typedunit-0.0.4}/docs/Makefile +0 -0
  23. {typedunit-0.0.3 → typedunit-0.0.4}/docs/examples/README.rst +0 -0
  24. {typedunit-0.0.3 → typedunit-0.0.4}/docs/examples/example_0.py +0 -0
  25. {typedunit-0.0.3 → typedunit-0.0.4}/docs/examples/example_1.py +0 -0
  26. {typedunit-0.0.3 → typedunit-0.0.4}/docs/images/logo.png +0 -0
  27. {typedunit-0.0.3 → typedunit-0.0.4}/docs/make.bat +0 -0
  28. {typedunit-0.0.3 → typedunit-0.0.4}/docs/source/_static/default.css +0 -0
  29. {typedunit-0.0.3 → typedunit-0.0.4}/docs/source/_static/thumbnail.png +0 -0
  30. {typedunit-0.0.3 → typedunit-0.0.4}/docs/source/code.rst +0 -0
  31. {typedunit-0.0.3 → typedunit-0.0.4}/docs/source/conf.py +0 -0
  32. {typedunit-0.0.3 → typedunit-0.0.4}/docs/source/gallery/index.rst +0 -0
  33. {typedunit-0.0.3 → typedunit-0.0.4}/docs/source/index.rst +0 -0
  34. {typedunit-0.0.3 → typedunit-0.0.4}/docs/source/references.rst +0 -0
  35. {typedunit-0.0.3 → typedunit-0.0.4}/docs/source/sg_execution_times.rst +0 -0
  36. {typedunit-0.0.3 → typedunit-0.0.4}/docs/source/theory.rst +0 -0
  37. {typedunit-0.0.3 → typedunit-0.0.4}/meta.yaml +0 -0
  38. {typedunit-0.0.3 → typedunit-0.0.4}/pyproject.toml +0 -0
  39. {typedunit-0.0.3 → typedunit-0.0.4}/setup.cfg +0 -0
  40. {typedunit-0.0.3 → typedunit-0.0.4}/tests/__init__.py +0 -0
  41. {typedunit-0.0.3 → typedunit-0.0.4}/tests/test_0.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: TypedUnit
3
- Version: 0.0.3
3
+ Version: 0.0.4
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
@@ -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.3'
32
- __version_tuple__ = version_tuple = (0, 0, 3)
31
+ __version__ = version = '0.0.4'
32
+ __version_tuple__ = version_tuple = (0, 0, 4)
33
33
 
34
- __commit_id__ = commit_id = 'g60e49e059'
34
+ __commit_id__ = commit_id = 'g833e1e15d'
@@ -3,16 +3,6 @@ from pint import Quantity, UnitRegistry
3
3
 
4
4
  ureg = UnitRegistry()
5
5
 
6
- # _scaled_units_str_list = [
7
- # 'watt', 'volt', 'meter', 'second', 'liter', 'hertz', 'ohm', 'ampere', 'joule', 'coulomb', 'kelvin', 'celsius', 'degree', 'particle'
8
- # ]
9
-
10
- # for _units_str in _scaled_units_str_list:
11
- # for scale in ['femto', 'pico', 'nano', 'micro', 'milli', '', 'kilo', 'mega']:
12
- # _unit = scale + _units_str
13
- # globals()[_unit] = getattr(ureg, _unit)
14
-
15
-
16
6
  ureg.define("photoelectron = [Float64]") # Define a custom unit 'photoelectron'
17
7
  ureg.define("event = [Int64]") # Define a custom unit 'events'
18
8
  ureg.define("sqrt_hertz = Hz**0.5")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: TypedUnit
3
- Version: 0.0.3
3
+ Version: 0.0.4
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
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
File without changes
File without changes