Skip to main content

A small example package

Project description

fixitPy

Static Badge Static Badge

Interface with the iFixit API through Python, easily.

Current Features

  • Guide Retrieval

WIP Features

  • Guide image retrieval
  • text based searching for guides

Installation

To install fixitPy

pip install fixitpy

Import the library

from fixitpy import find_guide

Using the library

Getting a guide

found_guide = find_guide(123) # call the find_guide function which returns a dict

print(found_guide.get("title")) # get various dict members
print(found_guide.get("difficulty"))

Getting a guide with prerequisites

found_guide = find_guide(123, get_prerequisites=True) # call the find_guide function which returns a dict

print(found_guide.get("title")) # get various dict members
print(found_guide.get("difficulty"))

Full example

from fixitpy import find_guide

found_guide = find_guide(123) # call the find_guide function which returns a dict

print(found_guide.get("title")) # get various dict members
print(found_guide.get("difficulty"))

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

fixitpy-0.2.4.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fixitpy-0.2.4-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file fixitpy-0.2.4.tar.gz.

File metadata

  • Download URL: fixitpy-0.2.4.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for fixitpy-0.2.4.tar.gz
Algorithm Hash digest
SHA256 ef0ed0f1dca431170ff92eda63d737bebce91ddd7079881876968f5c4a9e312d
MD5 db0f37a5d3eff13049301f1e03032822
BLAKE2b-256 e009e0b3085bbc81e7f7f9961be6244839c01405615be4caf6ad4d4c909eb2a1

See more details on using hashes here.

File details

Details for the file fixitpy-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: fixitpy-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for fixitpy-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 46dd93686eae981a33e751b58a00c56de8b3a8218ba9f62ca9656101ac141a08
MD5 9b9df514269fe25d5237ffaa0dd2b403
BLAKE2b-256 3f0069a2efc8383b1a65c7411ef7dec7fd2a14b0b57f84316755f3882e700eed

See more details on using hashes here.

Supported by

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