Skip to content

Commit 24cc878

Browse files
committed
Точка входа
1 parent fbc80ae commit 24cc878

File tree

4 files changed

+47
-19
lines changed

4 files changed

+47
-19
lines changed

module.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
from more_itertools import sliced, substrings
2+
3+
subs = ["".join(s) for s in substrings("more")]
4+
print(subs)
5+
6+
slices = list(sliced((1, 2, 3, 4, 5, 6, 7, 8), 3))
7+
print(slices)

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ name = "python-example-app"
77
version = "0.1.0"
88
description = "Example application"
99
readme = "README.md"
10+
dependencies = [
11+
"more-itertools>=10.8.0",
12+
]
1013

1114
[dependency-groups]
1215
dev = [

tests/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
from hexlet_python_package import half
2+
3+
4+
__all__ = ("half", )

uv.lock

Lines changed: 33 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)