Python Portal
Всё самое интересное из мира Python Сотрудничество, реклама: @devmangx Менеджер: @Spiral_Yuri РКН: https://clck.ru/3GMMF6
Show more📈 Analytical overview of Telegram channel Python Portal
Channel Python Portal (@pythonportal) in the Russian language segment is an active participant. Currently, the community unites 52 367 subscribers, ranking 2 558 in the Technologies & Applications category and 11 915 in the Russia region.
📊 Audience metrics and dynamics
Since its creation on невідомо, the project has demonstrated rapid growth, gathering an audience of 52 367 subscribers.
According to the latest data from 12 June, 2026, the channel demonstrates stable activity. Although there has been a change in the number of participants by -818 over the last 30 days and by -21 over the last 24 hours, overall reach remains high.
- Verification status: Not verified
- Engagement rate (ER): The average audience engagement rate is 9.33%. Within the first 24 hours after publication, content typically collects 5.67% reactions from the total number of subscribers.
- Post reach: On average, each post receives 4 890 views. Within the first day, a publication typically gains 2 973 views.
- Reactions and interaction: The audience actively supports content: the average number of reactions per post is 25.
- Thematic interests: Content is focused on key topics such as строка, none, true, модуль, peter.
📝 Description and content policy
The author describes the resource as a platform for expressing subjective opinions:
“Всё самое интересное из мира Python
Сотрудничество, реклама: @devmangx
Менеджер: @Spiral_Yuri
РКН: https://clck.ru/3GMMF6”
Thanks to the high frequency of updates (latest data received on 13 June, 2026), the channel maintains relevance and a high level of publication reach. Analytics show that the audience actively interacts with content, making it an important point of influence in the Technologies & Applications category.
# Чтение всех тикетов
class CloseAllTickets:
def execute(self):
session = sessionLocal()
# список всех тикетов
tickets = session.query(Ticket).all()
# закрытие тикетов
for ticket in tickets:
ticket.status = "CLOSED"
# сохранение тикетов
session.add_all(tickets)
session.commit()
Хороший пример:
Читатель может сосредоточиться на логике высокого уровня и проверять детали низкого уровня только при необходимости
class CloseAllTickets:
def execute(self):
session = sessionLocal()
tickets = self._list_tickets(session)
self._close_tickets(tickets)
self._save_tickets(session, tickets)
def _list_tickets(self, session):
return session.query(Ticket).all()
def _close_tickets(self, tickets):
for ticket in tickets:
ticket.status = "CLOSED"
def _save_tickets(self, session, tickets):
session.add_all(tickets)
session.commit()
Здесь каждый шаг вынесен в отдельную функцию
👉 @PythonPortalitermonthdays4.
Возвращаемые значения будут кортежами, где содержатся год, месяц, день месяца и номер дня недели.
👉 @PythonPortal1. Создание массивов и атрибуты - np.array() — создать массив из списка/кортежа - np.zeros() — массив из нулей - np.ones() — массив из единиц - np.arange() — последовательность с шагом - np.shape() — размерность массива - np.dtype() — тип данных массива 2. Манипуляции с массивами и ресейпинг - np.reshape() — изменить размерность - np.concatenate() — объединить массивы по оси - np.vstack() — объединить по вертикали - np.hstack() — объединить по горизонтали - np.split() — разделить по индексам - np.transpose() — транспонировать - np.resize() — изменить размер 3. Статистический анализ - np.sum() — сумма элементов - np.mean() — среднее - np.median() — медиана - np.std() — стандартное отклонение - np.var() — дисперсия - np.cov() — ковариационная матрица - np.corrcoef() — коэффициенты корреляции - np.min() — минимум - np.max() — максимум - np.random.rand() — случайные числа 0–1 - np.random.randn() — нормальное распределение - np.histogram() — гистограмма 4. Индексация и фильтрация - np.extract() — выбрать по условию - np.where() — вернуть элементы по условию - np.isnan() — проверка NaN - np.sort() — сортировка - np.unique() — уникальные значения 5. Работа с файлами - np.save() — сохранить в .npy - np.load() — загрузить из .npy👉 @PythonPortal
self и метод init и сопровождает объяснения большим количеством кода
👉 @PythonPortal
Available now! Telegram Research 2025 — the year's key insights 
