{ "info": { "author": "Braysen Goodwin", "author_email": "BraysenLilGoodwin@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "Welcome to DimA, Dimensional Analysis for python.\n\nThis package is built to be simple to use and able to convert any unit(s) to any other unit(s) as long as the powers are integers.\n\n####################\n\nInstalling the package instructions:\n\nmac/apple (have python already installed)\n\topen \u2018terminal\u2019 (Applications/utilities/terminal.app)\n\ttype the following code in the command line:\n\t\tPython -m pip install DimA\n\tor (if using python 3)\n\t\tPython3 -m pip install DimA\n\nlinux based system\n\tusing a command line shell type in the following command\n\t\tPython -m pip install DimA\n\tor (if using python 3)\n\t\tPython3 -m pip install DimA\n\nWindows\n\tUsing a windows powershell type in the following command\n\t\tpython_path -m pip install DimA\n\t Note: \u201cpython_path\u201d is the file path to the python you wish to run\n\n\n\n\n####################\n\nBasic usage:\n\n\tThere are three main objects you will use as you proceed to use DimA.\n\n\tDimA: A static class which contains the \u201cconvert\u201d function\n\tConversion: An instance object which will convert between two units\n\tUnitLoader: An static class which contains many prewritten Conversiosn\n\n\tTo convert between two typical units the program would look mainly like this:\n\n\t\timport DimA\n\n\t\t#Load typical units into the DimA class\n\t\tDimA.UnitLoader.load_imperial()\n\t\tDimA.UnitLoader.load_metric()\n\t\t\n\t\t#convert 1 meter to feet\n\t\tvalue = DimA.DimA.convert(1, \u201cmeter\u201d, \u201cfoot\u201d)\n\n\t\t#print value to the screen\n\t\tprint(value, \u201cfeet\u201d)\n\n\tThe output of this code would look like this:\n\n\t\t3.2808398950131226 feet\n\n\tDimA can also convert between multiple units and supports powers, however no multiunit conversions are currently programmed into the UnitLoader class, so you will have to write your own. \n\tDon\u2019t worry, it is really simple.\n\n\t\timport DimA\n\n\t\t#load typical units\n\t\tDimA.UnitLoader.load_imperial()\n\n\t\t#Define custom conversion, conversion is automatically added to the DimA.conversions list\n\t\tDimA.Conversion(\u201cfoot pound\u201d, \u201cnewton\u201d, lambda numeric, power: numeric)\n\n\t\t#convert 1 \u201counce yard\u201d to \u201cnewton\u201d\n\t\tDimA.DimA.convert(1, \u201counce yard\u201d, \u201cnewton\u201d)\n\t\t#returns 0.1875", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "Open Source", "maintainer": "", "maintainer_email": "", "name": "DimA", "package_url": "https://pypi.org/project/DimA/", "platform": "", "project_url": "https://pypi.org/project/DimA/", "project_urls": null, "release_url": "https://pypi.org/project/DimA/0.1/", "requires_dist": null, "requires_python": "", "summary": "Dimensional Analysis for Python", "version": "0.1" }, "last_serial": 3522574, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "591b941ac2305f81909060d1e7ea6cd2", "sha256": "e412a6adfdb1c86eaa4a25948c9b54d89d5d665a3edf695fb230e41403a1e000" }, "downloads": -1, "filename": "DimA-0.1.tar.gz", "has_sig": false, "md5_digest": "591b941ac2305f81909060d1e7ea6cd2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7898, "upload_time": "2018-01-26T03:49:16", "url": "https://files.pythonhosted.org/packages/d0/a4/4be98c83fdf7b77ba90ac3451cc6874bf17dbb3d55c782c31467d399aa87/DimA-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "591b941ac2305f81909060d1e7ea6cd2", "sha256": "e412a6adfdb1c86eaa4a25948c9b54d89d5d665a3edf695fb230e41403a1e000" }, "downloads": -1, "filename": "DimA-0.1.tar.gz", "has_sig": false, "md5_digest": "591b941ac2305f81909060d1e7ea6cd2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7898, "upload_time": "2018-01-26T03:49:16", "url": "https://files.pythonhosted.org/packages/d0/a4/4be98c83fdf7b77ba90ac3451cc6874bf17dbb3d55c782c31467d399aa87/DimA-0.1.tar.gz" } ] }