liam-test-python-package-canopy 0.2.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.
- liam_test_python_package_canopy-0.2.1/PKG-INFO +9 -0
- liam_test_python_package_canopy-0.2.1/liam_test/__init__.py +24 -0
- liam_test_python_package_canopy-0.2.1/liam_test_python_package_canopy.egg-info/PKG-INFO +9 -0
- liam_test_python_package_canopy-0.2.1/liam_test_python_package_canopy.egg-info/SOURCES.txt +7 -0
- liam_test_python_package_canopy-0.2.1/liam_test_python_package_canopy.egg-info/dependency_links.txt +1 -0
- liam_test_python_package_canopy-0.2.1/liam_test_python_package_canopy.egg-info/entry_points.txt +2 -0
- liam_test_python_package_canopy-0.2.1/liam_test_python_package_canopy.egg-info/top_level.txt +1 -0
- liam_test_python_package_canopy-0.2.1/pyproject.toml +18 -0
- liam_test_python_package_canopy-0.2.1/setup.cfg +4 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"""A small Python utility package."""
|
|
2
|
+
# Test
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
def greet(name: str) -> str:
|
|
6
|
+
"""Return a greeting message."""
|
|
7
|
+
return f"Hello, {name}! Welcome from LiamTestPythonPackage."
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
def add(a: float, b: float) -> float:
|
|
11
|
+
"""Add two numbers."""
|
|
12
|
+
return a + b
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
def fibonacci(n: int) -> list[int]:
|
|
16
|
+
"""Return the first n Fibonacci numbers."""
|
|
17
|
+
if n <= 0:
|
|
18
|
+
return []
|
|
19
|
+
if n == 1:
|
|
20
|
+
return [0]
|
|
21
|
+
seq = [0, 1]
|
|
22
|
+
while len(seq) < n:
|
|
23
|
+
seq.append(seq[-1] + seq[-2])
|
|
24
|
+
return seq
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
pyproject.toml
|
|
2
|
+
liam_test/__init__.py
|
|
3
|
+
liam_test_python_package_canopy.egg-info/PKG-INFO
|
|
4
|
+
liam_test_python_package_canopy.egg-info/SOURCES.txt
|
|
5
|
+
liam_test_python_package_canopy.egg-info/dependency_links.txt
|
|
6
|
+
liam_test_python_package_canopy.egg-info/entry_points.txt
|
|
7
|
+
liam_test_python_package_canopy.egg-info/top_level.txt
|
liam_test_python_package_canopy-0.2.1/liam_test_python_package_canopy.egg-info/dependency_links.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
liam_test
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=68.0", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "liam-test-python-package-canopy"
|
|
7
|
+
version = "0.2.1"
|
|
8
|
+
description = "A small Python utility package"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
license = "MIT"
|
|
11
|
+
requires-python = ">=3.9"
|
|
12
|
+
authors = [
|
|
13
|
+
{ name = "Liam" },
|
|
14
|
+
]
|
|
15
|
+
keywords = ["utility", "test"]
|
|
16
|
+
|
|
17
|
+
[project.scripts]
|
|
18
|
+
liam-test = "liam_test:greet"
|