👍3👏2❤1
❤2👍1🔥1
This media is not supported in your browser
VIEW IN TELEGRAM
Mason is a collection of packages that enable developers to create and consume reusable templates called bricks.
#dart #flutter #cli #template #templating
#dart #flutter #cli #template #templating
❤1👍1🔥1
Developing and Testing an Asynchronous API with FastAPI and Pytest.
This tutorial looks at how to develop and test an asynchronous API with FastAPI, Postgres, pytest and Docker using Test-driven Development (TDD). We'll also use the Databases package for interacting with Postgres asynchronously.
#python #article #asyncio #fastapi
This tutorial looks at how to develop and test an asynchronous API with FastAPI, Postgres, pytest and Docker using Test-driven Development (TDD). We'll also use the Databases package for interacting with Postgres asynchronously.
#python #article #asyncio #fastapi
🔥2❤1👍1
Python Concurrency with asyncio.
Learn how to speed up slow Python code with concurrent programming and the cutting-edge asyncio library.
- Use coroutines and tasks alongside async/await syntax to run code concurrently
- Build web APIs and make concurrency web requests with aiohttp
- Run thousands of SQL queries concurrently
- Create a map-reduce job that can process gigabytes of data concurrently
- Use threading with asyncio to mix blocking code with asyncio code
💀Achtung! Be aware that piracy is punishable by law in most countries.
I strongly recommend that you buy books (as I do) and do not encourage anyone to pirate.
🏴☠️For pirates (use Tor):pdf
#book #recommendation #asyncio
Learn how to speed up slow Python code with concurrent programming and the cutting-edge asyncio library.
- Use coroutines and tasks alongside async/await syntax to run code concurrently
- Build web APIs and make concurrency web requests with aiohttp
- Run thousands of SQL queries concurrently
- Create a map-reduce job that can process gigabytes of data concurrently
- Use threading with asyncio to mix blocking code with asyncio code
💀Achtung! Be aware that piracy is punishable by law in most countries.
I strongly recommend that you buy books (as I do) and do not encourage anyone to pirate.
🏴☠️For pirates (use Tor):
#book #recommendation #asyncio
👍4❤2🔥1👏1
Trio – a friendly Python library for async concurrency and I/O.
The Trio project aims to produce a production-quality, permissively licensed, async/await-native I/O library for Python. Like all async libraries, its main purpose is to help you write programs that do multiple things at the same time with parallelized I/O. A web spider that wants to fetch lots of pages in parallel, a web server that needs to juggle lots of downloads and websocket connections simultaneously, a process supervisor monitoring multiple subprocesses... that sort of thing. Compared to other libraries, Trio attempts to distinguish itself with an obsessive focus on usability and correctness. Concurrency is complicated; we try to make it easy to get things right.
#python #async #event #loop #networking #io #trio #concurrency
The Trio project aims to produce a production-quality, permissively licensed, async/await-native I/O library for Python. Like all async libraries, its main purpose is to help you write programs that do multiple things at the same time with parallelized I/O. A web spider that wants to fetch lots of pages in parallel, a web server that needs to juggle lots of downloads and websocket connections simultaneously, a process supervisor monitoring multiple subprocesses... that sort of thing. Compared to other libraries, Trio attempts to distinguish itself with an obsessive focus on usability and correctness. Concurrency is complicated; we try to make it easy to get things right.
#python #async #event #loop #networking #io #trio #concurrency
🔥3👍2❤1👎1👏1
Term.jl is a Julia library for stylized terminal output.
Term.jl uses a simple markup syntax to add style information to standard Julia strings. It also provides Renderable objects such as the Panel and TextBox as you can see in the example below. These too can be styled, include styled text, and they can be nested and stacked to produce structured visual displays in your terminal.
#julia #colored #output #terminal
Term.jl uses a simple markup syntax to add style information to standard Julia strings. It also provides Renderable objects such as the Panel and TextBox as you can see in the example below. These too can be styled, include styled text, and they can be nested and stacked to produce structured visual displays in your terminal.
#julia #colored #output #terminal
❤2👍1👏1