urllib3
attrs
Our great sponsors
urllib3 | attrs | |
---|---|---|
19 | 11 | |
3,656 | 5,056 | |
2.1% | 1.2% | |
9.2 | 9.2 | |
5 days ago | 8 days ago | |
Python | Python | |
MIT 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.
urllib3
-
Python HTTP library 'urllib3' now works in the browser
It looks like it's using XMLHttpRequest behind the scenes: https://github.com/urllib3/urllib3/pull/3195/files#diff-2f12... and fetch for streaming
Oh wow, thanks for this story! Would love to hear more if you have time :) Good luck with testing it out.
Note that we found an issue w/ emitting an InsecureRequestWarning by default. The request is perfectly secure, it's just we aren't telling the ConnectionPool that information (see: https://github.com/urllib3/urllib3/issues/3331)
-
Bounties Damage Open Source Projects
I've had a good experience doing a couple of bug fix bounties for urllib3 https://github.com/urllib3/urllib3/issues . I'd be interested in how the maintainers how found running the bug bounty and if it's given them more useful fixes or if it just adds more noise to deal with
-
ReadTheDocs Sphinx theme urllib3 related build errors
> Could not import extension sphinx.builders.linkcheck (exception: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with OpenSSL 1.0.2n 7 Dec 2017. See: https://github.com/urllib3/urllib3/issues/2168)
-
Trying to install autoscan from https://github.com/NiNiyas/autoscan and stuck with no idea what the problem is.
This error is coming from Python, it's telling us Python is failing to import the urllib3 library, these lines here are important:
-
Requests Library in Python
Requests allows you to send HTTP/1.1 requests extremely easily. There’s no need to manually add query strings to your URLs, or to form-encode your POST data. Keep-alive and HTTP connection pooling are 100% automatic, thanks to urllib3.
-
GitHub - Spacewalkio/Goenv: 🐺 Manage Your Applications Go Environment.
Judging projects based on stars is really immature. for example everyone knows requests https://github.com/psf/requests the python package that is used in every python project out there. it has 47k star too WOW. but the thing that less people know is urllib3. https://github.com/urllib3/urllib3. it has only 3k stars. It basically does the heavy lifting for requests!!
-
This Week In Python
urllib3 – Python HTTP library with thread-safe connection pooling, file post support, user friendly, and more
-
Get Paid to Contribute to Urllib3
I'm not really clear on how to find out what issues have currently active bounties attached to them. I followed some links to this github query: https://github.com/urllib3/urllib3/issues?q=is%3Aopen+is%3Ai...
but all I see there are issues that appear to have already been paid for.
attrs
-
Litestar 2.0
Full support for validation and serialisation of attrs classes and msgspec Structs. Where previously only Pydantic models and types where supported, you can now mix and match any of these three libraries. In addition to this, adding support for another modelling library has been greatly simplified with the new plugin architecture
- Ask HN: How can I get better at writing production-level Python?
-
Starlite updates March '22 | 2.0 is coming
Pydantic is by far not the only library of its kind, with prominent members of the same class being attrs, cattrs or even plain dataclasses for some use cases.
-
Data Classification: Does Python still have a need for class without dataclass?
Anything requiring e.g. setattr, getattr, delattr? Without looking far,
https://github.com/python-attrs/attrs/blob/main/src/attr/_ma...
- What new Python features are the most useful for you?
- Why you should use Data Classes in Python
-
Python Built-In Functions to Know
I was looking for an example of using locals() to "fill a data class from kwargs" or something similar to that. The example here doesn't use locals().
That aside, I generally wouldn't use the kwargs approach shown in this example either. I'd use [dataclasses](https://docs.python.org/3/library/dataclasses.html ) or [attrs](https://www.attrs.org/) instead.
-
Building a Micro Business: What Services I Pay For
hynek: developer of attrs
-
PEP 661 -- Sentinel Values
attrs has at least two.
-
HTTP Calls in Python Without requests or Other External Dependencies
Of course, a custom class will work, or attrs, or whatever container works for you.
What are some alternatives?
requests - A simple, yet elegant, HTTP library.
httplib2 - Small, fast HTTP client library for Python. Features persistent connections, cache, and Google App Engine support. Originally written by Joe Gregorio, now supported by community.
pycurl - PycURL - Python interface to libcurl
grequests - Requests + Gevent = <3
Uplink - A Declarative HTTP Client for Python
Doublify API Toolkit
requests-futures - Asynchronous Python HTTP Requests for Humans using Futures
Bearer Python
itsdangerous - Safely pass trusted data to untrusted environments and back.
transitions - A lightweight, object-oriented finite state machine implementation in Python with many extensions
kiss-headers - Python package for HTTP/1.1 style headers. Parse headers to objects. Most advanced available structure for http headers.
pluginbase - A simple but flexible plugin system for Python.