A package that provides type signatures to all documented methods
Project description
trikset.py-typehint
Type hint set for TRIK
Installing
Windows:
py -m pip install trik-py-typehint
Unix/Mac OS:
python3 -m pip install trik-py-typehint
Usage
import sys
import time
import random
import math
from typing import TYPE_CHECKING
if TYPE_CHECKING:
from trik import *
class Program():
__interpretation_started_timestamp__ = time.time() * 1000
pi = 3.141592653589793
def execMain(self):
brick.display().addLabel("Hi from typed TRIK Python!", 1, 1, 20)
brick.display().redraw()
brick.stop()
return
def main():
program = Program()
program.execMain()
if __name__ == '__main__':
main()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file trikset-py-typehint-0.0.2.tar.gz.
File metadata
- Download URL: trikset-py-typehint-0.0.2.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.10.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be537dc23c5ec4dcc070e2ae25b45f4071333c430b7c8c81a851f94d073eea9a
|
|
| MD5 |
5a566de4f2d2d6abc6994abb8367aa15
|
|
| BLAKE2b-256 |
cb66a174396322d51d962afb4af93c6434052748f21ab5f52235f86c0f319273
|
File details
Details for the file trikset_py_typehint-0.0.2-py3-none-any.whl.
File metadata
- Download URL: trikset_py_typehint-0.0.2-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.10.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e7caedaccdb2d3a26362015e4f43318231d121f08b6a0e65543e806b69cbd0a
|
|
| MD5 |
5784db38d49901cc114fdb59330dadf4
|
|
| BLAKE2b-256 |
99b44f95aabea439a2a56da46719336e9f73882104b08770caff1e729662d4f4
|