Saravanan666/pypi-org huggingface dataset:
Package: adafruit-board-toolkit
IntroductionCircuitPython board identification and informationInstalling from PyPIOn supported GNU/Linux systems like the Raspberry Pi, you can install the driver locallyfrom
PyPI.
To install for current user:pip3installadafruit-board-toolkitTo install system-wide (this may be required in some cases):sudopip3installadafruit-board-toolkitTo install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.envsource.env/bin/activatepip3installadafruit-board-toolkitContributingContributions are welcome! Please read ourCode of Conductbefore contributing to help this project stay welcoming.
Package: adafruit-circuitpython-24lc32
IntroductionCircuitPython driver for Adafruit 24LC32 I2C EEPROM BreakoutDependenciesThis driver depends on:Adafruit CircuitPythonBus DeviceRegisterPlease ensure all dependencies are available on the CircuitPython filesystem.
This is easily achieved by downloadingthe Adafruit library and driver bundleor individual libraries can be installed usingcircup.Adafruit 24LC32 I2C EEPROM BreakoutPurchase one from the Adafruit shopInstalling from PyPIOn supported GNU/Linux systems like the Raspberry Pi, you can install the driver locallyfrom
PyPI.
To install for current user:pip3installadafruit-circuitpython-24lc32To install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-24lc32To install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.venv/bin/activatepip3installadafruit-circuitpython-24lc32Installing to a Connected CircuitPython Device with CircupMake sure that you havecircupinstalled in your Python environment.
Install it with the following command if necessary:pip3installcircupWithcircupinstalled and your CircuitPython device connected use the
following command to install:circupinstalladafruit_24lc32Or the following command to update an existing version:circupupdateUsage Exampleimportboardimportadafruit_24lc32i2c=board.I2C()eeprom=adafruit_24lc32.EEPROM_I2C(i2c)print("length:{}".format(len(eeprom)))eeprom[0]=4print(eeprom[0])whileTrue:passDocumentationAPI documentation for this library can be found onRead the Docs.For information on building library documentation, please check outthis guide.ContributingContributions are welcome! Please read ourCode of Conductbefore contributing to help this project stay welcoming.
Package: adafruit-circuitpython-74hc595
IntroductionCircuitPython driver for 74HC595 shift register.DependenciesThis driver depends on:Adafruit CircuitPythonBus DevicePlease ensure all dependencies are available on the CircuitPython filesystem.
This is easily achieved by downloadingthe Adafruit library and driver bundle.Installing from PyPIOn supported GNU/Linux systems like the Raspberry Pi, you can install the driver locallyfrom
PyPI. To install for current user:pip3installadafruit-circuitpython-74hc595To install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-74hc595To install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.venv/bin/activatepip3installadafruit-circuitpython-74hc595Usage Exampleimportboardimportadafruit_74hc595importbusioimportdigitalioimporttimespi=busio.SPI(board.SCK,MOSI=board.MOSI)latch_pin=digitalio.DigitalInOut(board.D5)sr=adafruit_74hc595.ShiftRegister74HC595(spi,latch_pin)pin1=sr.get_pin(1)whileTrue:pin1.value=Truetime.sleep(1)pin1.value=Falsetime.sleep(1)DocumentationAPI documentation for this library can be found onRead the Docs.For information on building library documentation, please check outthis guide.ContributingContributions are welcome! Please read ourCode of Conductbefore contributing to help this project stay welcoming.
Package: adafruit-circuitpython-acep7in
IntroductionDriver for 7.3” 7-color (aka ACeP) epaper displayDependenciesThis driver depends on:Adafruit CircuitPythonPlease ensure all dependencies are available on the CircuitPython filesystem.
This is easily achieved by downloadingthe Adafruit library and driver bundleor individual libraries can be installed usingcircup.Waveshare 7.3” FInstalling from PyPIOn supported GNU/Linux systems like the Raspberry Pi, you can install the driver locallyfrom
PyPI.
To install for current user:pip3installadafruit-circuitpython-acep7inTo install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-acep7inTo install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.env/bin/activatepip3installadafruit-circuitpython-acep7inInstalling to a Connected CircuitPython Device with CircupMake sure that you havecircupinstalled in your Python environment.
Install it with the following command if necessary:pip3installcircupWithcircupinstalled and your CircuitPython device connected use the
following command to install:circupinstalladafruit_acep7inOr the following command to update an existing version:circupupdateUsage Example# SPDX-FileCopyrightText: 2017 Scott Shawcroft, written for Adafruit Industries# SPDX-FileCopyrightText: Copyright (c) 2023 Scott Shawcroft for Adafruit Industries# SPDX-FileCopyrightText: Copyright (c) 2021 Melissa LeBlanc-Williams for Adafruit Industries## SPDX-License-Identifier: Unlicense"""Simple test script for 5.6" 600x448 7-color ACeP display.
  """# pylint: disable=no-memberimporttimeimportboardimportdisplayioimportadafruit_acep7in# For 8.x.x and 9.x.x. When 8.x.x is discontinued as a stable release, change this.try:fromfourwireimportFourWireexceptImportError:fromdisplayioimportFourWiredisplayio.release_displays()# This pinout works on a Feather RP2040 and may need to be altered for other boards.spi=board.SPI()# Uses SCK and MOSIepd_cs=board.D9epd_dc=board.D10epd_reset=board.D11epd_busy=board.D12display_bus=FourWire(spi,command=epd_dc,chip_select=epd_cs,reset=epd_reset,baudrate=1000000)display=adafruit_acep7in.ACeP7In(display_bus,width=800,height=480,busy_pin=epd_busy)g=displayio.Group()fn="/display-ruler-720p.bmp"withopen(fn,"rb")asf:pic=displayio.OnDiskBitmap(f)t=displayio.TileGrid(pic,pixel_shader=pic.pixel_shader)g.append(t)display.root_group=gdisplay.refresh()time.sleep(120)DocumentationAPI documentation for this library can be found onRead the Docs.For information on building library documentation, please check outthis guide.ContributingContributions are welcome! Please read ourCode of Conductbefore contributing to help this project stay welcoming.
Package: adafruit-circuitpython-ad569x
IntroductionCircuitPython driver for the AD5691/2/3 I2C DACDependenciesThis driver depends on:Adafruit CircuitPythonBus DevicePlease ensure all dependencies are available on the CircuitPython filesystem.
This is easily achieved by downloadingthe Adafruit library and driver bundleor individual libraries can be installed usingcircup.Purchase one from the Adafruit shopInstalling from PyPIOn supported GNU/Linux systems like the Raspberry Pi, you can install the driver locallyfrom
PyPI.
To install for current user:pip3installadafruit-circuitpython-ad569xTo install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-ad569xTo install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.envsource.env/bin/activatepip3installadafruit-circuitpython-ad569xInstalling to a Connected CircuitPython Device with CircupMake sure that you havecircupinstalled in your Python environment.
Install it with the following command if necessary:pip3installcircupWithcircupinstalled and your CircuitPython device connected use the
following command to install:circupinstalladafruit--circuitpython-ad569xOr the following command to update an existing version:circupupdateUsage Exampleimportboardimportadafruit_ad569xi2c=board.I2C()dac=adafruit_ad569x.Adafruit_AD569x(i2c)# length of the sine waveLENGTH=100# sine wave values written to the DACvalue=[int(math.sin(math.pi*2*i/LENGTH)*((2**15)-1)+2**15)foriinrange(LENGTH)]whileTrue:forvinvalue:dac.value=vDocumentationAPI documentation for this library can be found onRead the Docs.For information on building library documentation, please check outthis guide.ContributingContributions are welcome! Please read ourCode of Conductbefore contributing to help this project stay welcoming.
Package: adafruit-circuitpython-adafruitio
Adafruit_CircuitPython_AdafruitIOCircuitPython wrapper library for communicating withAdafruit IO.DependenciesThis driver depends on:Adafruit CircuitPythonPlease ensure that all dependencies are available on the CircuitPython filesystem.
This is easily achieved by downloadingthe Adafruit library and driver bundle.Installing from PyPIOn supported GNU/Linux systems like the Raspberry Pi, you can install the driver locallyfrom
PyPI. To install for current user:pip3installadafruit-circuitpython-adafruitioTo install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-adafruitioTo install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.venv/bin/activatepip3installadafruit-circuitpython-adafruitioUsage ExampleUsage examples for the Adafruit IO HTTP API are within the examples/http folder.Usage examples for the Adafruit IO MQTT API are within the examples/mqtt folder.DocumentationAPI documentation for this library can be found onRead the Docs.For information on building library documentation, please check outthis guide.ContributingContributions are welcome! Please read ourCode of Conductbefore contributing to help this project stay welcoming.
Package: adafruit-circuitpython-ads1x15
IntroductionSupport for the ADS1x15 series of analog-to-digital converters. Available in 12-bit (ADS1015)
and 16-bit (ADS1115) versions.Installation & DependenciesThis driver depends on:Adafruit CircuitPythonBus DevicePlease ensure all dependencies are available on the CircuitPython filesystem.
This can be most easily achieved by downloading and installingthe Adafruit library and driver bundleon
your device.Installing from PyPIOn supported GNU/Linux systems like the Raspberry Pi, you can install the driver locallyfrom
PyPI. To install for current user:pip3installadafruit-circuitpython-ads1x15To install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-ads1x15To install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.venv/bin/activatepip3installadafruit-circuitpython-ads1x15Usage ExampleSingle Endedimporttimeimportboardimportbusioimportadafruit_ads1x15.ads1015asADSfromadafruit_ads1x15.analog_inimportAnalogIn# Create the I2C busi2c=busio.I2C(board.SCL,board.SDA)# Create the ADC object using the I2C busads=ADS.ADS1015(i2c)# Create single-ended input on channel 0chan=AnalogIn(ads,ADS.P0)# Create differential input between channel 0 and 1#chan = AnalogIn(ads, ADS.P0, ADS.P1)print("{:>5}\t{:>5}".format('raw','v'))whileTrue:print("{:>5}\t{:>5.3f}".format(chan.value,chan.voltage))time.sleep(0.5)DocumentationAPI documentation for this library can be found onRead the Docs.For information on building library documentation, please check outthis guide.ContributingContributions are welcome! Please read ourCode of Conductbefore contributing to help this project stay welcoming.
Package: adafruit-circuitpython-ads7830
IntroductionCircuitPython driver for the ADS7830 analog to digital converterDependenciesThis driver depends on:Adafruit CircuitPythonBus DevicePlease ensure all dependencies are available on the CircuitPython filesystem.
This is easily achieved by downloadingthe Adafruit library and driver bundleor individual libraries can be installed usingcircup.Purchase one from the Adafruit shopInstalling from PyPIOn supported GNU/Linux systems like the Raspberry Pi, you can install the driver locallyfrom
PyPI.
To install for current user:pip3installadafruit-circuitpython-ads7830To install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-ads7830To install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.env/bin/activatepip3installadafruit-circuitpython-ads7830Installing to a Connected CircuitPython Device with CircupMake sure that you havecircupinstalled in your Python environment.
Install it with the following command if necessary:pip3installcircupWithcircupinstalled and your CircuitPython device connected use the
following command to install:circupinstalladafruit_ads7830Or the following command to update an existing version:circupupdateUsage Exampleimporttimeimportboardimportadafruit_ads7830i2c=board.I2C()# Initialize ADS7830adc=adafruit_ads7830.Adafruit_ADS7830(i2c)analog_inputs=[]foriinrange(8):c=adc.inputs[i]analog_inputs.append(c)whileTrue:foriinenumerate(analog_inputs):print(f"ADC input{i}={analog_inputs[i].value}")time.sleep(0.1)DocumentationAPI documentation for this library can be found onRead the Docs.For information on building library documentation, please check outthis guide.ContributingContributions are welcome! Please read ourCode of Conductbefore contributing to help this project stay welcoming.
Package: adafruit-circuitpython-adt7410
IntroductionCircuitPython driver for reading temperature from the Analog Devices ADT7410 precision temperature sensorDependenciesThis driver depends on:Adafruit CircuitPythonBus DeviceRegisterPlease ensure all dependencies are available on the CircuitPython filesystem.
This is easily achieved by downloadingthe Adafruit library and driver bundle.Installing from PyPIOn supported GNU/Linux systems like the Raspberry Pi, you can install the driver locallyfrom
PyPI. To install for current user:pip3installadafruit-circuitpython-adt7410To install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-adt7410To install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.venv/bin/activatepip3installadafruit-circuitpython-adt7410Usage Exampleimporttimeimportboardimportadafruit_adt7410i2c=board.I2C()# uses board.SCL and board.SDAadt=adafruit_adt7410.ADT7410(i2c,address=0x48)adt.high_resolution=TruewhileTrue:print(adt.temperature)time.sleep(0.5)DocumentationAPI documentation for this library can be found onRead the Docs.For information on building library documentation, please check outthis guide.ContributingContributions are welcome! Please read ourCode of Conductbefore contributing to help this project stay welcoming.
Package: adafruit-circuitpython-adxl34x
IntroductionA CircuitPython driver for the ADXL34x family of accelerometersDependenciesThis driver depends on:Adafruit CircuitPythonBus DevicePlease ensure all dependencies are available on the CircuitPython filesystem.
This is easily achieved by downloadingthe Adafruit library and driver bundle.Installing from PyPIOn supported GNU/Linux systems like the Raspberry Pi, you can install the driver locallyfrom
PyPI. To install for current user:pip3installadafruit-circuitpython-adxl34xTo install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-adxl34xTo install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.venv/bin/activatepip3installadafruit-circuitpython-adxl34xUsage Exampleimporttimeimportboardimportadafruit_adxl34xi2c=board.I2C()# uses board.SCL and board.SDAaccelerometer=adafruit_adxl34x.ADXL345(i2c)whileTrue:print("%f%f%f"%accelerometer.acceleration)time.sleep(1)DocumentationAPI documentation for this library can be found onRead the Docs.For information on building library documentation, please check outthis guide.ContributingContributions are welcome! Please read ourCode of Conductbefore contributing to help this project stay welcoming.
Package: adafruit-circuitpython-adxl37x
IntroductionA CircuitPython I2C driver for the ADXL37x family of accelerometersDependenciesThis driver depends on:Adafruit CircuitPythonBus DeviceADXL34xPlease ensure all dependencies are available on the CircuitPython filesystem.
This is easily achieved by downloadingthe Adafruit library and driver bundleor individual libraries can be installed usingcircup.This library works with the ADXL375 accelerometer breakout over I2C.Purchase one from the Adafruit shopInstalling from PyPIOn supported GNU/Linux systems like the Raspberry Pi, you can install the driver locallyfrom
PyPI.
To install for current user:pip3installadafruit-circuitpython-adxl37xTo install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-adxl37xTo install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.venv/bin/activatepip3installadafruit-circuitpython-adxl37xInstalling to a Connected CircuitPython Device with CircupMake sure that you havecircupinstalled in your Python environment.
Install it with the following command if necessary:pip3installcircupWithcircupinstalled and your CircuitPython device connected use the
following command to install:circupinstalladafruit_adxl37xOr the following command to update an existing version:circupupdateUsage Exampleimporttimeimportboardimportadafruit_adxl37xi2c=board.I2C()accelerometer=adafruit_adxl37x.ADXL375(i2c)whileTrue:print("%f%f%f"%accelerometer.acceleration)time.sleep(0.2)DocumentationAPI documentation for this library can be found onRead the Docs.For information on building library documentation, please check outthis guide.ContributingContributions are welcome! Please read ourCode of Conductbefore contributing to help this project stay welcoming.
Package: adafruit-circuitpython-ags02ma
IntroductionAGS02MA TVOC / Gas sensorDependenciesThis driver depends on:Adafruit CircuitPythonBus DevicePlease ensure all dependencies are available on the CircuitPython filesystem.
This is easily achieved by downloadingthe Adafruit library and driver bundleor individual libraries can be installed usingcircup.Purchase one from the Adafruit shopInstalling from PyPIOn supported GNU/Linux systems like the Raspberry Pi, you can install the driver locallyfrom
PyPI.
To install for current user:pip3installadafruit-circuitpython-ags02maTo install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-ags02maTo install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.envsource.env/bin/activatepip3installadafruit-circuitpython-ags02maInstalling to a Connected CircuitPython Device with CircupMake sure that you havecircupinstalled in your Python environment.
Install it with the following command if necessary:pip3installcircupWithcircupinstalled and your CircuitPython device connected use the
following command to install:circupinstallags02maOr the following command to update an existing version:circupupdateUsage ExampleSee theexamples/folder to example usage of this library.DocumentationAPI documentation for this library can be found onRead the Docs.For information on building library documentation, please check outthis guide.ContributingContributions are welcome! Please read ourCode of Conductbefore contributing to help this project stay welcoming.
Package: adafruit-circuitpython-ahtx0
IntroductionCircuitPython driver for the Adafruit AHT10 or AHT20 Humidity and Temperature SensorDependenciesThis driver depends on:Adafruit CircuitPythonBus DevicePlease ensure all dependencies are available on the CircuitPython filesystem.
This is easily achieved by downloadingthe Adafruit library and driver bundle.Installing from PyPIOn supported GNU/Linux systems like the Raspberry Pi, you can install the driver locallyfrom
PyPI. To install for current user:pip3installadafruit-circuitpython-ahtx0To install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-ahtx0To install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.venv/bin/activatepip3installadafruit-circuitpython-ahtx0Usage Exampleimporttimeimportboardimportadafruit_ahtx0# Create sensor object, communicating over the board's default I2C busi2c=board.I2C()# uses board.SCL and board.SDAsensor=adafruit_ahtx0.AHTx0(i2c)whileTrue:print("\nTemperature:%0.1fC"%sensor.temperature)print("Humidity:%0.1f%%"%sensor.relative_humidity)time.sleep(2)DocumentationAPI documentation for this library can be found onRead the Docs.For information on building library documentation, please check outthis guide.ContributingContributions are welcome! Please read ourCode of Conductbefore contributing to help this project stay welcoming.
Package: adafruit-circuitpython-airlift
IntroductionManage AirLift coprocessors for use with Wifi and BluetoothDependenciesThis driver depends on:Adafruit CircuitPythonPlease ensure all dependencies are available on the CircuitPython filesystem.
This is easily achieved by downloadingthe Adafruit library and driver bundle.Installing from PyPINoteThis library is not available on PyPI yet. Install documentation is included
as a standard element. Stay tuned for PyPI availability!On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locallyfrom
PyPI. To install for current user:pip3installadafruit-circuitpython-airliftTo install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-airliftTo install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.venv/bin/activatepip3installadafruit-circuitpython-airliftUsage ExampleExample:from adafruit_airlift.esp32 import ESP32
import _bleio

esp32 = ESP32(debug=True)
_bleio.set_adapter(esp32.start_bluetooth())DocumentationAPI documentation for this library can be found onRead the Docs.For information on building library documentation, please check outthis guide.ContributingContributions are welcome! Please read ourCode of Conductbefore contributing to help this project stay welcoming.
Package: adafruit-circuitpython-am2320
IntroductionThis is a CircuitPython driver for the AM2320 temperature and humidity sensor.DependenciesThis driver depends on:Adafruit CircuitPythonPlease ensure all dependencies are available on the CircuitPython filesystem.
This is easily achieved by downloadingthe Adafruit library and driver bundle.Installing from PyPIOn supported GNU/Linux systems like the Raspberry Pi, you can install the driver locallyfrom
PyPI. To install for current user:pip3installadafruit-circuitpython-am2320To install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-am2320To install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.venv/bin/activatepip3installadafruit-circuitpython-am2320Usage ExampleSeeam2320_simpletest.pyin the examples folder.DocumentationAPI documentation for this library can be found onRead the Docs.For information on building library documentation, please check outthis guide.ContributingContributions are welcome! Please read ourCode of Conductbefore contributing to help this project stay welcoming.