All Projects → python → Typeshed

python / Typeshed

Licence: apache-2.0
Typeshed contains external type annotations for the Python standard library and Python builtins, as well as third party packages as contributed by people external to those projects.

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to Typeshed

odoo-stubs
Python Stubs for Odoo
Stars: ✭ 40 (-98.4%)
Mutual labels:  stub, typing
Turingtype
⌨️ Simple human typing effect
Stars: ✭ 137 (-94.52%)
Mutual labels:  typing
Impersonator
Ruby library to record and replay object interactions
Stars: ✭ 100 (-96%)
Mutual labels:  stub
Dataclass factory
Modern way to convert python dataclasses or other objects to and from more common types like dicts or json-like structures
Stars: ✭ 116 (-95.36%)
Mutual labels:  typing
Mockery
Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its core goal is to offer a test double framework with a succinct API capable of clearly defining all possible object operations and interactions using a human readable Domain Specific Language (DSL).
Stars: ✭ 10,048 (+301.76%)
Mutual labels:  stub
Tt
A terminal based typing test.
Stars: ✭ 125 (-95%)
Mutual labels:  typing
Raf Stub
Accurate and predictable testing of requestAnimationFrame and cancelAnimationFrame
Stars: ✭ 97 (-96.12%)
Mutual labels:  stub
Supertextview
🎀 SuperTextView for Android 是一个在TextView的基础上扩展了几种动画效果的控件。
Stars: ✭ 165 (-93.4%)
Mutual labels:  typing
Spy
Clojure/ClojureScript library for stubs, spies and mocks.
Stars: ✭ 131 (-94.76%)
Mutual labels:  stub
Netclient Ios
Versatile HTTP Networking in Swift
Stars: ✭ 117 (-95.32%)
Mutual labels:  stub
Mockit
A tool to quickly mock out end points, setup delays and more...
Stars: ✭ 1,534 (-38.66%)
Mutual labels:  stub
Typical
Typical: Fast, simple, & correct data-validation using Python 3 typing.
Stars: ✭ 111 (-95.56%)
Mutual labels:  typing
Mypy
Optional static typing for Python
Stars: ✭ 11,995 (+379.61%)
Mutual labels:  typing
Mimic
A mocking library for Elixir
Stars: ✭ 104 (-95.84%)
Mutual labels:  stub
Mockingbird
Simplify software testing, by easily mocking any system using HTTP/HTTPS, allowing a team to test and develop against a service that is not complete or is unstable or just to reproduce planned/edge cases.
Stars: ✭ 149 (-94.04%)
Mutual labels:  stub
Redismock
🕋 Mocking Redis in unit tests in Go.
Stars: ✭ 99 (-96.04%)
Mutual labels:  stub
Norman
Norman keyboard layout - alternative to QWERTY for touch typing in English
Stars: ✭ 112 (-95.52%)
Mutual labels:  typing
Typedload
Python library to load dynamically typed data into statically typed data structures
Stars: ✭ 120 (-95.2%)
Mutual labels:  typing
Tinytyper
⌨️ A tiny library for creating a typing effect on specified text element.
Stars: ✭ 173 (-93.08%)
Mutual labels:  typing
Ghosttypewriter
👻 A UILabel subclass that adds a typewriting animation effect
Stars: ✭ 159 (-93.64%)
Mutual labels:  typing

typeshed

Build status Chat at https://gitter.im/python/typing Pull Requests Welcome

About

Typeshed contains external type annotations for the Python standard library and Python builtins, as well as third party packages as contributed by people external to those projects.

This data can e.g. be used for static analysis, type checking or type inference.

For information on how to use typeshed, read below. Information for contributors can be found in CONTRIBUTING.md. Please read it before submitting pull requests; do not report issues with annotations to the project the stubs are for, but instead report them here to typeshed.

Typeshed supports Python versions 2.7 and 3.6 and up.

Using

If you're just using mypy (or pytype or PyCharm), as opposed to developing it, you don't need to interact with the typeshed repo at all: a copy of standard library part of typeshed is bundled with mypy. And type stubs for third party packages and modules you are using can be installed from PyPI. For example, if you are using six and requests, you can install the type stubs using

$ pip install types-six types-requests

These PyPI packages follow PEP 561 and are automatically released (multiple times a day, when needed) by typeshed internal machinery.

Type checkers should be able to use these stub packages when installed. For more details, see the documentation for your type checker.

The _typeshed package

typeshed includes a package _typeshed as part of the standard library. This package and its submodules contains utility types, but is not available at runtime. For more information about how to use this package, see the stdlib/_typeshed directory.

Discussion

If you've run into behavior in the type checker that suggests the type stubs for a given library are incorrect or incomplete, we want to hear from you!

Our main forum for discussion is the project's GitHub issue tracker. This is the right place to start a discussion of any of the above or most any other topic concerning the project.

If you have general questions about typing with Python, or you need a review of your type annotations or stubs outside of typeshed, head over to our discussion forum. For less formal discussion, try the typing chat room on gitter.im. Some typeshed maintainers are almost always present; feel free to find us there and we're happy to chat. Substantive technical discussion will be directed to the issue tracker.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].