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
CasaOS - a simple, easy-to-use, elegant open-source Home Cloud system.
CasaOS is compatible with mainstream Docker/Linux application ecology, and it is simple to install all kinds of NAS/ home smart applications with just one click. With CasaOS, you can host various home entertainment, streaming, network enhancement, and VPN applications for free.
#golang #go #docker #home #iot #vuejs #raspberry
CasaOS is compatible with mainstream Docker/Linux application ecology, and it is simple to install all kinds of NAS/ home smart applications with just one click. With CasaOS, you can host various home entertainment, streaming, network enhancement, and VPN applications for free.
#golang #go #docker #home #iot #vuejs #raspberry
π₯10β€1π1
Genie is a full-stack web framework that provides a streamlined and efficient workflow for developing modern web applications. It builds on Julia's strengths (high-level, high-performance, dynamic, JIT compiled), exposing a rich API and a powerful toolset for productive web development.
#julia #web #framework #reactive #orm #mvc
#julia #web #framework #reactive #orm #mvc
π4β€1π₯1
Nextflow is a bioinformatics workflow manager that enables the development of portable and reproducible workflows. It supports deploying workflows on a variety of execution platforms including local, HPC schedulers, AWS Batch, Google Cloud Life Sciences, and Kubernetes. Additionally, it provides support for manage your workflow dependencies through built-in support for Conda, Docker, Singularity, and Modules.
#groovy #jvm #docker #aws #cloud #bioinformatics #hpc #dataflow
#groovy #jvm #docker #aws #cloud #bioinformatics #hpc #dataflow
π3β€1π1
dplyr is a grammar of data manipulation, providing a consistent set of verbs that help you solve the most common data manipulation challenges:
-
-
-
-
-
#r #R #grammar #data #manipulation
-
mutate() adds new variables that are functions of existing variables-
select() picks variables based on their names.-
filter() picks cases based on their values.-
summarise() reduces multiple values down to a single summary.-
arrange() changes the ordering of the rows.#r #R #grammar #data #manipulation
π4β€2π₯1π€1
Nuke provides an efficient way to download and display images in your app. It's easy to learn and use. Its architecture enables many powerful features while offering virtually unlimited possibilities for customization.
The framework is lean and compiles in under 2 secondsΒΉ. Nuke has an automated test suite 2x the size of the codebase itself, ensuring excellent reliability. Every feature is carefully designed and optimized for performance.
#swift #image #loading #gif #webp #progressive
The framework is lean and compiles in under 2 secondsΒΉ. Nuke has an automated test suite 2x the size of the codebase itself, ensuring excellent reliability. Every feature is carefully designed and optimized for performance.
#swift #image #loading #gif #webp #progressive
β€2π1π₯1
This media is not supported in your browser
VIEW IN TELEGRAM
Makie is a data visualization ecosystem for the Julia programming language, with high performance and extensibility. It is available for Windows, Mac and Linux.
#julia #jl #visualization #gpu #graphic #plotting
#julia #jl #visualization #gpu #graphic #plotting
β€5π1π₯1
This media is not supported in your browser
VIEW IN TELEGRAM
Ddosify - High-performance load testing tool.
Features:
π Protocol Agnostic - Currently supporting HTTP, HTTPS, HTTP/2. Other protocols are on the way.
π Scenario-Based - Create your flow in a JSON file. Without a line of code!
π Different Load Types - Test your system's limits across different load types.
π Parameterization - Use dynamic variables just like on Postman.
#golang #go #ddos #load #testing #
Features:
π Protocol Agnostic - Currently supporting HTTP, HTTPS, HTTP/2. Other protocols are on the way.
π Scenario-Based - Create your flow in a JSON file. Without a line of code!
π Different Load Types - Test your system's limits across different load types.
π Parameterization - Use dynamic variables just like on Postman.
#golang #go #ddos #load #testing #
β€1π₯1π1
TDengine is an open source, high-performance, cloud native time-series database optimized for Internet of Things (IoT), Connected Cars, and Industrial IoT. It enables efficient, real-time data ingestion, processing, and monitoring of TB and even PB scale data per day, generated by billions of sensors and data collectors. TDengine differentiates itself from other time-seires databases with the following advantages:
- High-Performance
- Simplified Solution
- Cloud Native
- Ease of Use
- Easy Data Analytics
- Open Source
#c #python #sql #database #monitoring #metrics #bigdata #scalability #distributed
- High-Performance
- Simplified Solution
- Cloud Native
- Ease of Use
- Easy Data Analytics
- Open Source
#c #python #sql #database #monitoring #metrics #bigdata #scalability #distributed
π2π€2β€1
Memray is a memory profiler for Python. It can track memory allocations in Python code, in native extension modules, and in the Python interpreter itself. It can generate several different types of reports to help you analyze the captured memory usage data.
Notable features:
β’ π΅οΈββοΈ Traces every function call so it can accurately represent the call stack, unlike sampling profilers.
β’ β Also handles native calls in C/C++ libraries so the entire call stack is present in the results.
β’ π Blazing fast! Profiling slows the application only slightly. Tracking native code is somewhat slower, but this can be enabled or disabled on demand.
β’ π It can generate various reports about the collected memory usage data, like flame graphs.
β’ π§΅ Works with Python threads.
β’ π½ Works with native-threads (e.g. C++ threads in C extensions).
#python #profiler #memory #leak #detection
Notable features:
β’ π΅οΈββοΈ Traces every function call so it can accurately represent the call stack, unlike sampling profilers.
β’ β Also handles native calls in C/C++ libraries so the entire call stack is present in the results.
β’ π Blazing fast! Profiling slows the application only slightly. Tracking native code is somewhat slower, but this can be enabled or disabled on demand.
β’ π It can generate various reports about the collected memory usage data, like flame graphs.
β’ π§΅ Works with Python threads.
β’ π½ Works with native-threads (e.g. C++ threads in C extensions).
#python #profiler #memory #leak #detection
β€6π₯2π1
Bytebase is a web-based, zero-config, dependency-free database schema change and version control management tool for the DevOps team.
Features:
- SQL Review: A dedicated review workflow and UI for Developers and DBAs to collaborate on schema changes. Assisted by built-in advisor such as backward compatibility checks.
- Database-as-Code: Integrate with VCS hosting the migration scripts. Migration pipeline is triggered on observing new script push event.
- Streamlined Deployment: Support multi-tenant (M), multi-environment (N) schema change in a single M*N change matrix pipeline.
- SQL Editor: Easy-to-use query interface to SELECT database records.
- Migration History: Record the full migration history with side-by-side diff comparison between versions.
- Anomaly Center: Periodically scan all managed instances and databases and provide user a holistic view to see all anomalies.
- And more.
#golang #go #database #db #schema #version #control #devops
Features:
- SQL Review: A dedicated review workflow and UI for Developers and DBAs to collaborate on schema changes. Assisted by built-in advisor such as backward compatibility checks.
- Database-as-Code: Integrate with VCS hosting the migration scripts. Migration pipeline is triggered on observing new script push event.
- Streamlined Deployment: Support multi-tenant (M), multi-environment (N) schema change in a single M*N change matrix pipeline.
- SQL Editor: Easy-to-use query interface to SELECT database records.
- Migration History: Record the full migration history with side-by-side diff comparison between versions.
- Anomaly Center: Periodically scan all managed instances and databases and provide user a holistic view to see all anomalies.
- And more.
#golang #go #database #db #schema #version #control #devops
β€2π₯1π1
βK is a command menu React component that can also be used as an accessible combobox. You render items, it filters and sorts them automatically. βK supports a fully composable API, so you can wrap items in other components or even as static JSX.
#typescript #ts #jsx #react #combobox #radix #command #menu
#typescript #ts #jsx #react #combobox #radix #command #menu
β€2π₯2π1
C3 (Custom Command and Control) is a tool that allows Red Teams to rapidly develop and utilise esoteric command and control channels (C2). It's a framework that extends other red team tooling, such as the commercial Cobalt Strike (CS) product via ExternalC2, which is supported at release. It allows the Red Team to concern themselves only with the C2 they want to implement; relying on the robustness of C3 and the CS tooling to take care of the rest. This efficiency and reliability enable Red Teams to operate safely in critical client environments (by assuring a professional level of stability and security); whilst allowing for safe experimentation and rapid deployment of customised Tactics, Techniques and Procedures (TTPs). Thus, empowering Red Teams to emulate and simulate an adaptive real-world attacker.
#cpp #framework #prototyping #offensive #toolkits
#cpp #framework #prototyping #offensive #toolkits
π₯2β€1π1