semvec/pypi-packages huggingface dataset:
pytemp 0.0.1
python temperature converter

## Description
this is a python module to convert temperatures from one unit to another

## Installation
pip install pytemp


## Usage


from pytemp import pytemp

### convert from 40 degree kelvin to fahrenheit and back
fahrenheit = pytemp(40,'kelvin', 'fahrenheit')   ========> -387.66999999999996

f = pytemp(40,'k', 'f')   ========> -387.66999999999996

kelvin = pytemp(f,'fahrenheit','kelvin')   ========> 40.0

k = pytemp(f,'f','k')   ========> 40.0



### convert from 40 degree celsius to fahrenheit and back
fahrenheit = pytemp(40,'celsius', 'fahrenheit')   ========> 104.0

f = pytemp(40,'c', 'f')   ========> 104.0

celsius = pytemp(f,'fahrenheit','celsius')   ========> 40.0

c = pytemp(f,'f','c')   ========> 40.0




### convert from 40 degree kelvin to celsius and back
celsius = pytemp(40,'kelvin', 'celsius')   ========> -233.14999999999998

c = pytemp(40,'k', 'c')   ========> -233.14999999999998

kelvin = pytemp(c,'celsius','kelvin')   ========> 40.0

k = pytemp(c,'c','k')   ========> 40.0
django-any-response-redirect-middleware 1.0
A subclass of Django's RedirectFallbackMiddleware that will catch any response code, not just 404s.

django-any-response-redirect-middleware
---------------------------------------

A subclass of Django's RedirectFallbackMiddleware that will catch any response code, not just 404s.

Installation::

    pip install django-any-response-redirect-middleware

Setup::

    MIDDLEWARE = [
        ...middleware classes,
        'any_response_redirect_middleware.AnyResponseCodeRedirectMiddleware',
    ]

Run tests::

    ./manage.py test any_response_redirect_middleware.tests