{ "info": { "author": "Adafruit Industries", "author_email": "circuitpython@adafruit.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Libraries", "Topic :: System :: Hardware" ], "description": "Introduction\n============\n\n.. image:: https://readthedocs.org/projects/adafruit-circuitpython-pct2075/badge/?version=latest\n :target: https://circuitpython.readthedocs.io/projects/pct2075/en/latest/\n :alt: Documentation Status\n\n.. image:: https://img.shields.io/discord/327254708534116352.svg\n :target: https://discord.gg/nBQh6qu\n :alt: Discord\n\n.. image:: https://travis-ci.com/adafruit/Adafruit_CircuitPython_PCT2075.svg?branch=master\n :target: https://travis-ci.com/adafruit/Adafruit_CircuitPython_PCT2075\n :alt: Build Status\n\nCircuitPython library for the NXP PCT2075 Digital Temperature Sensor\n\n\nDependencies\n=============\nThis driver depends on:\n\n* `Adafruit CircuitPython `_\n* `Bus Device `_\n* `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 `_.\n\nInstalling from PyPI\n=====================\nOn supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from\nPyPI `_. To install for current user:\n\n.. code-block:: shell\n\n pip3 install adafruit-circuitpython-pct2075\n\nTo install system-wide (this may be required in some cases):\n\n.. code-block:: shell\n\n sudo pip3 install adafruit-circuitpython-pct2075\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 .env\n source .env/bin/activate\n pip3 install adafruit-circuitpython-pct2075\n\nUsage Example\n=============\n\n.. code-block:: python\n\n import time\n import board\n import busio\n import adafruit_pct2075\n i2c = busio.I2C(board.SCL, board.SDA)\n\n pct = adafruit_pct2075.PCT2075(i2c)\n\n while True:\n print(\"Temperature: %.2f C\"%pct.temperature)\n time.sleep(0.5)\n\n\nContributing\n============\n\nContributions are welcome! Please read our `Code of Conduct\n`_\nbefore contributing to help this project stay welcoming.\n\nSphinx documentation\n-----------------------\n\nSphinx is used to build the documentation based on rST files and comments in the code. First,\ninstall dependencies (feel free to reuse the virtual environment from above):\n\n.. code-block:: shell\n\n python3 -m venv .env\n source .env/bin/activate\n pip install Sphinx sphinx-rtd-theme\n\nNow, once you have the virtual environment activated:\n\n.. code-block:: shell\n\n cd docs\n sphinx-build -E -W -b html . _build/html\n\nThis will output the documentation to ``docs/_build/html``. Open the index.html in your browser to\nview them. It will also (due to -W) error out on any warning like Travis will. This is a good way to\nlocally verify it will pass.", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/adafruit/Adafruit_CircuitPython_PCT2075", "keywords": "adafruit blinka circuitpython micropython pct2075 lm75 temperature", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "adafruit-circuitpython-pct2075", "package_url": "https://pypi.org/project/adafruit-circuitpython-pct2075/", "platform": "", "project_url": "https://pypi.org/project/adafruit-circuitpython-pct2075/", "project_urls": { "Homepage": "https://github.com/adafruit/Adafruit_CircuitPython_PCT2075" }, "release_url": "https://pypi.org/project/adafruit-circuitpython-pct2075/1.0.1/", "requires_dist": null, "requires_python": "", "summary": "CircuitPython library for the NXP PCT2075 Digital Temperature Sensor", "version": "1.0.1" }, "last_serial": 5838469, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "9cd71fc7fadd9ffad79649ceb1cab145", "sha256": "38547fa02e42f7b95f4f016701dc1ac0a72eb07aac2af8c4003738bd7fb36782" }, "downloads": -1, "filename": "adafruit-circuitpython-pct2075-1.0.0.tar.gz", "has_sig": false, "md5_digest": "9cd71fc7fadd9ffad79649ceb1cab145", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20517, "upload_time": "2019-09-06T17:15:27", "url": "https://files.pythonhosted.org/packages/b0/b0/3292e74c6637bac6d398f759ef74b124bb295212528ab078992a7990079d/adafruit-circuitpython-pct2075-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "d2b8e747458fb8f2767e25936ac3a545", "sha256": "129d2968d731a733d134655524574fc9ddf8922e3bf63cd7a9bf5d07484a5f83" }, "downloads": -1, "filename": "adafruit-circuitpython-pct2075-1.0.1.tar.gz", "has_sig": false, "md5_digest": "d2b8e747458fb8f2767e25936ac3a545", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20531, "upload_time": "2019-09-16T22:24:26", "url": "https://files.pythonhosted.org/packages/b6/f9/f7f653292700089c904e57b5dbafa8fc7eb0d137d311d099495e302e64ff/adafruit-circuitpython-pct2075-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d2b8e747458fb8f2767e25936ac3a545", "sha256": "129d2968d731a733d134655524574fc9ddf8922e3bf63cd7a9bf5d07484a5f83" }, "downloads": -1, "filename": "adafruit-circuitpython-pct2075-1.0.1.tar.gz", "has_sig": false, "md5_digest": "d2b8e747458fb8f2767e25936ac3a545", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20531, "upload_time": "2019-09-16T22:24:26", "url": "https://files.pythonhosted.org/packages/b6/f9/f7f653292700089c904e57b5dbafa8fc7eb0d137d311d099495e302e64ff/adafruit-circuitpython-pct2075-1.0.1.tar.gz" } ] }