bytewax
AIOHTTP
Our great sponsors
bytewax | AIOHTTP | |
---|---|---|
18 | 23 | |
1,144 | 14,575 | |
8.2% | 1.3% | |
9.8 | 9.8 | |
6 days ago | 3 days ago | |
Python | Python | |
Apache License 2.0 | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
bytewax
- Building a streaming SQL engine with Arrow and DataFusion
-
Near Real Time Ingestion to DB using Python
You can probably use Python to solve your problem, there are many ways you can speed up your deserialization/flattening. I work on Bytewax (https://github.com/bytewax/bytewax) and I wouldn't mention it if it wasn't a good fit, but I think it's worth looking at here. It is a stream processor that makes it easy to scale, maintain order, track progress, and you just write native Python.
-
Stream processing framework for a new project in Python
Disclaimer: I work on Bytewax, but it feels like this could be a good fit and would save you some time looking around. If you need to do stateful operations (reduce, window, etc.) then you can use bytewax - https://github.com/bytewax/bytewax with pub/sub, but you would need to build a custom connector. There are some guides on how to do that - https://www.bytewax.io/blog/custom-input-connector.
- What are your favorite tools or components in the Kafka ecosystem?
-
A Python package for streaming synthetic data
This is great, definitely see the utility here. I have had to hack this together so many times while building streaming workflows with github.com/bytewax/bytewax and other tools.
-
Snowflake - what are the streaming capabilities it provides?
When low latency matters you should always consider an ETL approach rather than ELT, e.g. collect data in Kafka and process using Kafka Streams/Flink in Java or Quix Streams/Bytewax in Python, then sink it to Snowflake where you can handle non-critical workloads (as is the case for 99% of BI/analytics). This way you can choose the right path for your data depending on how quickly it needs to be served.
-
Sunday Daily Thread: What's everyone working on this week?
Working on how to use https://github.com/bytewax/bytewax to create embeddings in real-time for ML use cases. I want to make a small library for embedding pipelines, but still learning about vector dbs and the tradeoffs between the different solutions.
-
Arroyo: A distributed stream processing engine written in Rust
Project looks cool! Glad you open sourced it. It could use some comments in the code base to help contributors ;). I also like the datafusion usage, that is awesome. BTW I work on github.com/bytewax/bytewax, which is based on https://github.com/TimelyDataflow/timely-dataflow another Rust dataflow computation engine.
-
Launch HN: BuildFlow (YC W23) – The FastAPI of data pipelines
Cool, nice idea. Can you sub in different backend like bytewax (https://github.com/bytewax/bytewax) for stateful processing?
-
Kafka Stream Processing in Java or Scala
If you want to keep in your Python/SQL area of expertise and by all means I don't mean to promote not learning a new language, but just as an FYI. There are some non-Java/Scala tools between streaming databases like risingwave and materialize, streaming platforms like fluvio and redpanda, and stream processors like bytewax and faust.
AIOHTTP
-
Show HN: The HTTP Garden – A Parser Vulnerability Research Tool
> AIOHTTP: The Python int constructor is used to parse Content-Lengths and chunk-sizes, so _, +, and - are misinterpreted.
Fun. I believe the fix is incomplete here[1]. Python's int() constructor accepts integers comprised of any unicode numeral, for example, int("٦٦٦") == 666, and "٦٦٦".isdecimal() == True.
[1] https://github.com/aio-libs/aiohttp/pull/7663/files#diff-197...
- Python HTTP library 'urllib3' now works in the browser
-
complex http server?
aiohttp
- How to Stream Bytes Uploaded so far in Python like XMLHttpRequest: progress event
-
Multiprocessing/multithreading
If you want speed, I would try to rewrite everything using an asynchronous library like aiohttp.
-
Speed Up Web Scraping with Concurrency in Python
requests does not support async out-of-the-box, so we will use aiohttp to avoid complications. requests can do the job, and there is no substantial performance difference. But the code is more readable using aiohttp.
-
How can I wrap a synchronous function in an async coroutine?
I'm using aiohttp to build an API server that sends TCP requests off to a seperate server. The module that sends the TCP requests is synchronous and a black box for my purposes. So my problem is that these requests are blocking the entire API. I need a way to wrap the module requests in an asynchronous coroutine that won't block the rest of the API.
-
Favorite Python Web Framework
aiohttp - Everything that I need and nothing that I don't.
-
Can you help me review some (working) code to asynchronously download lists of scholarships?
Use aiohttp to download the content of each page of lists. As of this Code Review post, this is the only step we execute.
-
Getting nothing but 429 responses when using Go (golang) client. Same requests work everywhere other than go apps.
Reminds me of this post from 5 months ago, but it was for a Python library. I made a discussion thread on the aiohttp repo and someone ended up contacting the reddit admins about it. The problem seems to be resolved now.
What are some alternatives?
timely-dataflow - A modular implementation of timely dataflow in Rust
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
arroyo - Distributed stream processing engine in Rust
httpx - A next generation HTTP client for Python. 🦋
2022-bytewax-redpanda-air-quality-monitoring
Flask - The Python micro framework for building web applications.
django-unicorn - The magical reactive component framework for Django ✨
requests - A simple, yet elegant, HTTP library.
Django - The Web framework for perfectionists with deadlines.
Tornado - Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed.
Pyramid - Pyramid - A Python web framework