Code Monkey home page Code Monkey logo

poe.py's Introduction

PoE.py

Path of Exile wiki wrapper in python What it can currently do:

  1. Search for all possible items, including hideout doodads.
  2. Use complex filters with math operators, for example search for an item with requirement of level 42 and strength requirement of 10.
  3. Data is presented in Item/Armour/Weapon/Gem objects, all of which inherit from ItemBase
  4. In utils is provided an item parser for most formats generally used in Path of Building to represent items, it can also parse a full Path of Building XML and return a dict with a lot of useful data as well as all items transformed to the objects from this lib, which allows rendering of items as images from PoB as well, rendering is covered below.
  5. Also inside utils is a parser that can parse json from path of exile's official character and skill tree API:
  6. It can render items as on the wiki or inside the game itself in the form of PNGs using Pillow/PIL.
    -Examples:

poe.py's People

Contributors

jokerserver avatar raylu avatar shifty6 avatar xkynn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

poe.py's Issues

Scourge Items

New Scourge league items add additional information to the items that is not showing up properly in the generated image.

Item Class: Body Armours
Rarity: Rare
Foe Curtain
Wyrmscale Doublet
--------
Armour: 221
Evasion Rating: 264 (augmented)
--------
Requirements:
Level: 44
Str: 106 (augmented)
Dex: 57
--------
Sockets: B-G-R-G-R-B 
--------
Item Level: 70
--------
+49 Strength Requirement (scourge)
+43 to Evasion Rating (scourge)
--------
+17% chance to Suppress Spell Damage
+74 to maximum Life
+35% to Lightning Resistance
+25% to Chaos Resistance
--------
Corrupted
--------
Scourged

Only shows up like this.

image

Add support for reloading builds after Zana is restarted

After Zana is restarted (or something else is happening, as this happens frquently), you can no longer use the reactions to view different pieces of gear, presumably because she only stores monitored posts in memory.

If those message ids would save to some type of database or even a file, you could monitor those posts again and reload the builds when someone clicks a reaction.

Game Item parsing broken

The parsing for game items parse_pob_item is currently broken.
I'm sadly not that great at Python or else I wouldve reworked the item parsing as a whole.

From what I observed there are only 2 groups of lines that are not especially pre- or suffixed (which are explicit mods and flavor text) and those two you can differenciate with order of occurence.

Examples that are not working:

Rarity: Unique
Carcass Jack
Varnished Coat
--------
Quality: +20% (augmented)
Evasion Rating: 960 (augmented)
Energy Shield: 186 (augmented)
--------
Requirements:
Level: 68
Dex: 108
Int: 151
--------
Sockets: G-B-B-G-B-B 
--------
Item Level: 79
--------
128% increased Evasion and Energy Shield
+65 to maximum Life
+12% to all Elemental Resistances
41% increased Area of Effect
45% increased Area Damage
Extra gore
--------
"...The discomfort shown by the others is amusing, but none
can deny that my work has made quite the splash..."
- Maligaro's Journal
Rarity: Unique
Doryani's Prototype
Saint's Hauberk
--------
Armour: 1267 (augmented)
Energy Shield: 209 (augmented)
--------
Requirements:
Level: 67
Str: 109
Int: 94
--------
Sockets: R-B R 
--------
Item Level: 78
--------
186% increased Armour and Energy Shield
+79 to maximum Life
Deal no Non-Lightning Damage
Armour also applies to Lightning Damage taken from Hits
Lightning Resistance does not affect Lightning Damage taken
Nearby Enemies have Lightning Resistance equal to yours
--------
"This was the first step in some grand design, 
lost to the ages, now ours to decipher." 
- Dominus, High Templar```

Ultimatum Item Changes

Ultimatum League introduced updates to the copy code / item code, so that it is not parsed correctly by the bot.

From patch notes

Copying an item's description with Ctrl + C now also copies the Item Class.
Pressing Ctrl + Alt + C now copies the Advanced Modifier Descriptions on an item.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.