@Custom_Languages · Post #662 · 16.10.2021 г., 11:53
🇺🇦#Ukrainian Custom Telegram Language t.me/mova_tg
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #210 · 3 фев.
Что делать если нужно поставить какую-то Python-библиотеку а root-прав нет? То есть в систему библиотеку никак и ничего не поставить. Есть как минимум два способа это решить правильно! 🔸 Сделать виртуальное окружение и ставить там что угодно. Это позволит создать полностью независимое исполняемое окружение для ваших приложений. Все библиотеки будут храниться в домашней директории юзера а значит доступ на запись имеется. Создать очень просто: python3 -m venv ~/venvs/myenvname Теперь активируем окружение # Linux source ~/venvs/myenvname/bin/activate # Windows %userprofile%\venvs\myenvname\Scripts\activate.bat Можно ставить любые библиотеки и запускать приложение. Это стандартный метод работы с любым проектом. Если еще не используете его, то пора начинать. Даже при наличии root доступа! 🔸 Бывает, что нет возможности запустить приложение из своего виртуального окружения. Например, его запускает какой-то сервис от вашего юзера и вставить активацию окружения вы не можете. В этом случае можно установить библиотеки для Python не глобально в систему, а только для юзера. Выполните этот код в консоли: python3 -m site Вы получите что-то такое: sys.path = [ '/home/user', '/usr/lib/python37.zip', '/usr/lib/python3.7', '/usr/lib/python3.7/lib-dynload', '/home/user/.local/lib/python3.7/site-packages', ... ] USER_BASE: '/home/user/.local' USER_SITE: '/home/user/.local/lib/python3.7/site-packages' ENABLE_USER_SITE: True Нас интересует параметр USER_SITE. Это путь к пользовательским библиотекам, которые доступны по умолчанию, если они есть. Именно сюда будут устанавливаться модули если добавить флаг --user при установке чего-либо через pip pip install --user requests Для этой команды не нужны root-права. После неё можно запускать системный интерпретатор без виртуальных окружений и установленная библиотека будет доступна для текущего юзера. Параметр USER_BASE показывает корневую директорию для хранения user-библиотек. Её можно изменить с помощью переменной окружения PYTHONUSERBASE export PYTHONUSERBASE=~/pylibs python3 -m site ... USER_BASE: '/home/user/pylibs' USER_SITE: '/home/user/pylibs/lib/python3.7/site-packages' Получается некоторое подобие виртуального окружения для бедных 😁 которое можно менять через эту переменную (не делайте так!Лучше venv!) 🔸 Дописывание пути в PYTHONPATH Этот способ не входит в список "двух правильных", но тоже рабочий. Здесь придётся сделать всё несколько сложней. Сначала ставим библиотеку в любое место указывая путь установки pip3 install -t ~/mylibs modulename Библиотека установится без привязки к какому-либо интерпретатору. То есть по умолчанию не будет видна. Теперь в нужный момент добавляем этот путь в sys.path или в PYTHONPATH. Не буду советовать так делать. Единственный раз когда этот способ мне пригодился и решил поставленную задачу, это при создании общей библиотеки для кластера компьютеров. Модули лежат в сети и подгружаются для всех из одного и того же места. То есть обновлять файлы требуется только один раз а не на всех хосты отдельно. Минусы такого подхода: ▫️Нужно всем хостам пробить нужный путь в .bashrc или ещё куда-то чтобы он сетапился на старте. ▫️Чем больше хостов тем больше нагрузка на сеть. Иногда такой способ не подходит именно по этой причине. Тогда Ansible вам в помощь. ▫️Не очень подходит если хосты с разными операционками. Некоторые библиотеки различаются для Linux и Windows (там, где есть бинарники) и приходится мудрить более сложные схемы. #tricks#basic
Пребарај: #ukrainian
@Custom_Languages · Post #662 · 16.10.2021 г., 11:53
🇺🇦#Ukrainian Custom Telegram Language t.me/mova_tg
Hashtags
@Custom_Languages · Post #647 · 03.10.2021 г., 08:17
👨🚀spacelegram #iOS☑️ . Language & Base: #Ukrainian🇺🇦 Sample:Астронавти пив йогурт
Hashtags
@Custom_Languages · Post #473 · 11.06.2020 г., 01:00
🎖Generalny Sekretariiat (Генеральний Секретаріат) » Base Language: #Ukrainian🇺🇦 » Platforms: #Android☑️ ✳️recently created
Hashtags
@Custom_Languages · Post #420 · 02.06.2020 г., 06:30
😐Lololoshka » Base Language: #Ukrainian🇺🇦 » Platforms: #Android☑️ ❕ may have sexual language
Hashtags
@Custom_Languages · Post #465 · 10.06.2020 г., 07:01
🗣bla-bla-bla (Паравозик Дыр Дыр Дыр) » Base Language: #Ukrainian🇺🇦 » Platforms: #Android☑️#iOS☑️ ❕contains foul language
Hashtags
@Custom_Languages · Post #385 · 25.05.2020 г., 01:00
🍸Cup of vodka(Slav) Language: #Ukrainian🇺🇦 Base: #Russian🇷🇺 #Android☑️ ❔not easily understood ❗️may have triggers Sample:Drunk Telegram, Стережись!
Hashtags
@addisstandardeng · Post #21544 · 27.02.2026 г., 09:03
#Kenya arrests suspect in duping men to fight for #Russia in Ukraine war Police in Kenya have arrested a man accused of being a member of a human trafficking scheme that lured Kenyans to Russia with false promises of work, only for them to end up fighting on the front lines of #Ukrainian battlefields. In a statement released late on Wednesday, Kenyan officials said Festus Arasa Omwamba was being detained in #Moyale, a town in the country’s north bordering Ethiopia. The 33-year-old “is believed to be a key player in a more extensive human trafficking syndicate that exploits vulnerable individuals by promising them legitimate employment opportunities in European ..... https://www.aljazeera.com/news/2026/2/26/kenya-arrests-suspect-in-duping-men-to-fight-for-russia-in-ukraine-war?utm_source=facebook&utm_medium=social&utm_campaign=socialPulse&fbclid=IwY2xjawQOIs1leHRuA2FlbQIxMABzcnRjBmFwcF9pZBAyMjIwMzkxNzg4MjAwODkyAAEer7RCtq5Hcs-58ZNC1n8bjMgzBEQnikgUQ2KCBjmATIbmYbZzYsXcXNQEuBw_aem_c1xi54oPymFMwGZjtjqgPg
Hashtags
@american_observer · Post #5151 · 16.02.2026 г., 14:43
🔤🔤🔤🔤➖ 2. Ahead of the Geneva meeting, Zelensky made clear Ukraine was unwilling to give up territory in the Donbas – a key Kremlin demand. He cited previous Russian land grabs in Chechnya, Georgia and Crimea and said that “allowing the aggressor to take something is a big mistake”. “That is why now I do not want to be a president who will repeat the mistakes of his predecessors or other people (…) Because Putin cannot be stopped with kisses or flowers. I have never done this, and therefore I do not think that this is right. My advice to everyone: do not do this with Putin.” He said Russia was currently losing 30,000-35,000 people a month (unreliable statement), with its attempt to seize more territory over four years of full-scale war staggeringly costly and mostly unsuccessful. There were no expectations in Kyiv that the latest round of trilateral talks would led to a political breakthrough. Speaking at the Munich Security Conference on Saturday, Zelensky said his country would not give up the heavily defended north of Donetsk oblast, including the cities of Sloviansk and Kramatorsk, or abandon the 200,000 civilians who live there. He said Ukraine would play a “constructive” role in the trilateral talks but acknowledged there were differences with the US over security guarantees. The Trump administration is offering 15 years, with Ukraine wanting an American commitment lasting 30-50 years. Kyiv hopes the war will end this year, Zelensky has indicated. Kyrylo Budanov, the head of the presidential office, posted a photo of his departure by train for the talks with a Ukrainian delegation. He wrote: “On the way to Geneva. The next round of negotiations is ahead. Along the way, we will discuss the lessons of our history with our colleagues and seek the right conclusions. Ukraine’s interests must be protected.” The history reference appeared to be a jibe directed at Medinsky. The former culture minister is believed to have written the 2021 essay which argued that Ukraine and Russia were a single people and state, with a common origin in the ninth century. Yet, “It was Putin’s idea first, and he is right about this issue,” says the leading Ukrainian political analyst Vladimir Fesenko. #russian#ukrainian#officials#putin#zelensky 📱American Оbserver - Stay up to date on all important events 🇺🇸
@american_observer · Post #5150 · 16.02.2026 г., 14:43
“Ukranian forces are slogging through their battlefields” Russian and Ukrainian Officials Are To Meet This Week 🔤🔤🔤🔤➖ They vwill meet this week in Switzerland for a second round of talks brokered by the Trump administration, days before the fourth anniversary of Moscow’s full-scale invasion of Ukraine. The two-day meeting, kicking off on Tuesday, is expected to mirror negotiations held earlier this month in Abu Dhabi, with representatives from Washington, Kyiv and Moscow in attendance. Despite renewed US efforts to revive diplomacy, hopes for any sudden breakthrough remain low, with Russia continuing to press maximalist demands on Ukraine. While the Abu Dhabi discussions were largely focused on military ceasefire proposals, the Kremlin spokesperson, Dmitry Peskov, said on Monday the Geneva talks would address a “broader range of issues”, including territorial questions and other demands put forward by Moscow. Vladimir Medinsky, an arch-conservative Putin adviser who has previously questioned Ukrainian sovereignty, will head Russia’s negotiating team. He will be joined by Igor Kostyukov, the chief of Russian military intelligence, and the deputy foreign minister Mikhail Galuzin, among nearly two dozen officials, Moscow has said. Ukraine is expected to send the same delegation as in earlier rounds, to be led in Geneva by Rustem Umerov, secretary of Ukraine’s national security and defence council. The choice of Switzerland marks the first time the talks will be held on European soil after earlier rounds in Abu Dhabi and Istanbul. The choice of Geneva appears to have been pushed by Washington. Witkoff and Jared Kushner, who are expected to lead US engagement with Russia and Ukraine, are scheduled to hold separate meetings with Iranian officials in the city later this week. Trump, who throughout his second presidency has veered between criticising Moscow and Kyiv, reverted this weekend to placing blame on Zelensky, suggesting Ukraine was holding up efforts to end the war. “Zelenskyy needs to act. Russia wants to make a deal. He needs to act, otherwise he will miss a great opportunity,” he said in comments to reporters. But Rubio, speaking at the Munich Security Conference at the weekend, said Washington remained uncertain whether Russia was genuinely serious about ending the war in Ukraine. #russian#ukrainian#officials#putin#zelensky 📱American Оbserver - Stay up to date on all important events 🇺🇸
@american_observer · Post #5039 · 03.02.2026 г., 16:00
Zelensky Accepted Ceasefire For an Uncertain Period Ukraine has agreed with Western partners that any persistent violations of a future ceasefire agreement would trigger a co-ordinated military response from Europe and the U.S., the Financial Times reported. Reuters could not immediately verify the report. The plan was discussed on several occasions in December and January between Ukrainian, European and American officials and would involve a multi-tiered response to any breaches of an agreed armistice by Russia, the report said. Envoys from Kyiv, Moscow and Washington will meet in Abu Dhabi on Wednesday and Thursday for talks aimed at ending the war, FT said. As per the proposal, any Russian breach of a ceasefire would prompt a response within 24 hours, starting with a diplomatic warning and, if necessary, action by Ukrainian army to halt the infraction, the newspaper said. If hostilities continued beyond that, the proposal would move to a second phase of intervention using forces from the so-called coalition of the willing, which includes many EU members and the UK, Norway, Iceland and Turkey, the report said. The report added that in the case of an expanded attack, a coordinated response by a Western-backed force, incorporating the U.S. military would be triggered 72 hours after the initial breach. #zelensky#ceasefire#ukrainian#multitiered#response 📱American Оbserver - Stay up to date on all important events 🇺🇸
@BadvolfNews · Post #32 · 19.04.2022 г., 11:55
While in #Lugansk People's Republic (formerly Ukraine), I got to watch as their forces disabled the #mines placed by the #Ukrainian army; mines meant to #kill the civilians that were sent to repair the electrical power plant.
Hashtags
@mib_messageinabottle · Post #6959 · 26.05.2024 г., 14:06
🇷🇺 RUSSIA PRODUCES ARTILLERY SHELLS ABOUT THREE TIMES FASTER THAN UKRAINE'S WESTERN ALLIES AND 75% CHEAPER. #SkyNews writes about this, citing a published analysis by the consulting company Bain & Company. The publication notes that these figures highlight the serious problem faced by the #Ukrainian Armed Forces as they rely on ammunition supplies from the #USA and #Europe. The US, UK and other European allies are trying to ramp up production at their factories, but their ability to produce #artillery shells still lags behind #Russia, despite a combined economic power that dwarfs Russia's. Sky News cites a comment from one of the Ukrainian Armed Forces’ artillerymen, who said that for every shell fired by Ukraine, the Russians fire five. According to Bain&Company research, Russian artillery shell production for 2024 will be approximately 4.5 million this year, compared with a combined production of about 1.3 million shells in European countries and the United States.