Skip to main content

PMS5003 Particulate Sensor

Build Status Coverage Status PyPi Package Python Versions

Installing

Stable library from PyPi:

  • Just run sudo pip install pms5003

Latest/development library from GitHub:

  • git clone https://github.com/pimoroni/pms5003-python

  • cd pms5003-python

  • sudo ./install.sh

Requirements

The serial port on your Raspberry Pi must be enabled:

# Disable serial terminal over /dev/ttyAMA0
sudo raspi-config nonint do_serial 1

# Enable serial port
raspi-config nonint set_config_var enable_uart 1 /boot/config.txt

And additionally be using a full UART (versus the default miniUART):

Add the line dtoverlay=pi3-miniuart-bt to your /boot/config.txt

This will switch Bluetooth over to miniUART, see https://www.raspberrypi.org/documentation/configuration/uart.md for more details.

0.0.4

  • Packaging improvements/bugfix from boilerplate

0.0.3

  • Added pyserial dependency

0.0.2

  • Added reset function

0.0.1

  • Initial Release

Metadata

Release files for pms5003 0.0.4

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

Source distribution (sdist)

Source distribution for pms5003 0.0.4
File Size Uploaded Provenance Actions
pms5003-0.0.4.tar.gz 4.0 kB Without provenance Details for pms5003-0.0.4.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for pms5003 0.0.4
File Interpreter ABI Platform Actions
pms5003-0.0.4-py3-none-any.whl Python 3 none any Details for pms5003-0.0.4-py3-none-any.whl
pms5003-0.0.4-py2-none-any.whl Python 2 none any Details for pms5003-0.0.4-py2-none-any.whl

Total release size: 12.1 kB

Release files / pms5003-0.0.4.tar.gz

Download URL pms5003-0.0.4.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
31febf3bb9ac15f55e90a5de8857626b7cf10b7604abe6f0b3e9c41413f88175
BLAKE2b-256 checksum
How to use checksums
25da2d255745569b23c8338aab319f180c6808adbbfe1292afbb5e2157c475ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.16

Release files / pms5003-0.0.4-py3-none-any.whl

Download URL pms5003-0.0.4-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e3efe6e294ef06204e52a9fc64a3badd5ee18637a221fbe9c2139c42fb338d34
BLAKE2b-256 checksum
How to use checksums
bfbd219679e5972372dd4b053d3d6bcb01d5ca4ce4cbc18b1420738287e324d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.16

Release files / pms5003-0.0.4-py2-none-any.whl

Download URL pms5003-0.0.4-py2-none-any.whl
Size 4.0 kB
Tags Python 2
SHA-256 checksum
How to use checksums
cef7bcbf3d1f8838fc79b559e46345f6f4426498802acb032119e02ce224fdd2
BLAKE2b-256 checksum
How to use checksums
20b0a887a05f5a80bcf173587c00c568145bdf05e522bab86953374bfa82e3a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.16

Security for pms5003 0.0.4

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.

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