Skip to content
Avatar
😷
Wear a mask!
😷
Wear a mask!

Sponsoring

@gaborbernat @python

Highlights

Organizations

@elastic @python-hyper @urllib3 @psf
Block or Report

Pinned

  1. Python HTTP library with thread-safe connection pooling, file post support, user friendly, and more.

    Python 2.6k 836

  2. Official Python low-level client for Elasticsearch

    Python 3.2k 977

  3. Complete implementation of VirtualBox's COM API with a Pythonic interface.

    Python 280 61

  4. Sans-I/O implementation of SOCKS4, SOCKS4A, and SOCKS5

    Python 27 2

  5. A quick web app for fetching Unicode characters without extra fluff

    HTML 7

  6. 1
    import asyncio as A,urllib.parse as U,re;B,C,I,S=b"",b"\r\n",int,lambda*A:re.match(*A,24).groups()
    2
    async def request(m,u,h,b=B):
    3
     s,n,a,_,q,_=z=U.urlparse(u);T,E,d,N=s!=b"http",0,B,z.hostname;r,w=await A.open_connection(N,I(z.port or 80+363*T),ssl=T,server_hostname=[None,h][T]);w.write(m+b" "+(a or b"/")+[b"?"+q,B][q==B]+b" HTTP/1.0"+C+C.join([b"%b:%b"%W for W in h]+[B,b]));await w.drain()
    4
     while c:=await r.read():
    5
      if C*2in(d:=d+c)*(E==0):E,d=d.split(C*2,1);t,o=S(rb"HTTP/.+? (\d+).*?%b(.*)"%C,E);o=[S(rb"([^\s]+):\s*(.+?)\s*$",x)for x in o.split(C)]

1,695 contributions in the last year

Apr May Jun Jul Aug Sep Oct Nov Dec Jan Feb Mar Apr Mon Wed Fri

Contribution activity

April 2021

Opened 4 pull requests in 3 repositories
python-hyper/brotlicffi
2 merged
elastic/elasticsearch
1 merged
elastic/elasticsearch-ruby
1 merged
2 contributions in private repositories Apr 2 – Apr 7

Seeing something unexpected? Take a look at the GitHub profile guide.