nfiniity-utils 
Diverse python utilities 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()
Metadata
Release files for nfiniity-utils 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nfiniity_utils-0.0.6.tar.gz | 2.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nfiniity_utils-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.8 kB
Release files / nfiniity_utils-0.0.6.tar.gz
| Download URL | nfiniity_utils-0.0.6.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
95e6bd6e16506b60273bd7694763866d36cd74a9eb5178d32534eaaae4de8c6a
|
|
BLAKE2b-256 checksum How to use checksums |
7eae5933506d946858f7e5031b2040b4898c3da284028a7d7540b990fc6611a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / nfiniity_utils-0.0.6-py3-none-any.whl
| Download URL | nfiniity_utils-0.0.6-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
accfc73860179b27b0839c1eca4c565b850ffc58f306a87a747130f32f60a402
|
|
BLAKE2b-256 checksum How to use checksums |
7f855f7f4c41dc342e7a9d01730a4715c2d1e19cef9db829a45a20341e213f37
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|