Diverse python utils by nfiniity GmbH
Project description
nfiniity-utils
Diverse python utils by http://www.nfiniity.com
Installation
There are two ways to install nfiniity-utils:
Install nfiniity-utils from PyPI (recommended):
sudo pip install nfiniity-utils
If you are using a virtualenv, you may want to avoid using sudo:
pip install nfiniity-utils
Alternatively: install nfiniity-utils from the GitHub source:
First, clone nfiniity-utils using git
:
git clone https://github.com/apgeorg/nfiniity_utils.git
Then, cd to the nfiniity_utils folder and run the install command:
cd nfiniity_utils
sudo python setup.py install
Getting started
Timer
import nfiniity_utils as n8
# Timer callback function
def timer_timeout():
print("Hello!")
# Create a Timer which runs periodically
t = n8.Timer(1, timer_timeout, oneshot=False)
# Start running
t.start()
You can now stop the timer:
t.stop()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nfiniity_utils-0.0.5.tar.gz
(2.1 kB
view details)
Built Distribution
File details
Details for the file nfiniity_utils-0.0.5.tar.gz
.
File metadata
- Download URL: nfiniity_utils-0.0.5.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
c42fadce3862dac21298181c845c61b84fb030cd2db443861ec5207afd5ae1f2
|
|
MD5 |
1e8b6235c62229a306237cebd841ee25
|
|
BLAKE2b-256 |
bd8dc9e49aec91b4bb3296d7519f3e4e198eec2ea7e32e353469a780d3df5e7b
|
File details
Details for the file nfiniity_utils-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: nfiniity_utils-0.0.5-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
8c73e7c3e4162e7af1de879ee2aac0dd17fffdec377817a924f430e330d9bce1
|
|
MD5 |
fc5b040c26773e5de79a07b35862e0bd
|
|
BLAKE2b-256 |
352bec1bcdc2813d80a927039be3d4922c32991c9d21a5c0ea51ad1dbb5efe44
|