{ "info": { "author": "Eric Hutton", "author_email": "eric.hutton@colorado.edu", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Cython", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Scientific/Engineering :: Physics" ], "description": "============\nlandlab REST\n============\n\nA RESTful interface to landlab graphs.\n\n\n----------\nQuickstart\n----------\n\nUse `conda` to install the necessary requirements and `landlab_rest`,\n\n.. code::\n\n $ conda install --file=requirements.txt -c conda-forge\n $ pip install .\n\nStart the server,\n\n.. code::\n\n $ start-sketchbook\n\nLook at the line containing `Serving on` to see what host and port the\nserver is running on. Alternatively, you can use the `--host` and `--port`\noptions to specify a specific host and port (`--help` for help).\n\nNow you should be able to send requests to the server. For instance,\nto get a `RasterModelGrid`,\n\n.. code::\n\n $ curl https://0.0.0.0:8080/graphs/raster\n\nFor a list of supported graphs\n\n.. code::\n\n $ curl https://0.0.0.0:8080/graphs/\n\nYou can pass parameters like,\n\n.. code::\n\n $ curl 'https://0.0.0.0:8080/graphs/raster?shape=4,5&spacing=2.,1.'\n\n\n------\nDocker\n------\n\nTo build a new docker image that will be a landlab-rest server,\n\n.. code::\n\n docker build . -t landlab-rest\n\n\nAfter building, run the server,\n\n.. code::\n\n docker run -it -p 80:80 landlab-rest\n\nOnce running, you can then send requests to the server. For example,\n\n.. code::\n\n $ curl https://0.0.0.0/graphs/raster", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "landlab-rest", "package_url": "https://pypi.org/project/landlab-rest/", "platform": "", "project_url": "https://pypi.org/project/landlab-rest/", "project_urls": null, "release_url": "https://pypi.org/project/landlab-rest/0.2.0/", "requires_dist": null, "requires_python": "", "summary": "A RESTful interface to landlab graphs.", "version": "0.2.0" }, "last_serial": 5194458, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "136a1857efcc4d068deecc0dca10923c", "sha256": "a6accb654caf501a16ea4869f1b3a1589225326d4ef888a58809bbf2c9a25b7c" }, "downloads": -1, "filename": "landlab_rest-0.1.0.tar.gz", "has_sig": false, "md5_digest": "136a1857efcc4d068deecc0dca10923c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20076, "upload_time": "2019-04-18T18:08:24", "url": "https://files.pythonhosted.org/packages/6b/8b/e8f4f094d22536411297825274f0373d6171d1ba48b47b81599f208d3da3/landlab_rest-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "c302cba2d9ad74beee78d28baa1bd9eb", "sha256": "25d311986f403bb32998b8dd8dc57030215b2338c0d1f93c0ece2f8634dc70f9" }, "downloads": -1, "filename": "landlab_rest-0.1.1.tar.gz", "has_sig": false, "md5_digest": "c302cba2d9ad74beee78d28baa1bd9eb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20221, "upload_time": "2019-04-18T19:53:00", "url": "https://files.pythonhosted.org/packages/91/c7/79e14bd4ac646308a84b5b9a46b982138846728ee7960fcaa6e3c3908042/landlab_rest-0.1.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "0a43723007983b27e0779818a87f5213", "sha256": "c05c4884d62db8b4ec175e5e03b6f6fbb3ba03fa3ef3d7d42e7f4f4c07ba3859" }, "downloads": -1, "filename": "landlab_rest-0.2.0.tar.gz", "has_sig": false, "md5_digest": "0a43723007983b27e0779818a87f5213", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20235, "upload_time": "2019-04-26T18:52:32", "url": "https://files.pythonhosted.org/packages/a2/ac/7c9303e4ca97c050ada610e6c3a371701d40fe0bcdefc1fc352475df52ea/landlab_rest-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0a43723007983b27e0779818a87f5213", "sha256": "c05c4884d62db8b4ec175e5e03b6f6fbb3ba03fa3ef3d7d42e7f4f4c07ba3859" }, "downloads": -1, "filename": "landlab_rest-0.2.0.tar.gz", "has_sig": false, "md5_digest": "0a43723007983b27e0779818a87f5213", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20235, "upload_time": "2019-04-26T18:52:32", "url": "https://files.pythonhosted.org/packages/a2/ac/7c9303e4ca97c050ada610e6c3a371701d40fe0bcdefc1fc352475df52ea/landlab_rest-0.2.0.tar.gz" } ] }