{ "info": { "author": "Ryan Kubiak", "author_email": "iamkubi@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# pydactyl\n\n[![Latest build][travis-img]][travis]\n[![Latest docs][docs-img]][docs]\n[![Coverage][codecov-img]][codecov]\n[![Latest version][pypi-img]][pypi]\n\nAn easy to use Python wrapper for the Pterodactyl Panel API.\n\n## State of the project\n\nThis wrapper is still very much a work in progress. Not all APIs are \nimplemented, and the way results are returned may change until the wrapper is\nfeature complete.\n\nIf you do encounter problems, find APIs that haven't been implemented, or \nhave a feature request please file a [Github issue][issues].\n\n## Installing\n\nAn early version of the package can be found on pip, however it won't be \nupdated until the interface is more solidified. A more feature complete \nversion should be available soon.\n\nTo install the pip version:\n\n```shell\npip install py-dactyl\n```\n\nNew versions won't be published to pip every day, so until the rate of change\nslows down the only way to get the latest version will be from Github.\n\n\n## Getting Started\n\n```python\nfrom pydactyl import PterodactylClient\n\n# Create a client to connect to the panel and authenticate with your API key.\nclient = PterodactylClient('https://panel.mydomain.com', 'MySuperSecretApiKey')\n\n# Get a list of all servers the user has access to\nmy_servers = client.client.list_servers()\n# Get the unique identifier for the first server.\nsrv_id = my_servers[0]['identifier']\n\n# Check the utilization of the server\nsrv_utilization = client.client.get_server_utilization(srv_id)\nprint(srv_utilization)\n\n# Turn the server on.\nclient.client.send_power_action(srv_id, 'start')\n```\n\n[docs]: https://pydactyl.readthedocs.io/\n[docs-img]: https://readthedocs.org/projects/pydactyl/badge/?version=latest (Latest docs)\n[pulls]: https://github.com/iamkubi/pydactyl/pulls\n[issues]: https://github.com/iamkubi/pydactyl/issues\n[pypi]: https://pypi.python.org/pypi/py-dactyl/\n[pypi-img]: https://img.shields.io/pypi/v/py-dactyl.svg\n[travis]: https://travis-ci.org/iamkubi/pydactyl\n[travis-img]: https://travis-ci.org/iamkubi/pydactyl.svg?branch=master\n[codecov]: https://codecov.io/gh/iamkubi/pydactyl\n[codecov-img]: https://codecov.io/gh/iamkubi/pydactyl/branch/master/graph/badge.svg\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/iamkubi/pydactyl", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "py-dactyl", "package_url": "https://pypi.org/project/py-dactyl/", "platform": "", "project_url": "https://pypi.org/project/py-dactyl/", "project_urls": { "Documentation": "https://pydactyl.readthedocs.io/", "Homepage": "https://github.com/iamkubi/pydactyl", "Source": "https://github.com/iamkubi/pydactyl" }, "release_url": "https://pypi.org/project/py-dactyl/0.1.1/", "requires_dist": [ "requests (>=2.21.0)" ], "requires_python": ">=3.4", "summary": "An easy to use Python wrapper for the Pterodactyl Panel API.", "version": "0.1.1" }, "last_serial": 5959032, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "0520a0a3e42ec077b9810e5553d6c726", "sha256": "9314a14ccc8f98cddcacf6e179ddd9330502aa2f499f52916330c3f3bbcd69e7" }, "downloads": -1, "filename": "py_dactyl-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "0520a0a3e42ec077b9810e5553d6c726", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 17526, "upload_time": "2019-09-14T06:15:22", "url": "https://files.pythonhosted.org/packages/7a/cb/857040578e5f269e76a4936fdde3e50b84ef5183fcf28e98aab2cf5d5099/py_dactyl-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8656bde9e0afaea093741d3df2d5b680", "sha256": "809e426c5db81472834c506d7b21f900f125ef3a2433c5fad97f803f658ab013" }, "downloads": -1, "filename": "py-dactyl-0.0.1.tar.gz", "has_sig": false, "md5_digest": "8656bde9e0afaea093741d3df2d5b680", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 11649, "upload_time": "2019-09-14T06:15:25", "url": "https://files.pythonhosted.org/packages/db/2c/37d0f5df4c55b2a141d35a149c70c0d4aeb27f453f117c921ba27bbc4a1e/py-dactyl-0.0.1.tar.gz" } ], "0.0.1a0": [ { "comment_text": "", "digests": { "md5": "afbf904dd98f81802a3d9b93593a74fb", "sha256": "ef5e230c6140a9cfd22c0b394c7a8d71c2e3baf0e4f387622901e30364b7725b" }, "downloads": -1, "filename": "py_dactyl-0.0.1a0-py3-none-any.whl", "has_sig": false, "md5_digest": "afbf904dd98f81802a3d9b93593a74fb", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 11385, "upload_time": "2019-09-07T05:13:59", "url": "https://files.pythonhosted.org/packages/c3/0e/b1a0626acbe50269622d73ffa9a650f95789dd9bf63ec443339f250fa774/py_dactyl-0.0.1a0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f60bf6e1ae07d4a2c2ca9827a95d9f73", "sha256": "09fbcb2810ee62735d9d2aae5583f2be4ae39cd37cddcfbe9d0b683d7c6a8313" }, "downloads": -1, "filename": "py-dactyl-0.0.1a0.tar.gz", "has_sig": false, "md5_digest": "f60bf6e1ae07d4a2c2ca9827a95d9f73", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 5684, "upload_time": "2019-09-07T05:14:02", "url": "https://files.pythonhosted.org/packages/e6/ad/204cdc080a4ea01dfe86b3ac3b31196dafe50344073ba9128445f6cabbaa/py-dactyl-0.0.1a0.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "9cf7c2055427708c3e7c321b29fcc928", "sha256": "3824749ae94f3b1756c56d3f5cab209429dc58b4cb6b5e139d1ca293bc65643c" }, "downloads": -1, "filename": "py_dactyl-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "9cf7c2055427708c3e7c321b29fcc928", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 17695, "upload_time": "2019-09-14T07:53:41", "url": "https://files.pythonhosted.org/packages/7b/c9/6684ff5cd2ccf15913e6247b26b8392f6ebec2a2bba91843ec140f874446/py_dactyl-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "85be15939adf14645c6615725250088b", "sha256": "1d30647e443c6dcdc4f00d1e44bce18faf530f4ca7e0945f8232ae27bd7f5e1c" }, "downloads": -1, "filename": "py-dactyl-0.1.0.tar.gz", "has_sig": false, "md5_digest": "85be15939adf14645c6615725250088b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 11861, "upload_time": "2019-09-14T07:53:44", "url": "https://files.pythonhosted.org/packages/cd/4b/316f60d4628061f8bbe462b2fffca2bad37e012685a175cabda2c3cf7d45/py-dactyl-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "300a4e6c48b271c3b8d9059228f3f5bb", "sha256": "fca31002a74c3d86cd8042fa75e4fd337c5f11be85460d6e14208826b4f5bc76" }, "downloads": -1, "filename": "py_dactyl-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "300a4e6c48b271c3b8d9059228f3f5bb", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 17745, "upload_time": "2019-10-11T08:22:55", "url": "https://files.pythonhosted.org/packages/fd/a1/6a33736a5401cfd3df7d6c434243955ef827a40fa02cc931176875d21095/py_dactyl-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "72d52a44a352564e1e62617d38033403", "sha256": "5bf5c78cca41b1fa86354179a1a7d8f04e2b4f74381646ac6094c4f4931761c1" }, "downloads": -1, "filename": "py-dactyl-0.1.1.tar.gz", "has_sig": false, "md5_digest": "72d52a44a352564e1e62617d38033403", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 11957, "upload_time": "2019-10-11T08:22:59", "url": "https://files.pythonhosted.org/packages/06/ce/a6688e0dcd68758e6a8fdf53bed8f23037a5c57df70dbf4ba1107e857ded/py-dactyl-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "300a4e6c48b271c3b8d9059228f3f5bb", "sha256": "fca31002a74c3d86cd8042fa75e4fd337c5f11be85460d6e14208826b4f5bc76" }, "downloads": -1, "filename": "py_dactyl-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "300a4e6c48b271c3b8d9059228f3f5bb", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 17745, "upload_time": "2019-10-11T08:22:55", "url": "https://files.pythonhosted.org/packages/fd/a1/6a33736a5401cfd3df7d6c434243955ef827a40fa02cc931176875d21095/py_dactyl-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "72d52a44a352564e1e62617d38033403", "sha256": "5bf5c78cca41b1fa86354179a1a7d8f04e2b4f74381646ac6094c4f4931761c1" }, "downloads": -1, "filename": "py-dactyl-0.1.1.tar.gz", "has_sig": false, "md5_digest": "72d52a44a352564e1e62617d38033403", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 11957, "upload_time": "2019-10-11T08:22:59", "url": "https://files.pythonhosted.org/packages/06/ce/a6688e0dcd68758e6a8fdf53bed8f23037a5c57df70dbf4ba1107e857ded/py-dactyl-0.1.1.tar.gz" } ] }