TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #421 · 23 мар.

Мы используем Makefile думая, что нет альтернатив, что это стандарт и всё такое. Но make это не запускалка команд, а система сборки. Мы фактически используем его не по назначению. И на самом деле альтернатива есть! Некоторое время назад я открыл для себя прекрасный инструмент - just. Он решает все проблемы make. just - это не система сборки как make, это именно исполнитель команд! Больше никаких Phony Targets и табуляций, привет нормальный синтаксис и передача аргументов!!! 😎 ⭐️Что умеет just: ✅ Автодокументирование команд Не нужно делать отдельную команду с докой, просто добавь комментарий # команда сборки build: ... $ just --list Available recipes: build # команда сборки Команда с именем default запускается по умолчанию если не указано другое, так что я обычно делаю так: default: just --list Теперь просто выполняем just и получаем доку из текущего файла. ✅ Удобная работа с переменными окружения # загрузить из .env set dotenv-load # глобальная переменная export PYTHONPATH := "./src" # переменная для команды test $TESTUNG="true": pytest ✅ Передача аргументов build target: @echo 'Build {{target}}...' команда запуска $ just build dev # Build dev... ✅ Выбор интерпретатора прямо в команде Пример с инлайн-скриптом на python: system: #!/usr/bin/env python3 import platform print(platform.system()) Эта же функция позволит выполнить скрипт как одну команду вместо перезапуска шела для каждой строки foo: #!/usr/bin/env sh for file in ls .; do echo $file done ✅ Выполнение команды в определенной директории. Можно указать как релятивный путь так и абсолютный [working-directory: 'backend'] build: docker compose build Также можно задать рабочую директорию глобально Там еще много интересного: - поддержка функций - автокомплиты и интеграции - экспрешены - алиасы команд - группировка команд - альтернативы команды под разные ОС - импорт других just-файлов - цветной вывод - ... и другие штуковины! Так что вперёд - ➡️ читать доку! Репозиторий: ➡️https://github.com/casey/just Статья: ➡️https://www.chicks.net/reference/file_formats/just/ ЗЫ. Кажется, на Makefile я уже не вернусь) #tools

Hashtags

Резултати

Пронајдени 10 слични објави

Пребарај: #essequibo

当前筛选 #essequibo清除筛选
Venezuelanalysis

@venanalysis · Post #2361 · 08.05.2026 г., 20:54

📰 NEWS | Venezuela Reasserts Essequibo Sovereignty Claim at ICJ Hearing Venezuela reaffirmed its sovereignty claim over the Essequibo region during hearings at the International Court of Justice in The Hague. Venezuelan representative Samuel Moncada said Caracas does not recognize the ICJ’s jurisdiction and argued that the 1966 Geneva Agreement remains the only valid framework for resolving the dispute with Guyana. Guyana, which brought the case before the ICJ in 2018, argued that the controversy affects more than 70% of its territory. The hearings are scheduled to continue through May 11, while a final ruling could take months or years. Read the full report here 👉https://shorturl.at/uhoar #Essequibo

Hashtags

Venezuelanalysis

@venanalysis · Post #2279 · 19.02.2026 г., 16:00

📰 NEWS | Venezuela Urges ‘Good Faith Negotiations’ on Essequibo Territorial Dispute Venezuela commemorated the 60th anniversary of the 1966 Geneva Agreement by reaffirming its claim over the 160,000 square-kilometer Essequibo territory and urging Guyana to pursue “good faith negotiations.” Caracas said the agreement is the sole valid mechanism to resolve the dispute and rejected the jurisdiction of the International Court of Justice. Guyana responded that the Geneva Agreement did not annul the 1899 Arbitral Award and noted that in 2018 the UN Secretary-General referred the case to the ICJ as the final means of settlement. Oral hearings are set to begin in May 2026. Read the full report here 👉https://venezuelanalysis.com/news/venezuela-urges-good-faith-negotiations-on-essequibo-territorial-dispute/ #Essequibo

Hashtags

Venezuelanalysis

@venanalysis · Post #1896 · 03.03.2025 г., 19:06

📰 NEWS | Venezuela-Guyana Tensions Flare Over Oil-Rich Waters Venezuela denied Guyanese accusations of a naval incursion in the disputed Essequibo region, stating the waters remain “pending delimitation.” Washington sided with Georgetown and warned Caracas of “consequences” over further incidents. 🔗 Read the full report here: https://venezuelanalysis.com/news/venezuela-guyana-tensions-flare-over-oil-rich-waters/ #Essequibo#GuyanaVenezuelaRelations

Venezuelanalysis

@venanalysis · Post #2017 · 30.06.2025 г., 19:20

📰 NEWS | Venezuela Rebukes Guyana Over Cross-Border Gold Smuggling Allegations Venezuela has rejected claims by Guyana’s President Irfaan Ali that Venezuelan gold is being trafficked across the border. The Maduro government denounced the accusations as 'baseless' and politically driven, particularly as they were made at a US Embassy event in Georgetown. Although Guyanese media reported recent gold seizures, no evidence has surfaced linking the shipments to Venezuela. Caracas maintains that Ali’s remarks aim to justify growing US military and political involvement in the region. 🔗 Full story via: https://shorturl.at/ozO0i #Essequibo#GoldMining

Venezuelanalysis

@venanalysis · Post #1925 · 02.04.2025 г., 20:46

📰 NEWS | Maduro Denounces Rubio Military Threats and Interference in Essequibo Dispute Venezuelan President Nicolás Maduro condemned US Secretary of State Marco Rubio for threatening military action over the Essequibo dispute. During a visit to Guyana, Rubio warned that any Venezuelan action against Georgetown or ExxonMobil would lead to “a very bad day” for Caracas. The US diplomat also reaffirmed Washington’s military and diplomatic support for Guyana, dismissing Venezuela’s sovereignty claim as “illegitimate.” 🔗 Read the report here 👉🏼https://venezuelanalysis.com/news/maduro-denounces-rubios-military-threats-and-interference-in-essequibo-dispute/ #Essequibo#Guyana#MarcoRubio

Venezuelanalysis

@venanalysis · Post #1887 · 23.02.2025 г., 03:43

📰 NEWS | Venezuela Denounces Guyana ‘False Narrative’ Over Clash in Disputed Essequibo Territory A reported firefight between Guyanese forces and an illegal mining group left several wounded on both sides. Caracas rejected what it referred to as "false narratives" from Georgetown in the context of the unsolved Essequibo territorial controversy. The 200-year-old border dispute is presently being evaluated by the International Court of Justice, although Venezuela has rejected the body's jurisdiction over the case. 🔗 Read the report: https://venezuelanalysis.com/news/venezuela-denounces-guyana-false-narrative-over-clash-in-disputed-essequibo-territory/ #Essequibo#Guyana#IllegalMining

Venezuelanalysis

@venanalysis · Post #1524 · 04.04.2024 г., 21:47

Venezuela's National Assembly takes a dual stance against fascism and territorial disputes, passing anti-fascism legislation while reaffirming its claim over Essequibo amid alleged CIA and US Southern Command threats. Read more 👉🏽https://shorturl.at/aeOP7 #fascism#laws#Essequibo#Venezuela

Venezuelanalysis

@venanalysis · Post #1829 · 11.12.2024 г., 01:12

Venezuela’s President Nicolás Maduro warned of the destabilization potential brought by heightened US military activity in the Caribbean region. Guyanese President Irfaan Ali met with SOUTHCOM commander US Navy Admiral Alvin Holsey earlier this month. Read the full story: https://venezuelanalysis.com/news/venezuelas-maduro-warns-caricom-of-guyana-and-us-southcom-collaboration-dangers/ #Essequibo#Venezuela#Guyana#SouthCom

Libertà è ragione

@libertaeragione · Post #4066 · 06.12.2023 г., 08:23

#Venezuela#Guyana#Essequibo Presidente Nicolás #Maduro (#PSUV|Estrema sinistra): “Decreto presidenziale! Creata la Zona di Difesa Integrale ‘Guyana Essequiba’ con 3 aree di sviluppo integrale ADI e 28 settori di sviluppo in questo territorio, dipendente militarmente e amministrativamente dalla REDI "Guayana Esequiba", ho anche designato il M/G Rodríguez #Cabello come autorità unica che avrà sede politica e amministrativa nel villaggio di Tumeremo. Tutto il supporto per questa Zona!” Nota: Con un decreto presidenziale, stamattina Maduro ha dichiarato l’Essequibo come nuovo “Stato del Venezuela”, ordinando di iniziare la ricerca delle risorse presenti sul territorio. @OsservatorioEsteri