All Projects → python → Typing

python / Typing

Licence: other
Work related to PEP 484: typing.py and typing_extensions.py (both released via PyPI) and issue tracker for type system bugs/features.

Programming Languages

python
139335 projects - #7 most used programming language
types
53 projects

Labels

Projects that are alternatives of or similar to Typing

emojityper
Github said "Error saving your changes: Description contains unicode characters above 0xffff" when I put the FACE LAUGHING WITH TEARS OF JOY emoji in this box
Stars: ✭ 76 (-91.34%)
Mutual labels:  typing
typing-test
Typing test website build with React
Stars: ✭ 33 (-96.24%)
Mutual labels:  typing
Sqlalchemy Stubs
Mypy plugin and stubs for SQLAlchemy
Stars: ✭ 396 (-54.9%)
Mutual labels:  typing
readme-typing-svg
⚡ Dynamically generated, customizable SVG that gives the appearance of typing and deleting text. Typing SVGs can be used as a bio on your Github profile readme or repository.
Stars: ✭ 938 (+6.83%)
Mutual labels:  typing
typey-type
Typey Type for Stenographers is a free typing app designed specifically to help steno students practise and rapidly master stenography.
Stars: ✭ 51 (-94.19%)
Mutual labels:  typing
datatyping
Pythonic type checking
Stars: ✭ 37 (-95.79%)
Mutual labels:  typing
react-typewriter-js
Simple vanilla JS script to simulate text typewriting effect.
Stars: ✭ 18 (-97.95%)
Mutual labels:  typing
React Typical
React typing animation in ~400 bytes 🐡 of JavaScript.
Stars: ✭ 544 (-38.04%)
Mutual labels:  typing
Typon
A multi-featured typing practice tool that runs on a terminal emulator which can turn any text file into a typing game.
Stars: ✭ 53 (-93.96%)
Mutual labels:  typing
Pytype
A static type analyzer for Python code
Stars: ✭ 3,545 (+303.76%)
Mutual labels:  typing
flake8-type-checking
Flake8 plugin for managing type-checking imports & forward references.
Stars: ✭ 38 (-95.67%)
Mutual labels:  typing
typesentry
Python 2.7 & 3.5+ runtime type-checker
Stars: ✭ 19 (-97.84%)
Mutual labels:  typing
Mypy Pycharm Plugin
A simple plugin that allows running mypy from PyCharm and navigate between errors
Stars: ✭ 274 (-68.79%)
Mutual labels:  typing
typetta
Node.js ORM written in TypeScript for type lovers.
Stars: ✭ 44 (-94.99%)
Mutual labels:  typing
Objectmodel
Strong Dynamically Typed Object Modeling for JavaScript
Stars: ✭ 415 (-52.73%)
Mutual labels:  typing
typed-argument-parser
Typed argument parser for Python
Stars: ✭ 259 (-70.5%)
Mutual labels:  typing
Typer.js
Typing effect completely configurable in HTML.
Stars: ✭ 111 (-87.36%)
Mutual labels:  typing
Svelte Types
Typescript definitions for Svelte v3
Stars: ✭ 16 (-98.18%)
Mutual labels:  typing
Enforce
Python 3.5+ runtime type checking for integration testing and data validation
Stars: ✭ 502 (-42.82%)
Mutual labels:  typing
Vue Typed Js
Typed.js integration for vue.js. Create a typing animation.
Stars: ✭ 285 (-67.54%)
Mutual labels:  typing

Chat at https://gitter.im/python/typing

PEP 484: Type Hints

This GitHub repo is used for three separate things:

  • The issue tracker is used to discuss PEP-level type system issues. However, typing-sig is more appropriate these days.

  • A copy of the typing module for older Python versions (2.7 and 3.4) is maintained here. Note that the canonical source lives upstream in the CPython repo.

  • The typing_extensions module lives here.

Workflow

  • The typing.py module and its unittests are edited in the src subdirectory of this repo. The python2 subdirectory contains the Python 2 backport.

Workflow for PyPI releases

  • Run tests under all supported versions. As of May 2019 this includes 2.7, 3.4, 3.5, 3.6, 3.7.

  • On macOS, you can use pyenv <https://github.com/pyenv/pyenv>_ to manage multiple Python installations. Long story short:

    • xcode-select --install
    • brew install pyenv
    • echo 'eval "$(pyenv init -)"' >> ~/.bash_profile
    • Open a new shell
    • pyenv install 3.5.3
    • pyenv install 3.4.6
    • (assuming you already have 2.7.13 and 3.6.1 from Homebrew)
    • pyenv global system 3.5.3 3.4.6
  • You can use tox to automate running tests.

  • Update the version number in setup.py.

  • Build the source and wheel distributions:

    • pip3 install -U setuptools wheel
    • pip2 install -U setuptools wheel
    • rm -rf dist/ build/
    • python3 setup.py sdist bdist_wheel
    • rm -rf build/ (Works around a Wheel bug <https://bitbucket.org/pypa/wheel/issues/147/bdist_wheel-should-start-by-cleaning-up>_)
    • python2 setup.py bdist_wheel
  • Install the built distributions locally and test (if you were using tox, you already tested the source distribution).

  • Make sure twine is up to date, then run twine upload dist/*.

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].