TypedUnit 0.2.14__tar.gz → 0.2.17__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 (62) hide show
  1. {typedunit-0.2.14 → typedunit-0.2.17}/PKG-INFO +4 -7
  2. typedunit-0.2.17/TypedUnit/_version.py +5 -0
  3. {typedunit-0.2.14 → typedunit-0.2.17}/TypedUnit.egg-info/PKG-INFO +4 -7
  4. typedunit-0.2.17/TypedUnit.egg-info/SOURCES.txt +15 -0
  5. {typedunit-0.2.14 → typedunit-0.2.17}/TypedUnit.egg-info/requires.txt +4 -6
  6. {typedunit-0.2.14 → typedunit-0.2.17}/pyproject.toml +10 -14
  7. typedunit-0.2.14/.coveragerc +0 -22
  8. typedunit-0.2.14/.flake8 +0 -6
  9. typedunit-0.2.14/.github/dependabot.yml +0 -10
  10. typedunit-0.2.14/.github/workflows/deploy_coverage.yml +0 -25
  11. typedunit-0.2.14/.github/workflows/deploy_documentation.yml +0 -58
  12. typedunit-0.2.14/.github/workflows/deploy_release.yml +0 -30
  13. typedunit-0.2.14/.github/workflows/quality.yml +0 -22
  14. typedunit-0.2.14/.github/workflows/tests.yml +0 -26
  15. typedunit-0.2.14/.gitignore +0 -41
  16. typedunit-0.2.14/.pre-commit-config.yaml +0 -15
  17. typedunit-0.2.14/CONTRIBUTING.md +0 -7
  18. typedunit-0.2.14/Makefile +0 -15
  19. typedunit-0.2.14/TypedUnit/_version.py +0 -24
  20. typedunit-0.2.14/TypedUnit.egg-info/SOURCES.txt +0 -58
  21. typedunit-0.2.14/TypedUnit.egg-info/scm_file_list.json +0 -55
  22. typedunit-0.2.14/TypedUnit.egg-info/scm_version.json +0 -8
  23. typedunit-0.2.14/conda.recipe/meta.yaml +0 -61
  24. typedunit-0.2.14/docs/Makefile +0 -19
  25. typedunit-0.2.14/docs/examples/README.rst +0 -6
  26. typedunit-0.2.14/docs/examples/example_0.py +0 -27
  27. typedunit-0.2.14/docs/examples/example_1.py +0 -27
  28. typedunit-0.2.14/docs/images/logo.png +0 -0
  29. typedunit-0.2.14/docs/make.bat +0 -35
  30. typedunit-0.2.14/docs/redirect.html +0 -12
  31. typedunit-0.2.14/docs/source/_static/default.css +0 -19
  32. typedunit-0.2.14/docs/source/_static/layout.css +0 -89
  33. typedunit-0.2.14/docs/source/_static/thumbnail.png +0 -0
  34. typedunit-0.2.14/docs/source/code.rst +0 -20
  35. typedunit-0.2.14/docs/source/conf.py +0 -23
  36. typedunit-0.2.14/docs/source/guide/concepts.rst +0 -37
  37. typedunit-0.2.14/docs/source/guide/installation.rst +0 -21
  38. typedunit-0.2.14/docs/source/guide/pint.rst +0 -24
  39. typedunit-0.2.14/docs/source/guide/quickstart.rst +0 -27
  40. typedunit-0.2.14/docs/source/guide/validation.rst +0 -40
  41. typedunit-0.2.14/docs/source/guide.rst +0 -14
  42. typedunit-0.2.14/docs/source/index.rst +0 -76
  43. typedunit-0.2.14/docs/source/reference.rst +0 -11
  44. typedunit-0.2.14/docs/source/references.rst +0 -11
  45. typedunit-0.2.14/docs/source/sg_execution_times.rst +0 -40
  46. typedunit-0.2.14/docs/source/theory.rst +0 -12
  47. typedunit-0.2.14/docs/source/units.rst +0 -35
  48. typedunit-0.2.14/pytest.ini +0 -21
  49. typedunit-0.2.14/tests/__init__.py +0 -0
  50. typedunit-0.2.14/tools/next_release_version.py +0 -33
  51. typedunit-0.2.14/tools/release_tag.py +0 -46
  52. {typedunit-0.2.14 → typedunit-0.2.17}/LICENSE +0 -0
  53. {typedunit-0.2.14 → typedunit-0.2.17}/README.rst +0 -0
  54. {typedunit-0.2.14 → typedunit-0.2.17}/TypedUnit/__init__.py +0 -0
  55. {typedunit-0.2.14 → typedunit-0.2.17}/TypedUnit/directories.py +0 -0
  56. {typedunit-0.2.14 → typedunit-0.2.17}/TypedUnit/helper.py +0 -0
  57. {typedunit-0.2.14 → typedunit-0.2.17}/TypedUnit/units.py +0 -0
  58. {typedunit-0.2.14 → typedunit-0.2.17}/TypedUnit/utils.py +0 -0
  59. {typedunit-0.2.14 → typedunit-0.2.17}/TypedUnit.egg-info/dependency_links.txt +0 -0
  60. {typedunit-0.2.14 → typedunit-0.2.17}/TypedUnit.egg-info/top_level.txt +0 -0
  61. {typedunit-0.2.14 → typedunit-0.2.17}/setup.cfg +0 -0
  62. {typedunit-0.2.14 → typedunit-0.2.17}/tests/test_0.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: TypedUnit
3
- Version: 0.2.14
3
+ Version: 0.2.17
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
@@ -46,6 +46,8 @@ Requires-Dist: pint<0.26,>=0.24
46
46
  Requires-Dist: numpy
47
47
  Requires-Dist: matplotlib
48
48
  Requires-Dist: pint_pandas
49
+ Provides-Extra: release
50
+ Requires-Dist: martinpdes-maintenance==0.2.2; extra == "release"
49
51
  Provides-Extra: testing
50
52
  Requires-Dist: pytest<10.0,>=7.4; extra == "testing"
51
53
  Requires-Dist: pytest-cov<7,>=2; extra == "testing"
@@ -53,12 +55,7 @@ Requires-Dist: pytest-json-report~=1.5; extra == "testing"
53
55
  Requires-Dist: flake8==7.3.0; extra == "testing"
54
56
  Requires-Dist: coverage~=7.6; extra == "testing"
55
57
  Provides-Extra: documentation
56
- Requires-Dist: MartinPdeS-docs<0.3,>=0.2.1; extra == "documentation"
57
- Requires-Dist: numpydoc~=1.8; extra == "documentation"
58
- Requires-Dist: sphinx>=6; extra == "documentation"
59
- Requires-Dist: sphinx-gallery~=0.17; extra == "documentation"
60
- Requires-Dist: sphinx-rtd-theme<4,>=2; extra == "documentation"
61
- Requires-Dist: pydata-sphinx-theme~=0.15; extra == "documentation"
58
+ Requires-Dist: MartinPdeS-docs<0.5,>=0.4.0; extra == "documentation"
62
59
  Dynamic: license-file
63
60
 
64
61
  TypedUnit
@@ -0,0 +1,5 @@
1
+ """Release version maintained by martinpdes-maintenance."""
2
+
3
+ __version__ = version = "0.2.17"
4
+ __version_tuple__ = version_tuple = tuple(int(part) for part in version.split("."))
5
+ __commit_id__ = commit_id = None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: TypedUnit
3
- Version: 0.2.14
3
+ Version: 0.2.17
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
@@ -46,6 +46,8 @@ Requires-Dist: pint<0.26,>=0.24
46
46
  Requires-Dist: numpy
47
47
  Requires-Dist: matplotlib
48
48
  Requires-Dist: pint_pandas
49
+ Provides-Extra: release
50
+ Requires-Dist: martinpdes-maintenance==0.2.2; extra == "release"
49
51
  Provides-Extra: testing
50
52
  Requires-Dist: pytest<10.0,>=7.4; extra == "testing"
51
53
  Requires-Dist: pytest-cov<7,>=2; extra == "testing"
@@ -53,12 +55,7 @@ Requires-Dist: pytest-json-report~=1.5; extra == "testing"
53
55
  Requires-Dist: flake8==7.3.0; extra == "testing"
54
56
  Requires-Dist: coverage~=7.6; extra == "testing"
55
57
  Provides-Extra: documentation
56
- Requires-Dist: MartinPdeS-docs<0.3,>=0.2.1; extra == "documentation"
57
- Requires-Dist: numpydoc~=1.8; extra == "documentation"
58
- Requires-Dist: sphinx>=6; extra == "documentation"
59
- Requires-Dist: sphinx-gallery~=0.17; extra == "documentation"
60
- Requires-Dist: sphinx-rtd-theme<4,>=2; extra == "documentation"
61
- Requires-Dist: pydata-sphinx-theme~=0.15; extra == "documentation"
58
+ Requires-Dist: MartinPdeS-docs<0.5,>=0.4.0; extra == "documentation"
62
59
  Dynamic: license-file
63
60
 
64
61
  TypedUnit
@@ -0,0 +1,15 @@
1
+ LICENSE
2
+ README.rst
3
+ pyproject.toml
4
+ TypedUnit/__init__.py
5
+ TypedUnit/_version.py
6
+ TypedUnit/directories.py
7
+ TypedUnit/helper.py
8
+ TypedUnit/units.py
9
+ TypedUnit/utils.py
10
+ TypedUnit.egg-info/PKG-INFO
11
+ TypedUnit.egg-info/SOURCES.txt
12
+ TypedUnit.egg-info/dependency_links.txt
13
+ TypedUnit.egg-info/requires.txt
14
+ TypedUnit.egg-info/top_level.txt
15
+ tests/test_0.py
@@ -4,12 +4,10 @@ matplotlib
4
4
  pint_pandas
5
5
 
6
6
  [documentation]
7
- MartinPdeS-docs<0.3,>=0.2.1
8
- numpydoc~=1.8
9
- sphinx>=6
10
- sphinx-gallery~=0.17
11
- sphinx-rtd-theme<4,>=2
12
- pydata-sphinx-theme~=0.15
7
+ MartinPdeS-docs<0.5,>=0.4.0
8
+
9
+ [release]
10
+ martinpdes-maintenance==0.2.2
13
11
 
14
12
  [testing]
15
13
  pytest<10.0,>=7.4
@@ -1,10 +1,10 @@
1
1
  [build-system]
2
- requires = ["setuptools>=40.8.0", "wheel", "setuptools_scm[toml]>=8.0"]
2
+ requires = ["setuptools>=40.8.0", "wheel"]
3
3
  build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "TypedUnit"
7
- dynamic = ["version"]
7
+ version = "0.2.17"
8
8
  description = "A package wrapping pint for handling typed units in Python."
9
9
  license = {file = "LICENSE"}
10
10
  readme = "README.rst"
@@ -41,12 +41,8 @@ Homepage = "https://github.com/MartinPdeS/TypedUnit"
41
41
  Documentation = "https://martinpdes.github.io/TypedUnit/"
42
42
  Repository = "https://github.com/MartinPdeS/TypedUnit.git"
43
43
 
44
- [tool.setuptools_scm]
45
- write_to = "TypedUnit/_version.py"
46
- version_scheme = "only-version"
47
- local_scheme = "no-local-version"
48
-
49
44
  [project.optional-dependencies]
45
+ release = ["martinpdes-maintenance==0.2.2"]
50
46
  testing = [
51
47
  "pytest >=7.4,<10.0",
52
48
  "pytest-cov >=2,<7",
@@ -56,18 +52,18 @@ testing = [
56
52
  ]
57
53
 
58
54
  documentation = [
59
- "MartinPdeS-docs>=0.2.1,<0.3",
60
- "numpydoc ~=1.8",
61
- "sphinx >=6",
62
- "sphinx-gallery ~=0.17",
63
- "sphinx-rtd-theme >=2,<4",
64
- "pydata-sphinx-theme ~=0.15"
55
+ "MartinPdeS-docs>=0.4.0,<0.5",
65
56
  ]
66
57
 
67
58
  [tool.ruff]
68
59
  target-version = "py310"
69
- # SCM owns this file; lint the maintained sources instead of generated version code.
60
+ # The release helper maintains the version file.
70
61
  extend-exclude = ["TypedUnit/_version.py"]
71
62
 
72
63
  [tool.ruff.lint]
73
64
  select = ["E4", "E7", "E9", "F", "I", "B"]
65
+
66
+ [tool.mps-maintenance]
67
+ version-file = "TypedUnit/_version.py"
68
+ version-method = "literal"
69
+ conda-recipe = "conda.recipe/meta.yaml"
@@ -1,22 +0,0 @@
1
- # .coveragerc
2
- [run]
3
- source = TypedUnit
4
- branch = True
5
- relative_files = True
6
- parallel = True
7
- omit =
8
- **/__init__.py
9
- TypedUnit/_version.py
10
- TypedUnit/directories.py
11
- TypedUnit/**/__main__.py
12
-
13
- [report]
14
- skip_covered = True
15
- show_missing = True
16
- precision = 2
17
-
18
- [html]
19
- directory = htmlcov
20
-
21
- [xml]
22
- output = coverage.xml
typedunit-0.2.14/.flake8 DELETED
@@ -1,6 +0,0 @@
1
- [flake8]
2
- max-line-length = 300
3
- exclude = [".git"]
4
- count = true
5
- per-file-ignores =
6
- __init__.py: F403, F401
@@ -1,10 +0,0 @@
1
- # Specify reviewers for pull requests
2
-
3
- version: 2
4
- updates:
5
- - package-ecosystem: "pip"
6
- directory: "/"
7
- target-branch: "master"
8
- schedule:
9
- interval: "quarterly"
10
- time: "09:00"
@@ -1,25 +0,0 @@
1
- name: Publish coverage
2
-
3
- on:
4
- push:
5
- branches: [master]
6
- pull_request:
7
- branches: [master]
8
-
9
- concurrency:
10
- group: typedunit-coverage
11
- cancel-in-progress: false
12
-
13
- permissions:
14
- contents: write
15
- pull-requests: write
16
-
17
- jobs:
18
- coverage:
19
- uses: MartinPdeS/MPSActions/.github/workflows/publish_coverage.yml@a01969bc5af90666281f9d37acffdf6a4629763a
20
- with:
21
- python-version: "3.11"
22
- apt-package: xvfb
23
- coverage-package: TypedUnit
24
- secrets:
25
- _GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -1,58 +0,0 @@
1
- name: Publish documentation
2
-
3
- on:
4
- push:
5
- branches: [master]
6
- tags: ["v*"]
7
-
8
- permissions:
9
- contents: write
10
- pages: write
11
- id-token: write
12
-
13
- jobs:
14
- documentation:
15
- uses: MartinPdeS/MPSActions/.github/workflows/publish_documentation.yml@a01969bc5af90666281f9d37acffdf6a4629763a
16
- with:
17
- python-version: "3.11"
18
- package-name: TypedUnit
19
- apt-package: xvfb jq
20
-
21
- maintain_documentation:
22
- needs: documentation
23
- if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v')) }}
24
- runs-on: ubuntu-latest
25
- steps:
26
- - name: Install documentation landing page
27
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09
28
- with:
29
- ref: documentation_page
30
- fetch-depth: 0
31
- - run: |
32
- set -Eeuo pipefail
33
- git show "${GITHUB_SHA}:docs/redirect.html" > index.html
34
- test -s docs/latest/index.html
35
- git config user.name "github-actions[bot]"
36
- git config user.email "github-actions[bot]@users.noreply.github.com"
37
- git add index.html
38
- if git diff --cached --quiet; then exit 0; fi
39
- git commit -m "Update documentation landing page [skip ci]"
40
- git push origin HEAD:documentation_page
41
-
42
- publish_pages:
43
- needs: maintain_documentation
44
- if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v')) }}
45
- runs-on: ubuntu-latest
46
- environment:
47
- name: github-pages
48
- url: ${{ steps.deployment.outputs.page_url }}
49
- steps:
50
- - uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09
51
- with:
52
- ref: documentation_page
53
- - uses: actions/configure-pages@v5
54
- - uses: actions/upload-pages-artifact@v3
55
- with:
56
- path: .
57
- - id: deployment
58
- uses: actions/deploy-pages@v4
@@ -1,30 +0,0 @@
1
- name: Publish release
2
-
3
- on:
4
- push:
5
- tags: ["v*"]
6
-
7
- permissions:
8
- contents: read
9
-
10
- jobs:
11
- pypi:
12
- name: Publish to PyPI
13
- uses: MartinPdeS/MPSActions/.github/workflows/publish_pure_package_to_PyPi.yml@a01969bc5af90666281f9d37acffdf6a4629763a
14
- with:
15
- python-version: "3.11"
16
- test-command: python -c 'import TypedUnit; print(TypedUnit.__version__)'
17
- secrets:
18
- PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
19
-
20
- conda:
21
- name: Publish Conda package
22
- uses: MartinPdeS/MPSActions/.github/workflows/publish_compiled_package_to_anaconda.yml@a01969bc5af90666281f9d37acffdf6a4629763a
23
- with:
24
- python_versions: '["3.14"]'
25
- os_list: '["ubuntu-latest"]'
26
- package_name: typedunit
27
- recipe_path: conda.recipe
28
- test_import: TypedUnit
29
- secrets:
30
- ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
@@ -1,22 +0,0 @@
1
- name: Static quality checks
2
-
3
- on:
4
- push:
5
- branches: [master]
6
- pull_request:
7
- branches: [master]
8
-
9
- permissions:
10
- contents: read
11
-
12
- jobs:
13
- quality:
14
- runs-on: ubuntu-latest
15
- steps:
16
- - name: Set up Python and CI dependencies
17
- uses: MartinPdeS/MPSActions/actions/setup-python@a01969bc5af90666281f9d37acffdf6a4629763a
18
- with:
19
- python-version: "3.11"
20
- install-command: >-
21
- python -m pip install --upgrade pip && python -m pip install "ruff>=0.6,<1"
22
- - run: python -m ruff check TypedUnit tests
@@ -1,26 +0,0 @@
1
- name: Tests
2
-
3
- on:
4
- push:
5
- branches: [master]
6
- pull_request:
7
- branches: [master]
8
-
9
- permissions:
10
- contents: read
11
-
12
- jobs:
13
- tests:
14
- runs-on: ubuntu-latest
15
- strategy:
16
- fail-fast: false
17
- matrix:
18
- python-version: ["3.11", "3.14"]
19
- steps:
20
- - name: Set up Python and CI dependencies
21
- uses: MartinPdeS/MPSActions/actions/setup-python@a01969bc5af90666281f9d37acffdf6a4629763a
22
- with:
23
- python-version: "${{ matrix.python-version }}"
24
- install-command: >-
25
- python -m pip install --upgrade pip && python -m pip install -e ".[testing]"
26
- - run: python -m pytest -q
@@ -1,41 +0,0 @@
1
-
2
- # Ignore all
3
- /*
4
-
5
- # Except ...
6
- !.github
7
- !.gitmodules
8
- !extern
9
- !TypedUnit
10
- !development
11
- !docs
12
- !tests
13
- !.flake8
14
- !.gitignore
15
- !.pre-commit-config.yaml
16
- !LICENSE
17
- !conda.recipe
18
- !conda.recipe/meta.yaml
19
- !pyproject.toml
20
- !README.rst
21
- !CONTRIBUTING.md
22
- !/Makefile
23
- !tools
24
- !tools/*.py
25
- !notebook.ipynb
26
- !CMakeLists.txt
27
- !pytest.ini
28
- !.coveragerc
29
-
30
- # But ignore docs/build inside docs and code
31
- docs/build/
32
- docs/source/gallery/
33
-
34
- # Compiled files in the project
35
- *__pycache__*
36
- *.DS_Store*
37
- *.so*
38
- *.a*
39
- !Makefile
40
-
41
- # Package specifics
@@ -1,15 +0,0 @@
1
- repos:
2
- - repo: https://github.com/pre-commit/pre-commit-hooks
3
- rev: v4.6.0
4
- hooks:
5
- - id: check-merge-conflict
6
- - id: end-of-file-fixer
7
- - id: mixed-line-ending
8
- - id: detect-private-key
9
- - id: check-json
10
- - id: check-case-conflict
11
-
12
- - repo: https://github.com/psf/black
13
- rev: 24.4.2
14
- hooks:
15
- - id: black
@@ -1,7 +0,0 @@
1
- # Contributing to TypedUnit
2
-
3
- Use Python 3.10 or newer. Install development dependencies with `python -m pip install -e ".[testing,documentation]"`, then run `python -m pytest`.
4
-
5
- Releases use semantic version tags. Run `make patch`, `make minor`, or `make major` from a clean `master` checkout; the command creates the release commit, tags it, and pushes both. Publishing workflows run only for `v*` tags.
6
-
7
- The Conda recipe is at `conda.recipe/meta.yaml`. Do not commit generated documentation, virtual environments, build artefacts, or caches.
typedunit-0.2.14/Makefile DELETED
@@ -1,15 +0,0 @@
1
- PYTHON ?= python3
2
-
3
- .PHONY: release tag patch minor major
4
-
5
- release:
6
- @set -eu; release_tag="$$( $(PYTHON) tools/next_release_version.py $(BUMP) )"; \
7
- $(PYTHON) tools/release_tag.py "$$release_tag"; \
8
- git push origin HEAD "refs/tags/$$release_tag"
9
-
10
- tag:
11
- @set -eu; release_tag="$$( $(PYTHON) tools/next_release_version.py $(BUMP) )"; \
12
- $(PYTHON) tools/release_tag.py "$$release_tag"
13
-
14
- patch minor major:
15
- @$(MAKE) release BUMP=$@
@@ -1,24 +0,0 @@
1
- # file generated by vcs-versioning
2
- # don't change, don't track in version control
3
- from __future__ import annotations
4
-
5
- __all__ = [
6
- "__version__",
7
- "__version_tuple__",
8
- "version",
9
- "version_tuple",
10
- "__commit_id__",
11
- "commit_id",
12
- ]
13
-
14
- version: str
15
- __version__: str
16
- __version_tuple__: tuple[int | str, ...]
17
- version_tuple: tuple[int | str, ...]
18
- commit_id: str | None
19
- __commit_id__: str | None
20
-
21
- __version__ = version = '0.2.14'
22
- __version_tuple__ = version_tuple = (0, 2, 14)
23
-
24
- __commit_id__ = commit_id = 'g71aab5d79'
@@ -1,58 +0,0 @@
1
- .coveragerc
2
- .flake8
3
- .gitignore
4
- .pre-commit-config.yaml
5
- CONTRIBUTING.md
6
- LICENSE
7
- Makefile
8
- README.rst
9
- pyproject.toml
10
- pytest.ini
11
- .github/dependabot.yml
12
- .github/workflows/deploy_coverage.yml
13
- .github/workflows/deploy_documentation.yml
14
- .github/workflows/deploy_release.yml
15
- .github/workflows/quality.yml
16
- .github/workflows/tests.yml
17
- TypedUnit/__init__.py
18
- TypedUnit/_version.py
19
- TypedUnit/directories.py
20
- TypedUnit/helper.py
21
- TypedUnit/units.py
22
- TypedUnit/utils.py
23
- TypedUnit.egg-info/PKG-INFO
24
- TypedUnit.egg-info/SOURCES.txt
25
- TypedUnit.egg-info/dependency_links.txt
26
- TypedUnit.egg-info/requires.txt
27
- TypedUnit.egg-info/scm_file_list.json
28
- TypedUnit.egg-info/scm_version.json
29
- TypedUnit.egg-info/top_level.txt
30
- conda.recipe/meta.yaml
31
- docs/Makefile
32
- docs/make.bat
33
- docs/redirect.html
34
- docs/examples/README.rst
35
- docs/examples/example_0.py
36
- docs/examples/example_1.py
37
- docs/images/logo.png
38
- docs/source/code.rst
39
- docs/source/conf.py
40
- docs/source/guide.rst
41
- docs/source/index.rst
42
- docs/source/reference.rst
43
- docs/source/references.rst
44
- docs/source/sg_execution_times.rst
45
- docs/source/theory.rst
46
- docs/source/units.rst
47
- docs/source/_static/default.css
48
- docs/source/_static/layout.css
49
- docs/source/_static/thumbnail.png
50
- docs/source/guide/concepts.rst
51
- docs/source/guide/installation.rst
52
- docs/source/guide/pint.rst
53
- docs/source/guide/quickstart.rst
54
- docs/source/guide/validation.rst
55
- tests/__init__.py
56
- tests/test_0.py
57
- tools/next_release_version.py
58
- tools/release_tag.py
@@ -1,55 +0,0 @@
1
- {
2
- "files": [
3
- ".coveragerc",
4
- ".flake8",
5
- ".github/dependabot.yml",
6
- ".github/workflows/deploy_coverage.yml",
7
- ".github/workflows/deploy_documentation.yml",
8
- ".github/workflows/deploy_release.yml",
9
- ".github/workflows/quality.yml",
10
- ".github/workflows/tests.yml",
11
- ".gitignore",
12
- ".pre-commit-config.yaml",
13
- "CONTRIBUTING.md",
14
- "LICENSE",
15
- "Makefile",
16
- "README.rst",
17
- "TypedUnit/__init__.py",
18
- "TypedUnit/_version.py",
19
- "TypedUnit/directories.py",
20
- "TypedUnit/helper.py",
21
- "TypedUnit/units.py",
22
- "TypedUnit/utils.py",
23
- "conda.recipe/meta.yaml",
24
- "docs/Makefile",
25
- "docs/examples/README.rst",
26
- "docs/examples/example_0.py",
27
- "docs/examples/example_1.py",
28
- "docs/images/logo.png",
29
- "docs/make.bat",
30
- "docs/redirect.html",
31
- "docs/source/_static/default.css",
32
- "docs/source/_static/layout.css",
33
- "docs/source/_static/thumbnail.png",
34
- "docs/source/code.rst",
35
- "docs/source/conf.py",
36
- "docs/source/guide.rst",
37
- "docs/source/guide/concepts.rst",
38
- "docs/source/guide/installation.rst",
39
- "docs/source/guide/pint.rst",
40
- "docs/source/guide/quickstart.rst",
41
- "docs/source/guide/validation.rst",
42
- "docs/source/index.rst",
43
- "docs/source/reference.rst",
44
- "docs/source/references.rst",
45
- "docs/source/sg_execution_times.rst",
46
- "docs/source/theory.rst",
47
- "docs/source/units.rst",
48
- "pyproject.toml",
49
- "pytest.ini",
50
- "tests/__init__.py",
51
- "tests/test_0.py",
52
- "tools/next_release_version.py",
53
- "tools/release_tag.py"
54
- ]
55
- }
@@ -1,8 +0,0 @@
1
- {
2
- "tag": "0.2.14",
3
- "distance": 0,
4
- "node": "g71aab5d7965e52e0ef97535d7f3a969c3cc79d38",
5
- "dirty": true,
6
- "branch": "HEAD",
7
- "node_date": "2026-10-21"
8
- }
@@ -1,61 +0,0 @@
1
- package:
2
- name: typedunit
3
- version: {{ GIT_DESCRIBE_TAG | replace("v", "") }}
4
-
5
- source:
6
- path: ..
7
-
8
- build:
9
- noarch: python
10
- script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
11
- number: 0
12
-
13
- channels:
14
- - conda-forge
15
- - martinpdes
16
-
17
- requirements:
18
- host:
19
- - python {{ PY_VER }}*
20
- - setuptools >=40.8.0
21
- - wheel
22
- - setuptools-scm >=8.0
23
- - pip
24
- run:
25
- - python >=3.10
26
- - pint >=0.24,<0.26
27
- - numpy
28
- - matplotlib
29
- - pint-pandas
30
-
31
-
32
- about:
33
- home: https://github.com/MartinPdeS/TypedUnit
34
- license: MIT
35
- summary: "A package wrapping pint for handling typed units in Python."
36
- description: TypedUnit is a library that provides a way to define and manipulate physical quantities with units in a type-safe manner. It builds on top of the Pint library.
37
- dev_url: https://github.com/MartinPdeS/TypedUnit
38
- doc_url: https://typedunits.readthedocs.io
39
- license_file: LICENSE
40
- keywords:
41
- - typed units
42
- - pint
43
- - physical quantities
44
-
45
- test:
46
- imports:
47
- - TypedUnit
48
- requires:
49
- - python {{PY_VER}}*
50
- - pytest >=0.6
51
- - pytest-cov >=2.0
52
- - pytest-json-report ~=1.5.0
53
- - coverage >=7.10,<8
54
- commands:
55
- - python -m pytest
56
- source_files:
57
- - tests
58
-
59
- extra:
60
- recipe-maintainers:
61
- - MartinPdeS
@@ -1,19 +0,0 @@
1
- # Minimal makefile for Sphinx documentation
2
- #
3
-
4
- # You can set these variables from the command line.
5
- SPHINXOPTS =
6
- SPHINXBUILD = sphinx-build
7
- SOURCEDIR = source
8
- BUILDDIR = build
9
-
10
- # Put it first so that "make" without argument is like "make help".
11
- help:
12
- @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
13
-
14
- .PHONY: help Makefile
15
-
16
- # Catch-all target: route all unknown targets to Sphinx using the new
17
- # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
18
- %: Makefile
19
- @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)