.
Project description
A collection of backend utilities for Python.
Installation:
To install:
Add the pythontk
folder to a directory on your python path, or
install via pip in a command line window using:
python -m pip install pythontk
Example use-case:
Import the class Iter
from the package.
As the name suggests, the class Iter
holds the package's iterable related functions.
from pythontk import Iter
Iter.filterList([0, 1, 2, 3, 2], [1, 2, 3], 2) #returns: [1, 3]
You can also import a function directly.
from pythontk.itertk import filterDict
filterDict({1:'1', 'two':2, 3:'three'}, exc='t*', keys=True) #returns: {1: '1', 3: 'three'}
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
pythontk-0.5.3.tar.gz
(26.4 kB
view hashes)
Built Distribution
pythontk-0.5.3-py3-none-any.whl
(37.7 kB
view hashes)