{ "info": { "author": "Michel Wortmann", "author_email": "wortmann@pik-potsdam.de", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Programming Language :: Python :: 2.7" ], "description": "modelmanager\n===============================\n\nVersion number: 0.4\nAuthor: Michel Wortmann, Potsdam Institute of Climate Impact Research, Germany\n\nOverview\n--------\n\nA python package to create flexible APIs for (scientific) models.\n\n\nDependencies\n------------\nModelmanager itself has no dependencies, but some of its plugins do. They will\ndirect you two install them through `pip`.\nPython development dependencies are listed in `requirements_dev.txt`. Before\ninstalling the any package (see below) consider setting up a virtual python\nenvironment (`virtualenv mydevenv`).\n\nInstallation\n--------------------\n\nTo install use pip:\n\n $ pip install modelmanager\n\n\nOr clone the repo:\n\n $ git clone https://github.com/mwort/modelmanager.git\n $ python setup.py install\n\n\nConcept\n-------\nThe model\nThe modelmanager links with your model like illustrated in this file structure:\n```\nmodeldir/ # your main model directory\n mm/ # the modelmanager resource directory\n settings.py # define or import here all variables, functions and plugins\n\t browser/ # this is a plugin directory, e.g. for the browser app\n\n modelexec # all your model resources\n input/\n output/\n```\nWith this setup you can either use your model interface through the commandline\nor through the python API (see Usage below).\n\n\nUsage\n-----\n\nInitialise project where in your model root directory:\n```\ncd home/mymodel\nmodelmanager init\n```\nAdd some variables, functions or plugins for your model in mm/settings.py and\ncall them on the commandline like this:\n```\nmodelmanager example_function --example_argument=2\n```\nOr use your new model api in a Python script like this:\n```\nimport modelmanager as mm\n\nproject = mm.Project()\nresult = project.example_function()\n```\n\nUse the browser app by adding this line to your settings:\n```\nfrom modelmanager.plugins.browser import *\n```\nThen start the application on the commandline:\n```\nmodelmanager startbrowser\n```\nNavigate to localhost/admin in your browser.\n\n\nContributing\n------------\nIdeas and feature requests are collected in IDEAS.md.\n\n## Testing\nRun test in tests/ like this:\n```\nmake # runs all tests\npython test_project.py # just runs test_projects with call stats\npython -m unittest test_project.Settings # just run Settings tests\nmake clean # clean any leftover test output\n```\n`make` should pass before submitting a pull/merge request.", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/mwort/modelmanager/tarball/0.5.2", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mwort/modelmanager", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "model-manager", "package_url": "https://pypi.org/project/model-manager/", "platform": "", "project_url": "https://pypi.org/project/model-manager/", "project_urls": { "Download": "https://github.com/mwort/modelmanager/tarball/0.5.2", "Homepage": "https://github.com/mwort/modelmanager" }, "release_url": "https://pypi.org/project/model-manager/0.5.2/", "requires_dist": null, "requires_python": "", "summary": "A python package to manage your (scientific) model runs, input and output.", "version": "0.5.2" }, "last_serial": 4945094, "releases": { "0.3": [ { "comment_text": "", "digests": { "md5": "248cc9bc41c33179aec33510900abd56", "sha256": "8af256d01a95d10b76db1241dca92419a25e2964ed284d7f3b25fc16f1f5ca8f" }, "downloads": -1, "filename": "model-manager-0.3.tar.gz", "has_sig": false, "md5_digest": "248cc9bc41c33179aec33510900abd56", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 31287, "upload_time": "2018-08-01T13:01:00", "url": "https://files.pythonhosted.org/packages/8d/ae/6ea35c21745bca18e9d9887f53eed0e379f3ecd060dbe105d8f3a10d0ffa/model-manager-0.3.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "2845ac78826d9fc30037f2ab57a54321", "sha256": "aa3cf1660dc3c2721b891264fc066837caace9b22851c467b543177eb059d887" }, "downloads": -1, "filename": "model-manager-0.4.1.tar.gz", "has_sig": false, "md5_digest": "2845ac78826d9fc30037f2ab57a54321", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 33776, "upload_time": "2018-11-10T23:44:26", "url": "https://files.pythonhosted.org/packages/8c/41/83daf711e739caf55ed7fe1c7267566e173c8d53e0d48f6e71401b47d3ca/model-manager-0.4.1.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "7ae30c457a70471de8f21d2d03576c2a", "sha256": "40adc3313ffa08d4248a8a0be2f474783d3c64ebf0b0b98b1bef43a2b77b0de1" }, "downloads": -1, "filename": "model-manager-0.5.tar.gz", "has_sig": false, "md5_digest": "7ae30c457a70471de8f21d2d03576c2a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 33851, "upload_time": "2018-12-14T15:10:43", "url": "https://files.pythonhosted.org/packages/4f/b3/6699fa1a163382242bd0a290a8f16700d861737a9e1cde4600b1441c554a/model-manager-0.5.tar.gz" } ], "0.5.2": [ { "comment_text": "", "digests": { "md5": "2d5999b2f9c23f0db03a6ace6d9f0cdb", "sha256": "b9d768aeb8e8e4ed5dbfd255509fc08349791c7de926cb429d39f9df96c8c311" }, "downloads": -1, "filename": "model-manager-0.5.2.tar.gz", "has_sig": false, "md5_digest": "2d5999b2f9c23f0db03a6ace6d9f0cdb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36970, "upload_time": "2019-03-15T17:07:39", "url": "https://files.pythonhosted.org/packages/93/8f/1b6297498e78c42e3b645f945854418ca7d1201f29ec6aadad8c29f56ba9/model-manager-0.5.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2d5999b2f9c23f0db03a6ace6d9f0cdb", "sha256": "b9d768aeb8e8e4ed5dbfd255509fc08349791c7de926cb429d39f9df96c8c311" }, "downloads": -1, "filename": "model-manager-0.5.2.tar.gz", "has_sig": false, "md5_digest": "2d5999b2f9c23f0db03a6ace6d9f0cdb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36970, "upload_time": "2019-03-15T17:07:39", "url": "https://files.pythonhosted.org/packages/93/8f/1b6297498e78c42e3b645f945854418ca7d1201f29ec6aadad8c29f56ba9/model-manager-0.5.2.tar.gz" } ] }