Skip to main content

PyMouser

Installation

Install the package with pip.

pip install --user pymouser

Usage:

import pymouser


# Initialize the package with your API key
mouser = pymouser.MouserAPI('your-search-key')

# Search by Part-Number
err, res = mouser.search_by_PN('your-part-number')

# Check for errors or print the returned results
if err:
    print("Error during request:")
    print(err)
else:
    if res['NumberOfResult'] == 0:
        print("No results matched the part number")
    else:
        for match in res['Parts']:
            print("Match for PartNumber .... %s" % match['MouserPartNumber'])
            print("Description ............. %s" % match['Description'])
            print("Link to datasheet ....... %s" % match['DataSheetUrl'])
            print("Link to product page .... %s" % match['ProductDetailUrl'])
            print("")

Metadata

Release files for pymouser 0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pymouser 0.8
File Size Uploaded Provenance
pymouser-0.8.tar.gz 2.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pymouser 0.8
File Interpreter ABI Platform
pymouser-0.8-py3-none-any.whl Python 3 none any Details

Total release size: 5.9 kB

Release files / pymouser-0.8.tar.gz

Download URL pymouser-0.8.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
d182bf0b2c32e1818c267b9bd05faaf158d2661ff3f21a0c2444df46a2254ade
BLAKE2b-256 checksum
How to use checksums
8ff1114e333d55ead708e3dba0e54cad6c6874f9414635d7decdcd0c515aa4a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release files / pymouser-0.8-py3-none-any.whl

Download URL pymouser-0.8-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0825c90ad1cc99735140dad1d8b7d7578bd3e273b72ef56f0d08c0acb211c72d
BLAKE2b-256 checksum
How to use checksums
08075588a6c22db801233394e096d5901728ac44d4dacd6e1ca161733c8ee584
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Security for pymouser 0.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.8 This release

2 release files No provenance

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