Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Diverse python utilities by nfiniity GmbH

Project description

nfiniity-utils PyPI version

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()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for nfiniity-utils, version 0.0.6
Filename, size File type Python version Upload date Hashes
Filename, size nfiniity_utils-0.0.6-py3-none-any.whl (4.3 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size nfiniity_utils-0.0.6.tar.gz (2.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page