expit 1.0.10__py3-none-any.whl → 1.0.12__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
@@ -7,7 +7,7 @@ __all__ = ["function", "main"]
7
7
 
8
8
 
9
9
  def function(x: float) -> float:
10
- "The expit function."
10
+ "This function is the logistical sigmoid, i.e. the expit function."
11
11
  try:
12
12
  p = math.exp(-x)
13
13
  except OverflowError:
@@ -15,11 +15,11 @@ def function(x: float) -> float:
15
15
  return 1 / (1 + p)
16
16
 
17
17
 
18
- @preparse.PreParser(posix=False).click()
18
+ @preparse.PreParser().click()
19
19
  @click.command(add_help_option=False)
20
20
  @click.help_option("-h", "--help")
21
21
  @click.version_option(None, "-V", "--version")
22
22
  @click.argument("x", type=float)
23
23
  def main(x: float) -> None:
24
- "Apply the expit function to x."
24
+ "This command applies the expit function to x."
25
25
  click.echo(function(x))
@@ -1,7 +1,7 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: expit
3
- Version: 1.0.10
4
- Summary: The expit function.
3
+ Version: 1.0.12
4
+ Summary: This project provides an implementation of the expit function.
5
5
  Author-email: Johannes <johannes-programming@mailfence.com>
6
6
  License: The MIT License (MIT)
7
7
 
@@ -24,21 +24,24 @@ 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://expit.johannes-programming.online/
28
27
  Project-URL: Download, https://pypi.org/project/expit/#files
29
28
  Project-URL: Index, https://pypi.org/project/expit/
30
29
  Project-URL: Source, https://github.com/johannes-programming/expit/
31
30
  Project-URL: Website, https://expit.johannes-programming.online/
32
31
  Classifier: Development Status :: 5 - Production/Stable
33
32
  Classifier: License :: OSI Approved :: MIT License
33
+ Classifier: Natural Language :: English
34
+ Classifier: Operating System :: OS Independent
34
35
  Classifier: Programming Language :: Python
35
36
  Classifier: Programming Language :: Python :: 3
36
37
  Classifier: Programming Language :: Python :: 3 :: Only
38
+ Classifier: Typing :: Typed
37
39
  Requires-Python: >=3.11
38
40
  Description-Content-Type: text/x-rst
39
41
  License-File: LICENSE.txt
40
42
  Requires-Dist: click>=8.1.7
41
- Requires-Dist: preparse>=0.0.3
43
+ Requires-Dist: preparse>=0.1.0.dev0
44
+ Dynamic: license-file
42
45
 
43
46
  =====
44
47
  expit
@@ -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=6F3b0e67BrPF_LUHDdu6FcnrIE1-y0H8wU5OQL82XNE,583
4
+ expit/tests/__init__.py,sha256=vTK8DNdf2ozNTfNEtgxXbhfdrjc8h5LgTdY9jmUHPd4,226
5
+ expit/tests/test_easy.py,sha256=9dmpNM9_Lfa5t4UFZlAGIWjI1dJAWcRYjHNmyw9H96k,4200
6
+ expit-1.0.12.dist-info/licenses/LICENSE.txt,sha256=4_wW1qomV3dbE2RahXvz_BOPr_JNzdKxC90VCXXc74o,1086
7
+ expit-1.0.12.dist-info/METADATA,sha256=hHuYViCQ0QLAYdpX2Z2BV23x57S74FftxxGV-X4dRrI,2377
8
+ expit-1.0.12.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
9
+ expit-1.0.12.dist-info/top_level.txt,sha256=WDTulZQtgreaVuxzGQhRWdINPuLlCvMWl0gGgmVnsa0,6
10
+ expit-1.0.12.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.6.0)
2
+ Generator: setuptools (80.9.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=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,,