proxy.py
unsync
proxy.py | unsync | |
---|---|---|
5 | 4 | |
2,861 | 863 | |
- | - | |
6.8 | 0.0 | |
7 days ago | almost 2 years ago | |
Python | Python | |
BSD 3-clause "New" or "Revised" License | MIT License |
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.
proxy.py
-
Show HN: Proxy.py
[Not my project]
A very well features proxy server (Forward & Reverse + lots of other features).
https://github.com/abhinavsingh/proxy.py
-
How to Choose the Right Python Concurrency API
The article gives a good summary of the quite complex landscape of concurrency in python. There's more to it, for example gil-free c-extensions, subprocesses and cross-machine (plus IPC) communication.
But I'm particularly bothered by the fact that many articles and tutorials look at concurrency as if it's only about factoring primes or writing a web server with many (perhaps even idempotent) parallel requests.
In reality, people will often want and need to combine multiple of these approaches, and then it gets VERY messy. I.e. try to combine a multiprocessing executor with multiple asyncio loops and boom you're in some very deep waters.
One project that does this (async loops inside multiple processes) is proxy.py - very enlightening to read its code base [1].
But I really, really wish python would do more to provide simple and robust abstractions for these kinds of tasks. My dream would be a robust actor system similar to erlang, but we'll probably never get that.
[1] https://github.com/abhinavsingh/proxy.py
- PSA: Blogsport.de und Blogsport.eu sind in den letzten Atemzügen
-
Comodo Firewall
Setup a VM with Hyper-V and restrict the internet access or disable it.(best way), or build yourself a proxy: https://github.com/abhinavsingh/proxy.py
-
Handling 30,000 requests/sec with `proxy.py`
See `proxy.py` examples for some inspiration :) https://github.com/abhinavsingh/proxy.py/tree/develop/examples
unsync
-
Wednesday Daily Thread: Beginner questions
I saw a pycon talk recommending I use the unsync library as a simple way to mix multiprocessing threading and asyncio. https://github.com/alex-sherman/unsync how can I tell if this library is safe to use in a production environment? I wouldn't want to leave a broken dependency for my coworkers should this repo not be well maintained.
- Understanding python async with FastAPI
-
How to Choose the Right Python Concurrency API
I will briefly plug my library `unsync` (https://github.com/alex-sherman/unsync#quick-overview) which wraps all these methods (multiprocessing/threading/asyncio) into singular/simple-ish API.
It's a bit overly simple, but it's helped a few times writing code the makes use of several concurrency methods and combining them together etc.
-
Gradually Migrating Python Code to asyncio
Look into unsync.
What are some alternatives?
one-ring - CSP on top of AsyncIO
understanding-python-async - Some code examlpes helping to understand how python async works.
mitm - 👨🏼💻 A customizable man-in-the-middle TCP intercepting proxy.
async-await-jetbrains-webcast
mitm-omegle - Watch strangers talk on Omegle (man in the middle attack explained for kids)
gevent - Coroutine-based concurrency library for Python
lokinet-exit-provider - lokinet exit node webapp
SQLAlchemy - The Database Toolkit for Python
benchmark-proxypy
NumPy - The fundamental package for scientific computing with Python.
spike - :mega: A fast reverse proxy written in PHP that helps to expose local services to the internet
libcurl - A command line tool and library for transferring data with URL syntax, supporting DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET, TFTP, WS and WSS. libcurl offers a myriad of powerful features