Skip to main content

JITX Parts Database

A Python interface to the JITX parts database allowing you to query and use components from the JITX parts database in your Python scripts.

Installation

pip install jitxlib-parts

Usage

from jitxlib.parts import ResistorQuery, Resistor
from jitx.design import Design
from jitx.units import kohm, pct

# Create a query for a resistor
query = ResistorQuery(
    resistance=10 * kohm,  # 10kΩ, can also provide a float like 10e3
    tolerance=1 * pct,     # 1%, can also provide a float (unit-less) like 0.01
)
# Create another query from an existing query.
query_with_case = query.update(case="0603")


class MainCircuit(Circuit):

    # All part queries have to be executed during the instantiation of a JITX design.
    def __init__ (self) :
        # Query a resistor and instantiate it.
        self.resistor = Resistor(query_with_case)

# Use in a design
class MyDesign(Design):
    circuit = MainCircuit()
    ...

Features

  • Query the JITX parts database for components
  • Create components from query results
  • Support for resistors, capacitors, inductors, and other components
  • Integration with py-jitx for use in designs

Requirements

  • Python 3.12+
  • jitx package

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jitxlib_parts-1.3.0.tar.gz (73.5 kB view details)

Uploaded Source

Built Distribution

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

jitxlib_parts-1.3.0-py3-none-any.whl (53.8 kB view details)

Uploaded Python 3

File details

Details for the file jitxlib_parts-1.3.0.tar.gz.

File metadata

  • Download URL: jitxlib_parts-1.3.0.tar.gz
  • Upload date:
  • Size: 73.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for jitxlib_parts-1.3.0.tar.gz
Algorithm Hash digest
SHA256 5acf1646c21cd6aa2063e201ceee776ad26ccc7320df1761cfc692156e6f5600
MD5 0d5a9ba10fcc99278bc60fbd48b6ca40
BLAKE2b-256 61b1b67f414b6c9bc9412788c41851db479d9d9e02972dfeb819faa2f9dce494

See more details on using hashes here.

Provenance

The following attestation bundles were made for jitxlib_parts-1.3.0.tar.gz:

Publisher: release.yaml on JITx-Inc/py-jitx-parts

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file jitxlib_parts-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: jitxlib_parts-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 53.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for jitxlib_parts-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6de8681020415332cdbf5c98ae03ceaa8cd3e52811684e750c2cf2fc5b119c3d
MD5 db514d5831b115da30b47baeac807c12
BLAKE2b-256 8f7c14c9a3c905adb829ff3b4d4c944cea1a6f0729b08970fc85a2b3b0bea494

See more details on using hashes here.

Provenance

The following attestation bundles were made for jitxlib_parts-1.3.0-py3-none-any.whl:

Publisher: release.yaml on JITx-Inc/py-jitx-parts

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

1.3.0 This release

2 files

1.2.0

2 files

1.0.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page