Skip to content

Instantly share code, notes, and snippets.

View wiml's full-sized avatar

Wim Lewis wiml

  • Seattle, Washington, USA
View GitHub Profile
@wiml
wiml / example.py
Created April 2, 2021 18:34
mypy-zope overload example
from typing import Optional, Union, List, overload
from zope.interface import Interface, implementer
class ISomething(Interface):
@overload
def getStuff(index: int) -> int:
...
@overload
@wiml
wiml / __init__.pyi
Created August 7, 2019 22:48
A proposed type stub file for twisted/constantly
import typing, typing_extensions
from typing import Any, Container, Iterable, Iterator
__version__ : str
__author__ : str
__license__ : str
__copyright__ : str
Tv = typing.TypeVar('Tv')
@wiml
wiml / keybase.md
Created March 6, 2017 08:46
Keybase key-possession proof

Keybase proof

I hereby claim:

  • I am wiml on github.
  • I am wiml (https://keybase.io/wiml) on keybase.
  • I have a public key whose fingerprint is 48CF 11A5 5EAE 90E4 891C 1D22 F41A 2091 6C79 1A10

To claim this, I am signing this object: