ucon 0.3.1rc1__tar.gz → 0.3.1rc3__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.
- {ucon-0.3.1rc1 → ucon-0.3.1rc3}/PKG-INFO +5 -32
- {ucon-0.3.1rc1 → ucon-0.3.1rc3}/README.md +4 -31
- {ucon-0.3.1rc1 → ucon-0.3.1rc3}/ucon.egg-info/PKG-INFO +5 -32
- {ucon-0.3.1rc1 → ucon-0.3.1rc3}/.github/workflows/publish.yaml +0 -0
- {ucon-0.3.1rc1 → ucon-0.3.1rc3}/.github/workflows/tests.yaml +0 -0
- {ucon-0.3.1rc1 → ucon-0.3.1rc3}/.gitignore +0 -0
- {ucon-0.3.1rc1 → ucon-0.3.1rc3}/LICENSE +0 -0
- {ucon-0.3.1rc1 → ucon-0.3.1rc3}/ROADMAP.md +0 -0
- {ucon-0.3.1rc1 → ucon-0.3.1rc3}/noxfile.py +0 -0
- {ucon-0.3.1rc1 → ucon-0.3.1rc3}/requirements.txt +0 -0
- {ucon-0.3.1rc1 → ucon-0.3.1rc3}/setup.cfg +0 -0
- {ucon-0.3.1rc1 → ucon-0.3.1rc3}/setup.py +0 -0
- {ucon-0.3.1rc1 → ucon-0.3.1rc3}/tests/__init__.py +0 -0
- {ucon-0.3.1rc1 → ucon-0.3.1rc3}/tests/ucon/__init__.py +0 -0
- {ucon-0.3.1rc1 → ucon-0.3.1rc3}/tests/ucon/test_core.py +0 -0
- {ucon-0.3.1rc1 → ucon-0.3.1rc3}/tests/ucon/test_dimension.py +0 -0
- {ucon-0.3.1rc1 → ucon-0.3.1rc3}/tests/ucon/test_unit.py +0 -0
- {ucon-0.3.1rc1 → ucon-0.3.1rc3}/tests/ucon/test_units.py +0 -0
- {ucon-0.3.1rc1 → ucon-0.3.1rc3}/ucon/__init__.py +0 -0
- {ucon-0.3.1rc1 → ucon-0.3.1rc3}/ucon/core.py +0 -0
- {ucon-0.3.1rc1 → ucon-0.3.1rc3}/ucon/dimension.py +0 -0
- {ucon-0.3.1rc1 → ucon-0.3.1rc3}/ucon/unit.py +0 -0
- {ucon-0.3.1rc1 → ucon-0.3.1rc3}/ucon/units.py +0 -0
- {ucon-0.3.1rc1 → ucon-0.3.1rc3}/ucon.egg-info/SOURCES.txt +0 -0
- {ucon-0.3.1rc1 → ucon-0.3.1rc3}/ucon.egg-info/dependency_links.txt +0 -0
- {ucon-0.3.1rc1 → ucon-0.3.1rc3}/ucon.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ucon
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.1rc3
|
|
4
4
|
Summary: a tool for dimensional analysis: a "Unit CONverter"
|
|
5
5
|
Home-page: https://github.com/withtwoemms/ucon
|
|
6
6
|
Author: Emmanuel I. Obi
|
|
@@ -34,17 +34,18 @@ Dynamic: maintainer
|
|
|
34
34
|
Dynamic: maintainer-email
|
|
35
35
|
Dynamic: summary
|
|
36
36
|
|
|
37
|
-
<img src="https://gist.githubusercontent.com/withtwoemms/0cb9e6bc8df08f326771a89eeb790f8e/raw/dde6c7d3b8a7d79eb1006ace03fb834e044cdebc/ucon-logo.png" align="left" width="
|
|
37
|
+
<img src="https://gist.githubusercontent.com/withtwoemms/0cb9e6bc8df08f326771a89eeb790f8e/raw/dde6c7d3b8a7d79eb1006ace03fb834e044cdebc/ucon-logo.png" align="left" width="200" />
|
|
38
38
|
|
|
39
39
|
# ucon
|
|
40
40
|
|
|
41
41
|
> Pronounced: _yoo · cahn_
|
|
42
|
-
> A lightweight, **unit-aware computation library** for Python — built on first-principles.
|
|
43
42
|
|
|
44
43
|
[](https://github.com/withtwoemms/ucon/actions?query=workflow%3Atests)
|
|
45
44
|
[](https://codecov.io/gh/withtwoemms/ucon)
|
|
46
45
|
[](https://github.com/withtwoemms/ucon/actions?query=workflow%3Apublish)
|
|
47
46
|
|
|
47
|
+
> A lightweight, **unit-aware computation library** for Python — built on first-principles.
|
|
48
|
+
|
|
48
49
|
---
|
|
49
50
|
|
|
50
51
|
## Overview
|
|
@@ -81,35 +82,7 @@ To best answer this question, we turn to an age-old technique ([dimensional anal
|
|
|
81
82
|
|
|
82
83
|
`ucon` models unit math through a hierarchy where each layer builds on the last:
|
|
83
84
|
|
|
84
|
-
|
|
85
|
-
---
|
|
86
|
-
config:
|
|
87
|
-
layout: elk
|
|
88
|
-
elk:
|
|
89
|
-
mergeEdges: true # Combines parallel edges
|
|
90
|
-
nodePlacementStrategy: SIMPLE # Other options: SIMPLE, NETWORK_SIMPLEX, BRANDES_KOEPF (default)
|
|
91
|
-
---
|
|
92
|
-
flowchart LR
|
|
93
|
-
%% --- Algebraic substrate ---
|
|
94
|
-
subgraph "Algebraic Substrate"
|
|
95
|
-
A[Exponent] --> B[Scale]
|
|
96
|
-
end
|
|
97
|
-
%% --- Physical ontology ---
|
|
98
|
-
subgraph "Physical Ontology"
|
|
99
|
-
D[Dimension] --> E[Unit]
|
|
100
|
-
end
|
|
101
|
-
%% --- Value layer ---
|
|
102
|
-
subgraph "Value Layer"
|
|
103
|
-
F[Number]
|
|
104
|
-
G[Ratio]
|
|
105
|
-
end
|
|
106
|
-
%% --- Cross-layer relationships ---
|
|
107
|
-
E --> F
|
|
108
|
-
B --> F
|
|
109
|
-
%% Ratio composes Numbers and also evaluates to a Number
|
|
110
|
-
F --> G
|
|
111
|
-
G --> F
|
|
112
|
-
```
|
|
85
|
+

|
|
113
86
|
|
|
114
87
|
## Why `ucon`?
|
|
115
88
|
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
<img src="https://gist.githubusercontent.com/withtwoemms/0cb9e6bc8df08f326771a89eeb790f8e/raw/dde6c7d3b8a7d79eb1006ace03fb834e044cdebc/ucon-logo.png" align="left" width="
|
|
1
|
+
<img src="https://gist.githubusercontent.com/withtwoemms/0cb9e6bc8df08f326771a89eeb790f8e/raw/dde6c7d3b8a7d79eb1006ace03fb834e044cdebc/ucon-logo.png" align="left" width="200" />
|
|
2
2
|
|
|
3
3
|
# ucon
|
|
4
4
|
|
|
5
5
|
> Pronounced: _yoo · cahn_
|
|
6
|
-
> A lightweight, **unit-aware computation library** for Python — built on first-principles.
|
|
7
6
|
|
|
8
7
|
[](https://github.com/withtwoemms/ucon/actions?query=workflow%3Atests)
|
|
9
8
|
[](https://codecov.io/gh/withtwoemms/ucon)
|
|
10
9
|
[](https://github.com/withtwoemms/ucon/actions?query=workflow%3Apublish)
|
|
11
10
|
|
|
11
|
+
> A lightweight, **unit-aware computation library** for Python — built on first-principles.
|
|
12
|
+
|
|
12
13
|
---
|
|
13
14
|
|
|
14
15
|
## Overview
|
|
@@ -45,35 +46,7 @@ To best answer this question, we turn to an age-old technique ([dimensional anal
|
|
|
45
46
|
|
|
46
47
|
`ucon` models unit math through a hierarchy where each layer builds on the last:
|
|
47
48
|
|
|
48
|
-
|
|
49
|
-
---
|
|
50
|
-
config:
|
|
51
|
-
layout: elk
|
|
52
|
-
elk:
|
|
53
|
-
mergeEdges: true # Combines parallel edges
|
|
54
|
-
nodePlacementStrategy: SIMPLE # Other options: SIMPLE, NETWORK_SIMPLEX, BRANDES_KOEPF (default)
|
|
55
|
-
---
|
|
56
|
-
flowchart LR
|
|
57
|
-
%% --- Algebraic substrate ---
|
|
58
|
-
subgraph "Algebraic Substrate"
|
|
59
|
-
A[Exponent] --> B[Scale]
|
|
60
|
-
end
|
|
61
|
-
%% --- Physical ontology ---
|
|
62
|
-
subgraph "Physical Ontology"
|
|
63
|
-
D[Dimension] --> E[Unit]
|
|
64
|
-
end
|
|
65
|
-
%% --- Value layer ---
|
|
66
|
-
subgraph "Value Layer"
|
|
67
|
-
F[Number]
|
|
68
|
-
G[Ratio]
|
|
69
|
-
end
|
|
70
|
-
%% --- Cross-layer relationships ---
|
|
71
|
-
E --> F
|
|
72
|
-
B --> F
|
|
73
|
-
%% Ratio composes Numbers and also evaluates to a Number
|
|
74
|
-
F --> G
|
|
75
|
-
G --> F
|
|
76
|
-
```
|
|
49
|
+

|
|
77
50
|
|
|
78
51
|
## Why `ucon`?
|
|
79
52
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ucon
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.1rc3
|
|
4
4
|
Summary: a tool for dimensional analysis: a "Unit CONverter"
|
|
5
5
|
Home-page: https://github.com/withtwoemms/ucon
|
|
6
6
|
Author: Emmanuel I. Obi
|
|
@@ -34,17 +34,18 @@ Dynamic: maintainer
|
|
|
34
34
|
Dynamic: maintainer-email
|
|
35
35
|
Dynamic: summary
|
|
36
36
|
|
|
37
|
-
<img src="https://gist.githubusercontent.com/withtwoemms/0cb9e6bc8df08f326771a89eeb790f8e/raw/dde6c7d3b8a7d79eb1006ace03fb834e044cdebc/ucon-logo.png" align="left" width="
|
|
37
|
+
<img src="https://gist.githubusercontent.com/withtwoemms/0cb9e6bc8df08f326771a89eeb790f8e/raw/dde6c7d3b8a7d79eb1006ace03fb834e044cdebc/ucon-logo.png" align="left" width="200" />
|
|
38
38
|
|
|
39
39
|
# ucon
|
|
40
40
|
|
|
41
41
|
> Pronounced: _yoo · cahn_
|
|
42
|
-
> A lightweight, **unit-aware computation library** for Python — built on first-principles.
|
|
43
42
|
|
|
44
43
|
[](https://github.com/withtwoemms/ucon/actions?query=workflow%3Atests)
|
|
45
44
|
[](https://codecov.io/gh/withtwoemms/ucon)
|
|
46
45
|
[](https://github.com/withtwoemms/ucon/actions?query=workflow%3Apublish)
|
|
47
46
|
|
|
47
|
+
> A lightweight, **unit-aware computation library** for Python — built on first-principles.
|
|
48
|
+
|
|
48
49
|
---
|
|
49
50
|
|
|
50
51
|
## Overview
|
|
@@ -81,35 +82,7 @@ To best answer this question, we turn to an age-old technique ([dimensional anal
|
|
|
81
82
|
|
|
82
83
|
`ucon` models unit math through a hierarchy where each layer builds on the last:
|
|
83
84
|
|
|
84
|
-
|
|
85
|
-
---
|
|
86
|
-
config:
|
|
87
|
-
layout: elk
|
|
88
|
-
elk:
|
|
89
|
-
mergeEdges: true # Combines parallel edges
|
|
90
|
-
nodePlacementStrategy: SIMPLE # Other options: SIMPLE, NETWORK_SIMPLEX, BRANDES_KOEPF (default)
|
|
91
|
-
---
|
|
92
|
-
flowchart LR
|
|
93
|
-
%% --- Algebraic substrate ---
|
|
94
|
-
subgraph "Algebraic Substrate"
|
|
95
|
-
A[Exponent] --> B[Scale]
|
|
96
|
-
end
|
|
97
|
-
%% --- Physical ontology ---
|
|
98
|
-
subgraph "Physical Ontology"
|
|
99
|
-
D[Dimension] --> E[Unit]
|
|
100
|
-
end
|
|
101
|
-
%% --- Value layer ---
|
|
102
|
-
subgraph "Value Layer"
|
|
103
|
-
F[Number]
|
|
104
|
-
G[Ratio]
|
|
105
|
-
end
|
|
106
|
-
%% --- Cross-layer relationships ---
|
|
107
|
-
E --> F
|
|
108
|
-
B --> F
|
|
109
|
-
%% Ratio composes Numbers and also evaluates to a Number
|
|
110
|
-
F --> G
|
|
111
|
-
G --> F
|
|
112
|
-
```
|
|
85
|
+

|
|
113
86
|
|
|
114
87
|
## Why `ucon`?
|
|
115
88
|
|
|
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
|