Simple to use functions to emulate native functions like setInterval in JavaScript
Project description
Package name: JSutils
- Author: Jaime Loeuf
- License: MIT
- Package Desciption:
- This package contains classes/functions that implements functions like the setInterval function from JavaScript.
- This package currently does not have any external dependencies, written only with py std. lib
- Currently this package contains the
- 'setInterval' class
To call a function over and over again with a fixed interval:
from JSutils import setInterval
def HelloWorld(message):
print('Hello world')
print(message) # Print out / use the arguement.
setInterval(5, HelloWorld)
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
JSutils-0.2.1.tar.gz
(5.5 kB
view details)
File details
Details for the file JSutils-0.2.1.tar.gz
.
File metadata
- Download URL: JSutils-0.2.1.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f681c2d614574fe3b14f1a76ec31cdcb9d2fae5586170eab64f86ed849b81c39 |
|
MD5 | b1b3b3328730013b2bf5dd3c0af7ec17 |
|
BLAKE2b-256 | 8a5a81d11171c784b35cc0c686a4d9cad6a906f0ce0b4047b8f25c07754a1ef7 |