Skip to main content

A fast, simple API for PCPartPicker.com.

Project description

pcpartpicker

Build Status Coverage Status

This is an unofficial Python 3.7+ API for the website pcpartpicker.com. Written using async code and multiprocessing for efficient data retrieval. This package is currently in beta.

Installation (when uploaded to PyPi):

pip install pcpartpicker

Examples:

Retrieving all part data:

from pcpartpicker import API

api = API()
part_data = api.retrieve_all()

Retrieving specific part data:

from pcpartpicker import API

api = API()
cpu_data = api.retrieve("cpu")

Changing the region:

from pcpartpicker import API

api = API("se")

Alternative method of changing the region:

from pcpartpicker import API

api = API()
api.set_region("in")

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

pcpartpicker-0.1.2.win-amd64.zip (40.1 kB view details)

Uploaded Source

Built Distribution

pcpartpicker-0.1.2-py3-none-any.whl (28.9 kB view details)

Uploaded Python 3

File details

Details for the file pcpartpicker-0.1.2.win-amd64.zip.

File metadata

  • Download URL: pcpartpicker-0.1.2.win-amd64.zip
  • Upload date:
  • Size: 40.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for pcpartpicker-0.1.2.win-amd64.zip
Algorithm Hash digest
SHA256 2dad46370302ad38038e5dad6ebaf76057f18f2e92f1769a575e3982bddc6d3d
MD5 a34d20abd10bff1c7e7fc7949d8f0087
BLAKE2b-256 f15346ba8ba79eb551c41fd09b3a09ccc898f865e8fd8ae9327cfd9d348d0888

See more details on using hashes here.

File details

Details for the file pcpartpicker-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: pcpartpicker-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 28.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for pcpartpicker-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 83d2cfabf6e2148fb7e797fd3e51da2a745451e7c26852356a02a928aecf6bb0
MD5 7e760ca330c238c118c5d04a676a1a5d
BLAKE2b-256 7199b60d4718ed746adc986cb8c50bcaec8672d5bad25d5dfda2b6706e30ea0f

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