@developmentnewsindia · Post #44353 · 03.05.2026 г., 06:51
Marshall Islands-flagged LPG tanker Sarv Shakti, carrying 46,000 tonnes of LPG for India, has crossed the Strait of Hormuz and is en route to India #Energy
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #402 · 22 дек.
Отдельно разберём TaskGroup, который пришел на замену gather в Python 3.11. Ключевые отличия ▫️create_task() возвращает объект asyncio.Task, у которого есть соответствюущие методы управления. То есть у нас больше контроля ▫️это контекстный менеджер, который гарантирует что все таски будут остановлены по выходу из контекста ▫️ошибка автоматически отменяет незавершенные задачи, ▫️except* передает нам ExceptionGroup, в котором каждую ошибку можно обработать отдельно import asyncio import random async def do_it() -> str: if random.random() < 0.1: raise ValueError('Oops') delay = random.uniform(0.5, 1.5) await asyncio.sleep(delay) return delay async def main(): try: async with asyncio.TaskGroup() as tg: for _ in range(10): tasks.append(tg.create_task(do_it())) for t in tasks: print(t.result()) except *ValueError as e: for err in e.exceptions: print(err) asyncio.run(main()) Рекомендую изучить страницу Coroutines and Tasks из документации, где представлено больше интересных примеров и механизмов - таймауты - отмена задач - создание задач из другого потока #async
Hashtags
Пребарај: #energy
@developmentnewsindia · Post #44353 · 03.05.2026 г., 06:51
Marshall Islands-flagged LPG tanker Sarv Shakti, carrying 46,000 tonnes of LPG for India, has crossed the Strait of Hormuz and is en route to India #Energy
Hashtags
@developmentnewsindia · Post #44334 · 02.05.2026 г., 12:10
Megha Engineering & Infrastructures Limited (MEIL) is executing the LuPech(J-18) upgrade at IOCL's Gujarat Refinery in Vadodara, expanding its capacity from 13.7 to 18 MMTPA to address rising energy demands. The project integrates an Indmax RFCC for maximizing propylene production, a Propylene Recovery Unit (PRU) for polymer-grade refining, and a Poly Propylene Unit (PPU) to enhance petrochemical production and regional energy security. #Energy
Hashtags
@developmentnewsindia · Post #44174 · 29.04.2026 г., 04:26
India crude imports average 4.4 mbpd in Apr 1–26 (−15% vs 5.2 mbpd Feb). Saudi supplies at 697 kbpd and UAE at 619 kbpd via Yanbu (7 mbpd pipeline) and Fujairah (1.7 mbpd). Oman flows rise to 101 kbpd vs 18 kbpd FY26 avg, offsetting Gulf outages. #Energy
Hashtags
@developmentnewsindia · Post #44114 · 27.04.2026 г., 06:34
India peak power demand hits record 256 GW, up from 252 GW a day earlier; prior high 250 GW (May 2024). Govt projects 271 GW peak in 2026; solar output at 657 MU. Coal units ~10 GW asked to defer maintenance amid gas shortfall of 8–10 GW. #Energy
Hashtags
@developmentnewsindia · Post #44100 · 27.04.2026 г., 03:45
India to invite bids in 3–6 months for 220 MWe BSMR-200 SMR. ₹30 crore/MW cost; ₹5,960 crore project; 60–72 months build. ₹20,000 crore Nuclear Energy Mission targets ≥5 SMRs by 2033; 100 GW nuclear capacity by 2047. Foreign bidders allowed with local partner. #energy
Hashtags
@developmentnewsindia · Post #43804 · 19.04.2026 г., 10:16
Indian-flagged crude tanker DESH GARIMA, outbound from the Persian Gulf today, is now the 11th merchant vessel observed under Indian Naval escort in the Gulf of Oman #energy
Hashtags
@developmentnewsindia · Post #43672 · 16.04.2026 г., 11:27
IEA chief says that Europe has 'maybe six weeks' of jet fuel left, says current shock is 'the largest energy crisis we have ever faced' #Energy
Hashtags
@developmentnewsindia · Post #43571 · 14.04.2026 г., 05:32
State-run HPCL wants to move 20,000 tonnes of Gas from Ust-Luga, Russia for LPG Production Source #Energy
Hashtags
@developmentnewsindia · Post #43540 · 13.04.2026 г., 04:03
2⃣ Iranian Supertankers laden with Crude have reached Indian Ports #Energy
Hashtags
@developmentnewsindia · Post #43479 · 11.04.2026 г., 19:46
Thorium Reserves by Country: IAEA #Energy
Hashtags
@developmentnewsindia · Post #43469 · 11.04.2026 г., 15:51
The India-flagged LPG vessel “Jag Vikram” has safely crossed the Strait of Hormuz, carrying ~20,400 MT of LPG cargo with 24 seafarers onboard. #Energy
Hashtags
@developmentnewsindia · Post #43418 · 09.04.2026 г., 17:53
India to launch PM-KUSUM 2 to expand solar irrigation; PM Suryaghar targets 10 mn households with ~2.7 mn installs done. Rooftop additions at 11,000–12,000/day rising to 15,000–16,000; FY26 added 55.3 GW non-fossil capacity incl. 16.4 GW distributed RE; ~40 GW PPAs pending. #Energy
Hashtags