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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pcpartpicker-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5376c17ee29d9553f9de5a157670826450c1e12304128cae873884a8d47f5e66
MD5 c88b48fa84ecdd033b02c31acc8c1fce
BLAKE2b-256 10f07c7767b950f38a16328dcc5780125dcea4c96d5b53957b68a1fdb608eeda

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