All Projects → bcicen → xiny

bcicen / xiny

Licence: MIT license
Simple command line tool for unit conversions

Programming Languages

go
31211 projects - #10 most used programming language
Makefile
30231 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to xiny

fp-units
An FP-oriented library to easily convert CSS units.
Stars: ✭ 18 (-55%)
Mutual labels:  conversion
roffit
converts nroff man pages to HTML
Stars: ✭ 84 (+110%)
Mutual labels:  conversion
TypeConversion
C# library which provides uniform API for conversion between types.
Stars: ✭ 17 (-57.5%)
Mutual labels:  conversion
units
A run-time C++ library for working with units of measurement and conversions between them and with string representations of units and measurements
Stars: ✭ 114 (+185%)
Mutual labels:  conversion
sms
A Go library for encoding and decoding SMSs
Stars: ✭ 37 (-7.5%)
Mutual labels:  conversion
BlocksConverter
A PocketMine-MP plugin allows you to convert Minecraft PC maps to MCPE/Bedrock maps or vice-versa.
Stars: ✭ 47 (+17.5%)
Mutual labels:  conversion
Decaffeinate
Goodbye CoffeeScript, hello JavaScript!
Stars: ✭ 2,658 (+6545%)
Mutual labels:  conversion
discoursegraphs
linguistic converter / merging tool for multi-level annotated corpora. graph-based (using Python and NetworkX).
Stars: ✭ 47 (+17.5%)
Mutual labels:  conversion
vectorexpress-api
Vector Express is a free service and API for converting, analyzing and processing vector files.
Stars: ✭ 66 (+65%)
Mutual labels:  conversion
biguint-format
Node.js module to format big uint numbers from a byte array or a Buffer
Stars: ✭ 16 (-60%)
Mutual labels:  conversion
caffe weight converter
Caffe-to-Keras weight converter. Can also export weights as Numpy arrays for further processing.
Stars: ✭ 68 (+70%)
Mutual labels:  conversion
shell2batch
Coverts simple basic shell scripts to windows batch scripts.
Stars: ✭ 42 (+5%)
Mutual labels:  conversion
embedded-time
Time(ing) library (Instant/Duration/Clock/Timer/Period/Frequency) for bare-metal embedded systems
Stars: ✭ 72 (+80%)
Mutual labels:  conversion
bank2ynab
Easily convert and import your bank's statements into YNAB. This project consolidates other conversion efforts into one universal tool.
Stars: ✭ 197 (+392.5%)
Mutual labels:  conversion
csv2html
Convert CSV files to HTML tables
Stars: ✭ 64 (+60%)
Mutual labels:  conversion
cpc
Text calculator with support for units and conversion
Stars: ✭ 89 (+122.5%)
Mutual labels:  conversion
placekey-py
placekey.io
Stars: ✭ 49 (+22.5%)
Mutual labels:  conversion
dom-to-image-more
Generates an image from a DOM node using HTML5 canvas
Stars: ✭ 231 (+477.5%)
Mutual labels:  conversion
electron-html-to
Highly scalable html conversion using electron workers 🚀
Stars: ✭ 55 (+37.5%)
Mutual labels:  conversion
OpenConvert
Text conversion tool (from e.g. Word, HTML, txt) to corpus formats TEI or FoLiA)
Stars: ✭ 20 (-50%)
Mutual labels:  conversion

xiny

A simple command line tool for converting between various units of measurement

xiny

Install

Fetch the latest release for your platform:

Linux

sudo wget https://github.com/bcicen/xiny/releases/download/v0.3.3/xiny-0.3.3-linux-amd64 -O /usr/local/bin/xiny
sudo chmod +x /usr/local/bin/xiny

OS X

sudo curl -Lo /usr/local/bin/xiny https://github.com/bcicen/xiny/releases/download/v0.3.3/xiny-0.3.3-darwin-amd64
sudo chmod +x /usr/local/bin/xiny

Docker

docker run --rm -ti \
           --name=xiny \
           quay.io/vektorlab/xiny:latest

Usage

Conversions may be passed in long form:

$ xiny 20 kilograms in pounds
44.092452 pounds

or shortened form with symbols:

$ xiny 20kg in lb
44.092452 pounds

Use the verbose flag(-v) to print the formula used for the conversion:

$ xiny -v 32C in F
celsius -> farenheit: (x * 1.8 + 32)
89.6 farenheit

Interactive mode

If no positional arguments are provided, xiny will be started in interactive mode, providing a prompt for conversions with autocomplete and other useful features

Options

Option Description
-n display only numeric output (exclude units)
-v enable more verbose output (twice for debug output)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].