A small personal package written in Python with reusable code
Project description
apoor
created by Austin Poor
A small personal package written in Python with reusable code.
I created this package to store some of the functions I find myself frequently rewriting.
Installation Instructions
$ pip install apoor
Functions
The function make_scale
returns a function to map a number from a domain to a range.
>>> import apoor
>>> scale = apoor.make_scale(0,1,0,10)
>>> scale(0.1)
1.0
>>> scale(0.9)
9.0
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
apoor-1.1.1.tar.gz
(17.2 kB
view hashes)