Skip to main content

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 to check item full price history.

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

Image

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_history
           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_history()
SAVED ITEM: Coal, id: 453
179 NEW DATES CREATED
179 RECORDS UPDATED

>>> bond.save_history()
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_history()
           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.7.tar.gz (22.7 kB view details)

Uploaded Source

Built Distribution

gppc-0.1.7-py3-none-any.whl (22.7 kB view details)

Uploaded Python 3

File details

Details for the file gppc-0.1.7.tar.gz.

File metadata

  • Download URL: gppc-0.1.7.tar.gz
  • Upload date:
  • Size: 22.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for gppc-0.1.7.tar.gz
Algorithm Hash digest
SHA256 712d56a10d366eb5bb71937ce02cdef5a5da387e7ad3e35e19ab07bea69e8e9f
MD5 e6465ac6670f5e52e80e197a94c49fd4
BLAKE2b-256 0e04b3bc86ff4376498c3975f6b4d44ed61e3e5d5ba1d00ce0617a675e08dfa1

See more details on using hashes here.

File details

Details for the file gppc-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: gppc-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 22.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for gppc-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 57f0398c7d800ec7f1dbed041077edcfaccf0719e98e2007b0ccbb62c22f939a
MD5 d350feff8ea189ba96e9253050672e4c
BLAKE2b-256 c228f2cc45ee2aaeccfbe23f8ce34c4257ef03b0111f2cfa3d0a46976504cbaa

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page