{ "info": { "author": "Peter P\u00f6lzl", "author_email": "peter.poelzl@mailbox.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: European Union Public Licence 1.2 (EUPL 1.2)", "Programming Language :: Python :: 3.7", "Topic :: Documentation :: Sphinx", "Topic :: Games/Entertainment", "Topic :: Software Development :: Libraries", "Topic :: Text Processing :: Markup :: XML" ], "description": "Path of Building API\n====================\n\nPre-release Software Warning\n----------------------------\n\n| This library is currently in pre-release status and may change in the near future.\n| Meanwhile I am looking forward to community feedback to accommodate most use cases.\n| Pull requests are gladly accepted and much appreciated!\n\nIntroduction\n------------\n\n| Path Of Building API provides a comprehensive toolbox for processing\n `Path of Building `_ pastebins.\n| It is aimed at community developers:\n\n* looking to add Path of Building functionality to their apps.\n* upgrading from existing solutions.\n\n| As PoB pastebins became the standard way to share theorycrafting and characters,\n| community tools want to interact with them and users `increasingly expect such functionality\n `_.\n\nBenefits from using this library:\n\n* Focus on your app's core competences\n* Spend your free time on unique features\n* Backwards-compatibility as PoB's export format changes\n* Tested and secure codebase\n\nFeatures\n--------\n\n* Look up and process:\n * Character stats (DPS, life, etc.)\n * Skill trees\n * Skills, skill groups and links\n * Gear and item sets\n * Path of Building configuration settings\n * Build author's notes\n* Exposes all of Path of Building's relevant stats and attributes in a simple and pythonic way.\n* Low memory footprint through slots and dynamically generated attributes.\n* Automatically calculates mod values on theorycrafted items.\n* Secure against XML attacks thanks to the `defusedxml `_ library.\n\nRequirements\n------------\n\n* `Python 3.7+ `_\n* `dataslots `_\n* `defusedxml `_\n* `lxml `_\n* `requests `_\n* `unstdlib `_\n\nSetup Instructions\n--------------------\n\n.. code-block:: console\n\n pip install pobapi\n\nSetup Instructions For Developers\n---------------------------------\n\nSetup virtual environment:\n\n.. code-block:: console\n\n pip install virtualenv\n cd my_project_folder\n virtualenv venv\n\nTo activate on Microsoft Windows:\n\n.. code-block:: console\n\n \\venv\\Scripts\\activate\n\nTo activate on GNU/Linux:\n\n.. code-block:: console\n\n source venv/bin/activate\n\nSetup repository:\n\n.. code-block:: console\n\n git clone https://github.com/ppoelzl/PathOfBuildingAPI.git\n pip install -r requirements.txt\n\nBasic Usage\n-----------\n\n>>> import pobapi\n>>> url = \"https://pastebin.com/bQRjfedq\"\n>>> build = pobapi.from_url(url)\n>>> print(build.ascendancy_name)\nElementalist\n>>> print(build.bandit)\nNone\n>>> print(build.stats.life)\n6911.\n>>> if \"Blade Vortex\" or \"Vaal Blade Vortex\" == build.active_skill.name:\n... if \"Storm Brand\" in build.skill_names:\n... print(build.config.brand_attached)\n...\nTrue\n>>> for item in build.items:\n... if item.name == \"Inpulsa's Broken Heart\":\n... print(item)\n... break\n...\nRarity: Unique\nName: Inpulsa's Broken Heart\nBase: Sadist Garb\nQuality: 20\nSockets: (('G', 'G', 'G', 'B', 'B', 'B'),)\nLevelReq: 68\nItemLvl: 71\n+64 to maximum Life\n26% increased Damage if you have Shocked an Enemy Recently\n33% increased Effect of Shock\nShocked Enemies you Kill Explode, dealing 5% of\ntheir Maximum Life as Lightning Damage which cannot Shock\nUnaffected by Shock\n\nDocumentation\n-------------\n\nAvailable at `Read the Docs `_.\n\nFeedback\n--------\n\nPlease file a `GitHub issue `_ in this repository for any feedback you may have.\n\nContribution\n------------\n\nPull requests are gladly accepted. Check out the `Developer Guide `_.\n\nTo-Do\n-----\n\n* Support enchantments\n\nLicense\n-------\n\n`EUPL 1.2 `_ (Think about it as an equivalent to LGPL + Affero clause).", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ppoelzl/PathOfBuildingAPI", "keywords": "pathofexile poe pathofbuilding pob", "license": "EUPL 1.2", "maintainer": "", "maintainer_email": "", "name": "pobapi", "package_url": "https://pypi.org/project/pobapi/", "platform": "", "project_url": "https://pypi.org/project/pobapi/", "project_urls": { "Homepage": "https://github.com/ppoelzl/PathOfBuildingAPI" }, "release_url": "https://pypi.org/project/pobapi/0.2.4/", "requires_dist": null, "requires_python": "", "summary": "API for PathOfBuilding's build sharing format.", "version": "0.2.4" }, "last_serial": 4919903, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "197b8f86ea5d774e7dad2c605c7e7174", "sha256": "51daf88fbb2c4212dbacef408212b175214f632ede7c8fb3501e58e516517e46" }, "downloads": -1, "filename": "pobapi-0.1.0.tar.gz", "has_sig": false, "md5_digest": "197b8f86ea5d774e7dad2c605c7e7174", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 549586, "upload_time": "2019-02-19T11:22:10", "url": "https://files.pythonhosted.org/packages/0b/ca/ae531a50fd74ddec604459fd23d50f00896c962d45e5a2020dcc54eaa9bd/pobapi-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "459e0583d1fefef80467c8583cd72ad7", "sha256": "5c3d87dfb8eb1ce79dae535d5f0619df4e18e390de4bba35b120694e4b00f036" }, "downloads": -1, "filename": "pobapi-0.2.0.tar.gz", "has_sig": false, "md5_digest": "459e0583d1fefef80467c8583cd72ad7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 552875, "upload_time": "2019-02-24T15:01:46", "url": "https://files.pythonhosted.org/packages/9b/48/aaddccca02e7da1a1dbaa77b7d51095de1301fb09461ec6e9f348974a9b5/pobapi-0.2.0.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "4e56b91dbff12c0b591774e0cc31ec8d", "sha256": "2bffbdd52b91848c6f67f0865dd1a6efd4caea2b06e8e4224c7556f10b5b3d68" }, "downloads": -1, "filename": "pobapi-0.2.3.tar.gz", "has_sig": false, "md5_digest": "4e56b91dbff12c0b591774e0cc31ec8d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 558997, "upload_time": "2019-03-03T23:18:37", "url": "https://files.pythonhosted.org/packages/80/3e/95c8fa2cd998a4f1da01d4022634780a6900a29878e2469129b8dcf55845/pobapi-0.2.3.tar.gz" } ], "0.2.4": [ { "comment_text": "", "digests": { "md5": "6c924e130c09f0971cfdae30bf3f9725", "sha256": "fd717741f4799fd231245e1d152b6f5ccdfbc58fcf6a0fd870748d6122b11b9a" }, "downloads": -1, "filename": "pobapi-0.2.4.tar.gz", "has_sig": false, "md5_digest": "6c924e130c09f0971cfdae30bf3f9725", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 559045, "upload_time": "2019-03-09T23:08:54", "url": "https://files.pythonhosted.org/packages/f2/3f/b2883e507276a44f15f95945073c210e3904f43c0c3f6dac7010d969a424/pobapi-0.2.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6c924e130c09f0971cfdae30bf3f9725", "sha256": "fd717741f4799fd231245e1d152b6f5ccdfbc58fcf6a0fd870748d6122b11b9a" }, "downloads": -1, "filename": "pobapi-0.2.4.tar.gz", "has_sig": false, "md5_digest": "6c924e130c09f0971cfdae30bf3f9725", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 559045, "upload_time": "2019-03-09T23:08:54", "url": "https://files.pythonhosted.org/packages/f2/3f/b2883e507276a44f15f95945073c210e3904f43c0c3f6dac7010d969a424/pobapi-0.2.4.tar.gz" } ] }