Skip to main content

rem-calc helps you to calculate rem values based on pixel values.

Project description

rem-calc

GitHub

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

COMING SOON

pip install rem-calc

Usage

Printing Help

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

Options:
  --help  Show this message and exit.

Commands:
  calculate
  interactive

Single Value Calculation

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

Interactive Value Calculation

$ rem-calc interactive --base 16
Enter target pixel:
20
1.25rem
Enter target pixel:
40
2.5rem
Enter target pixel:
^C
Aborted!

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

rem-calc-1.0.tar.gz (2.6 kB view hashes)

Uploaded Source

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