Check OSRS Grand Exchange prices from the command line. Includes module functionality to check item full price history.
Project description
GPPC (Gold Piece Price Checker)
Check OSRS Grand Exchange prices from the command line. Includes module functionality.
Usage
Installation
$ pip install gppc
$ git clone https://github.com/moxxos/gppc.git
$ cd gppc
$ pip install .
Get the price and recent 24h change of many different Grand Exchange items.
$ gppc 'gold bar' coal
$ gppc gold_bar coal
Import as a module
>>> import gppc
>>> gppc.search('coal')
New Feature
Create item instances to check item recent history.
>>> from gppc import Item
>>> coal = Item('coal')
>>> coal.recent_historical
Price Average Volume
Date
2022-06-09 161 160 46780917
2022-06-10 164 160 13746833
2022-06-11 164 160 44698810
... ... ... ...
2022-12-02 171 163 24461683
2022-12-03 174 163 43027137
2022-12-04 173 163 25469205
[179 rows x 3 columns]
Save multiple item histories for future use.
>>> coal.save_historical()
SAVED ITEM: Coal, id: 453
179 NEW DATES CREATED
179 RECORDS UPDATED
>>> bond.save_historical()
SAVED ITEM: Old school bond, id: 13190
179 RECORDS UPDATED
Check item full history at a later date if past history is saved.
>>> coal.full_historical
Price Average Volume
Date
2022-06-09 161 160 46780917
2022-06-10 164 160 13746833
2022-06-11 164 160 44698810
... ... ... ...
2023-12-02 171 163 24461683
2023-12-03 174 163 43027137
2023-12-04 173 163 25469205
[544 rows x 3 columns]
Updates
CHANGELOG
TODO
- Finish command line display
- Add tests and documentation
[0.1.6.] - 2022-12-04
New Item module
[0.1.5.] - 2022-10-18
Display output now works on Windows.
Added image caching.
[0.1.4] - 2022-10-07
Removed pycache from repo.
Added MANIFEST.in to process CHANGELOG.md during build process.
[0.1.3] - 2022-10-07
Fixed README and description for build and setup.
PYPI description now renders correctly.
[0.1.1] - 2022-10-06
Now works. Also displays item images.
[0.1.0] - 2022-09-12
Configured pyproject.toml
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gppc-0.1.6.tar.gz
(22.7 kB
view details)
Built Distribution
gppc-0.1.6-py3-none-any.whl
(22.6 kB
view details)
File details
Details for the file gppc-0.1.6.tar.gz
.
File metadata
- Download URL: gppc-0.1.6.tar.gz
- Upload date:
- Size: 22.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b24e8318403e0ea9465cce1ea12348407a909f6e03aa6b896940b60e8185aedf |
|
MD5 | 7a07251721e9e8dc6a38818de6e41773 |
|
BLAKE2b-256 | 03df1e7806f24b52d3b0c6b515ba1bab1d312d53cc13fefc58ece2423142e9d3 |
File details
Details for the file gppc-0.1.6-py3-none-any.whl
.
File metadata
- Download URL: gppc-0.1.6-py3-none-any.whl
- Upload date:
- Size: 22.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ce9aabf65ef0d4f17c7e76f3a5ae3927c9bda53c922d56eda898ec39c3cd715 |
|
MD5 | 664e27d7b01ded1f2836f5e568f2cd97 |
|
BLAKE2b-256 | aa06d09c78f864e910c8a8aa8a2a08783b4bc1078b6d955e8755633818da988a |