https://github.com/insolor/tkinter-stubs
A repository with stubs for Tkinter. Based on github.com/python/typeshed
https://github.com/insolor/tkinter-stubs
Last synced: about 2 months ago
JSON representation
A repository with stubs for Tkinter. Based on github.com/python/typeshed
- Host: GitHub
- URL: https://github.com/insolor/tkinter-stubs
- Owner: insolor
- License: other
- Created: 2021-12-01T06:25:34.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-01T13:28:57.000Z (over 3 years ago)
- Last Synced: 2025-01-28T22:17:46.972Z (4 months ago)
- Language: Python
- Homepage:
- Size: 37.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tkinter Stubs
This is a package with type annotation stubs for the Tkinter module(s) built from . Made for a convenient development of a code which uses Tkinter.
For now (until I deploy it on pypi.org), the package can be installed from releases with the following command:
```
pip install https://github.com/insolor/tkinter-stubs/releases/download/0.1.0/tkinter_stubs-0.1.0-py3-none-any.whl
```
Also you can add it to `requirements.txt` like this (some old versions of pip don't support such syntax, so I recommend updating pip):
```
tkinter-stubs @ https://github.com/insolor/tkinter-stubs/releases/download/0.1.0/tkinter_stubs-0.1.0-py3-none-any.whl
```
then run `pip install -r requirements.txt`Or add it to `pyproject.toml`:
```toml
[tool.poetry.dev-dependencies]
tkinter-stubs = { url = "https://github.com/insolor/tkinter-stubs/releases/download/0.1.0/tkinter_stubs-0.1.0-py3-none-any.whl" }
```
and then run `poetry update`