Saravanan666/pypi-org huggingface dataset:
Package: adafruit-circuitpython-mpu6050
IntroductionCircuitPython helper library for the MPU6050 6-DoF Accelerometer and GyroscopeDependenciesThis 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-mpu6050To install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-mpu6050To install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.venv/bin/activatepip3installadafruit-circuitpython-mpu6050Usage Exampleimporttimeimportboardimportadafruit_mpu6050i2c=board.I2C()# uses board.SCL and board.SDAmpu=adafruit_mpu6050.MPU6050(i2c)whileTrue:print("Acceleration: X:%.2f, Y:%.2f, Z:%.2fm/s^2"%(mpu.acceleration))print("Gyro X:%.2f, Y:%.2f, Z:%.2fdegrees/s"%(mpu.gyro))print("Temperature:%.2fC"%mpu.temperature)print("")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-ms8607
IntroductionCircuitPython driver for the MS8607 PTH sensorDependenciesThis 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-ms8607To install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-ms8607To install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.venv/bin/activatepip3installadafruit-circuitpython-ms8607Usage Examplefromtimeimportsleepimportboardfromadafruit_ms8607importMS8607i2c=board.I2C()sensor=MS8607(i2c)whileTrue:print("Pressure:%.2fhPa"%sensor.pressure)print("Temperature:%.2fC"%sensor.temperature)print("Humidity:%.2f%%rH"%sensor.relative_humidity)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-msa301
IntroductionCircuitPython library for the MSA301/MSA311 AccelerometersDependenciesThis 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-msa301To install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-msa301To install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.venv/bin/activatepip3installadafruit-circuitpython-msa301Usage ExampleDocumentationAPI 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-neokey
IntroductionThis is a library for using the Adafruit NeoKey boards with circuitpython.DependenciesThis driver depends on:Adafruit CircuitPythonBus DeviceRegisterAdafruit SeesawPlease 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-neokeyTo install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-neokeyTo install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.venv/bin/activatepip3installadafruit-circuitpython-neokeyUsage Examplesee examples/neokey1x4_simpletest.py for usage exampleDocumentationAPI 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-neopixel-spi
IntroductionSPI driven CircuitPython driver for NeoPixels.DependenciesThis driver depends on:Adafruit CircuitPythonBus DevicePixelbufPlease 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-neopixel-spiTo install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-neopixel-spiTo install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.venv/bin/activatepip3installadafruit-circuitpython-neopixel-spiUsage Exampleimportboardimportneopixel_spipixels=neopixel_spi.NeoPixel_SPI(board.SPI(),10)pixels.fill(0xff0000)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-neopxl8
IntroductionPIO-driven 8-way concurrent NeoPixel driver for RP2040DependenciesThis driver depends on:Adafruit CircuitPythonpioasmPlease 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.Installing 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:circupinstallneopxl8Or the following command to update an existing version:circupupdateUsage ExampleSee theExamples pagefor a full example.  This example shows how to set up 8 30-pixel LED strands on an Adafruit Feather Scorpio RP2040 and set them all to dim red:importtimeimportboardfromadafruit_neopxl8importNeoPxl8# Customize for your strands herenum_strands=8strand_length=30first_led_pin=board.NEOPIXEL0num_pixels=num_strands*strand_length# Make the object to control the pixelspixels=NeoPxl8(first_led_pin,num_pixels,num_strands=num_strands,)pixels.fill(0x01_00_00)whileTrue: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-neotrellis
IntroductionThis is a library for using the Adafruit_NeoTrellis boards with circuitpython.DependenciesThis driver depends on:Adafruit CircuitPythonBus DeviceRegisterAdafruit SeesawPlease 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-neotrellisTo install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-neotrellisTo install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.venv/bin/activatepip3installadafruit-circuitpython-neotrellisUsage Examplesee examples/neotrellis_simpletest.py for usage exampleDocumentationAPI 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-ntp
IntroductionNetwork Time Protocol (NTP) helper for CircuitPython.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-ntpTo install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-ntpTo install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.venv/bin/activatepip3installadafruit-circuitpython-ntpUsage Exampleimportadafruit_ntpimportsocketpoolimporttimeimportwifi# Get wifi details and more from a secrets.py filetry:fromsecretsimportsecretsexceptImportError:print("WiFi secrets are kept in secrets.py, please add them there!")raisewifi.radio.connect(secrets["ssid"],secrets["password"])pool=socketpool.SocketPool(wifi.radio)ntp=adafruit_ntp.NTP(pool,tz_offset=0)whileTrue:print(ntp.datetime)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-nunchuk
IntroductionCircuitPython library for Nintendo Nunchuk controllerDependenciesThis 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.Works with the Wii controller (Nunchuck / Wiichuck).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-nunchukTo install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-nunchukTo install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.venv/bin/activatepip3installadafruit-circuitpython-nunchukInstalling 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_nunchukOr the following command to update an existing version:circupupdateUsage ExampleSee nunchuk_simpletest.py in 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.
Package: adafruit-circuitpython-oauth2
IntroductionCircuitPython helper for OAuth2.0 authorization to access Google APIs.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-oauth2To install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-oauth2To install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.venv/bin/activatepip3installadafruit-circuitpython-oauth2Usage ExampleUsage example for different network interfaces are avaliable within 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.
Package: adafruit-circuitpython-onewire
IntroductionClasses for use in communicating with devices on a 1-Wire bus.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.Note:This library doesnotwork on the Raspberry Pi as there is no kernel interface for itUsage Exampleimportboardfromadafruit_onewire.busimportOneWireBusow_bus=OneWireBus(board.D2)devices=ow_bus.scan()fordindevices:print("ROM={}\tFamily=0x{:02x}".format(d.rom,d.family_code))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-ov2640
IntroductionCircuitPython driver for OV2640 Camera.This driver is designed to work directly with the OV2640 camera module through an 18-pin header.
It does not work with products such as ArduCam which process the camera data themselves.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 bundleor individual libraries can be installed usingcircup.ESP32-S2 Kaluga Dev Kit featuring ESP32-S2 WROVERUsage ExampleUsing the ESP32-S2 Kaluga Dev Kit and its included camera, capture a 160x120 image into a buffer:importboardfromadafruit_ov2640importOV2640,OV2640_SIZE_QQVGAbus=busio.I2C(scl=board.CAMERA_SIOC,sda=board.CAMERA_SIOD)cam=OV2640(bus,data_pins=board.CAMERA_DATA,clock=board.CAMERA_PCLK,vsync=board.CAMERA_VSYNC,href=board.CAMERA_HREF,mclk=board.CAMERA_XCLK,size=OV2640_SIZE_QQVGA,)buf=bytearray(2*cam.width*cam.height)cam.capture(buf)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-ov5640
IntroductionCircuitPython driver for OV5640 CameraInstalling 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_ov5640Or the following command to update an existing version:circupupdateUsage ExampleDocumentationAPI 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-ov7670
IntroductionCircuitPython driver for OV7670 camerasWarningThis module requires the CircuitPythonimagecapturemodule which is only in the unreleased development version (“Absolute Newest”) of CircuitPython and is only supported on specific boards.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 bundleor individual libraries can be installed usingcircup.Usage ExampleOn an Adafruit Metro M4 Grand Central, capture a 40x30 image into a buffer:importboardfromadafruit_ov7670importOV7670cam=OV7670(bus,data_pins=[board.PCC_D0,board.PCC_D1,board.PCC_D2,board.PCC_D3,board.PCC_D4,board.PCC_D5,board.PCC_D6,board.PCC_D7],clock=board.PCC_CLK,vsync=board.PCC_DEN1,href=board.PCC_DEN2,mclk=board.D29,shutdown=board.D39,reset=board.D38,)cam.size=OV7670_SIZE_DIV16buf=bytearray(2*cam.width*cam.height)cam.capture(buf)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-pastebin
IntroductionCircuitPython library for interacting with online pastebin servicesDependenciesThis 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.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-pastebinTo install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-pastebinTo install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.env/bin/activatepip3installadafruit-circuitpython-pastebinInstalling 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:circupinstallpastebinOr the following command to update an existing version:circupupdateUsage ExampleSee theexamples/folder for example usage.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-pca9554
IntroductionCircuitPython library for Adafruit PCA9554 GPIO expandersDependenciesThis 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.Adafruit Qualia ESP32-S3 for TTL RGB-666 DisplaysPurchase 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-pca9554To install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-pca9554To install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.env/bin/activatepip3installadafruit-circuitpython-pca9554Installing 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_pca9554Or the following command to update an existing version:circupupdateUsage Exampleimporttimeimportboardimportdigitalioimportadafruit_pca9554board.I2C().deinit()i2c=board.I2C()tft_io_expander=dict(board.TFT_IO_EXPANDER)pcf=adafruit_pca9554.PCA9554(i2c,address=tft_io_expander['i2c_address'])button_up=pcf.get_pin(board.BTN_UP)button_up.switch_to_input(pull=digitalio.Pull.UP)whileTrue:print(button_up.value)time.sleep(0.01)# debounceDocumentationAPI 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-pca9685
IntroductionDriver for the PCA9685, a 16-channel, 12-bit PWM chipDependenciesThis 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-pca9685To install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-pca9685To install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.venv/bin/activatepip3installadafruit-circuitpython-pca9685Usage ExampleSee examples/pca9685_simpletest.py for a demo of the usage.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-pcd8544
IntroductionA display control library for Nokia 5110 PCD8544 monochrome displaysDependenciesThis 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-pcd8544To install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-pcd8544To install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.venv/bin/activatepip3installadafruit-circuitpython-pcd8544Usage ExampleSee examples folder for demos of pixels, lines, and text!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.