{ "info": { "author": "Eric S. Talbot", "author_email": "UNKNOWN", "bugtrack_url": null, "classifiers": [], "description": "=======\nmovespy\n=======\n\n``movespy`` simplifies interaction with \nMOVES_ and traffic microsimulation for project-level analysis. \n\n.. _MOVES: http://www.epa.gov/otaq/models/moves/index.htm\n\n\nDependencies\n------------\n\n``movespy`` depends on:\n\n - `numpy `_\n - `MySQLdb `_\n\n\nInstallation\n------------\n\nDownload the installer_ and run it.\n\n.. _installer: https://pypi.python.org/pypi/movespy\n\n\nAlso edit the ``movespy_settings.py`` file:\n\n - ``moves_dir``: a string that is the path to you MOVES installation directory\n - ``moves_db``: a string that is the name of your MOVES database (assumed to be local)\n\n\n\nUsage\n-----\n\nThe following code \nexecutes a complete MOVES run and calculates the total CO emissions::\n\n >>> links = {1: {'grade': -1.2,\n ... 'length': 0.25,\n ... 'road_type': 5,\n ... 'source_distr': {21: 1.0}, \n ... 'speed': 34,\n ... 'volume': 400}} \n\n >>> activity = {'age_distr': {21: {5: 1.0}},\n ... 'county': 50027, \n ... 'day_type': 5, \n ... 'hour': 16,\n ... 'month': 6,\n ... 'year': 2015,\n ... 'links': links} \n\n >>> options = {'detail': 'average'}\n \n >>> import movespy.moves\n >>> moves = movespy.moves.Moves(activity, options)\n >>> emissions_out = moves.run()\n running MOVES ...\n >>> total_CO = sum([row['quantity'] for row in emissions_out if row['pollutant'] == 2])\n >>> print total_CO\n 102.772\n \n\n \nThis code calculates VSP and operating mode for a vehicle trajectory\ndataset::\n\n >>> veh = [1,1,1,1,2,2,2,3,3,3,3,3]\n >>> speed = [3.,6.,1.,3.,8.,5.,6.,3.,9.,1.,3.,9.]\n >>> grade = [1.,2.,-3.,1.,2.,1.,3.,1.,-2.,3.,-4.,-2.]\n >>> mass, mass_factor, alpha, beta, gamma = 2., 1.5, 0.16, 0.0020, 0.00049 \n\n >>> import movespy.trajectory\n\n >>> vsp, opmode = movespy.trajectory.getVSPOpMode(veh, speed, grade, mass, \n ... mass_factor, alpha, beta, gamma)\n >>> print vsp[:3]\n [ 0.1462389 5.79980985 -1.45965811]\n >>> print opmode[:3]\n [12 13 0]\n\n \n \n \nFor detailed instructions and examples see the `user manual`_.\n\n.. _user manual: http://ericstalbot.github.com/movespy/", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://ericstalbot.github.com/movespy", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "movespy", "package_url": "https://pypi.org/project/movespy/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/movespy/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://ericstalbot.github.com/movespy" }, "release_url": "https://pypi.org/project/movespy/0.1.7/", "requires_dist": null, "requires_python": null, "summary": "Easy Python tools for EPA MOVES project-level analysis", "version": "0.1.7" }, "last_serial": 1742217, "releases": { "0.1.2": [ { "comment_text": "", "digests": { "md5": "0b35c77b3fa753e8a5bd178828da59fb", "sha256": "b5a38d65bd4dbe679ab70481627124b329d52ff9bd61bc02ee25aef54c954dd1" }, "downloads": -1, "filename": "movespy-0.1.2.win-amd64.exe", "has_sig": false, "md5_digest": "0b35c77b3fa753e8a5bd178828da59fb", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 250982, "upload_time": "2013-09-20T17:49:36", "url": "https://files.pythonhosted.org/packages/c0/bd/ee519c2c7f39d08ae05c9e34b2a58003039e67b7c00171a15a295baaef2a/movespy-0.1.2.win-amd64.exe" }, { "comment_text": "", "digests": { "md5": "50869ec9ecf8fad5b2346ab362273aa3", "sha256": "2debcfed031dbc6ec953280968e1e691aa73971dd301175030997a54f0362a62" }, "downloads": -1, "filename": "movespy-0.1.2.zip", "has_sig": false, "md5_digest": "50869ec9ecf8fad5b2346ab362273aa3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24903, "upload_time": "2013-09-20T17:49:32", "url": "https://files.pythonhosted.org/packages/ef/ca/a19a57da923d0271f3e52a0afbc3bf5c2c44836c444c5a44313bb6d4645b/movespy-0.1.2.zip" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "484ff1d9aa1352c4cdf58caeb5af880c", "sha256": "1b71ae2e149f3c45df1ed44f9f218b0b137ed270bc991f989cf5e136cc605f65" }, "downloads": -1, "filename": "movespy-0.1.3.win-amd64.exe", "has_sig": false, "md5_digest": "484ff1d9aa1352c4cdf58caeb5af880c", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 252249, "upload_time": "2013-10-24T16:13:35", "url": "https://files.pythonhosted.org/packages/66/1b/be2908491d8edaad6ff899adc0e2d4c0b1e2865ea2ea5bde046a8ce70bd7/movespy-0.1.3.win-amd64.exe" }, { "comment_text": "", "digests": { "md5": "9c817c8b2364677ceb67d6f0215621fc", "sha256": "21b4e9f7959f0671bc2b41833230325d06a92fee4073dbe59fc9b277e336d05c" }, "downloads": -1, "filename": "movespy-0.1.3.zip", "has_sig": false, "md5_digest": "9c817c8b2364677ceb67d6f0215621fc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25021, "upload_time": "2013-09-26T18:03:06", "url": "https://files.pythonhosted.org/packages/64/50/02367d8295065f92e1c85a35ecc78b4dda521bef85864b8ed45acbfee50d/movespy-0.1.3.zip" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "9072a73ffd37f99f0c7502f69d6bfc3e", "sha256": "ff4358977c934247c7e9c09793ec29cd405b5ac3c624b20f68e7ce6b9f3a85c0" }, "downloads": -1, "filename": "movespy-0.1.4.win-amd64.exe", "has_sig": false, "md5_digest": "9072a73ffd37f99f0c7502f69d6bfc3e", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 252249, "upload_time": "2013-10-24T16:40:39", "url": "https://files.pythonhosted.org/packages/f2/0c/5e63eeb9749f368ea2200251c7228d669f79921f5515b4fe5956f7eae6e1/movespy-0.1.4.win-amd64.exe" }, { "comment_text": "", "digests": { "md5": "7c13e874d90db2054d48f90bbb99eedb", "sha256": "a185b5fc273a19d1f2d027f464b26fc4bba2ebd15b573fe20302a28bd2ab0e30" }, "downloads": -1, "filename": "movespy-0.1.4.zip", "has_sig": false, "md5_digest": "7c13e874d90db2054d48f90bbb99eedb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28137, "upload_time": "2013-10-24T16:40:33", "url": "https://files.pythonhosted.org/packages/fc/32/cd02897588e01bb3c165f9690a354853bed7a1970491691734eca3b64ba3/movespy-0.1.4.zip" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "11ade46d359d4cfb6aac15120e1af5b4", "sha256": "7834cc704f3fd018f2164d4ee64699de8f7887bede4465f4e4c3316865ddcbef" }, "downloads": -1, "filename": "movespy-0.1.5.win-amd64.exe", "has_sig": false, "md5_digest": "11ade46d359d4cfb6aac15120e1af5b4", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 252186, "upload_time": "2014-01-27T19:43:20", "url": "https://files.pythonhosted.org/packages/ec/06/ba6a9799b2bb3fbdb2ea7dbaefec7c69ce2bc188f32d60b50888ba897658/movespy-0.1.5.win-amd64.exe" }, { "comment_text": "", "digests": { "md5": "05f4a67dd4404ae119a9480e4be26549", "sha256": "99d5b1593d128a04165860a954115c1cfc3a142f0342b80775678dd4e8de2945" }, "downloads": -1, "filename": "movespy-0.1.5.zip", "has_sig": false, "md5_digest": "05f4a67dd4404ae119a9480e4be26549", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 27903, "upload_time": "2014-01-27T19:43:15", "url": "https://files.pythonhosted.org/packages/b0/5b/fa6d892dbd874b53b1da4853c55260017fb3753e5e6d4892f12ef4b5304b/movespy-0.1.5.zip" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "7710c19fc52bfa7a146169505cbbdf49", "sha256": "f8d35a52fe2f2f01828988dbc7bad107e77b901cd9aade99f9b44c641790147d" }, "downloads": -1, "filename": "movespy-0.1.6.win32.exe", "has_sig": false, "md5_digest": "7710c19fc52bfa7a146169505cbbdf49", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 227775, "upload_time": "2015-06-18T23:40:44", "url": "https://files.pythonhosted.org/packages/97/36/4089cf14c9f5fd5d2501e281526450bf2aef8b4c738a79db0882b87ee3af/movespy-0.1.6.win32.exe" }, { "comment_text": "", "digests": { "md5": "9dba79c18b66e45b47664f3a7d1f2aae", "sha256": "fe9a66013c6c5e3f837bca940c50c7babad4d904aaddb3000d335719d9074411" }, "downloads": -1, "filename": "movespy-0.1.6.zip", "has_sig": false, "md5_digest": "9dba79c18b66e45b47664f3a7d1f2aae", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 31152, "upload_time": "2015-06-18T23:40:40", "url": "https://files.pythonhosted.org/packages/82/42/4f0b7308ff9d751e7f149ed4b83fe5ba7ea33375511946d070e886db38ec/movespy-0.1.6.zip" } ], "0.1.7": [ { "comment_text": "", "digests": { "md5": "c9965e025e1c8c2e083a9e6af506e39a", "sha256": "c69f87418a34052733881f87a20790748ac512741ba1676fff5f7aadfd74c2dc" }, "downloads": -1, "filename": "movespy-0.1.7.win-amd64.exe", "has_sig": false, "md5_digest": "c9965e025e1c8c2e083a9e6af506e39a", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 255424, "upload_time": "2015-09-28T15:20:22", "url": "https://files.pythonhosted.org/packages/26/a8/e5c2b8f16d3d588f8bd83430c3f695c040083be6886e9e5296fc44350e1f/movespy-0.1.7.win-amd64.exe" }, { "comment_text": "", "digests": { "md5": "1c16fe5d90755efcb49c92cabdabb7ec", "sha256": "9ae0b29e32d2118bef430b0179aaf23aa1395a50b6cf82520eeb5bf5068943ed" }, "downloads": -1, "filename": "movespy-0.1.7.zip", "has_sig": false, "md5_digest": "1c16fe5d90755efcb49c92cabdabb7ec", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30726, "upload_time": "2015-09-28T15:20:11", "url": "https://files.pythonhosted.org/packages/26/a3/b1c02e81cb19ddcdfb3e8d52b86a0f9840a4c737684d13a1dc4e7c192cf5/movespy-0.1.7.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c9965e025e1c8c2e083a9e6af506e39a", "sha256": "c69f87418a34052733881f87a20790748ac512741ba1676fff5f7aadfd74c2dc" }, "downloads": -1, "filename": "movespy-0.1.7.win-amd64.exe", "has_sig": false, "md5_digest": "c9965e025e1c8c2e083a9e6af506e39a", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 255424, "upload_time": "2015-09-28T15:20:22", "url": "https://files.pythonhosted.org/packages/26/a8/e5c2b8f16d3d588f8bd83430c3f695c040083be6886e9e5296fc44350e1f/movespy-0.1.7.win-amd64.exe" }, { "comment_text": "", "digests": { "md5": "1c16fe5d90755efcb49c92cabdabb7ec", "sha256": "9ae0b29e32d2118bef430b0179aaf23aa1395a50b6cf82520eeb5bf5068943ed" }, "downloads": -1, "filename": "movespy-0.1.7.zip", "has_sig": false, "md5_digest": "1c16fe5d90755efcb49c92cabdabb7ec", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30726, "upload_time": "2015-09-28T15:20:11", "url": "https://files.pythonhosted.org/packages/26/a3/b1c02e81cb19ddcdfb3e8d52b86a0f9840a4c737684d13a1dc4e7c192cf5/movespy-0.1.7.zip" } ] }