adafruit-circuitpython-ina219


Nameadafruit-circuitpython-ina219 JSON
Version 3.4.25 PyPI version JSON
download
home_pageNone
SummaryCircuitPython library for INA219 high side DC current sensor.
upload_time2024-10-07 22:01:09
maintainerNone
docs_urlNone
authorNone
requires_pythonNone
licenseMIT
keywords adafruit blinka circuitpython micropython ina219 sensor current high voltage featherwing breakout hardware
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
Introduction
============

.. image:: https://readthedocs.org/projects/adafruit-circuitpython-ina219/badge/?version=latest
    :target: https://docs.circuitpython.org/projects/ina219/en/latest/
    :alt: Documentation Status

.. image:: https://raw.githubusercontent.com/adafruit/Adafruit_CircuitPython_Bundle/main/badges/adafruit_discord.svg
    :target: https://adafru.it/discord
    :alt: Discord

.. image:: https://github.com/adafruit/Adafruit_CircuitPython_INA219/workflows/Build%20CI/badge.svg
    :target: https://github.com/adafruit/Adafruit_CircuitPython_INA219/actions/
    :alt: Build Status

.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
    :target: https://github.com/psf/black
    :alt: Code Style: Black

CircuitPython driver for the `INA219 current sensor <https://www.adafruit.com/product/904>`_.

Dependencies
=============
This driver depends on:

* `Adafruit CircuitPython <https://github.com/adafruit/circuitpython>`_
* `Bus Device <https://github.com/adafruit/Adafruit_CircuitPython_BusDevice>`_
* `Register <https://github.com/adafruit/Adafruit_CircuitPython_Register>`_

Please ensure all dependencies are available on the CircuitPython filesystem.
This is easily achieved by downloading
`the Adafruit library and driver bundle <https://github.com/adafruit/Adafruit_CircuitPython_Bundle>`_.

Installing from PyPI
====================

On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from
PyPI <https://pypi.org/project/adafruit-circuitpython-ina219/>`_. To install for current user:

.. code-block:: shell

    pip3 install adafruit-circuitpython-ina219

To install system-wide (this may be required in some cases):

.. code-block:: shell

    sudo pip3 install adafruit-circuitpython-ina219

To install in a virtual environment in your current project:

.. code-block:: shell

    mkdir project-name && cd project-name
    python3 -m venv .venv
    source .venv/bin/activate
    pip3 install adafruit-circuitpython-ina219

Usage Example
=============

see `example <https://github.com/adafruit/Adafruit_CircuitPython_INA219/blob/main/examples/ina219_simpletest.py>`_

Documentation
=============

API documentation for this library can be found on `Read the Docs <https://docs.circuitpython.org/projects/ina219/en/latest/>`_.

For information on building library documentation, please check out `this guide <https://learn.adafruit.com/creating-and-sharing-a-circuitpython-library/sharing-our-docs-on-readthedocs#sphinx-5-1>`_.

Contributing
============

Contributions are welcome! Please read our `Code of Conduct
<https://github.com/adafruit/Adafruit_CircuitPython_ina219/blob/main/CODE_OF_CONDUCT.md>`_
before contributing to help this project stay welcoming.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "adafruit-circuitpython-ina219",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "adafruit, blinka, circuitpython, micropython, ina219, sensor, current, high, voltage, featherwing, breakout, hardware",
    "author": null,
    "author_email": "Adafruit Industries <circuitpython@adafruit.com>",
    "download_url": "https://files.pythonhosted.org/packages/b0/4f/c066647db0ff08d9e2b40c05b19ee07e1452aa650d9142cbe27400df6157/adafruit_circuitpython_ina219-3.4.25.tar.gz",
    "platform": null,
    "description": "\nIntroduction\n============\n\n.. image:: https://readthedocs.org/projects/adafruit-circuitpython-ina219/badge/?version=latest\n    :target: https://docs.circuitpython.org/projects/ina219/en/latest/\n    :alt: Documentation Status\n\n.. image:: https://raw.githubusercontent.com/adafruit/Adafruit_CircuitPython_Bundle/main/badges/adafruit_discord.svg\n    :target: https://adafru.it/discord\n    :alt: Discord\n\n.. image:: https://github.com/adafruit/Adafruit_CircuitPython_INA219/workflows/Build%20CI/badge.svg\n    :target: https://github.com/adafruit/Adafruit_CircuitPython_INA219/actions/\n    :alt: Build Status\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\nCircuitPython driver for the `INA219 current sensor <https://www.adafruit.com/product/904>`_.\n\nDependencies\n=============\nThis driver depends on:\n\n* `Adafruit CircuitPython <https://github.com/adafruit/circuitpython>`_\n* `Bus Device <https://github.com/adafruit/Adafruit_CircuitPython_BusDevice>`_\n* `Register <https://github.com/adafruit/Adafruit_CircuitPython_Register>`_\n\nPlease ensure all dependencies are available on the CircuitPython filesystem.\nThis is easily achieved by downloading\n`the Adafruit library and driver bundle <https://github.com/adafruit/Adafruit_CircuitPython_Bundle>`_.\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/adafruit-circuitpython-ina219/>`_. To install for current user:\n\n.. code-block:: shell\n\n    pip3 install adafruit-circuitpython-ina219\n\nTo install system-wide (this may be required in some cases):\n\n.. code-block:: shell\n\n    sudo pip3 install adafruit-circuitpython-ina219\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 .venv/bin/activate\n    pip3 install adafruit-circuitpython-ina219\n\nUsage Example\n=============\n\nsee `example <https://github.com/adafruit/Adafruit_CircuitPython_INA219/blob/main/examples/ina219_simpletest.py>`_\n\nDocumentation\n=============\n\nAPI documentation for this library can be found on `Read the Docs <https://docs.circuitpython.org/projects/ina219/en/latest/>`_.\n\nFor information on building library documentation, please check out `this guide <https://learn.adafruit.com/creating-and-sharing-a-circuitpython-library/sharing-our-docs-on-readthedocs#sphinx-5-1>`_.\n\nContributing\n============\n\nContributions are welcome! Please read our `Code of Conduct\n<https://github.com/adafruit/Adafruit_CircuitPython_ina219/blob/main/CODE_OF_CONDUCT.md>`_\nbefore contributing to help this project stay welcoming.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "CircuitPython library for INA219 high side DC current sensor.",
    "version": "3.4.25",
    "project_urls": {
        "Homepage": "https://github.com/adafruit/Adafruit_CircuitPython_INA219"
    },
    "split_keywords": [
        "adafruit",
        " blinka",
        " circuitpython",
        " micropython",
        " ina219",
        " sensor",
        " current",
        " high",
        " voltage",
        " featherwing",
        " breakout",
        " hardware"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f720175c4f21bf22f87815ff47c5faaaf1d7e9c71b714ccc6940870ad6c8b223",
                "md5": "f793695ace75a85667946827945f4322",
                "sha256": "cd7935f480cbd6481689b2a805532563ece1d2b4aa5b8e30d04be9d3ca80f4ef"
            },
            "downloads": -1,
            "filename": "adafruit_circuitpython_ina219-3.4.25-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f793695ace75a85667946827945f4322",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 7746,
            "upload_time": "2024-10-07T22:01:08",
            "upload_time_iso_8601": "2024-10-07T22:01:08.230473Z",
            "url": "https://files.pythonhosted.org/packages/f7/20/175c4f21bf22f87815ff47c5faaaf1d7e9c71b714ccc6940870ad6c8b223/adafruit_circuitpython_ina219-3.4.25-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b04fc066647db0ff08d9e2b40c05b19ee07e1452aa650d9142cbe27400df6157",
                "md5": "df13dbc6900265ae3c2e8d5cf91e4339",
                "sha256": "f2c125fa252c5188e8a5642be3d30da473b07d47c3529c067df745b254102b53"
            },
            "downloads": -1,
            "filename": "adafruit_circuitpython_ina219-3.4.25.tar.gz",
            "has_sig": false,
            "md5_digest": "df13dbc6900265ae3c2e8d5cf91e4339",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 29356,
            "upload_time": "2024-10-07T22:01:09",
            "upload_time_iso_8601": "2024-10-07T22:01:09.849658Z",
            "url": "https://files.pythonhosted.org/packages/b0/4f/c066647db0ff08d9e2b40c05b19ee07e1452aa650d9142cbe27400df6157/adafruit_circuitpython_ina219-3.4.25.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-07 22:01:09",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "adafruit",
    "github_project": "Adafruit_CircuitPython_INA219",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "adafruit-circuitpython-ina219"
}
        
Elapsed time: 1.01985s