Saravanan666/pypi-org huggingface dataset:
Package: adafruit-circuitpython-ssd1608
IntroductionCircuitPythondisplayiodriver for SSD1608-based ePaper displaysDependenciesThis 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-ssd1608To install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-ssd1608To install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.venv/bin/activatepip3installadafruit-circuitpython-ssd1608Usage Example"""Simple test script for 1.54" 200x200 monochrome display.

Supported products:
  * Adafruit 1.54" Monochrome ePaper Display Breakout
    * https://www.adafruit.com/product/4196
  """importtimeimportboardimportdisplayioimportfourwireimportadafruit_ssd1608displayio.release_displays()# This pinout works on a Feather M4 and may need to be altered for other boards.spi=board.SPI()# Uses SCK and MOSIepd_cs=board.D9epd_dc=board.D10epd_reset=board.D5epd_busy=board.D6display_bus=fourwire.FourWire(spi,command=epd_dc,chip_select=epd_cs,reset=epd_reset,baudrate=1000000)time.sleep(1)display=adafruit_ssd1608.SSD1608(display_bus,width=200,height=200,busy_pin=epd_busy)g=displayio.Group()f=open("/display-ruler.bmp","rb")pic=displayio.OnDiskBitmap(f)# CircuitPython 6 & 7 compatiblet=displayio.TileGrid(pic,pixel_shader=getattr(pic,"pixel_shader",displayio.ColorConverter()))# CircuitPython 7 compatible only# t = displayio.TileGrid(pic, pixel_shader=pic.pixel_shader)g.append(t)display.root_group=gdisplay.refresh()print("refreshed")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-ssd1675
IntroductionCircuitPythondisplayiodrivers for SSD1675-based ePaper displaysDependenciesThis 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-ssd1675To install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-ssd1675To install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.venv/bin/activatepip3installadafruit-circuitpython-ssd1675Usage Example"""Simple test script for 2.13" 250x122 black and white featherwing.

Supported products:
  * Adafruit 2.13" Black and White FeatherWing
    * https://www.adafruit.com/product/4195
  """importtimeimportboardimportbusioimportdisplayio# Starting in CircuitPython 9.x, fourwire will be a seperate internal library# rather than a component of the displayio librarytry:fromfourwireimportFourWireexceptImportError:fromdisplayioimportFourWireimportadafruit_ssd1675displayio.release_displays()epd_cs=board.D9epd_dc=board.D10display_bus=FourWire(board.SPI(),command=epd_dc,chip_select=epd_cs,baudrate=1000000)time.sleep(1)display=adafruit_ssd1675.SSD1675(display_bus,width=250,height=122,rotation=90)g=displayio.Group()f=open("/display-ruler.bmp","rb")pic=displayio.OnDiskBitmap(f)# CircuitPython 6 & 7 compatiblet=displayio.TileGrid(pic,pixel_shader=getattr(pic,"pixel_shader",displayio.ColorConverter()))# CircuitPython 7 compatible only# t = displayio.TileGrid(pic, pixel_shader=pic.pixel_shader)g.append(t)display.root_group=gdisplay.refresh()print("refreshed")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-ssd1680
IntroductionCircuitPythondisplayiodriver for SSD1680-based ePaper displaysDependenciesThis 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.Adafruit 2.13” 250x122 Tri-Color eInk / ePaper Display with SRAM - SSD1680 DriverPurchase the Breakout from the Adafruit shopAdafruit 2.13” HD Tri-Color eInk / ePaper Display FeatherWing - 250x122 RW Panel with SSD1680Purchase the FeatherWing 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-ssd1680To install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-ssd1680To install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.venv/bin/activatepip3installadafruit-circuitpython-ssd1680Usage Exampleimporttimeimportboardimportdisplayioimportfourwireimportadafruit_ssd1680displayio.release_displays()# This pinout works on a Metro M4 and may need to be altered for other boards.spi=board.SPI()# Uses SCK and MOSIepd_cs=board.D9epd_dc=board.D10epd_reset=board.D8# Set to None for FeatherWingepd_busy=board.D7# Set to None for FeatherWingdisplay_bus=fourwire.FourWire(spi,command=epd_dc,chip_select=epd_cs,reset=epd_reset,baudrate=1000000)time.sleep(1)display=adafruit_ssd1680.SSD1680(display_bus,width=250,height=122,busy_pin=epd_busy,highlight_color=0xFF0000,rotation=270,)g=displayio.Group()# CircuitPython 6 & 7 compatiblef=open("/display-ruler.bmp","rb")pic=displayio.OnDiskBitmap(f)t=displayio.TileGrid(pic,pixel_shader=getattr(pic,"pixel_shader",displayio.ColorConverter()))# # CircuitPython 7 compatible only# pic = displayio.OnDiskBitmap("/display-ruler.bmp")# t = displayio.TileGrid(pic, pixel_shader=pic.pixel_shader)g.append(t)display.root_group=gdisplay.refresh()print("refreshed")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-ssd1681
IntroductionCircuitPythondisplayiodriver for SSD1681-based ePaper displaysDependenciesThis 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.Adafruit 1.54” Tri-Color eInk / ePaper 200x200 Display with SRAMPurchase 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-ssd1681To install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-ssd1681To install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.venv/bin/activatepip3installadafruit-circuitpython-ssd1681Usage Exampleimporttimeimportboardimportdisplayioimportfourwireimportadafruit_ssd1681displayio.release_displays()# This pinout works on a Feather M4 and may need to be altered for other boards.spi=board.SPI()# Uses SCK and MOSIepd_cs=board.D9epd_dc=board.D10epd_reset=board.D5epd_busy=board.D6display_bus=fourwire.FourWire(spi,command=epd_dc,chip_select=epd_cs,reset=epd_reset,baudrate=1000000)time.sleep(1)display=adafruit_ssd1681.SSD1681(display_bus,width=200,height=200,busy_pin=epd_busy,rotation=180)g=displayio.Group()# CircuitPython 6 & 7 compatiblef=open("/display-ruler.bmp","rb")pic=displayio.OnDiskBitmap(f)t=displayio.TileGrid(pic,pixel_shader=getattr(pic,"pixel_shader",displayio.ColorConverter()))# # CircuitPython 7 compatible only# pic = displayio.OnDiskBitmap("/display-ruler.bmp")# t = displayio.TileGrid(pic, pixel_shader=pic.pixel_shader)g.append(t)display.root_group=gdisplay.refresh()print("refreshed")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-st7565
IntroductionA display control library for ST7565 graphic 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.Usage 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.
Package: adafruit-circuitpython-st7735
Introductiondisplayio driver for ST7735B TFT-LCD displays.HardwareThis driver does not work for any current Adafruit Displays. It is intended to be used with displays
with an ST7735B or similar chipset and was created using initialization codes from the Arduino Library.
If you have a newer Adafruit Display with a ST7735R or ST7735S chip,
please visitthe Adafruit ST7735R Driver.DependenciesThis driver depends on:Adafruit CircuitPython 4.0.0-beta.0+Please ensure all dependencies are available on the CircuitPython filesystem.
This is easily achieved by downloadingthe Adafruit library and driver bundle.Usage Exampleimportboardimportdisplayiofromadafruit_st7735importST7735spi=board.SPI()tft_cs=board.D5tft_dc=board.D6displayio.release_displays()display_bus=displayio.FourWire(spi,command=tft_dc,chip_select=tft_cs,reset=board.D9)display=ST7735(display_bus,width=128,height=128)# Make the display contextsplash=displayio.Group()display.root_group=splashcolor_bitmap=displayio.Bitmap(128,128,1)color_palette=displayio.Palette(1)color_palette[0]=0xFF0000bg_sprite=displayio.TileGrid(color_bitmap,pixel_shader=color_palette,x=0,y=0)splash.append(bg_sprite)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-st7735r
Introductiondisplayio driver for ST7735R TFT-LCD displays.Hardware1.8” SPI TFT display, 160x128 18-bit colorAdafruit 0.96” 160x80 Color TFT Display w/ MicroSD Card Breakout1.8” Color TFT LCD display with MicroSD Card BreakoutAdafruit 1.44” Color TFT LCD Display with MicroSD Card breakoutAdafruit Mini Color TFT with Joystick FeatherWingIf you have a board with a ST7735B chip, you may want to trythe Adafruit ST7735 Driver.DependenciesThis driver depends on:Adafruit CircuitPython 4.0.0-beta.0+Please ensure all dependencies are available on the CircuitPython filesystem.
This is easily achieved by downloadingthe Adafruit library and driver bundle.Usage Exampleimportboardimportdisplayioimportfourwirefromadafruit_st7735rimportST7735Rspi=board.SPI()tft_cs=board.D5tft_dc=board.D6displayio.release_displays()display_bus=fourwire.FourWire(spi,command=tft_dc,chip_select=tft_cs,reset=board.D9)display=ST7735R(display_bus,width=128,height=128,colstart=2,rowstart=1)# Make the display contextsplash=displayio.Group()color_bitmap=displayio.Bitmap(128,128,1)color_palette=displayio.Palette(1)color_palette[0]=0xFF0000bg_sprite=displayio.TileGrid(color_bitmap,pixel_shader=color_palette,x=0,y=0)splash.append(bg_sprite)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-st7789
Introductiondisplayio driver for ST7789 TFT-LCD displays.DependenciesThis driver depends on:Adafruit CircuitPython 4.0.0-beta.0+Please ensure all dependencies are available on the CircuitPython filesystem.
This is easily achieved by downloadingthe Adafruit library and driver bundle.Usage Exampleimportboardimportdisplayio# Starting in CircuitPython 9.x fourwire will be a seperate internal library# rather than a component of the displayio librarytry:fromfourwireimportFourWireexceptImportError:fromdisplayioimportFourWirefromadafruit_st7789importST7789displayio.release_displays()spi=board.SPI()whilenotspi.try_lock():passspi.configure(baudrate=24000000)# Configure SPI for 24MHzspi.unlock()tft_cs=board.D5tft_dc=board.D6display_bus=FourWire(spi,command=tft_dc,chip_select=tft_cs,reset=board.D9)display=ST7789(display_bus,width=240,height=240,rowstart=80)# Make the display contextsplash=displayio.Group()display.root_group=splashcolor_bitmap=displayio.Bitmap(240,240,1)color_palette=displayio.Palette(1)color_palette[0]=0xFF0000bg_sprite=displayio.TileGrid(color_bitmap,pixel_shader=color_palette,x=0,y=0)splash.append(bg_sprite)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-stmpe610
IntroductionAdafruit CircuitPython module for the STMPE610 Resistive Touch Screen ControllerDependenciesThis 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-stmpe610To install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-stmpe610To install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.venv/bin/activatepip3installadafruit-circuitpython-stmpe610Usage ExampleSee examples in github repository:https://github.com/adafruit/Adafruit_CircuitPython_STMPE610/tree/master/examplesDocumentationAPI 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-tc74
IntroductionCircuitPython library for the Microchip TC74 Digital 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-tc74To install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-tc74To install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.venv/bin/activatepip3installadafruit-circuitpython-tc74Usage Exampleimporttimeimportboardimportadafruit_tc74i2c=board.I2C()tc=adafruit_tc74.TC74(i2c)whileTrue:print(f"Temperature:{tc.temperature}C")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-tca8418
IntroductionCircuitPython / Python library for TCA8418 Keyboard MultiplexorDependenciesThis 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.Works with the TCA8418 keyboard multiplexor.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-tca8418To install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-tca8418To install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.envsource.env/bin/activatepip3installadafruit-circuitpython-tca8418Installing 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:circupinstalltca8418Or the following command to update an existing version:circupupdateUsage ExampleSee theexamples/folder for usage examples.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-tca9548a
IntroductionCircuitPython driver for the TCA9548A I2C Multiplexer.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-tca9548aTo install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-tca9548aTo install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.venv/bin/activatepip3installadafruit-circuitpython-tca9548aUsage Example# This example shows using TCA9548A to perform a simple scan for connected devicesimportboardimportadafruit_tca9548a# Create I2C bus as normali2c=board.I2C()# uses board.SCL and board.SDA# Create the TCA9548A object and give it the I2C bustca=adafruit_tca9548a.TCA9548A(i2c)forchannelinrange(8):iftca[channel].try_lock():print("Channel{}:".format(channel),end="")addresses=tca[channel].scan()print([hex(address)foraddressinaddressesifaddress!=0x70])tca[channel].unlock()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-tcs34725
IntroductionCircuitPython module for the TCS34725 color sensor.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-tcs34725To install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-tcs34725To install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.venv/bin/activatepip3installadafruit-circuitpython-tcs34725Usage ExampleSee examples/tcs34725_simpletest.py for an example of the module’s 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-templateengine
IntroductionTemplating engine to substitute variables into a template string. Templates can also include conditional logic and loops. Often used for web pages.Library is highly inspired by theJinja2andDjango Templates,
but it does not implement all of their features and takes a different approach to some of them.Main diffrences from Jinja2 and Django Templates:filters are not supported, and there is no plan to support themall variables passed inside context must be accessed using thecontextobjectyou can call methods inside templates just like in Pythonno support for nested blocks, although inheritance is supportedno support for custom tagsDependenciesThis 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-templateengineTo install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-templateengineTo install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.env/bin/activatepip3installadafruit-circuitpython-templateengineInstalling 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_templateengineOr the following command to update an existing version:circupupdateUsage ExampleSee the simpletest for an example of how to use it..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-testrepo
IntroductionThis repo exists solely for test purposes!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.Usage ExampleRepo is for test purposes only.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.