Warning: preg_grep(): Compilation failed: quantifier does not follow a repeatable item at offset 134 in /var/www/tg-me/post.php on line 75 Библиотека питониста | Python, Django, Flask | Telegram Webview: pyproglib/6625 -
💪TARIFF—величайший Python-пакет, который делает импорты «великими» снова
TARIFF — это шуточный репозиторий в духе политической сатиры, который позволяет вводить пошлины на Python-библиотеки. Несмотря на ироничную подачу, проект набирает популярность в Python-сообществе.
Установка:
pip install tariff
Использование:
import tariff
# Устанавливаем пошлины (название_пакета: процент) tariff.set({ "numpy": 50, # 50% пошлина на numpy "pandas": 200, # 200% на pandas "requests": 150 # 150% на requests })
# Теперь при импорте эти пакеты будут замедлены! import numpy # +50% к времени импорта import pandas # +200%
➡️Как работает: — TARIFF измеряет время оригинального импорта — Умножает его на тариф — Показывает триумфальное сообщение о введённых санкциях
💪TARIFF—величайший Python-пакет, который делает импорты «великими» снова
TARIFF — это шуточный репозиторий в духе политической сатиры, который позволяет вводить пошлины на Python-библиотеки. Несмотря на ироничную подачу, проект набирает популярность в Python-сообществе.
Установка:
pip install tariff
Использование:
import tariff
# Устанавливаем пошлины (название_пакета: процент) tariff.set({ "numpy": 50, # 50% пошлина на numpy "pandas": 200, # 200% на pandas "requests": 150 # 150% на requests })
# Теперь при импорте эти пакеты будут замедлены! import numpy # +50% к времени импорта import pandas # +200%
➡️Как работает: — TARIFF измеряет время оригинального импорта — Умножает его на тариф — Показывает триумфальное сообщение о введённых санкциях
Mr. Durov launched Telegram in late 2013 with his brother, Nikolai, just months before he was pushed out of VK, the Russian social-media platform he founded. Mr. Durov pitched his new app—funded with the proceeds from the VK sale—less as a business than as a way for people to send messages while avoiding government surveillance and censorship.
Telegram Gives Up On Crypto Blockchain Project
Durov said on his Telegram channel today that the two and a half year blockchain and crypto project has been put to sleep. Ironically, after leaving Russia because the government wanted his encryption keys to his social media firm, Durov’s cryptocurrency idea lost steam because of a U.S. court. “The technology we created allowed for an open, free, decentralized exchange of value and ideas. TON had the potential to revolutionize how people store and transfer funds and information,” he wrote on his channel. “Unfortunately, a U.S. court stopped TON from happening.”
Библиотека питониста | Python Django Flask from us