alblack52 0.0.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.
@@ -0,0 +1,6 @@
1
+ Metadata-Version: 2.1
2
+ Name: alblack52
3
+ Version: 0.0.1
4
+ Summary: This is the simplest module for quick work with files.
5
+ Author: __token__
6
+ Author-email: mihajlovic.aleksa@gmail.com
File without changes
@@ -0,0 +1,154 @@
1
+ def greeting():
2
+ return "Hello, I'm your first library!"
3
+
4
+
5
+ def add(a, b):
6
+ '''
7
+ :param a: цифра a
8
+ :param b: цифра b
9
+ :return a+b: сумма цифр a и b
10
+ '''
11
+ return a + b
12
+
13
+ def bubble():
14
+ '''def bubble(lst):
15
+ n = len(lst)
16
+ for i in range(n):
17
+ for j in range(n - i - 1):
18
+ if lst[j]>lst[j+1]:
19
+ lst[j], lst[j+1] = lst[j+1], lst[j]
20
+ return lst'''
21
+ return print('AXAXAXAXAXAXAXAXXAXA')
22
+
23
+ def cocktail():
24
+ '''def cocktail(lst):
25
+ n = len(lst)
26
+ start = 0
27
+ end = n - 1
28
+ swapped = True
29
+ while swapped:
30
+ swapped = False
31
+ for i in range(start, end):
32
+ if lst[i]>lst[i+1]:
33
+ lst[i],lst[i+1] = lst[i+1],lst[i]
34
+ swapped = True
35
+ if not swapped:
36
+ break
37
+ swapped = False
38
+ end = end - 1
39
+ for i in range(end-1,start-1,-1):
40
+ if lst[i]>lst[i+1]:
41
+ lst[i],lst[i+1] = lst[i+1],lst[i]
42
+ swapped = True
43
+ start = start + 1
44
+ return lst '''
45
+ return print('AXAXAXAXAXAXAXAXXAXA')
46
+
47
+
48
+ def comb():
49
+ '''def comb(lst):
50
+ gap = len(lst)
51
+ swapped = True
52
+ while gap > 1 or swapped:
53
+ gap = max(1, int(gap/1.25))
54
+ swapped = False
55
+ for i in range(len(lst)-gap):
56
+ j = i + gap
57
+ if lst[i]>lst[j]:
58
+ lst[i],lst[j] = lst[j],lst[i]
59
+ swapped = True
60
+ return lst'''
61
+ return print('AXAXAXAXAXAXAXAXXAXA')
62
+
63
+
64
+ def selection():
65
+ '''def selection(lst):
66
+ n = len(lst)
67
+ for i in range(n):
68
+ min_idx = i
69
+ for j in range(i+1,n):
70
+ if lst[j]<lst[min_idx]:
71
+ min_idx = j
72
+ lst[i],lst[min_idx]=lst[min_idx],lst[i]
73
+ return lst'''
74
+ return print('AXAXAXAXAXAXAXAXXAXA')
75
+
76
+ def quick():
77
+ '''def quick(lst):
78
+ quick_help(lst,0,len(lst)-1)
79
+ return lst
80
+
81
+ def quick_help(lst, first, last):
82
+ if first<last:
83
+ split = partition(lst,first,last)
84
+ quick_help(lst,first,split-1)
85
+ quick_help(lst,split+1,last)
86
+
87
+ def partition(lst,first,last):
88
+ pivot = lst[first]
89
+ left = first + 1
90
+ right = last
91
+ done = False
92
+
93
+ while not done:
94
+ while left <= right and lst[left] <= pivot:
95
+ left += 1
96
+ while lst[right] >= pivot and right >= left:
97
+ right -= 1
98
+
99
+ if right<left:
100
+ done = True
101
+ else:
102
+ lst[left],lst[right] = lst[right],lst[left]
103
+
104
+ lst[first],lst[right]=lst[right],lst[first]
105
+
106
+ return right'''
107
+ return print('AXAXAXAXAXAXAXAAXAXAXA')
108
+
109
+
110
+ def shall():
111
+ '''def shell(lst):
112
+ gap = len(lst)//2
113
+ while gap > 0:
114
+ for i in range(gap,len(lst)):
115
+ temp = lst[i]
116
+ j = i
117
+ while j >= gap and lst[j - gap] > temp:
118
+ lst[j] = lst[j-gap]
119
+ j -= gap
120
+ lst[j] = temp
121
+ gap //= 2
122
+ return lst'''
123
+ return print('maximka')
124
+
125
+ def merge():
126
+ '''def sort(left,right):
127
+ ans = []
128
+ i = j = 0
129
+
130
+ while i < len(left) and j < len(right):
131
+ if left[i]<=right[j]:
132
+ ans.append(left[i])
133
+ i += 1
134
+ else:
135
+ ans.append(right[j])
136
+ j += 1
137
+
138
+ ans += left[i:]
139
+ ans += right[j:]
140
+
141
+ return ans
142
+
143
+ def merge(lst):
144
+ if len(lst)<=1:
145
+ return lst
146
+
147
+ mid = len(lst)//2
148
+ left = merge(lst[:mid])
149
+ right = merge(lst[mid:])
150
+
151
+ return sort(left,right)'''
152
+ return print('alooooooooo')
153
+
154
+
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,6 @@
1
+ Metadata-Version: 2.1
2
+ Name: alblack52
3
+ Version: 0.0.1
4
+ Summary: This is the simplest module for quick work with files.
5
+ Author: __token__
6
+ Author-email: mihajlovic.aleksa@gmail.com
@@ -0,0 +1,14 @@
1
+ README.md
2
+ setup.cfg
3
+ setup.py
4
+ alblack52/52.py
5
+ alblack52/__init__.py
6
+ alblack52/layers.py
7
+ alblack52/loggingin.py
8
+ alblack52/speedfilein.py
9
+ alblack52/tensorclass.py
10
+ alblack52.egg-info/PKG-INFO
11
+ alblack52.egg-info/SOURCES.txt
12
+ alblack52.egg-info/dependency_links.txt
13
+ alblack52.egg-info/not-zip-safe
14
+ alblack52.egg-info/top_level.txt
@@ -0,0 +1 @@
1
+ alblack52
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,16 @@
1
+ from setuptools import setup, find_packages
2
+
3
+
4
+ def readme():
5
+ with open('README.md', 'r') as f:
6
+ return f.read()
7
+
8
+ setup(
9
+ name='alblack52',
10
+ version='0.0.1',
11
+ author='__token__',
12
+ description='This is the simplest module for quick work with files.',
13
+ packages=['alblack52'],
14
+ author_email='mihajlovic.aleksa@gmail.com',
15
+ zip_safe=False
16
+ )