Saravanan666/pypi-org huggingface dataset:
Package: adafruit-circuitpython-miniesptool
IntroductionROM loader for ESP chips, works with ESP8266 or ESP32.
This is a ‘no-stub’ loader, so you can’t read MD5 or firmware back on ESP8266.See this document for protocol we’re implementing:https://github.com/espressif/esptool/wiki/Serial-ProtocolSee this for the ‘original’ code we’re miniaturizing:https://github.com/espressif/esptool/blob/master/esptool.pyThere’s a very basic Arduino ROM loader here for ESP32:https://github.com/arduino-libraries/WiFiNINA/tree/master/examples/Tools/FirmwareUpdaterDependenciesThis 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-miniesptoolTo install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-miniesptoolTo install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.venv/bin/activatepip3installadafruit-circuitpython-miniesptoolUsage ExampleCheck the examples folder for demo sketches to upload firmware to ESP8266 and ESP32DocumentationAPI 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-minimqtt
IntroductionMQTT Client library 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-minimqttTo install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-minimqttTo install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.venv/bin/activatepip3installadafruit-circuitpython-minimqttUsage ExamplePlease check theexamples folderfor usage examples for 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-miniqr
IntroductionA non-hardware dependant miniature QR generator library. All native Python!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-miniqrTo install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-miniqrTo install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.venv/bin/activatepip3installadafruit-circuitpython-miniqrUsage Exampleimportadafruit_miniqrqr=adafruit_miniqr.QRCode()qr.add_data(b'https://www.adafruit.com')qr.make()print(qr.matrix)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-mlx90393
IntroductionAdafruit CircuitPython driver for the MLX90393 3-axis magnetometer.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-mlx90939To install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-mlx90939To install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.venv/bin/activatepip3installadafruit-circuitpython-mlx90939Usage Exampleimporttimeimportboardimportadafruit_mlx90393i2c=board.I2C()# uses board.SCL and board.SDASENSOR=adafruit_mlx90393.MLX90393(i2c,gain=adafruit_mlx90393.GAIN_1X)whileTrue:MX,MY,MZ=SENSOR.magneticprint("[{}]".format(time.monotonic()))print("X:{}uT".format(MX))print("Y:{}uT".format(MY))print("Z:{}uT".format(MZ))# Display the status field if an error occured, etc.ifSENSOR.last_status>adafruit_mlx90393.STATUS_OK:SENSOR.display_status()time.sleep(1.0)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-mlx90395
IntroductionCircuitPython helper library for using the Adafruit MLX90395 tri-Axis magnetometer 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 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-mlx90395To install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-mlx90395To install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.venv/bin/activatepip3installadafruit-circuitpython-mlx90395Usage Examplefromtimeimportsleepimportboardimportbusiofromadafruit_mlx90395importMLX90395,OSRi2c=busio.I2C(board.SCL,board.SDA)sensor=MLX90395(i2c)whileTrue:mag_x,mag_y,mag_z=sensor.magneticprint("X1:{0:10.2f}, Y:{1:10.2f}, Z:{2:10.2f}uT".format(mag_x,mag_y,mag_z))print("")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-mlx90614
IntroductionCircuitPython module for the Melexis MLX90614 Contact-less Infrared Temperature sensor.  See
examples/mlx90614_simpletest.py for a demo of the usage.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-mlx90614To install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-mlx90614To install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.venv/bin/activatepip3installadafruit-circuitpython-mlx90614Usage ExampleSee examples/mlx90614_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-mlx90640
IntroductionDriver for the MLX90640 thermal cameraDependenciesThis 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-mlx90640To install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-mlx90640To install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.venv/bin/activatepip3installadafruit-circuitpython-mlx90640Usage Exampleimporttimeimportboardimportbusioimportadafruit_mlx90640i2c=busio.I2C(board.SCL,board.SDA,frequency=800000)mlx=adafruit_mlx90640.MLX90640(i2c)print("MLX addr detected on I2C",[hex(i)foriinmlx.serial_number])# if using higher refresh rates yields a 'too many retries' exception,# try decreasing this value to work with certain pi/camera combinationsmlx.refresh_rate=adafruit_mlx90640.RefreshRate.REFRESH_2_HZframe=[0]*768whileTrue:try:mlx.getFrame(frame)exceptValueError:# these happen, no biggie - retrycontinueforhinrange(24):forwinrange(32):t=frame[h*32+w]print("%0.1f, "%t,end="")print()print()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-mlx90939
IntroductionAdafruit CircuitPython driver for the MLX90393 3-axis magnetometer.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-mlx90939To install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-mlx90939To install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.envsource.env/bin/activatepip3installadafruit-circuitpython-mlx90939Usage Exampleimporttimeimportbusioimportboardimportadafruit_mlx90393I2C_BUS=busio.I2C(board.SCL,board.SDA)SENSOR=adafruit_mlx90393.MLX90393(I2C_BUS,gain=adafruit_mlx90393.GAIN_1X)whileTrue:MX,MY,MZ=SENSOR.read_data(delay=1.0,raw=False)print("[{}]".format(time.monotonic()))print("X:{}uT".format(MX))print("Y:{}uT".format(MY))print("Z:{}uT".format(MZ))# Display the status field if an error occured, etc.ifSENSOR.last_status>adafruit_mlx90393.STATUS_OK:SENSOR.display_status()ContributingContributions are welcome! Please read ourCode of Conductbefore contributing to help this project stay welcoming.Building locallyZip release filesTo build this library locally you’ll need to install thecircuitpython-build-toolspackage.python3-mvenv.envsource.env/bin/activatepipinstallcircuitpython-build-toolsOnce installed, make sure you are in the virtual environment:source.env/bin/activateThen run the build:circuitpython-build-bundles--filename_prefixadafruit_circuitpython_mlx90393--library_location.Sphinx documentationSphinx is used to build the documentation based on rST files and comments in the code. First,
install dependencies (feel free to reuse the virtual environment from above):python3-mvenv.envsource.env/bin/activatepipinstallSphinxsphinx-rtd-themeNow, once you have the virtual environment activated:cddocssphinx-build-E-W-bhtml._build/htmlThis will output the documentation todocs/_build/html. Open the index.html in your browser to
view them. It will also (due to -W) error out on any warning like Travis will. This is a good way to
locally verify it will pass.
Package: adafruit-circuitpython-mma8451
IntroductionCircuitPython module for the MMA8451 3 axis accelerometer.Note:Older versions of the Raspberry Pi firmware do not have I2C clock stretching support so they don’t work well with the MMA. Please ensure your firmware is updated to the latest version before continuing and slow down the I2C as explained here:https://learn.adafruit.com/circuitpython-on-raspberrypi-linux/i2c-clock-stretchingDependenciesThis 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-mma8451To install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-mma8451To install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.venv/bin/activatepip3installadafruit-circuitpython-mma8451Usage ExampleSee examples/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-mmc56x3
IntroductionMagnetometer sensor libraryDependenciesThis 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.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-mmc56x3To install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-mmc56x3To install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.venv/bin/activatepip3installadafruit-circuitpython-mmc56x3Installing 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:circupinstallmmc56x3Or the following command to update an existing version:circupupdateUsage ExampleExamples of using this library can be found in theexamples/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-monsterm4sk
IntroductionHelper library for the Monster M4sk device. Allows usage of screens and other built-in hardware.DependenciesThis driver depends on:Adafruit CircuitPythonBus DeviceRegisterSeesawLIS3DHST7789Please ensure all dependencies are available on the CircuitPython filesystem.
This is easily achieved by downloadingthe Adafruit library and driver bundle.Installing from PyPINoteThis library will not be available on PyPI. Install documentation is included
as a standard element.Usage Exampleimportboardimportdisplayiofromadafruit_display_shapes.circleimportCircleimportadafruit_monsterm4skSCREEN_SIZE=240i2c_bus=board.I2C()mask=adafruit_monsterm4sk.MonsterM4sk(i2c=i2c_bus)left_group=displayio.Group()mask.left_display.root_group=left_groupright_group=displayio.Group()mask.right_display.root_group=right_groupright_circle=Circle(SCREEN_SIZE//2,SCREEN_SIZE//2,40,fill=0x0000FF)right_group.append(right_circle)left_circle=Circle(SCREEN_SIZE//2,SCREEN_SIZE//2,40,fill=0x00AA66)left_group.append(left_circle)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-motor
IntroductionThis helper library provides higher level objects to control motors and servos based on one or more
PWM outputs.The PWM outputs can be any object that have a 16-bitduty_cycleattribute. Its assumed that the
frequency has already been configured appropriately. (Typically 50hz for servos and 1600hz for
motors.)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-motorTo install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-motorTo install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.venv/bin/activatepip3installadafruit-circuitpython-motorDocumentationAPI 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-motorkit
IntroductionCircuitPython helper library for the DC & Stepper Motor FeatherWing, Shield and Pi Hat kits.DependenciesThis driver depends on:Adafruit CircuitPythonBus DeviceRegisterPCA9685MotorPlease 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-motorkitTo install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-motorkitTo install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.venv/bin/activatepip3installadafruit-circuitpython-motorkitUsage ExampleDC motor example:importtimefromadafruit_motorkitimportMotorKitkit=MotorKit()kit.motor1.throttle=1.0time.sleep(0.5)kit.motor1.throttle=0Stepper motor example:importtimefromadafruit_motorkitimportMotorKitkit=MotorKit()foriinrange(100):kit.stepper1.onestep()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-mpl115a2
IntroductionCircuitPython driver for MPL115A2 I2C Barometric Pressure/Temperature 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-mpl115a2To install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-mpl115a2To install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.venv/bin/activatepip3installadafruit-circuitpython-mpl115a2Usage ExampleSee usage examples in 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-mpl3115a2
IntroductionCircuitPython module for the MPL3115A2 barometric pressure & temperature 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-mpl3115a2To install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-mpl3115a2To install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.venv/bin/activatepip3installadafruit-circuitpython-mpl3115a2Usage ExampleSee examples/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-mpr121
IntroductionAdafruit CircuitPython module for the MPR121 capacitive touch breakout board.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-mpr121To install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-mpr121To install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.venv/bin/activatepip3installadafruit-circuitpython-mpr121Usage ExampleSee usage in the examples/mpr121_simpletest.py file.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-mprls
IntroductionCircuitPython library to support Honeywell MPRLS digital pressure sensors.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-mprlsTo install system-wide (this may be required in some cases):sudopip3installadafruit-circuitpython-mprlsTo install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.venv/bin/activatepip3installadafruit-circuitpython-mprlsUsage Exampleimporttimeimportboardimportadafruit_mprlsi2c=board.I2C()# Simplest use, connect to default over I2Cmpr=adafruit_mprls.MPRLS(i2c,psi_min=0,psi_max=25)whileTrue:print((mpr.pressure,))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.