{ "info": { "author": "", "author_email": "", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 3.7" ], "description": "# mockry\n\nA simple but rich mock HTTP server you have searched for. \n\n* **Easy to start.** Get the docker package and start hacking in a minutes.\n* **Easy to use.** Create a simple JSON with your mock data and pass it as param to mockry.\n* **Rich.** Parse input CSV, convert it to JSON, send it at some URL and return the combined result? It's just a small things mockry can do for you. No programming required.\n\n# Installation\n\n### Docker\n\n mockery should be used as a standalone application inside a Docker container. \n \n Pull the official image from Docker Hub:\n \n ```bash\n $ docker pull glibin/mockry:latest\n $ docker run -p 7777:7777 -it glibin/mockry\n ```\n\nTo use your custom schema create and edit `application.json` file and link containing directory to your container:\n\n```bash\n$ docker run -p 7777:7777 -v /path/to/application/json/dir:/data -it glibin/mockry\n```\n\nOr you can build your own image:\n\n```bash\n$ docker build -t mockry .\n$ docker run -p 7777:7777 -it mockry\n```\n\n### From the source\n\nPython 3.7+ is required to run mockry. You can install it from [python.org](https://www.python.org/) or with your OS package manager.\n\n```bash\n$ python3.7 -m venv .venv\n$ source .venv/bin/activate\n$ pip install -r requirements.txt\n$ python -m mockry\n```\n\nPossible options:\n\nOption | Description | Default\n------ | ----------- | -------\n`--host=` | Host to bind the server | `127.0.0.1`\n`--port=` | Port to bind the server | `7777`\n`--json=` | Path to application json file | `application.json`\n`--debug=` | Debug mode (if `true` the changes in application json file would be automatically applied) | `true`\n`--help` | Show all available options |", "description_content_type": "text/markdown", "docs_url": null, "download_url": "https://github.com/glibin/mockry/tarball/0.0.3", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/glibin/mockry", "keywords": "", "license": "LICENSE", "maintainer": "", "maintainer_email": "", "name": "mockry", "package_url": "https://pypi.org/project/mockry/", "platform": "", "project_url": "https://pypi.org/project/mockry/", "project_urls": { "Download": "https://github.com/glibin/mockry/tarball/0.0.3", "Homepage": "https://github.com/glibin/mockry" }, "release_url": "https://pypi.org/project/mockry/0.0.3/", "requires_dist": null, "requires_python": ">= 3.7", "summary": "mockry - A rich mock server you have searched for", "version": "0.0.3" }, "last_serial": 5372195, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "b749b81df1fcaf57502483d1c682941b", "sha256": "b801b3ed4d5c2437ec39a524035b30c9a3247135cb2da20d6612eb94177a90e6" }, "downloads": -1, "filename": "mockry-0.0.1.tar.gz", "has_sig": false, "md5_digest": "b749b81df1fcaf57502483d1c682941b", "packagetype": "sdist", "python_version": "source", "requires_python": ">= 3.7", "size": 5331, "upload_time": "2019-06-07T12:04:56", "url": "https://files.pythonhosted.org/packages/52/b0/f46be8f00f9d157df2baf35b29119d63a08c470c0c53fae9b3729e7c71fe/mockry-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "4231b1fa3ccb0cd41256d1aca1420aa9", "sha256": "b25709ee1c11d1d4fa049438afe58feb7446d6605c536a85a7c10c6d452ed7c7" }, "downloads": -1, "filename": "mockry-0.0.2.tar.gz", "has_sig": false, "md5_digest": "4231b1fa3ccb0cd41256d1aca1420aa9", "packagetype": "sdist", "python_version": "source", "requires_python": ">= 3.7", "size": 5994, "upload_time": "2019-06-07T14:29:48", "url": "https://files.pythonhosted.org/packages/99/2e/29d356f7d6d5927e480df8288469feff64e9cca48ad0609346cc5a815337/mockry-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "7c568544a9bbfa2b3b358d1db7b3a436", "sha256": "0efa506ce8a8ee90c362691064d0dc623667e9a255c4de16efa6561984814702" }, "downloads": -1, "filename": "mockry-0.0.3.tar.gz", "has_sig": false, "md5_digest": "7c568544a9bbfa2b3b358d1db7b3a436", "packagetype": "sdist", "python_version": "source", "requires_python": ">= 3.7", "size": 6135, "upload_time": "2019-06-07T16:05:26", "url": "https://files.pythonhosted.org/packages/68/77/22088b8872ca6d35090e27b8a09bcc9aacdfbc6b75629878c4524942302e/mockry-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7c568544a9bbfa2b3b358d1db7b3a436", "sha256": "0efa506ce8a8ee90c362691064d0dc623667e9a255c4de16efa6561984814702" }, "downloads": -1, "filename": "mockry-0.0.3.tar.gz", "has_sig": false, "md5_digest": "7c568544a9bbfa2b3b358d1db7b3a436", "packagetype": "sdist", "python_version": "source", "requires_python": ">= 3.7", "size": 6135, "upload_time": "2019-06-07T16:05:26", "url": "https://files.pythonhosted.org/packages/68/77/22088b8872ca6d35090e27b8a09bcc9aacdfbc6b75629878c4524942302e/mockry-0.0.3.tar.gz" } ] }