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.
- {typedunit-0.0.3 → typedunit-0.0.4}/PKG-INFO +1 -1
- {typedunit-0.0.3 → typedunit-0.0.4}/TypedUnit/_version.py +3 -3
- {typedunit-0.0.3 → typedunit-0.0.4}/TypedUnit/units.py +0 -10
- {typedunit-0.0.3 → typedunit-0.0.4}/TypedUnit.egg-info/PKG-INFO +1 -1
- {typedunit-0.0.3 → typedunit-0.0.4}/.flake8 +0 -0
- {typedunit-0.0.3 → typedunit-0.0.4}/.github/dependabot.yml +0 -0
- {typedunit-0.0.3 → typedunit-0.0.4}/.github/workflows/deploy_PyPi.yml +0 -0
- {typedunit-0.0.3 → typedunit-0.0.4}/.github/workflows/deploy_anaconda.yml +0 -0
- {typedunit-0.0.3 → typedunit-0.0.4}/.github/workflows/deploy_coverage.yml +0 -0
- {typedunit-0.0.3 → typedunit-0.0.4}/.github/workflows/deploy_documentation.yml +0 -0
- {typedunit-0.0.3 → typedunit-0.0.4}/.gitignore +0 -0
- {typedunit-0.0.3 → typedunit-0.0.4}/LICENSE +0 -0
- {typedunit-0.0.3 → typedunit-0.0.4}/README.rst +0 -0
- {typedunit-0.0.3 → typedunit-0.0.4}/TypedUnit/__init__.py +0 -0
- {typedunit-0.0.3 → typedunit-0.0.4}/TypedUnit/directories.py +0 -0
- {typedunit-0.0.3 → typedunit-0.0.4}/TypedUnit/helper.py +0 -0
- {typedunit-0.0.3 → typedunit-0.0.4}/TypedUnit/utils.py +0 -0
- {typedunit-0.0.3 → typedunit-0.0.4}/TypedUnit.egg-info/SOURCES.txt +0 -0
- {typedunit-0.0.3 → typedunit-0.0.4}/TypedUnit.egg-info/dependency_links.txt +0 -0
- {typedunit-0.0.3 → typedunit-0.0.4}/TypedUnit.egg-info/requires.txt +0 -0
- {typedunit-0.0.3 → typedunit-0.0.4}/TypedUnit.egg-info/top_level.txt +0 -0
- {typedunit-0.0.3 → typedunit-0.0.4}/docs/Makefile +0 -0
- {typedunit-0.0.3 → typedunit-0.0.4}/docs/examples/README.rst +0 -0
- {typedunit-0.0.3 → typedunit-0.0.4}/docs/examples/example_0.py +0 -0
- {typedunit-0.0.3 → typedunit-0.0.4}/docs/examples/example_1.py +0 -0
- {typedunit-0.0.3 → typedunit-0.0.4}/docs/images/logo.png +0 -0
- {typedunit-0.0.3 → typedunit-0.0.4}/docs/make.bat +0 -0
- {typedunit-0.0.3 → typedunit-0.0.4}/docs/source/_static/default.css +0 -0
- {typedunit-0.0.3 → typedunit-0.0.4}/docs/source/_static/thumbnail.png +0 -0
- {typedunit-0.0.3 → typedunit-0.0.4}/docs/source/code.rst +0 -0
- {typedunit-0.0.3 → typedunit-0.0.4}/docs/source/conf.py +0 -0
- {typedunit-0.0.3 → typedunit-0.0.4}/docs/source/gallery/index.rst +0 -0
- {typedunit-0.0.3 → typedunit-0.0.4}/docs/source/index.rst +0 -0
- {typedunit-0.0.3 → typedunit-0.0.4}/docs/source/references.rst +0 -0
- {typedunit-0.0.3 → typedunit-0.0.4}/docs/source/sg_execution_times.rst +0 -0
- {typedunit-0.0.3 → typedunit-0.0.4}/docs/source/theory.rst +0 -0
- {typedunit-0.0.3 → typedunit-0.0.4}/meta.yaml +0 -0
- {typedunit-0.0.3 → typedunit-0.0.4}/pyproject.toml +0 -0
- {typedunit-0.0.3 → typedunit-0.0.4}/setup.cfg +0 -0
- {typedunit-0.0.3 → typedunit-0.0.4}/tests/__init__.py +0 -0
- {typedunit-0.0.3 → typedunit-0.0.4}/tests/test_0.py +0 -0
|
@@ -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.
|
|
32
|
-
__version_tuple__ = version_tuple = (0, 0,
|
|
31
|
+
__version__ = version = '0.0.4'
|
|
32
|
+
__version_tuple__ = version_tuple = (0, 0, 4)
|
|
33
33
|
|
|
34
|
-
__commit_id__ = commit_id = '
|
|
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")
|
|
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
|
|
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
|
|
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
|