numconv 0.1 released
numconv is a simple Python script that converts a number between different numbering systems e.g. from int to hex or binary.
The primary driving force behind numconv is that it allows conversion between multiple numbering systems at once and the user does not have to rely on web sites that only do one way conversion e.g. just from from int to hex.
numconv is thought of as a command line utility that users execute directly from their terminal. The logic is that software developers and IT administrators can use their active terminal session to quickly get the conversion output, removing the need to open an external tool like a browser.
Following are few conversion examples
convert from int to hex:
numconv.py -n 87 -s int -d hex
0x57
convert from hex to binary:
numconv.py --n 0xbc -s hex -d binary
10111100
convert from int to roman
numconv.py -n 24 -s int -d roman
XXIV
If no destination system is specified then all conversions are printed out
convert from int:
numconv.py -n 119 -s int
binary: 1110111
hex: 0x77
int: 119
ipv4: 0.0.0.119
ipv6: ::77
roman: CXIX
convert from hex:
numconv.py -n 0x3f -s hex
binary: 111111
hex: 0x3f
int: 63
ipv4: 0.0.0.63
ipv6: ::3f
roman: LXIII
numconv requires Python 3.3 and runs on both Windows and Linux (which includes Mac OSX)
The source code is published under my username on github