fifty-one-prime 0.1.0__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.
@@ -0,0 +1,9 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,22 @@
1
+ Metadata-Version: 2.4
2
+ Name: fifty-one-prime
3
+ Version: 0.1.0
4
+ Summary: One function, is_prime(), that returns True, False or 'idk' at random.
5
+ License: MIT
6
+ Classifier: Programming Language :: Python :: 3
7
+ Classifier: License :: OSI Approved :: MIT License
8
+ Requires-Python: >=3.8
9
+ Description-Content-Type: text/markdown
10
+ License-File: LICENSE
11
+ Dynamic: license-file
12
+
13
+ # fifty-one-prime
14
+
15
+ A joke package with exactly one function.
16
+
17
+ ```python
18
+ import fifty_one_prime
19
+ fifty_one_prime.is_prime(51) # True, False or "idk", chosen at random
20
+ ```
21
+
22
+ Not affiliated with the `fiftyone` package by Voxel51. Do not use for cryptography.
@@ -0,0 +1,10 @@
1
+ # fifty-one-prime
2
+
3
+ A joke package with exactly one function.
4
+
5
+ ```python
6
+ import fifty_one_prime
7
+ fifty_one_prime.is_prime(51) # True, False or "idk", chosen at random
8
+ ```
9
+
10
+ Not affiliated with the `fiftyone` package by Voxel51. Do not use for cryptography.
@@ -0,0 +1,15 @@
1
+ [build-system]
2
+ requires = ["setuptools>=61"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "fifty-one-prime"
7
+ version = "0.1.0"
8
+ description = "One function, is_prime(), that returns True, False or 'idk' at random."
9
+ readme = "README.md"
10
+ requires-python = ">=3.8"
11
+ license = {text = "MIT"}
12
+ classifiers = ["Programming Language :: Python :: 3", "License :: OSI Approved :: MIT License"]
13
+
14
+ [tool.setuptools.packages.find]
15
+ where = ["src"]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,10 @@
1
+ """fifty_one_prime: a primality test you can trust about as far as you can throw it."""
2
+ import random
3
+
4
+ __version__ = "0.1.0"
5
+ __all__ = ["is_prime"]
6
+
7
+
8
+ def is_prime(n=None):
9
+ """Return True, False or "idk" at random. The argument is ignored (51 = 3 * 17, by the way)."""
10
+ return random.choice([True, False, "idk"])
@@ -0,0 +1,22 @@
1
+ Metadata-Version: 2.4
2
+ Name: fifty-one-prime
3
+ Version: 0.1.0
4
+ Summary: One function, is_prime(), that returns True, False or 'idk' at random.
5
+ License: MIT
6
+ Classifier: Programming Language :: Python :: 3
7
+ Classifier: License :: OSI Approved :: MIT License
8
+ Requires-Python: >=3.8
9
+ Description-Content-Type: text/markdown
10
+ License-File: LICENSE
11
+ Dynamic: license-file
12
+
13
+ # fifty-one-prime
14
+
15
+ A joke package with exactly one function.
16
+
17
+ ```python
18
+ import fifty_one_prime
19
+ fifty_one_prime.is_prime(51) # True, False or "idk", chosen at random
20
+ ```
21
+
22
+ Not affiliated with the `fiftyone` package by Voxel51. Do not use for cryptography.
@@ -0,0 +1,9 @@
1
+ LICENSE
2
+ README.md
3
+ pyproject.toml
4
+ setup.cfg
5
+ src/fifty_one_prime/__init__.py
6
+ src/fifty_one_prime.egg-info/PKG-INFO
7
+ src/fifty_one_prime.egg-info/SOURCES.txt
8
+ src/fifty_one_prime.egg-info/dependency_links.txt
9
+ src/fifty_one_prime.egg-info/top_level.txt
@@ -0,0 +1 @@
1
+ fifty_one_prime