Если запустить REPL с модулем asyncio, то вы входите в особый асинхронный REPL.
user@host:~$ python -m asyncio
asyncio REPL 3.12.7 ...
Use "await" directly instead of "asyncio.run()".
>>> import asyncio
>>>
В этом режиме
- создаётся и настраивается event loop
- уже импортирован asyncio
- работает await на верхнем уровне
То есть такая команда сработает без ошибок!
await asyncio.sleep(3)
Удобно для тестирования асинхронных функций без создания ивентлупов и остальной обвязки.
Работает в: 3.8+
#tricks#async
#typescript#local_first#notetaking#open_source#react#rust#tauri#typescript
Hyprnote is a tool that helps you with meeting notes. It records and transcribes meetings, then creates useful summaries from the notes. What's special about Hyprnote is that it works offline using open-source models, so you don't need the internet to use it. It's also very flexible because you can add or create extensions to make it work better for you. This means you can use it anywhere, even without internet, and it helps keep your notes organized and private.
https://github.com/fastrepl/hyprnote
Mili Secures $2M Funding Round
Mili has successfully raised $2 million in funding as of December 17, 2024. The AI-powered platform aims to enhance workflows and improve client experiences, reducing the burden of note-taking tasks.
Learn more: Mili
#Funding#AI#Mili#Startups#Tech#Workflows#Investment#ClientExperience#NoteTaking#Efficiency#Innovation