{ "info": { "author": "Jonas H\u00f6chst & Markus Sommer", "author_email": "msommer@informatik.uni-marburg.de", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "# Python client for the serval-dna REST-interface\n\nProvides a client to interact with serval-dna's REST-interface in python\n\n## Functionality\n\nThe following REST-functionality is supported:\n\n- Keyring\n- Rhizome\n- MeshMS\n- MeshMB\n- Route\n\nFor documentation on the specific endpoints, please consult [The serval-dna documentation](https://github.com/servalproject/serval-dna/blob/development/doc/REST-API.md)\n\n## Dependencies\n\nThis code should run on both Python 2.7 and 3.4+\n\nThe only external runtime-dependency is [requests](https://github.com/requests/requests). This should be automatically installed by pip based on the package metadata.\n\nDevelopment dependencies are the following:\n\nAutomatic format checking is done using [black](https://github.com/ambv/black) and [pre-commit](https://github.com/pre-commit/pre-commit).\n\nIn order to run the tests, you will need [hypothesis](https://github.com/HypothesisWorks/hypothesis-python), [pytest](https://github.com/pytest-dev/pytest), and [pytest-cov](https://github.com/pytest-dev/pytest-cov) for coverage-reports.\n\nTo install all dependencies (both runtime and development/testing) run `pip install -r requirements.txt`\n\n## Installation\n\nAs of `v0.4`, releases are uploaded to [PyPi](https://pypi.org/project/pyserval/), so you can just install it by name\n\n`pip install pyserval`\n\n## Development\n\nIn order to have reasonably well formatted code, a format-checking pre-commit hook is supplied. The tool used for checking/reformatting is [black](https://github.com/ambv/black). Note that the hook itself does not do any reformatting, it merely informs you that a file is not properly formatted. You need to do the reformatting yourself using `black $FILEPATH`.\n\nThe tests require you to have the `servald` binary from [serval-dna](https://github.com/servalproject/serval-dna) installed and available in your `$PATH`. In order to have a consistent testing enviroment, `/tmp/pyserval-tests/` will be used as the `$SERVALINSTANCE_PATH`.\n\n1. Clone Project\n2. Install project to python-path\n - You might want to use a virtualenv\n - You might also want to do an editable install with `pip install -e .`\n3. Install development dependencies with `pip install -r requirements.txt`\n4. Install git pre-commit hook with `pre-commit install`\n5. For testing: In the project root run `pytest --cov=pyserval`\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/umr-ds/pyserval", "keywords": "serval dtn", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pyserval", "package_url": "https://pypi.org/project/pyserval/", "platform": "", "project_url": "https://pypi.org/project/pyserval/", "project_urls": { "Bug Reports": "https://github.com/umr-ds/pyserval/issues", "Homepage": "https://github.com/umr-ds/pyserval", "Source": "https://github.com/umr-ds/pyserval" }, "release_url": "https://pypi.org/project/pyserval/0.4.1/", "requires_dist": [ "requests" ], "requires_python": "", "summary": "Python client for serval-dna REST interface", "version": "0.4.1" }, "last_serial": 5907014, "releases": { "0.4": [ { "comment_text": "", "digests": { "md5": "460ad599d771ee652e9bbae90861398a", "sha256": "e6f4701f3f684c6b08cbf7b914bad37a9aea940b93c08acab15a87246b7ef629" }, "downloads": -1, "filename": "pyserval-0.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "460ad599d771ee652e9bbae90861398a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 33516, "upload_time": "2019-08-30T16:20:50", "url": "https://files.pythonhosted.org/packages/08/79/ccfb818e964257d7afab940a82ca23281016cc88d5354f9ffc87db810a32/pyserval-0.4-py2.py3-none-any.whl" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "8276b186d531a439ba74b610f989efe4", "sha256": "a1e6366e567ac37c5a6e7ce10fd8a7d43bdd6a6baec492f0dcf5e297bccb2449" }, "downloads": -1, "filename": "pyserval-0.4.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8276b186d531a439ba74b610f989efe4", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 33909, "upload_time": "2019-09-30T13:49:41", "url": "https://files.pythonhosted.org/packages/4a/2c/e18bf45561a53a53acc0da5d1ffc27ec8d1311661411e423584ee603995f/pyserval-0.4.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "891ef0a02d5ae1c4b4bee4f806198bcd", "sha256": "85237b71cb8d3f54236d06098c3645844c919679ab993a4b38e0286e221da03e" }, "downloads": -1, "filename": "pyserval-0.4.1.tar.gz", "has_sig": false, "md5_digest": "891ef0a02d5ae1c4b4bee4f806198bcd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24597, "upload_time": "2019-09-30T13:49:43", "url": "https://files.pythonhosted.org/packages/5e/a1/5849d5015ee594dea027680d297d91d651a0b51d96fc3868beec1775e2e7/pyserval-0.4.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8276b186d531a439ba74b610f989efe4", "sha256": "a1e6366e567ac37c5a6e7ce10fd8a7d43bdd6a6baec492f0dcf5e297bccb2449" }, "downloads": -1, "filename": "pyserval-0.4.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8276b186d531a439ba74b610f989efe4", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 33909, "upload_time": "2019-09-30T13:49:41", "url": "https://files.pythonhosted.org/packages/4a/2c/e18bf45561a53a53acc0da5d1ffc27ec8d1311661411e423584ee603995f/pyserval-0.4.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "891ef0a02d5ae1c4b4bee4f806198bcd", "sha256": "85237b71cb8d3f54236d06098c3645844c919679ab993a4b38e0286e221da03e" }, "downloads": -1, "filename": "pyserval-0.4.1.tar.gz", "has_sig": false, "md5_digest": "891ef0a02d5ae1c4b4bee4f806198bcd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24597, "upload_time": "2019-09-30T13:49:43", "url": "https://files.pythonhosted.org/packages/5e/a1/5849d5015ee594dea027680d297d91d651a0b51d96fc3868beec1775e2e7/pyserval-0.4.1.tar.gz" } ] }