Zen of Python
ΠΠΎΠ»Π½ΡΠΉ ΠΠ·Π΅Π½ ΠΠ°ΠΉΡΠΎΠ½Π° Π² ΠΎΠ΄Π½ΠΎΠΌ ΠΊΠ°Π½Π°Π»Π΅ Π Π°Π·ΠΌΠ΅ΡΡΠΈΡΡ ΡΠ΅ΠΊΠ»Π°ΠΌΡ: @tproger_sales_bot ΠΡΠ°Π²ΠΈΠ»Π° ΠΎΠ±ΡΠ΅Π½ΠΈΡ: https://tprg.ru/rules ΠΡΡΠ³ΠΈΠ΅ ΠΊΠ°Π½Π°Π»Ρ: @tproger_channels Π‘Π°ΠΉΡ: https://tprg.ru/site Π Π΅Π³ΠΈΡΡΡΠ°ΡΠΈΡ Π² ΠΏΠ΅ΡΠ΅ΡΠ½Π΅ Π ΠΠ: https://tprg.ru/xZOL
Show moreπ Analytical overview of Telegram channel Zen of Python
Channel Zen of Python (@zen_of_python) in the Russian language segment is an active participant. Currently, the community unites 18 951 subscribers, ranking 6 781 in the Technologies & Applications category and 34 780 in the Russia region.
π Audience metrics and dynamics
Since its creation on Π½Π΅Π²ΡΠ΄ΠΎΠΌΠΎ, the project has demonstrated rapid growth, gathering an audience of 18 951 subscribers.
According to the latest data from 28 August, 2026, the channel demonstrates stable activity. Although there has been a change in the number of participants by -157 over the last 30 days and by -4 over the last 24 hours, overall reach remains high.
- Verification status: Not verified
- Engagement rate (ER): The average audience engagement rate is 11.75%. Within the first 24 hours after publication, content typically collects 6.24% reactions from the total number of subscribers.
- Post reach: On average, each post receives 2 227 views. Within the first day, a publication typically gains 1 183 views.
- Reactions and interaction: The audience actively supports content: the average number of reactions per post is 4.
- Thematic interests: Content is focused on key topics such as github, rust, pip, api, install.
π Description and content policy
The author describes the resource as a platform for expressing subjective opinions:
βΠΠΎΠ»Π½ΡΠΉ ΠΠ·Π΅Π½ ΠΠ°ΠΉΡΠΎΠ½Π° Π² ΠΎΠ΄Π½ΠΎΠΌ ΠΊΠ°Π½Π°Π»Π΅
Π Π°Π·ΠΌΠ΅ΡΡΠΈΡΡ ΡΠ΅ΠΊΠ»Π°ΠΌΡ: @tproger_sales_bot
ΠΡΠ°Π²ΠΈΠ»Π° ΠΎΠ±ΡΠ΅Π½ΠΈΡ: https://tprg.ru/rules
ΠΡΡΠ³ΠΈΠ΅ ΠΊΠ°Π½Π°Π»Ρ: @tproger_channels
Π‘Π°ΠΉΡ: https://tprg.ru/site
Π Π΅Π³ΠΈΡΡΡΠ°ΡΠΈΡ Π² ΠΏΠ΅ΡΠ΅ΡΠ½Π΅ Π ΠΠ: https://tprg.ru/xZOLβ
Thanks to the high frequency of updates (latest data received on 29 August, 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.
return, break ΠΈ continue
Π’Π΅ΠΏΠ΅ΡΡ, ΠΊΠΎΠ³Π΄Π° Π²Ρ Π·Π°ΠΌΠ΅Π΄Π»ΠΈΠ»ΠΈ ΡΠΊΡΠΎΠ»Π»ΠΈΠ½Π³ Π½Π°ΠΊΠΎΠ½Π΅Ρ, Π΄Π°Π²Π°ΠΉΡΠ΅ Π²ΡΠΈΡΠ°Π΅ΠΌΡΡ. Π PEP-785 ΡΠ΅ΡΠΈΠ»ΠΈ ΡΠ±ΡΠ°ΡΡ ΡΡΠΈ ΠΎΠΏΠ΅ΡΠ°ΡΠΎΡΡ ΠΈΠ· Π±Π»ΠΎΠΊΠ° finally Π² try-except.
Π ΡΠ°ΠΊΠΈΡ
ΡΡΠ»ΠΎΠ²ΠΈΡΡ
ΡΡΠΎΠΈΡΠ° ΠΈΠ· Π·Π°Π³Π° Π½Π΅ΡΠ΅Π΄ΠΊΠΎ ΠΏΡΠΈΠ²ΠΎΠ΄ΠΈΡ ΠΊ Π½Π΅ΠΎΠΆΠΈΠ΄Π°Π½Π½ΠΎΠΌΡ ΠΏΠΎΠ²Π΅Π΄Π΅Π½ΠΈΡ (ΠΏΠΎΠ΄Π°Π²Π»Π΅Π½ΠΈΡ ΠΈΡΠΊΠ»ΡΡΠ΅Π½ΠΈΠΉ), ΡΡΠΎ ΜΆΠΏΜΆΡΜΆΠΎΜΆΠ²ΜΆΠΎΜΆΡΜΆΠΈΜΆΡΜΆΡΜΆΠ΅ΜΆΡΜΆ ΜΆΠ½ΜΆΠ°ΜΆΠΏΜΆΠΈΜΆΡΜΆΠ°ΜΆΠ½ΜΆΠΈΜΆΠ΅ΜΆ ΜΆΠ³ΜΆΠΎΜΆΠ²ΜΆΠ½ΜΆΠΎΜΆΠΊΜΆΠΎΜΆΠ΄ΜΆΠ°ΜΆ ΡΡΠ»ΠΎΠΆΠ½ΡΠ΅Ρ ΠΎΡΠ»Π°Π΄ΠΊΡ.
ΠΠΎΠΌΡΡΠ½ΠΈΡΠΈ Π°ΠΊΡΠΈΠ²Π½ΠΎ ΠΏΡΠΎΡΠΈΠ»ΠΎ ΡΠ°ΠΊΠΎΠ΅ ΠΎΠ±Π½ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ Π½Π° ΠΎΡΠΈΡΠΈΠ°Π»ΡΠ½ΠΎΠΌ ΡΠΎΡΡΠΌΠ΅ Python. ΠΡΡΠ°ΡΠΈ, ΡΠ΅ΠΊΠΎΠΌΠ΅Π½Π΄ΡΠ΅ΠΌ Π·Π°Π³Π»ΡΠ½ΡΡΡ Π² ΡΡΠ΅Π΄Ρ Π½Π° Latest Ideas Π½Π° python.org β ΠΎΡΠ΅Π½Ρ ΡΠ΅ΡΠ°ΠΏΠ΅Π²ΡΠΈΡΠ½Π°Ρ ΡΡΡΠΊΠ°, Π²Π΅Π΄Ρ ΠΌΠ½ΠΎΠ³ΠΈΡ
ΠΈΠ· Π½Π°Ρ ΡΠ°Π·Π΄ΡΠ°ΠΆΠ°ΡΡ ΠΎΠ΄Π½ΠΈ ΠΈ ΡΠ΅ ΠΆΠ΅ Π²Π΅ΡΠΈ Π² ΡΠ·ΡΠΊΠ΅.
#ΡΠ°ΠΊΡ
@zen_of_python
class Db:
session: async_scoped_session
def __new__(cls, config: RelationDatabaseConfig):
if not hasattr(cls, 'instance'):
cls.instance = super(Db, cls).__new__(cls)
return cls.instance
def __init__(self, config: RelationDatabaseConfig):
# Π‘ΠΎΠ·Π΄Π°Π΅ΠΌ ΠΊΠΎΠ½Π½Π΅ΠΊΡ ΠΊ ΠΠ
self._async_engine = create_async_engine(
config.connection_string,
echo=False,
pool_pre_ping=True,
poolclass=NullPool
)
# Π‘ΠΎΠ·Π΄Π°Π΅ΠΌ ΡΠ°Π±ΡΠΈΠΊΡ Π΄Π»Ρ ΡΠΎΠ·Π΄Π°Π½ΠΈΡ ΡΠ΅ΡΡΠΈΠΈ
self._async_session_factory = async_sessionmaker(
self._async_engine,
expire_on_commit=False,
)
# Π‘ΠΎΠ·Π΄Π°Π΅ΠΌ ΡΠ΅ΡΡΠΈΡ Π½Π° ΠΎΡΠ½ΠΎΠ²Π΅ ΡΠ°Π±ΡΠΈΠΊΠΈ
self.session = async_scoped_session(
self._async_session_factory,
scopefunc=asyncio.current_task
)
ΠΠΎΠΆΠ°Π»ΡΠΉΡΡΠ°, Π±ΡΠ΄ΡΡΠ΅ Π²Π·Π°ΠΈΠΌΠΎΠ²Π΅ΠΆΠ»ΠΈΠ²Ρ. ΠΠ΄Π½Π°ΠΆΠ΄Ρ ΠΈ Π²Π°ΠΌ ΠΏΠΎΠΌΠΎΠ³ΡΡ Π² ΡΡΠΎΠΉ ΡΡΠ±ΡΠΈΠΊΠ΅.
#ΠΎΠ±ΡΡΠΆΠ΄Π΅Π½ΠΈΠ΅
@zen_of_pythonmultiprocessing.queues.Queue ΠΏΠΎ ΠΏΡΡΠΈ Π² multiprocessing.Queue, ΡΡΠΎ Π»ΠΎΠΌΠ°Π΅Ρ Π΅Ρ __class_getitem__?
https://github.com/python/cpython/issues/99509Β»
ΠΠΎΠΆΠ°Π»ΡΠΉΡΡΠ°, Π±ΡΠ΄ΡΡΠ΅ Π²Π·Π°ΠΈΠΌΠΎΠ²Π΅ΠΆΠ»ΠΈΠ²Ρ. ΠΠ΄Π½Π°ΠΆΠ΄Ρ ΠΈ Π²Π°ΠΌ ΠΏΠΎΠΌΠΎΠ³ΡΡ Π² ΡΡΠΎΠΉ ΡΡΠ±ΡΠΈΠΊΠ΅.
#ΠΎΠ±ΡΡΠΆΠ΄Π΅Π½ΠΈΠ΅
@zen_of_python