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

TGINSIGHT SIMILAR POSTS

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

Изворен канал @pythonotes · Post #424 · 13 апр.

Стандартная библиотека asyncio это стандарт (начиная с Py3.4) для работы с асинхронным кодом. Но эта библиотека достаточно низкоуровневая, со своими проблемами, устаревшими подходами. Чтобы исправить это, были созданы разные обертки и альтернативы с реализацией популярных инструментов и паттернов асинхронного программирования. Это такие библиотеки как: - trio: улучшает корректность выполнения, не оставляя потерянных корутин при ошибках, то есть предлагает Structured Concurrency из коробки. - curio: упрощение синтаксиса и читаемости кода, больше похоже на работу с потоками. - anyio: универсальная обертка над asyncio или trio плюс множество вспомогательных инструментов. anyio используется в FastAPI как основная библиотека для работы с асинхронным кодом и вызовом синхронного кода из асинхронного. В общем, рекомендую почитать про возможности anyio, возможно вы более не будете использовать чистый asyncio в своих проектах) Это совсем не значит что дефолтный asyncio плох, он тоже даёт достаточный для работы функционал и продолжает развиваться. Например, в версии 3.11 появились TaskGroup, с похожим на trio функционалом. Так что он тоже актуален, просто придется больше написать кода самостоятельно. #libs#async

Hashtags

Резултати

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

Пребарај: #nusapenida

当前筛选 #nusapenida清除筛选
Bali News

@balinews · Post #121 · 21.07.2024 г., 11:30

❌Flying fox ride on Nusa Penida closed after malfunctioning 📱 A video of a child getting stuck on the Flying fox ride on Nusa Penida has gone viral. Only with great difficulty, desperately swinging, he reached the final point of the ride. The entire ride was 170 meters long. 👮‍♂️ The ride was closed not only for safety reasons, but also because it was operating without the necessary permits. @BaliNews #NusaPenida#accidents

Bali News

@balinews · Post #216 · 16.10.2024 г., 09:29

🛥️They want to turn Nusa Penida into an Indonesian Monaco 📰 Officials responsible for tourism development said that Monaco could be a model for Nusa Penida, which, in their opinion, has all the potential to become an oasis for luxury vacations. 🏝 They are convinced that Bali's satellite should be developed as a luxury tourist destination with economic and environmental appeal at its core. @BaliNews #projects#NusaPenida

Bali News

@balinews · Post #538 · 07.12.2025 г., 04:45

🏝AI? Or real Nusa Penida? If you chose the latter, here are all the ways to reach this paradise island. 📍 Nusa Penida is a small island located about 12 km southeast of the Indonesian island of Bali. 🚤 Main ways to get there: Fast Boat (The most popular option) • Departure from Sanur, Benoa Harbour, or Serangan ports • 30-45 minutes • From ~250,000 IDR (one-way). A return ticket is often more cost-effective Slow Ferry (The Cheapest) • Departs from Kusamba Port in eastern Bali • ~1 hour • Cost is low, but the schedule is irregular #wheretogo#NusaPenida#tourism@BaliNews

Bali News

@balinews · Post #520 · 30.10.2025 г., 11:35

🔋 On Nusa Penida the state‑owned company PLN (Persero) has launched the region’s first “smart microgrid” 🌞 A microgrid that integrates solar power plants, battery storage systems, and backup diesel generators, all managed by advanced algorithms. 🔄 Excess energy is stored for night‑time use, and when there’s a shortfall of power, the diesel generators kick in automatically. This marks a key milestone in the transition to smarter, greener energy infrastructure. #NusaPenida#tech@BaliNews

Bali News

@balinews · Post #525 · 11.11.2025 г., 11:15

🚧 Construction of Kelingking beach elevator halted ℹ️ In 2023, Chinese investors with local government support planned a 182-meter elevator at Kelingking Beach on Nusa Penida to make the 40-minute trek down safer and easier for tourists. 📰 Initially approved and promoted as a new local attraction, the project faced public backlash when the structure reached the top and blocked the iconic view. Construction has now been stopped, with authorities saying not all parties were properly consulted. #places#projects#NusaPenida@BaliNews

Bali News

@balinews · Post #394 · 17.04.2025 г., 13:36

👍Bali tourists will soon have easier access to Nusa Penida’s iconic viewpoints 📰 Leaders in Bali have confirmed that it will soon be easier and safer to access some of Nusa Penida’s most famous viewpoints. ℹ️ Nusa Penida is part of Klungkung Regency, and leaders from the local tourism office have confirmed that a new partnership has been made with the Department of Public Works and Public Housing to build a new road that will connect Broken Beach and Angel’s Billabong. 🛣 The new road will be just one kilometre in length, and 9 metres wide and will allow safer and direct access between the two iconic landmarks. This project is all part of a bigger plan to improve connectivity and infrastructure on the island. @BaliNews #places#tourism#roads#NusaPenida

Bali News

@balinews · Post #116 · 15.07.2024 г., 12:04

🧾 Nusa Penida's tourist tax will be increased and made electronic 🚤 The authorities of Nusa Penida want to introduce a new tax collection system. Now a tourist compulsory payment is 25,000 Rp upon entry to the island. It is collected at the port immediately upon arrival. The new e-ticket system should make it easier for tourists to pay. 🫰 However, along with the introduction of such a system, the size of the fee itself will increase. The authorities explain this step by the need to develop the island, to make it more convenient for both locals and visitors. ❓ The most intriguing question: "what amount of the fee can we talk about?" is still open. 📈 The target for the tourist tax levy on Nusa Penida is 24.8 billion Indonesian rupiah in 2024, which is more than in 2023 (17.7 billion Indonesian rupiah). @BaliNews #taxes#tourism#NusaPenida

Bali News

@balinews · Post #97 · 22.06.2024 г., 10:46

🛟A new tragedy at Kelingking Beach 🌊Three tourists were swept away by powerful waves while swimming at Kelingking Beach on Nusa Penida. As a result of the incident, one person died and two were injured. ⚠️ Tourists started swimming there despite warning signs on the beach. They were swimming near the shore, but suddenly a large wave came and dragged them into the ocean. The victims were helped out of the water by a team of lifeguards. ❗️ Stay safe and always follow weather warnings on our channel as well as local authorities! @BaliNews #accidents#Kelingking#NusaPenida

Bali News

@balinews · Post #106 · 04.07.2024 г., 12:01

🧗🏻‍♂️Extreme amusement at Extreme park Bali on Nusa Penida ⛰️ Extreme park Bali has opened on the cliff above Tartle Beach. 🪢 Ropejumping or rope-swinging is not bungee jumping, where the jump is head down. The park uses climbing ropes, bindings and harnesses. 🦘The jump is about five seconds of free fall from a 130-metre cliff, after which the ropes lengthen and the system cushions, the jumper moves into a horizontal pendulum motion, which prevents the person from returning to the wall, and the vertical speed is damped. The person hangs on the ropes, and meanwhile instructors lower the load rope to pull him upwards on the winch. 🎫 The price per jump is from 2.000.000 idr. Bookink is available on Instagram. @BaliNews #wheretogo#places#sports#NusaPenida

Bali News

@balinews · Post #108 · 05.07.2024 г., 13:30

⚠️New precautions to be introduced at Bali's most dangerous beach ❗️ Due to the increasing number of accidents and deaths at Kelingking Beach, Bali authorities are taking urgent measures to ensure the safety of tourists. 📍 Kelingking Beach, located on the island of Nusa Penida, has long been known for its treacherous beauty that attracts hundreds of thousands of tourists every year. Now vacations on this picturesque beach are set to get safer. 🛟 Security guards will be stationed at Kelingking Beach and other dangerous areas of Nusa Penida. 👮🏻‍♀️ Klungkung Tourism Office head Ni Made Suliyastivati said fences and warning signs have already been installed at several beaches with a high risk of accidents. She added: "We have put up warning signs and no bathing signs. We will reinforce this by placing guards at vulnerable sites." @BaliNews #beaches#places#Klungkung#NusaPenida

Bali News

@balinews · Post #88 · 15.06.2024 г., 10:03

🏝A residential complex and a glass elevator: Nusa Penida has begun to be developed 📸 A copter video taken near a famous beach on Nusa Penida has excited not only the Balinese, but the whole of Indonesia. The footage clearly shows a giant construction site right on the cliff. The first layer of vegetation and soil has already been removed, and in its place are the smooth and landscaped cement foundation blocks. The construction of a 182-meter-high glass elevator directly to the beach and observation decks on the cliff slope became known last year. The project of the Chinese developer shocked many people then. Both locals and foreigners said that such infrastructure would destroy the atmosphere of natural grandeur on Nusa Penida. However, local officials cited employment opportunities for locals and revenue generated by the tourist attraction as some of the pluses. Not so long ago, Nusa Penida was just an island of pristine Bali. Ten years ago it was not so easy to get here, let alone with modern hotels and a mass flow of tourists. @BaliNews #construction#events#Klungkung#NusaPenida

Путешествия с CHATIK

@chatiktravel · Post #343 · 30.03.2025 г., 13:52

Нуса Пенида: Приключение мечты! 🌴🌊 Хотите попасть в рай? Отправляйтесь на Нуса Пенида! Этот остров рядом с Бали – сокровище Индонезии с бирюзовыми волнами и захватывающими видами. 🤩 Что вас ждет? 👇 • Пляжи мечты: Келингкинг Бич (скала-динозавр 🦖), Broken Beach, Angel's Billabong. • Снорклинг и дайвинг: Кораллы, рыбы, скаты манта! 🐠🐡 • Впечатляющие виды: Фотографируйте каждый уголок! 📸 • Релакс: Наслаждайтесь закатами и уединением. 🌅 Нуса Пенида – это незабываемое приключение! Готовы? 😉 Делитесь впечатлениями 👇🏼 #Chatik#Чатик#NusaPenida#Бали#Bali#Индонезия#Indonesia#Отдых#Путешествия#Пляж#Море#Снорклинг#Дайвинг#ПутешествиеМечты#РайскоеМесто#Отпуск#Travel#Beach#Sea#Vacation#Paradise