Skip to main content

A small personal package written in Python with reusable code

Project description

apoor

PyPI - Status PyPI Build Status codecov PyPI - License

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


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.0.4.tar.gz (1.9 kB view hashes)

Uploaded Source

Built Distribution

apoor-1.0.4-py3-none-any.whl (14.4 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