Skip to content

Instantly share code, notes, and snippets.

Avatar

Wim Lewis wiml

  • Seattle, Washington, USA
View GitHub Profile
@wiml
wiml / example.py
Created Apr 2, 2021
mypy-zope overload example
View example.py
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 Aug 7, 2019
A proposed type stub file for twisted/constantly
View __init__.pyi
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 Mar 6, 2017
Keybase key-possession proof
View keybase.md

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: