SCD4X C02 Sensor
Pre-requisites
You must enable:
- i2c:
sudo raspi-config nonint do_i2c 0
You can optionally run sudo raspi-config or the graphical Raspberry Pi Configuration UI to enable interfaces.
Installing
Stable library from PyPi:
- Just run
pip3 install scd4x
In some cases you may need to use sudo or install pip with: sudo apt install python3-pip
Latest/development library from GitHub:
git clone https://github.com/pimoroni/scd4x-pythoncd scd4x-pythonsudo ./install.sh
0.0.2
- Fix byte packing when sending data (unsigned char instead of signed char).
- Fix condition in set_temperature_offset.
- Fix reading data in get_temperature_offset.
- Add get/set_automatic_self_calibration_enabled.
- Add persist_settings.
- Repackage to latest boilerplate.
0.0.1
- Initial Release
Metadata
Release files for scd4x 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| scd4x-0.0.2.tar.gz | 11.0 kB | Without provenance | Details for scd4x-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| scd4x-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for scd4x-0.0.2-py3-none-any.whl |
Total release size: 17.7 kB
Release files / scd4x-0.0.2.tar.gz
| Download URL | scd4x-0.0.2.tar.gz |
|---|---|
| Size | 11.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2d268059c4d240f980ebbb286077fa5dffa1555363b9918a0d7d57531efa9182
|
|
BLAKE2b-256 checksum How to use checksums |
ef379f586d32b59e103bb0f12530c08b2e6d36d75fa18a5345fb326f4ffbe191
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.6
|
Release files / scd4x-0.0.2-py3-none-any.whl
| Download URL | scd4x-0.0.2-py3-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bc26a3b94f4f2f05a3d0b94e64d44ef4bbc6bdeb185ff021f32f7709ae5a3e7b
|
|
BLAKE2b-256 checksum How to use checksums |
e3265f326365500c9619d8f759b7ea7949647332fa9ff1db6d548876a7fe999a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.6
|
Security for scd4x 0.0.2
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.