Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/python/typeshed

Collection of library stubs for Python, with static types
https://github.com/python/typeshed

Update protobuf generated stubs from mypy-protobuf 2.8 (#5804)

581b2d518041377069e2aeee969e7b2e86270f13 authored over 3 years ago
add missing type hints in http.cookiejar (#5797)

Co-authored-by: Akuli <[email protected]>

af9b46a9a11e9dd83684db52c1139fa244d4cbfc authored over 3 years ago
Fixed a bug in OpenSSL.crypto stub (#5796)

Co-authored-by: Vasily Zakharov <[email protected]>

0baeef09a2c872951341d69055408671897da9e2 authored over 3 years ago
add missing type hints in zipfile (#5795)

966858fd4ca07a9892698cab42845bb2d1320154 authored over 3 years ago
Add missing type hints in http.server (#5785)

9f34ccd8642faf53c5020dc9325d9ae773888926 authored over 3 years ago
Stubs for mysqlclient (#5791)

2d3bde439eaccb5b5205e25ae9186392a9bb59f5 authored over 3 years ago
Supported repeated field containers for extensions (#5788)

See https://github.com/dropbox/mypy-protobuf/issues/244 for the
inspiration for this. Repeated ...

6d6250f10963b8ad7aeeba387c8d48dc9d0cb92b authored over 3 years ago
Upper bound protobuf containers based on scalar/composite (#5787)

5199ed5bd83abdcd1738a3a5ff9d79e6669e9243 authored over 3 years ago
Stubs for psycopg2 (#5783)

a0f199727b68917a80939432e1e69315afc44608 authored over 3 years ago
Stubs for jsonschema (#5784)

937d31df697620c711f0fddbf4df33ee1bcc9d65 authored over 3 years ago
Stubs for prettytable (#5782)

6d7159c822ad7e96bdb839b2212d15aa4ef7859e authored over 3 years ago
Add stubs for jmespath (#5780)

2a4cc033079cf0a1ebf7b323016a01aadb36c5e8 authored over 3 years ago
Fix import sorting in create_baseline_stubs script (#5781)

Run isort before black since changes made by isort don't follow stub
conventions.

b3b8daed2e9907dd221c94c428e57741f29676e6 authored over 3 years ago
Stubs for psutil (#5776)

I generated these using stubgen and made various manual tweaks to fix issues
reported by stubte...

e2fe224b52dc62d60bf889c12ed2997026393056 authored over 3 years ago
Add simple tool for creating baseline stubs (#5777)

This tool is a simple wrapper around stubgen and other tools that simplifies the
creation of "b...

d85c54dc4708b4b2a85b5322809b6a19633f43a3 authored over 3 years ago
Allow non-types dependencies (#5769)

Remove the check in check_consistency that ensures that only other
type packages from typeshed ...

ad3f0c8e3409b1459cbf8a7c81343083bf2ba8b5 authored over 3 years ago
Babel stubs (#5775)

Basic stubs made with stubgen & manual fixes. Also, reorder
pyrightconfig.stricter.json, I did...

607aa37ee9a5c380baedb4938148fb3280f833e3 authored over 3 years ago
Support arbitrary values for extension values (#5774)

Proto itself supports primitives, not just messages.
See https://github.com/dropbox/mypy-protob...

4765978f6ceeb24e10bdf93c0d4b72dfb35836d4 authored over 3 years ago
Stubs for stripe (#5770)

A library that provides convenient access to the Stripe API from applications.
It includes a p...

0cd4ee39a2fbe17001b1a98929158ffc0b11f664 authored over 3 years ago
Stubs for oauthlib (#5766)

This was generated with stubgen, with a touch of manual intervention to clean up and
have it p...

80f61d220965cdfc5018c8dd6f82585c2af1b89d authored over 3 years ago
Add stubs for slumber (#5764)

ce94e8bba69e00a86648fb3e196037c44cf034ef authored over 3 years ago
Improve distutils and lib2to3 (#5763)

Add missing elements to distutils.util:

* run_2to3()
* copydir_run_2to3()
* Mixin2to3

Us...

3bb397055c1c6e30ef0231ed32c3b1e06ed1c82b authored over 3 years ago
Run mypy tests for stdlib and third-party separately (#5760)

7c382c7cd80466a57dbc7f2db8c56e8db29ec003 authored over 3 years ago
Stubs for beautifulsoup4 (#5758)

Stubgen and manual fixes, don't bother with Python 2

7f320c6b9e148fb0ffc8e4e98ff207bb2fb378b7 authored over 3 years ago
Create pygments stubs (#5759)

* run stubgen

* replace individual lexers with __getattr__ in lexers/__init__.pyi

* replac...

e676fcabd3b41f63475ea41443177faf5f072acf authored over 3 years ago
tornado: add some types, set version (#5742)

a90573feb2af118d224d9b9baf6cb7a3e2b0c64a authored over 3 years ago
Fix aiofiles.base.AsyncBase.__iter__ (#5750)

Fixes #5725.

This doesn't actually work properly in mypy.

80591d9f9973672a01cfa1bdc67071315a211990 authored over 3 years ago
Update proto stubs with latest mypy-protobuf 2.6 (#5753)

42eec29eedabf74935c6951cf7df2169fdd3c014 authored over 3 years ago
Remove FieldDescriptor fallback for protobuf extension methods (#5754)

It was there for compatibility to older versions of mypy-protobuf.
With modular typeshed, this ...

276c225cd93b4a21af412c58f653efbbd49603c0 authored over 3 years ago
Use vobject stubs in caldav (#5749)

8d12d6f4689351f6856ad79961db9a200552b845 authored over 3 years ago
Use `SupportsIndex` where applicable in `builtins.pyi` (#5739)

* Use `SupportsIndex` where applicable in `builtins.pyi`

* Remove `None` from the `int.__roun...

5e23e2c19a2b0fbbf6479d5e87223992f03cf84e authored over 3 years ago
Update pwd stub file (#5741)

Add the following properties to struct_passwd:
* n_fields
* n_sequence_fields
* n_unnamed_fie...

0330530de0347d9ea4c587f0b25d800048fb1a41 authored over 3 years ago
Add pytest-lazyfixture stubs (#5745)

This change will add stubs for pytest-lazyfixture. It is particual useful for projects which typ...

c4a60ce94c5aa465fef8764b7fa7c63c44e5e444 authored over 3 years ago
Wrap vobject.win32tz in platform check (#5747)

aca595236177f191faabecc011f7de0a473e106a authored over 3 years ago
Allow unicode and bytes in EnumTypeWrapper.Value (#5743)

c5dd23ac0dc71cd535b4ac7273be0f3106025145 authored over 3 years ago
maybe fix stubtest (#5746)

Co-authored-by: Jelle Zijlstra <[email protected]>

fdf073627cfbc29de563e37405ff24a5ce4466c2 authored over 3 years ago
Add third-party vobject stubs (#5733)

a7446632f71aa3fb69b00019887506b4d184e423 authored over 3 years ago
Upgrade Pillow stubs for Pillow 8.3 (#5731)

* Upgrade Pillow stubs for Pillow 8.3

* stubtest: ignore PIL._tkinter_finder

* Annotate Ti...

788b20e326173c56a995cf77e1020ea38497dc8a authored over 3 years ago
fix type of FileIO.__init__ opener kwarg (#5738)

Co-authored-by: Akuli <[email protected]>

c968614bae58652900669909bcd56b477c50fc38 authored over 3 years ago
Add missing type hints in http.client (#5734)

* Add missing type hints in http.client

* Add http.client.HTTPConnection.response_class to ex...

0085539df30b59d53e94980faddbf695800584a7 authored over 3 years ago
polib: fix ordered_metadata return type (#5735)

Also update version in METADATA.toml.

9d5046ee7f4fad0f60bbdd807e46da9c22a2f9e0 authored over 3 years ago
use Self in async context managers (#5724)

42247feefb58f59925848b5c70c864afeda37fac authored over 3 years ago
pathlib2: most of the methods support the "unicode" type. (#5727)

Closes: #5726

ff2b92f340b1a8981457603b76db07266f04ac36 authored over 3 years ago
Replace IO[str] with IO[bytes] in urllib.request (#5728)

2ee7b1346b65624807809bea193c86f0582d37c4 authored over 3 years ago
importlib.util.resolve_name package argument accepts None (#5730)

2b497f7227036356fad8bfdbb26733de1643ac7f authored over 3 years ago
Use _typeshed.Self with __enter__ (#5723)

Co-authored-by: Sebastian Rittau <[email protected]>
Co-authored-by: Akuli <akuviljanen17@gmai...

d68701c0ecea1530fa768c406b189e5201c159bc authored over 3 years ago
[UserList]: Return type for slice is set to whatever self is (#5722)

1a131a489efc86e5de9e01fcb2083d93226b4f57 authored over 3 years ago
Add json.py_encode_basestring stubs (#5720)

de19554dccc0386c4a4587845f03670622968d69 authored over 3 years ago
Use _typeshed.Self with __enter__ (#5719)

8a107464a810d9d5ad00c5bb9dec094b07b8529a authored over 3 years ago
Use _typeshed.Self with __enter__ (#5717)

Co-authored-by: Akuli <[email protected]>

96e0660fba564d574d9bc69b6b151400d00c7f0a authored over 3 years ago
dataclasses: work around default factory issues (#5718)

04f0113d16b35a6abd6a4c1084d75fd356c86740 authored over 3 years ago
stdlib logging: specify style type as literal choice (#5716)

documented for style parameter: https://docs.python.org/3/library/logging.html#logging.Formatter

c6b78354e6b9f979bb5b83044060b67e9c55a0ae authored over 3 years ago
Use Literal["little", "big"] for byteorder (#5715)

b06352556d92b73ff48c79adfd1af6eb7233175d authored over 3 years ago
Add httplib2 third-party stubs (#5713)

1cffceb767ea0da01b4d03cce8d97f9bbe3d08b3 authored over 3 years ago
Add caldav third-party stubs (#5684)

Co-authored-by: Jelle Zijlstra <[email protected]>

2b35ea5f9194d7d8c627fd4a783c2cda26bae5dc authored over 3 years ago
Add third-party commonmark stubs (#5702)

40b127d46abd305ad71b678f1ff19847638a7afe authored over 3 years ago
Flag LogRecord.args as optional (#5714)

Resolves #5710

2c97c3cab9cdd534744f5b917b39d4f0528c8cdd authored over 3 years ago
Add html5lib third-party stubs (#5701)

f260ea238308fe9ad1b9bd57ed6b573e6b653c97 authored over 3 years ago
Merge last of PIL stubs from Pylance (#5706)

Co-authored-by: Shantanu <[email protected]>
Co-authored-by: Jelle...

bb981bd726d698a2b605378db7478c3c59eeb773 authored over 3 years ago
Use _typeshed.Self with __enter__ (#5712)

c38171a0b34b80541982563826e1856beb0ee1e1 authored over 3 years ago
Add __defaults__ and __closure__ to types.MethodType (#5707)

35cc7491dbb88c40612fc2b579f8448b784bcad5 authored over 3 years ago
add py3.10 async contextlib.nullcontext (#5711)

bd50dacd769386fcb2657f011f0d7cb602181113 authored over 3 years ago
fix the stub files for the stdlib `mmap` module (#5705)

In Python 3:
- The `mmap` type is `Iterable[int]`, not `Iterable[bytes]`.
- The `read_byte` me...

389b92cb04573072dfcb5c072ec1c59b218e664e authored over 3 years ago
widen _SupportsAclose (#5708)

see https://github.com/python-trio/trio-typing/issues/31#issuecomment-867534826

14add7520bb2f6dd468338c50fe94a5ac9a6ae0c authored over 3 years ago
Support @tests/requirements-stubtest.txt files (#5704)

2b64f54008f6dbaded7970336e26c4f02fa82fd9 authored over 3 years ago
Update some PIL stubs (#5692)

Co-authored-by: Shantanu <[email protected]>
Co-authored-by: Akuli...

6b8f047b0501075639d757453871d26d609f9e1f authored over 3 years ago
Recommend `Self` in CONTRIBUTING.md (#5699)

Part of #5676.

Co-authored-by: Akuli <[email protected]>

14d7431ff1f554ae1d103b996995bfe3ecec67bd authored over 3 years ago
Use _typeshed.Self where __enter__ returns self (#5698)

58559e56b3a8fae405d963a577e2411d830aa303 authored over 3 years ago
Remove unused stubtest allowlist entries (#5697)

Co-authored-by: hauntsaninja <[email protected]>

1fb100dca460b963039b2639ffb0e087be44819b authored over 3 years ago
Use `SupportsIndex` where applicable for 5 classes (#5694)

Use `SupportsIndex` where applicable:

* `str`
* `bytes`
* `bytearray`
* `memoryview`
* `m...

50f5858a5628529b7a453c675e0f4b1eeccc704d authored over 3 years ago
contextlib.nullcontext is a class (#5695)

Co-authored-by: Akuli <[email protected]>

c522e8e53ca1746fd19822e81cf76a1e6b90b618 authored over 3 years ago
Fix cachetools decorators (#5690)

64c85cdd449ccaff90b546676220c9ecfa6e697f authored over 3 years ago
Make SigParameter.replace and Signature.replace return Self (#5689)

5fe245977961b1138edfa50f50221d9e7fe39955 authored over 3 years ago
fix abcmeta.ABCMeta type (#5688)

Add __abstractmethods__, __instancecheck__ and __subclasscheck__

Co-authored-by: Akuli <akuvi...

2cd7e6511bcee7192394f54054a819d44874c85b authored over 3 years ago
Extend pyOpenSSL stubs (#5687)

f58c9c7e7d9d6c55e9621316c68038b50baa2ec4 authored over 3 years ago
Re-add python2 keys to METADATA temporarily (#5686)

bda76bb7d8bcf97e67f50e3650ae5e9fb8d896aa authored over 3 years ago
Update pyright to 1.1.152 (#5685)

96429cd4bd732be33736466e602c3c1c10f9cadf authored over 3 years ago
Make logging.StreamHandler generic over stream (#5681)

Closes #5680

dd441645ad5dc0584fe6b3a5425a8faa9f9abd7e authored over 3 years ago
Add Self type var to _typeshed (#5677)

Cf. #5676

816a92b8e82a2fd035f9fcb528f8a1f8bd5de988 authored over 3 years ago
Make `ZipFile.__enter__` return self (#5675)

73b4c21ccec6a68788a04c6745b38b53cd306a5d authored over 3 years ago
Improve logging.StreamHandler and FileHandler (#5663)

* Use PEP 604, instead of Optional.
* Override FileHandler.stream and setStream to require a Te...

3ec061022af0c313761e0ac65c59718466bf67cb authored over 3 years ago
@python2 nits (#5672)

* tiny tests/mypy_test.py cleanup

* try to make CONTRIBUTING.md less confusing

11b99e11415f8cabce5f83812d9c6ae699198d54 authored over 3 years ago
Move Python 2-only stubs to @python2 directory (#5660)

68dc2d132b8e923672964aabeba4a42345a14849 authored over 3 years ago
pkg_resources is part of setuptools (#5669)

a319ba46049585862511ee049e02008cced4cfc3 authored over 3 years ago
Update a few stub versions (#5670)

b1ef60c9d5f4717ef5f6ddd18c62a79219a02e1b authored over 3 years ago
Add replace parameter for redis restore (#5668)

679ddde66edc34c33b54b0fdbc9595740eb51cd7 authored over 3 years ago
Copy args from json.loads() to requests.Response.json() (#5664)

9ec2f8712480c57353cea097a65d75a2c4ec1846 authored over 3 years ago
Update mypy and black (#5665)

67087721c5f393333929f7c9518f5d8fa33e9d98 authored over 3 years ago
Add replace parameter for redis `restore` (#5662)

Co-authored-by: Nadav Zingerman <[email protected]>

962a6fd3876c890c9adee868a993dfd560195111 authored over 3 years ago
Move routes stubs to @python2 directory (#5637)

* Move routes stubs to @python2 directory

* Ignore Python-2-only stubs for stubtest

* Use ...

bc2ec748f68dcb516a9ed83c6b8a494f31cf3698 authored over 3 years ago
Fix `sysconfig.get_path` return type (#5659)

`get_path` uses key access and raises `KeyError` for missing keys.

5a256a0c703d82ae96a570f359ccd12a21ce41e1 authored over 3 years ago
FixpyOpenSSL stubs to pass stubtest (#5657)

* Fix missing default arguments.
* Fix wrong argument names.
* Add constructor to `_EllipticCu...

4d981f87e39371c39b89562364f514291331ba90 authored over 3 years ago
Pymysql cursor types and fetching return types (#5652)

version update: stubs made based on pymysql 1.0.2

c5b59b9e41acad08f8cd3b29f8fac7721522566e authored over 3 years ago
bleach: Loosen attribute dict type (#5651)

Closes: #5650

64f463172b27d7321461890dd3edf416a103ace7 authored over 3 years ago
pymysql: query arguments can be any value (#5653)

515aa6fa3d6e78d34c4be811ae8522960d9d0d2c authored over 3 years ago
widen contextlib._SupportsClose and _SupportsAclose (#5655)

74091411ea65adf6ae3d0c4ecfb321c929b78114 authored over 3 years ago
Mark enum.Flag.name as Optional[str] (#5611)

* Mark enum.Flag.name as Optional[str]

* Annotate enum.Flag.value

0d9521970d3794b521d798fddfd974de2fd0a534 authored over 3 years ago
Rename openssl-python to pyOpenSSL (#5649)

Remove stubtest allowlist

Set package version

a98fceca2f6e6b9af84f467288a9e52d8c459417 authored over 3 years ago
Improve OpenSSL stubs (#5645)

* Support Python 3.
* Add OpenSSL.SSL.
* Extend OpenSSL.crypto.

Co-authored-by: Vasily Zakh...

ff7579353123d3fd1a3f2a9c9953289906ef4e48 authored over 3 years ago
socket: allow ReadableBuffer on send* methods (#5648)

e58070cd35f36ef720d5eea429775d0d1adbfd17 authored over 3 years ago