{ "info": { "author": "Sky Maya", "author_email": "skymaya@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Information Technology", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: Unix", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Utilities" ], "description": "# Unitconvert: Unit conversion tool - Version 1.0.4\n\n## Synopsis\n\nA command line tool and import library for performing unit conversions.\n\n## Testing\n\nThere is a \"tests\" directory containing some unit tests for some of the classes and functions in this application.\n\nAdditionally, the application has been tested on the following systems and python versions:\n\n* Ubuntu 16.04 (python 3.5.2, python 2.7.12)\n\n## Known Issues\n\n* Fully untested on Windows, Mac, and BSD at this time\n\n## Installation\n\nInstall with pip:\n\n`pip install unitconvert`\n\n## Usage\n\nAfter installation is completed, you may run the unitconvert tool in a terminal using the following command:\n\n`unitconvert -a AMOUNT -f UNIT_FROM -t UNIT_TO`\n\nTo print version information:\n\n`unitconvert -v`\n\nTo print help:\n\n`unitconvert -h`\n\nThe unit libraries may also be imported and used in Python scripts to perform conversions. Example:\n\n```\n# Filename: testconvert.py\nfrom unitconvert import digitalunits\nprint(digitalunits.DigitalUnit(500, 'GB', 'MB').doconvert())\n```\n\nOutput:\n\n```\n$ python testconvert.py\n500000.0\n```\n\nCommand line arguments:\n* -a AMOUNT: Amount to convert\n* -f UNIT_FROM: Unit to convert from\n* -t UNIT_TO: Unit to convert to\n* -v VERSION: Optional, print version info\n* -h with no other arguments: print help info\n\nAvailable unit types with associated class (in brackets) and arguments (in parentheses):\n\n* Digital [DigitalUnit]:\n - Decimal: Byte (B), Kilobyte (kB), Megabyte (MB), Gigabyte (GB), Terabyte (TB), Petabyte (PB), Exabyte (EB), Zettabyte (ZB), Yottabyte (YB)\n - Binary: Kibibyte (KiB), Mebibyte (MiB), Gibibyte (GiB), Tebibyte (TiB), Pebibyte (PiB), Exbibyte (EiB), Zebibyte (ZiB), Yobibyte (YiB)\n* Length [LengthUnit]: Millimeter (mm), Centimeter (cm), Inch (in), Foot (ft), Yard (yd), Meter (m), Kilometer (km), Mile (mi)\n* Time [TimeUnit]: Millisecond (ms), second (sec), Minute (min), Hour (hr), Day (day), Week (wk), Month (mo), Year (yr)\n* Volume [VolumeUnit]:\n - Metric: Milliliter (ml), Liter (l)\n - US customary: Teaspoon (tsp), Tablespoon (tbsp), fluid Ounces (floz), Cup (cup), Pint (pt), Quart (qt), Gallon (gal)\n - US legal: Cup (lcup)\n - Cubic: Cubic Inch (in3), Cubic Foot (ft3)\n* Mass [MassUnit]: Milligram (mg), Gram (g), Ounce (oz), Pound (lb), Kilogram (kg)\n* Temperature [TemperatureUnit]: Fahrenheit (F), Celsius (C), Kelvin (K)\n\n## Updating\n\nIf you want to update the application currently installed, just run the following to upgrade with pip:\n\n`pip install unitconvert --upgrade`\n\n## Uninstalling\n\nIf you want to uninstall the application, run the following to uninstall with pip:\n\n`pip uninstall unitconvert`\n\n## To Do\n\n* Add support for more units\n\n## Contributors\n\nGet in touch with me if you'd like to contribute.\n\n## License\n\nThe code contained within this repository is released under the MIT license.\n\n## Changelog\n\n### Version 1.0.4\n* 12/09/2017: Converted individual class methods to single dict for simplicity. Added new module to hold parent classes. Updated setup.py and runconvert.py with new version.\n\n### Version 1.0.3\n* 10/21/2017: Updated README with import instructions. Updated setup.py and runconvert.py with updated description.\n\n### Version 1.0.2\n* 10/21/2017: Updated README\n\n### Version 1.0.1\n* 06/17/2017: Added fluid ounces\n\n### Version 1.0.0\n* 06/10/2017: Initial release\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/skymaya/unitconvert", "keywords": "unitconvert conversions units", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "unitconvert", "package_url": "https://pypi.org/project/unitconvert/", "platform": "", "project_url": "https://pypi.org/project/unitconvert/", "project_urls": { "Homepage": "https://github.com/skymaya/unitconvert" }, "release_url": "https://pypi.org/project/unitconvert/1.0.4/", "requires_dist": null, "requires_python": "", "summary": "A command line tool and import library for performing unit conversions.", "version": "1.0.4" }, "last_serial": 3404647, "releases": { "1.0.1": [ { "comment_text": "", "digests": { "md5": "b0d7015d46632ab2daa09e68ee4218fe", "sha256": "f9f90c91012520c9c037dac7cbea9479cc10f456583fbe4a5cdd7911054e14b8" }, "downloads": -1, "filename": "unitconvert-1.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b0d7015d46632ab2daa09e68ee4218fe", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13061, "upload_time": "2017-10-21T06:30:29", "url": "https://files.pythonhosted.org/packages/70/2b/8368ef8dd31dacfbf6055e6f487d19fd642e743a9bcb10b04c1562abcb18/unitconvert-1.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "40a4ecdfea227462be50415b7c67c0ef", "sha256": "bccf96341f539b6ce928b27a5cbc3455056ba3674e51aa11c975afdcabcacd3d" }, "downloads": -1, "filename": "unitconvert-1.0.1.tar.gz", "has_sig": false, "md5_digest": "40a4ecdfea227462be50415b7c67c0ef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7789, "upload_time": "2017-10-21T06:30:33", "url": "https://files.pythonhosted.org/packages/33/9e/73f30d1e2924ebe1f9d6304a5407d27fcf39bd27f1c25edaf45b07d3284b/unitconvert-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "155fcd5ed5c765ebbeb90080890d78b2", "sha256": "9639243ab0ebd176a356cfd03e924a1daf8169230ed993dc923e92f2579e471e" }, "downloads": -1, "filename": "unitconvert-1.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "155fcd5ed5c765ebbeb90080890d78b2", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 12859, "upload_time": "2017-10-21T06:44:20", "url": "https://files.pythonhosted.org/packages/6b/45/647854a650d38a5929d25e2fbe10eea399cfb3d54f2f9db6abcdd8b6bf6b/unitconvert-1.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "171a9dde43491f39a2cddb2a4b723d9a", "sha256": "08843c5270c8d2aca5aaec1bb76d73086d27a98b75288d55a42c711c5c4369b1" }, "downloads": -1, "filename": "unitconvert-1.0.2.tar.gz", "has_sig": false, "md5_digest": "171a9dde43491f39a2cddb2a4b723d9a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7475, "upload_time": "2017-10-21T06:44:21", "url": "https://files.pythonhosted.org/packages/c7/91/d0c799baf3e5bad5fcfb6c171439fe76e6f2aca61a5c97d853cf897c4055/unitconvert-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "50d99b2127a49c6a5b74cd74c50939ca", "sha256": "1ac1e7ffad40594bc30b5e8635ac05c643a1e8acf2c0198b8cfba91536c23c57" }, "downloads": -1, "filename": "unitconvert-1.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "50d99b2127a49c6a5b74cd74c50939ca", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13324, "upload_time": "2017-10-21T18:18:45", "url": "https://files.pythonhosted.org/packages/78/41/f7a5b4fcad3949a9e3a788c2d1f93202e74bbffb3badd67d0538808f80bc/unitconvert-1.0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e9b40abf3aa9c46874e3ecd562e79af9", "sha256": "734f525f3e29a1d038cf09ce8efed96b8700969881a74a447d7717b8dd710046" }, "downloads": -1, "filename": "unitconvert-1.0.3.tar.gz", "has_sig": false, "md5_digest": "e9b40abf3aa9c46874e3ecd562e79af9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8000, "upload_time": "2017-10-21T18:18:46", "url": "https://files.pythonhosted.org/packages/37/66/957fe651044b33dc4db015c58f562653122d56a0187aa9cf623ae8a0bf0a/unitconvert-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "4f5b0a67f2ba7ed8e05a56a62dd7fa80", "sha256": "2f7c99d719f48edee2e2f5ecae35d15b702c0568082439423be20bd3b6084be6" }, "downloads": -1, "filename": "unitconvert-1.0.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4f5b0a67f2ba7ed8e05a56a62dd7fa80", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 12386, "upload_time": "2017-12-10T04:23:18", "url": "https://files.pythonhosted.org/packages/ff/43/babde8e73779c182b94cd077aeee9ec5d8ffad6f387f02dd2100b746fab2/unitconvert-1.0.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "82f477cc8db46a75b6021eaf27b776f2", "sha256": "08fe6c733e0c17f465a31e3c7c7cd5dc820d6f2c7579ae50dd0e15bf5977377a" }, "downloads": -1, "filename": "unitconvert-1.0.4.tar.gz", "has_sig": false, "md5_digest": "82f477cc8db46a75b6021eaf27b776f2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7766, "upload_time": "2017-12-10T04:23:21", "url": "https://files.pythonhosted.org/packages/95/a1/3aceb470154fffd183c2874575fba2f8cb4fdf45598b60cbe7ca43b2be69/unitconvert-1.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4f5b0a67f2ba7ed8e05a56a62dd7fa80", "sha256": "2f7c99d719f48edee2e2f5ecae35d15b702c0568082439423be20bd3b6084be6" }, "downloads": -1, "filename": "unitconvert-1.0.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4f5b0a67f2ba7ed8e05a56a62dd7fa80", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 12386, "upload_time": "2017-12-10T04:23:18", "url": "https://files.pythonhosted.org/packages/ff/43/babde8e73779c182b94cd077aeee9ec5d8ffad6f387f02dd2100b746fab2/unitconvert-1.0.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "82f477cc8db46a75b6021eaf27b776f2", "sha256": "08fe6c733e0c17f465a31e3c7c7cd5dc820d6f2c7579ae50dd0e15bf5977377a" }, "downloads": -1, "filename": "unitconvert-1.0.4.tar.gz", "has_sig": false, "md5_digest": "82f477cc8db46a75b6021eaf27b776f2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7766, "upload_time": "2017-12-10T04:23:21", "url": "https://files.pythonhosted.org/packages/95/a1/3aceb470154fffd183c2874575fba2f8cb4fdf45598b60cbe7ca43b2be69/unitconvert-1.0.4.tar.gz" } ] }