Skip to content

Commit 93440b0

Browse files
committed
feat: update the package version to 0.0.3 + improve the comments
1 parent 8eb8825 commit 93440b0

1 file changed

Lines changed: 8 additions & 13 deletions

File tree

‎pycustomrand/__init__.py‎

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,47 +3,42 @@
33
from .custom_round import true_round
44

55
# Версия пакета
6-
__version__ = "0.0.2"
6+
__version__ = "0.0.3"
77

8-
9-
# -------------------- Алиасы --------------------
10-
11-
# Основные функции
8+
# Алиасы для основных функций
129
set_seed = PseudoRandom.set_seed
1310
gen_random_number = PseudoRandom.gen_random_number
1411
random = PseudoRandom.random
1512

16-
# Целые числа
13+
# Алиасы для целых чисел
1714
randrange = PseudoRandom.randrange
1815
random_integer = PseudoRandom.random_integer
1916
randint = PseudoRandom.random_integer
2017

21-
# Числа с плавающей точкой
18+
# Алиасы для чисел с плавающей точкой
2219
random_float = PseudoRandom.random_float
2320

24-
# Байтовые функции
21+
# Алиасы для байтовых функций
2522
random_bytes = PseudoRandom.random_bytes
2623

27-
# Последовательности
24+
# Алиасы для последовательностей
2825
choice = PseudoRandom.choice
2926
choices = PseudoRandom.choices
3027
shuffle = PseudoRandom.shuffle
3128
sample = PseudoRandom.sample
3229

33-
# Распределения
30+
# Алиасы для распределений
3431
triangular = PseudoRandom.triangular
3532
gauss = PseudoRandom.gauss
3633
expovariate = PseudoRandom.expovariate
3734
binomialvariate = PseudoRandom.binomialvariate
3835
binomial = PseudoRandom.binomialvariate
3936

40-
# Утилиты
37+
# Алиасы для утилит
4138
random_bool = PseudoRandom.random_bool
4239
random_uuid4 = PseudoRandom.random_uuid4
4340
random_color_hex = PseudoRandom.random_color_hex
4441

45-
# ------------------------------------------------
46-
4742
# Для "from pycustomrand import *"
4843
__all__ = [
4944
"PseudoRandom",

0 commit comments

Comments
 (0)