Introduction
============
.. image:: https://readthedocs.org/projects/micropython-mpl3115a2/badge/?version=latest
:target: https://micropython-mpl3115a2.readthedocs.io/en/latest/
:alt: Documentation Status
.. image:: https://img.shields.io/badge/micropython-Ok-purple.svg
:target: https://micropython.org
:alt: micropython
.. image:: https://img.shields.io/pypi/v/micropython-mpl3115a2.svg
:alt: latest version on PyPI
:target: https://pypi.python.org/pypi/micropython-mpl3115a2
.. image:: https://static.pepy.tech/personalized-badge/micropython-mpl3115a2?period=total&units=international_system&left_color=grey&right_color=blue&left_text=Pypi%20Downloads
:alt: Total PyPI downloads
:target: https://pepy.tech/project/micropython-mpl3115a2
.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
:target: https://github.com/psf/black
:alt: Code Style: Black
MicroPython driver for the NXP MPL3115A2 Pressure and Temperature sensor
Installing with mip
====================
To install using mpremote
.. code-block:: shell
mpremote mip install github:jposada202020/MicroPython_MPL3115A2
To install directly using a WIFI capable board
.. code-block:: shell
mip install github:jposada202020/MicroPython_MPL3115A2
Installing Library Examples
============================
If you want to install library examples:
.. code-block:: shell
mpremote mip install github:jposada202020/MicroPython_MPL3115A2/examples.json
To install directly using a WIFI capable board
.. code-block:: shell
mip install github:jposada202020/MicroPython_MPL3115A2/examples.json
Installing from PyPI
=====================
On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from
PyPI <https://pypi.org/project/micropython-mpl3115a2/>`_.
To install for current user:
.. code-block:: shell
pip3 install micropython-mpl3115a2
To install system-wide (this may be required in some cases):
.. code-block:: shell
sudo pip3 install micropython-mpl3115a2
To install in a virtual environment in your current project:
.. code-block:: shell
mkdir project-name && cd project-name
python3 -m venv .venv
source .env/bin/activate
pip3 install micropython-mpl3115a2
Usage Example
=============
Take a look at the examples directory
Documentation
=============
API documentation for this library can be found on `Read the Docs <https://micropython-mpl3115a2.readthedocs.io/en/latest/>`_.
Raw data
{
"_id": null,
"home_page": "",
"name": "micropython-mpl3115a2",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "sensor,micropython,mpl3115a2,micropython,nxp,temperature,pressure,mpl3115a2,sensor,driver",
"author": "",
"author_email": "JDM <xxyx@mailmeto.mozmail.com>",
"download_url": "https://files.pythonhosted.org/packages/8c/0c/7e0f2f1971e74ddc54ce5bf2ee8e92a24190a1ab3a78041a662a28e8838c/micropython-mpl3115a2-0.1.0.tar.gz",
"platform": null,
"description": "Introduction\n============\n\n\n.. image:: https://readthedocs.org/projects/micropython-mpl3115a2/badge/?version=latest\n :target: https://micropython-mpl3115a2.readthedocs.io/en/latest/\n :alt: Documentation Status\n\n\n.. image:: https://img.shields.io/badge/micropython-Ok-purple.svg\n :target: https://micropython.org\n :alt: micropython\n\n.. image:: https://img.shields.io/pypi/v/micropython-mpl3115a2.svg\n :alt: latest version on PyPI\n :target: https://pypi.python.org/pypi/micropython-mpl3115a2\n\n.. image:: https://static.pepy.tech/personalized-badge/micropython-mpl3115a2?period=total&units=international_system&left_color=grey&right_color=blue&left_text=Pypi%20Downloads\n :alt: Total PyPI downloads\n :target: https://pepy.tech/project/micropython-mpl3115a2\n\n.. image:: https://img.shields.io/badge/code%20style-black-000000.svg\n :target: https://github.com/psf/black\n :alt: Code Style: Black\n\nMicroPython driver for the NXP MPL3115A2 Pressure and Temperature sensor\n\n\nInstalling with mip\n====================\nTo install using mpremote\n\n.. code-block:: shell\n\n mpremote mip install github:jposada202020/MicroPython_MPL3115A2\n\nTo install directly using a WIFI capable board\n\n.. code-block:: shell\n\n mip install github:jposada202020/MicroPython_MPL3115A2\n\n\nInstalling Library Examples\n============================\n\nIf you want to install library examples:\n\n.. code-block:: shell\n\n mpremote mip install github:jposada202020/MicroPython_MPL3115A2/examples.json\n\nTo install directly using a WIFI capable board\n\n.. code-block:: shell\n\n mip install github:jposada202020/MicroPython_MPL3115A2/examples.json\n\n\nInstalling from PyPI\n=====================\n\nOn supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from\nPyPI <https://pypi.org/project/micropython-mpl3115a2/>`_.\nTo install for current user:\n\n.. code-block:: shell\n\n pip3 install micropython-mpl3115a2\n\nTo install system-wide (this may be required in some cases):\n\n.. code-block:: shell\n\n sudo pip3 install micropython-mpl3115a2\n\nTo install in a virtual environment in your current project:\n\n.. code-block:: shell\n\n mkdir project-name && cd project-name\n python3 -m venv .venv\n source .env/bin/activate\n pip3 install micropython-mpl3115a2\n\n\nUsage Example\n=============\n\nTake a look at the examples directory\n\nDocumentation\n=============\nAPI documentation for this library can be found on `Read the Docs <https://micropython-mpl3115a2.readthedocs.io/en/latest/>`_.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "MicroPython driver for the NXP MPL3115A2 Pressure and Temperature sensor",
"version": "0.1.0",
"project_urls": {
"Homepage": "https://github.com/jposada202020/MicroPython_MPL3115A2"
},
"split_keywords": [
"sensor",
"micropython",
"mpl3115a2",
"micropython",
"nxp",
"temperature",
"pressure",
"mpl3115a2",
"sensor",
"driver"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "bc0436387a5333ae15be061b8ddf9c735372f607b7f3119de5c20c8318e62f98",
"md5": "849fc8f48d43cd14f111942e10881861",
"sha256": "c67c55ea4fc38889f3a23f9349c64be2dc647e6e380c98624fbdb82e71a638c2"
},
"downloads": -1,
"filename": "micropython_mpl3115a2-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "849fc8f48d43cd14f111942e10881861",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 7031,
"upload_time": "2023-06-26T05:44:50",
"upload_time_iso_8601": "2023-06-26T05:44:50.203959Z",
"url": "https://files.pythonhosted.org/packages/bc/04/36387a5333ae15be061b8ddf9c735372f607b7f3119de5c20c8318e62f98/micropython_mpl3115a2-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "8c0c7e0f2f1971e74ddc54ce5bf2ee8e92a24190a1ab3a78041a662a28e8838c",
"md5": "c2cf75ff0d5d05a14310bcb37abde889",
"sha256": "38e56ebf581bb2b1621f68efff6fa91b9a00d474fb1cdffdc6d8669ff518d8c2"
},
"downloads": -1,
"filename": "micropython-mpl3115a2-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "c2cf75ff0d5d05a14310bcb37abde889",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 18376,
"upload_time": "2023-06-26T05:44:52",
"upload_time_iso_8601": "2023-06-26T05:44:52.023908Z",
"url": "https://files.pythonhosted.org/packages/8c/0c/7e0f2f1971e74ddc54ce5bf2ee8e92a24190a1ab3a78041a662a28e8838c/micropython-mpl3115a2-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-06-26 05:44:52",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "jposada202020",
"github_project": "MicroPython_MPL3115A2",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "micropython-mpl3115a2"
}