pythagix 0.1.0__tar.gz → 0.1.2__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.
- pythagix-0.1.2/PKG-INFO +60 -0
- pythagix-0.1.2/README.md +42 -0
- {pythagix-0.1.0 → pythagix-0.1.2}/pythagix/core.py +1 -1
- pythagix-0.1.2/pythagix.egg-info/PKG-INFO +60 -0
- {pythagix-0.1.0 → pythagix-0.1.2}/setup.py +7 -3
- pythagix-0.1.0/PKG-INFO +0 -16
- pythagix-0.1.0/README.md +0 -0
- pythagix-0.1.0/pythagix.egg-info/PKG-INFO +0 -16
- {pythagix-0.1.0 → pythagix-0.1.2}/LICENSE +0 -0
- {pythagix-0.1.0 → pythagix-0.1.2}/MANIFEST.in +0 -0
- {pythagix-0.1.0 → pythagix-0.1.2}/pythagix/__init__.py +0 -0
- {pythagix-0.1.0 → pythagix-0.1.2}/pythagix.egg-info/SOURCES.txt +0 -0
- {pythagix-0.1.0 → pythagix-0.1.2}/pythagix.egg-info/dependency_links.txt +0 -0
- {pythagix-0.1.0 → pythagix-0.1.2}/pythagix.egg-info/top_level.txt +0 -0
- {pythagix-0.1.0 → pythagix-0.1.2}/setup.cfg +0 -0
pythagix-0.1.2/PKG-INFO
ADDED
@@ -0,0 +1,60 @@
|
|
1
|
+
Metadata-Version: 2.4
|
2
|
+
Name: pythagix
|
3
|
+
Version: 0.1.2
|
4
|
+
Summary: A mathy Python package with utilities like LCM, triangle numbers, etc.
|
5
|
+
Author: UltraQuantumScriptor
|
6
|
+
Classifier: Programming Language :: Python :: 3
|
7
|
+
Classifier: License :: OSI Approved :: MIT License
|
8
|
+
Requires-Python: >=3.6
|
9
|
+
Description-Content-Type: text/markdown
|
10
|
+
License-File: LICENSE
|
11
|
+
Dynamic: author
|
12
|
+
Dynamic: classifier
|
13
|
+
Dynamic: description
|
14
|
+
Dynamic: description-content-type
|
15
|
+
Dynamic: license-file
|
16
|
+
Dynamic: requires-python
|
17
|
+
Dynamic: summary
|
18
|
+
|
19
|
+
# 🧠 pythagix
|
20
|
+
|
21
|
+
Math utilities for number nerds.
|
22
|
+
Check primes, compute triangle numbers, find GCDs — all in one lightweight package.
|
23
|
+
Because math shouldn't be a pain 🧮✨
|
24
|
+
|
25
|
+
---
|
26
|
+
|
27
|
+
## 📦 Installation
|
28
|
+
|
29
|
+
|
30
|
+
pip install pythagix
|
31
|
+
|
32
|
+
|
33
|
+
⚙️ Features
|
34
|
+
🔢 is_prime(number) — Check if a number is prime
|
35
|
+
|
36
|
+
📜 prime_list([list]) — Return all primes in a list
|
37
|
+
|
38
|
+
🔎 nth_prime(n) — Get the n-th prime number
|
39
|
+
|
40
|
+
🤝 gcd([list]) — Greatest common divisor of a list
|
41
|
+
|
42
|
+
📏 is_perfect_square(n) — Check if n is a perfect square
|
43
|
+
|
44
|
+
🧱 count_factors(n) — Get all factors of a number
|
45
|
+
|
46
|
+
🔺 triangle_number(n) — Get the n-th triangle number
|
47
|
+
|
48
|
+
🧪 Examples
|
49
|
+
python
|
50
|
+
Copy
|
51
|
+
Edit
|
52
|
+
from pythagix import is_prime, nth_prime, gcd, triangle_number
|
53
|
+
|
54
|
+
print(is_prime(13)) # True
|
55
|
+
print(nth_prime(10)) # 29
|
56
|
+
print(gcd([12, 18, 24])) # 6
|
57
|
+
print(triangle_number(7)) # 28
|
58
|
+
|
59
|
+
📚 Why?
|
60
|
+
pythagix was built to give math students, coders, and tinkerers a fast and fun way to explore number theory in Python. No heavy dependencies. Just pure mathy goodness.
|
pythagix-0.1.2/README.md
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
# 🧠 pythagix
|
2
|
+
|
3
|
+
Math utilities for number nerds.
|
4
|
+
Check primes, compute triangle numbers, find GCDs — all in one lightweight package.
|
5
|
+
Because math shouldn't be a pain 🧮✨
|
6
|
+
|
7
|
+
---
|
8
|
+
|
9
|
+
## 📦 Installation
|
10
|
+
|
11
|
+
|
12
|
+
pip install pythagix
|
13
|
+
|
14
|
+
|
15
|
+
⚙️ Features
|
16
|
+
🔢 is_prime(number) — Check if a number is prime
|
17
|
+
|
18
|
+
📜 prime_list([list]) — Return all primes in a list
|
19
|
+
|
20
|
+
🔎 nth_prime(n) — Get the n-th prime number
|
21
|
+
|
22
|
+
🤝 gcd([list]) — Greatest common divisor of a list
|
23
|
+
|
24
|
+
📏 is_perfect_square(n) — Check if n is a perfect square
|
25
|
+
|
26
|
+
🧱 count_factors(n) — Get all factors of a number
|
27
|
+
|
28
|
+
🔺 triangle_number(n) — Get the n-th triangle number
|
29
|
+
|
30
|
+
🧪 Examples
|
31
|
+
python
|
32
|
+
Copy
|
33
|
+
Edit
|
34
|
+
from pythagix import is_prime, nth_prime, gcd, triangle_number
|
35
|
+
|
36
|
+
print(is_prime(13)) # True
|
37
|
+
print(nth_prime(10)) # 29
|
38
|
+
print(gcd([12, 18, 24])) # 6
|
39
|
+
print(triangle_number(7)) # 28
|
40
|
+
|
41
|
+
📚 Why?
|
42
|
+
pythagix was built to give math students, coders, and tinkerers a fast and fun way to explore number theory in Python. No heavy dependencies. Just pure mathy goodness.
|
@@ -0,0 +1,60 @@
|
|
1
|
+
Metadata-Version: 2.4
|
2
|
+
Name: pythagix
|
3
|
+
Version: 0.1.2
|
4
|
+
Summary: A mathy Python package with utilities like LCM, triangle numbers, etc.
|
5
|
+
Author: UltraQuantumScriptor
|
6
|
+
Classifier: Programming Language :: Python :: 3
|
7
|
+
Classifier: License :: OSI Approved :: MIT License
|
8
|
+
Requires-Python: >=3.6
|
9
|
+
Description-Content-Type: text/markdown
|
10
|
+
License-File: LICENSE
|
11
|
+
Dynamic: author
|
12
|
+
Dynamic: classifier
|
13
|
+
Dynamic: description
|
14
|
+
Dynamic: description-content-type
|
15
|
+
Dynamic: license-file
|
16
|
+
Dynamic: requires-python
|
17
|
+
Dynamic: summary
|
18
|
+
|
19
|
+
# 🧠 pythagix
|
20
|
+
|
21
|
+
Math utilities for number nerds.
|
22
|
+
Check primes, compute triangle numbers, find GCDs — all in one lightweight package.
|
23
|
+
Because math shouldn't be a pain 🧮✨
|
24
|
+
|
25
|
+
---
|
26
|
+
|
27
|
+
## 📦 Installation
|
28
|
+
|
29
|
+
|
30
|
+
pip install pythagix
|
31
|
+
|
32
|
+
|
33
|
+
⚙️ Features
|
34
|
+
🔢 is_prime(number) — Check if a number is prime
|
35
|
+
|
36
|
+
📜 prime_list([list]) — Return all primes in a list
|
37
|
+
|
38
|
+
🔎 nth_prime(n) — Get the n-th prime number
|
39
|
+
|
40
|
+
🤝 gcd([list]) — Greatest common divisor of a list
|
41
|
+
|
42
|
+
📏 is_perfect_square(n) — Check if n is a perfect square
|
43
|
+
|
44
|
+
🧱 count_factors(n) — Get all factors of a number
|
45
|
+
|
46
|
+
🔺 triangle_number(n) — Get the n-th triangle number
|
47
|
+
|
48
|
+
🧪 Examples
|
49
|
+
python
|
50
|
+
Copy
|
51
|
+
Edit
|
52
|
+
from pythagix import is_prime, nth_prime, gcd, triangle_number
|
53
|
+
|
54
|
+
print(is_prime(13)) # True
|
55
|
+
print(nth_prime(10)) # 29
|
56
|
+
print(gcd([12, 18, 24])) # 6
|
57
|
+
print(triangle_number(7)) # 28
|
58
|
+
|
59
|
+
📚 Why?
|
60
|
+
pythagix was built to give math students, coders, and tinkerers a fast and fun way to explore number theory in Python. No heavy dependencies. Just pure mathy goodness.
|
@@ -1,11 +1,15 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
1
2
|
from setuptools import setup, find_packages
|
2
3
|
|
4
|
+
with open("README.md", encoding="utf-8") as f:
|
5
|
+
long_description = f.read()
|
6
|
+
|
3
7
|
setup(
|
4
8
|
name="pythagix",
|
5
|
-
version="0.1.
|
6
|
-
author="
|
9
|
+
version="0.1.2",
|
10
|
+
author="UltraQuantumScriptor",
|
7
11
|
description="A mathy Python package with utilities like LCM, triangle numbers, etc.",
|
8
|
-
long_description=
|
12
|
+
long_description=long_description,
|
9
13
|
long_description_content_type="text/markdown",
|
10
14
|
packages=find_packages(),
|
11
15
|
classifiers=[
|
pythagix-0.1.0/PKG-INFO
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
Metadata-Version: 2.4
|
2
|
-
Name: pythagix
|
3
|
-
Version: 0.1.0
|
4
|
-
Summary: A mathy Python package with utilities like LCM, triangle numbers, etc.
|
5
|
-
Author: Your Name
|
6
|
-
Classifier: Programming Language :: Python :: 3
|
7
|
-
Classifier: License :: OSI Approved :: MIT License
|
8
|
-
Requires-Python: >=3.6
|
9
|
-
Description-Content-Type: text/markdown
|
10
|
-
License-File: LICENSE
|
11
|
-
Dynamic: author
|
12
|
-
Dynamic: classifier
|
13
|
-
Dynamic: description-content-type
|
14
|
-
Dynamic: license-file
|
15
|
-
Dynamic: requires-python
|
16
|
-
Dynamic: summary
|
pythagix-0.1.0/README.md
DELETED
File without changes
|
@@ -1,16 +0,0 @@
|
|
1
|
-
Metadata-Version: 2.4
|
2
|
-
Name: pythagix
|
3
|
-
Version: 0.1.0
|
4
|
-
Summary: A mathy Python package with utilities like LCM, triangle numbers, etc.
|
5
|
-
Author: Your Name
|
6
|
-
Classifier: Programming Language :: Python :: 3
|
7
|
-
Classifier: License :: OSI Approved :: MIT License
|
8
|
-
Requires-Python: >=3.6
|
9
|
-
Description-Content-Type: text/markdown
|
10
|
-
License-File: LICENSE
|
11
|
-
Dynamic: author
|
12
|
-
Dynamic: classifier
|
13
|
-
Dynamic: description-content-type
|
14
|
-
Dynamic: license-file
|
15
|
-
Dynamic: requires-python
|
16
|
-
Dynamic: summary
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|