semvec/pypi-packages huggingface dataset:
rem-calc 1.1.0
rem-calc helps you to calculate rem values based on pixel values.
License: MIT
Keywords: rem css webdev

# rem-calc

![GitHub](https://img.shields.io/github/license/KurzGedanke/rem-calc)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/rem-calc)
![PyPI](https://img.shields.io/pypi/v/rem-calc)

rem-calc helps you to calculate rem values based on pixel values. It has an *interactive* and *calculate* mode. 
The `interactive` mode is useful if you need to convert a lot of values, the `calcualte` mode should be used for single 
values.

## Install

```bash
pip install rem-calc
```

## Usage

### Printing Help

```bash
$ rem-calc
Usage: rem-calc.py [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  calculate
  interactive
```
### Single Rem Calculation

```bash
$ rem-calc calculate --base 16 --target 20
1.25rem
```

### Single Pixel Calculation

```bash
$ rem-calc inverse --base 16 --rem 2.75
44px
```

### Interactive Value Calculation 

```bash
$ rem-calc interactive --base 16
Enter target pixel:
20
1.25rem
Enter target pixel:
40
2.5rem
Enter target pixel:
^C
Aborted!
```
Flask-KVSession-Ext 0.6.3.dev1
Transparent server-side session support for flask
License: MIT

Flask-KVSession
===============

Flask-KVSession is an `MIT-licensed
<https://github.com/mbr/flask-kvsession/blob/master/LICENSE>`_ server-side
session replacement for `Flask <http://flask.pocoo.org>`_'s signed
client-based session management. Instead of storing data on the client, only a
securely generated ID is stored on the client, while the actual session data
resides on the server.

This has two major advantages:

* Clients no longer see the session information
* It is possible to securely destroy sessions to protect against replay
  attacks.

Other things are possible with server side session that are impossible with
clients side sessions, like inspecting and manipulating data in absence of the
client.

Flask-KVSession uses the `simplekv <http://github.com/mbr/simplekv>`_-package
for storing session data on a variety of backends, including `redis
<http://redis.io>`_, `memcached <http://memcached.org>`_, SQL databases using
`SQLAlchemy <http://sqlalchemy.org>`_, `mongoDB <http://www.mongodb.org/>`_ or
just flat files.

Integration with Flask is seamless, once the extension is loaded for a Flask
application, it transparently replaces Flask's own Session management. Any
application working with sessions should work the same with Flask-KVSession
(if it does not, file a bug!).


Documentation and development
-----------------------------

Development `happens on github <https://github.com/mbr/flask-kvsession/>`_,
you can find the `documentation on PyPI
<http://pythonhosted.org/Flask-KVSession>`_.