Osrsbytes

Latest version: v1.3.21

Safety actively analyzes 622882 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.3.2

* Implemented a new method of grabbing boss names from the osrs web page that will, hopefully, not require us to manually update the bosses list every time.

[update 20230403]

1.3.1

* Implemented `Update()` functionality to `Items.py` as requested in Issue (37)[https://github.com/Coffee-fueled-deadlines/OSRSBytes/issues/37]
* Implemented `phantom_muspah` to `Hiscores.py`, fixing issue stated in Issue (38)[https://github.com/Coffee-fueled-deadlines/OSRSBytes/issues/38]
* Fixed bug with pulling overall levels that suffered from a parsing error as mentioned in Issue (31)[https://github.com/Coffee-fueled-deadlines/OSRSBytes/issues/31]

[update 20221130]

1.3.0

* Added many things and apparently failed to put them here (Sorry)

[update 20220125]
__Added OSRS Wiki to Items module in v1.2.5__:
* Added the OSRS Wiki API to the Items Module.

[update 20210710]

1.2.4

* Escape username to avoid getting errors for usernames that contain spaces.
* Fixed bug in setup.py causing a manual install to fail and matched version numbers to 1.2.4.

[update 20201004]
__Bug Fix__:
* Fixed a bug that caused the API to appear to be down due to a messup in parsing. Update OSRSBytes with `pip install OSRSBytes --upgrade` to fix this bug.

[update 20200925]

1.2.2

* Previously, ItemID and ItemName each had their own dictionary to allow users to search by either ItemID or ItemName. This was dumb of me, so I instead implemented one dictionary that was keyed by ItemName. You can still search by ItemID thanks to the `self.__normalize_input()` method which will ensure that anything you input is converted to item name. If you put in `int(1213)` or `str(1213)` the method will, ultimately, return `"rune dagger"`

1.2.0

>
> Began implementation of OSRSBytes built-in shelve caching. Caching is currently implemented for `Hiscores` and a new module has been added called, `HiscoresCaching` that allows for direct manipulation of the Cache within reason by users.
>

V. 1.1.0 (20191230)
>
> Reworked the way OSRSBytes is constructed. Previously it all initialized through `OSRSBytes/__init__.py` but that was confusing and not easily scalable (in my opinion). I've instead reworked the `__init__.py` to instead call sub-modules (namely `Hiscores.py`, `Items.py`, and `Utilities.py`).
>
> The goal of this rework was to make it easier to edit modules without breaking other modules in the process during development and to ensure that functionality (specifically calling of the package) was identical. Both of these goals where achieved. Upon upgrading your repo to the newest version, you should find that calling OSRSBytes is the same as it was previously.
>
> In addition, a small bit of functionality was added to the `Items` class of OSRSBytes.
>
> python
> from OSRSBytes import Items
>
> items = Items()
> print("Rune Scimitar Item ID: ", items.getItemID("rune scimitar"))
>
>
> While note a major addition, it does allow developers that wish to look up Item IDs the ability to do so via the OSRSBytes Library.
>

END

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.