expit 1.0.9__py3-none-any.whl → 1.0.10__py3-none-any.whl

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.
expit/core/__init__.py CHANGED
@@ -6,7 +6,8 @@ import preparse
6
6
  __all__ = ["function", "main"]
7
7
 
8
8
 
9
- def function(x: float):
9
+ def function(x: float) -> float:
10
+ "The expit function."
10
11
  try:
11
12
  p = math.exp(-x)
12
13
  except OverflowError:
@@ -19,6 +20,6 @@ def function(x: float):
19
20
  @click.help_option("-h", "--help")
20
21
  @click.version_option(None, "-V", "--version")
21
22
  @click.argument("x", type=float)
22
- def main(x: float):
23
- """applies the expit function to x"""
23
+ def main(x: float) -> None:
24
+ "Apply the expit function to x."
24
25
  click.echo(function(x))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: expit
3
- Version: 1.0.9
3
+ Version: 1.0.10
4
4
  Summary: The expit function.
5
5
  Author-email: Johannes <johannes-programming@mailfence.com>
6
6
  License: The MIT License (MIT)
@@ -24,11 +24,11 @@ License: The MIT License (MIT)
24
24
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
25
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
26
  SOFTWARE.
27
- Project-URL: Documentation, https://pypi.org/project/expit
27
+ Project-URL: Documentation, https://expit.johannes-programming.online/
28
28
  Project-URL: Download, https://pypi.org/project/expit/#files
29
29
  Project-URL: Index, https://pypi.org/project/expit/
30
- Project-URL: Source, https://github.com/johannes-programming/expit
31
- Project-URL: Website, https://expit.johannes-programming.online
30
+ Project-URL: Source, https://github.com/johannes-programming/expit/
31
+ Project-URL: Website, https://expit.johannes-programming.online/
32
32
  Classifier: Development Status :: 5 - Production/Stable
33
33
  Classifier: License :: OSI Approved :: MIT License
34
34
  Classifier: Programming Language :: Python
@@ -37,11 +37,11 @@ Classifier: Programming Language :: Python :: 3 :: Only
37
37
  Requires-Python: >=3.11
38
38
  Description-Content-Type: text/x-rst
39
39
  License-File: LICENSE.txt
40
- Requires-Dist: click >=8.1.7
41
- Requires-Dist: preparse >=0.0.3
40
+ Requires-Dist: click>=8.1.7
41
+ Requires-Dist: preparse>=0.0.3
42
42
 
43
43
  =====
44
44
  expit
45
45
  =====
46
46
 
47
- Visit the website `https://expit.johannes-programming.online <https://expit.johannes-programming.online>`_ for more information.
47
+ Visit the website `https://expit.johannes-programming.online/ <https://expit.johannes-programming.online/>`_ for more information.
@@ -0,0 +1,10 @@
1
+ expit/__init__.py,sha256=_6zfbxGbD_Ca4EPx7eJ7h7SU1L6QXdBe9MkpSu5tzvU,90
2
+ expit/__main__.py,sha256=vtuVmp_tcHYg_kJhOYt6cRPinFrpMR4yV_6b8tx4n-Q,62
3
+ expit/core/__init__.py,sha256=KrsK1pxN5j2XL3pb8xtJLC7EoO4mWEak1zj0snLiuBA,533
4
+ expit/tests/__init__.py,sha256=vTK8DNdf2ozNTfNEtgxXbhfdrjc8h5LgTdY9jmUHPd4,226
5
+ expit/tests/test_easy.py,sha256=9dmpNM9_Lfa5t4UFZlAGIWjI1dJAWcRYjHNmyw9H96k,4200
6
+ expit-1.0.10.dist-info/LICENSE.txt,sha256=4_wW1qomV3dbE2RahXvz_BOPr_JNzdKxC90VCXXc74o,1086
7
+ expit-1.0.10.dist-info/METADATA,sha256=LXFBdp3oDitbWzSGXM6yPlgkkhFub2TZJG9bMCqRRJ4,2263
8
+ expit-1.0.10.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
9
+ expit-1.0.10.dist-info/top_level.txt,sha256=WDTulZQtgreaVuxzGQhRWdINPuLlCvMWl0gGgmVnsa0,6
10
+ expit-1.0.10.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.3.0)
2
+ Generator: setuptools (75.6.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,10 +0,0 @@
1
- expit/__init__.py,sha256=_6zfbxGbD_Ca4EPx7eJ7h7SU1L6QXdBe9MkpSu5tzvU,90
2
- expit/__main__.py,sha256=vtuVmp_tcHYg_kJhOYt6cRPinFrpMR4yV_6b8tx4n-Q,62
3
- expit/core/__init__.py,sha256=scY92tYGi2EQUVAgzEwvt6Q2FNCY1hA_T2pRX2FVnq4,495
4
- expit/tests/__init__.py,sha256=vTK8DNdf2ozNTfNEtgxXbhfdrjc8h5LgTdY9jmUHPd4,226
5
- expit/tests/test_easy.py,sha256=9dmpNM9_Lfa5t4UFZlAGIWjI1dJAWcRYjHNmyw9H96k,4200
6
- expit-1.0.9.dist-info/LICENSE.txt,sha256=4_wW1qomV3dbE2RahXvz_BOPr_JNzdKxC90VCXXc74o,1086
7
- expit-1.0.9.dist-info/METADATA,sha256=i7I_wa2ojYGUxlw-fqjyjEfG4Z218O0LVN1Dnu5RTWs,2248
8
- expit-1.0.9.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
9
- expit-1.0.9.dist-info/top_level.txt,sha256=WDTulZQtgreaVuxzGQhRWdINPuLlCvMWl0gGgmVnsa0,6
10
- expit-1.0.9.dist-info/RECORD,,