Skip to main content

.

Project description

pythontk is 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.Iter import filterDict
filterDict({1:'1', 'two':2, 3:'three'}, exc='t*', keys=True) #returns: {1: '1', 3: 'three'}

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

pythontk-0.5.5.tar.gz (26.7 kB view hashes)

Uploaded Source

Built Distribution

pythontk-0.5.5-py3-none-any.whl (38.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page