physpyx 2.0.0__tar.gz → 2.0.1__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: physpyx
3
- Version: 2.0.0
3
+ Version: 2.0.1
4
4
  Summary: Provides a way to use python code in LaTeX
5
5
  Author: Jérôme Dufour
6
6
  Author-email: Jérôme Dufour <jerome.dufour@eduvaud.ch>
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "physpyx"
3
- version = "2.0.0"
3
+ version = "2.0.1"
4
4
  authors = [
5
5
  { name="Jérôme Dufour", email="jerome.dufour@eduvaud.ch" },
6
6
  ]
@@ -50,6 +50,7 @@ class SiunitxQuantity(Quantity):
50
50
  "tesla",
51
51
  "henry",
52
52
  "farad",
53
+ "coulomb",
53
54
  ]
54
55
  }
55
56
 
@@ -71,9 +72,9 @@ class SiunitxQuantity(Quantity):
71
72
  :param base: If true, converts the unit into SI units.
72
73
  :param compact: As described in the "Pint" documentation "returns a
73
74
  rescaled to compact, human-readable units".
74
- :param preferred: If true, attempts to convert unit into simpler one.
75
- For instance (kg.m/s2 will be converted to N). Note that, this defaults
76
- to "True" which means that all SiunitxQuantity resulting from
75
+ :param preferred: If true, attempts to convert units into preferred
76
+ ones. For instance (kg.m/s2 will be converted to N). Note that, this
77
+ defaults to "True" which means that all SiunitxQuantity resulting from
77
78
  mathematical operations, will be converted.
78
79
  """
79
80
  quantity = cast(SiunitxQuantity, super().__new__(cls, value, units))
@@ -241,7 +242,7 @@ class Constants:
241
242
  "k": (8.987551e9, "newton meter squared per coulomb squared", ".0e"),
242
243
  "epsilon0": (
243
244
  8.8541878188e-12,
244
- "coulomb squared per newton meter sauqred",
245
+ "coulomb squared per newton meter squared",
245
246
  ".3e",
246
247
  ),
247
248
  "mu0": (1.2566370612696005e-06, "tesla meter per ampere", ".3e"),
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes