Saravanan666/pypi-org huggingface dataset:
Package: circuitpython-esp32connection
IntroductionA WiFi connection helper for ESP32-based boards. This works on PyBadges with Airlift FeatherWings, or PyPortals.
It may work on other ESP32 devices, but hasn’t been tested.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:pip3installcircuitpython-esp32connectionTo install system-wide (this may be required in some cases):sudopip3installcircuitpython-esp32connectionTo install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.envsource.env/bin/activatepip3installcircuitpython-esp32connectionUsage Examplefromesp32connectionimportConnectionimportsecrets# Create the connectionconnection=Connection()# secrets must be a dictionary containing two values:# ssid - the ssid of the WiFi to connect to# password - the password of the WiFi to connect toconnection.connect(secrets)ContributingContributions are welcome! Please read ourCode of Conductbefore contributing to help this project stay welcoming.DocumentationFor information on building library documentation, please check outthis guide.
Package: circuitpython-functools
IntroductionA CircuitPython implementation of CPython’s functools libraryDependenciesThis 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 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:circupinstallcircuiython_functoolsOr the following command to update an existing version:circupupdateInstalling from PyPINoteThis library is provided on PyPI so that code developed for microcontrollers with this
library will also run on computers like the Raspberry Pi.  If you just need a package
for working with functiols on a computer or SBC only, consider using the Python standard
library’sfunctoolsmodule instead.On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locallyfrom
PyPI. To install for current user:pip3installcircuitpython-functoolsTo install system-wide (this may be required in some cases):sudopip3installcircuitpython-functoolsTo install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.venv/bin/activatepip3installcircuitpython-functoolsUsage ExampleSee examples in theexamples/folderDocumentationAPI 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: circuitpython-gauge
IntroductionCircuitPython Gauge. Simple customizable gauge widget.DependenciesThis driver depends on:Adafruit CircuitPythonOn supported GNU/Linux systems like the Raspberry Pi, you can install the driver locallyfrom
PyPI.
To install for current user:pip3installcircuitpython-gaugeTo install system-wide (this may be required in some cases):sudopip3installcircuitpython-gaugeTo install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.env/bin/activatepip3installcircuitpython-gaugeInstalling 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:circupinstallgaugeOr the following command to update an existing version:circupupdateDocumentationAPI documentation for this library can be found onRead the Docs.ContributingContributions are welcome! Please read ourCode of Conductbefore contributing to help this project stay welcoming.
Package: circuitpython-gp2y0e02b
IntroductionDriver for the GP2Y0E02B distance 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 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:pip3installcircuitpython-gp2y0e02bTo install system-wide (this may be required in some cases):sudopip3installcircuitpython-gp2y0e02bTo install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.env/bin/activatepip3installcircuitpython-gp2y0e02bInstalling 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:circupinstallgp2y0e02bOr the following command to update an existing version:circupupdateContributingContributions are welcome! Please read ourCode of Conductbefore contributing to help this project stay welcoming.
Package: circuitpython-gpio-expander
IntroductionCircuitPython helper library for gpio expanders (Texas Instrument PCA95xx and TCA95xx chips).DependenciesThis 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.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:circupinstallgpio_expanderOr the following command to update an existing version:circupupdateUsage Exampleimportboardfromgpio_expanderimportPCA9555,PCA9534######################## 16 bit I2C expander ########################_pca9555=PCA9555(board.I2C(),0x20)# print input 0 bit 0 value; datasheet bit field's name has underscore in place of dot for 16 bit expanderprint(_pca9555.I0_0)# configure an output port and set its value_pca9555.C1_3=0_pca9555.O1_3=0# print entire configuration registryprint(_pca9555.configuration_ports)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: circuitpython-h3lis200dl
IntroductionCircuitPython Driver for the ST H3LIS200DL Accelerometer.DependenciesThis driver depends on:Adafruit CircuitPythonBus DeviceRegisterPlease ensure all dependencies are available on the CircuitPython filesystem.
This is easily achieved by downloadingthe Community Bundle 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:pip3installcircuitpython-h3lis200dlTo install system-wide (this may be required in some cases):sudopip3installcircuitpython-h3lis200dlTo install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.env/bin/activatepip3installcircuitpython-h3lis200dlInstalling 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:circupinstallh3lis200dlOr the following command to update an existing version:circupupdateUsage ExampleTake a look at the examples directoryDocumentationAPI documentation for this library can be found onRead the Docs.
Package: circuitpython-hmac
IntroductionHMAC (Keyed-Hashing for Message Authentication) Python module. Implements the HMAC algorithm as described by RFC 2104.DependenciesThis driver depends on:Adafruit CircuitPythonAdafruit CircuitPython HashlibPlease 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:pip3installcircuitpython-hmacTo install system-wide (this may be required in some cases):sudopip3installcircuitpython-hmacTo install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.envsource.env/bin/activatepip3installcircuitpython-hmacUsage ExampleCreate a keyed hash for authenticating a message.secret="secret"msg="message"key=hmac.new(secret,msg=msg,digestmod=hashlib.sha256).digest()ContributingContributions are welcome! Please read ourCode of Conductbefore contributing to help this project stay welcoming.DocumentationFor information on building library documentation, please check outthis guide.
Package: circuitpython-homie
Homie v4 specifications for MQTT implemented in CircuitPythonDependenciesThis driver depends on:Adafruit CircuitPythonAdafruit MiniMQTT LibraryPlease 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 PyPIpipinstallcircuitpython-homieOn supported GNU/Linux systems like the Raspberry Pi, you can install the driver locallyfrom
PyPI.
To install for current user:pip3installcircuitpython-homieTo install system-wide (this may be required in some cases):sudopip3installcircuitpython-homieTo install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.envsource.env/bin/activatepip3installcircuitpython-homieInstalling 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:circupinstallhomieOr the following command to update an existing version:circupupdateUsage ExamplesUsing the examples requires a secrets.py file that stores your secret information about the MQTT
broker and network settings. This isdescribed with detail in the documentation.See the examples in theexamplesfolder.
These will be included with the Circuitpython Community bundle as well.DocumentationAPI documentation for this library can be found onRead the Docs.Instructions for build the documentation is in ourContributing Guidelines.ContributingContributions are welcome! Please read ourCode of Conductbefore contributing to help this project stay welcoming.See also ourContributing Guidelinesfor information about the development workflow.
Package: circuitpython-i2c-button
IntroductionCircuitPython I2C Button à la Sparkfun Qwiic Button/Switch/ArcadeDependenciesThis 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:pip3installcircuitpython-i2c-buttonTo install system-wide (this may be required in some cases):sudopip3installcircuitpython-i2c-buttonTo install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.envsource.env/bin/activatepip3installcircuitpython-i2c-buttonUsage Exampleimportboardimportbusiofromi2c_buttonimportI2C_Buttoni2c=busio.I2C(board.SCL,board.SDA)button=I2C_Button(i2c)print('firmware version is',button.version)See examples/i2c_button_simpletest.py and other scripts in that folder
for more extensive examples.CreditsThis library is based upon the Sparkfun Arduino library and SparkX Switch firmware
authored by Nathan Seidle, Fischer Moseley and Priyanka Makin.Arduino LibrarySwitch FirmwareContributingContributions are welcome! Please read ourCode of Conductbefore contributing to help this project stay welcoming.DocumentationFor information on building library documentation, please check outthis guide.
Package: circuitpython-i2c-expanders
IntroductionDrivers for various I2C GPIO expanders. The library does not require any libraries other than the standard install of circuit python. Once the exapander has been initialized, the pins can be defined and interacted with in the same way as GPIOs on the CPU.This library currently supportsPCA9555PCAL9555PCA9554PCAL9554PCA9538PCAL9538Other expanders will likely be added over time as I use them.Based on Adafruit’s library for theMCP230xx 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.Installing from PyPIOn supported GNU/Linux systems like the Raspberry Pi, you can install the driver locallyfrom
PyPI.
To install for current user:pip3installcircuitpython-i2c-expandersTo install system-wide (this may be required in some cases):sudopip3installcircuitpython-i2c-expandersTo install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.env/bin/activatepip3installcircuitpython-i2c-expandersInstalling 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:circupinstalli2c_expandersOr the following command to update an existing version:circupupdateUsage ExampleTake a look in the examples folder for a basic example of using 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: circuitpython-isl29125
IntroductionDriver for the isl29125 light sensor.DependenciesThis 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.Installing from PyPIOn supported GNU/Linux systems like the Raspberry Pi, you can install the driver locallyfrom
PyPI.
To install for current user:pip3installcircuitpython-isl29125To install system-wide (this may be required in some cases):sudopip3installcircuitpython-isl29125To install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.env/bin/activatepip3installcircuitpython-isl29125Installing 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:circupinstallisl29125Or the following command to update an existing version:circupupdateDocumentationAPI documentation for this library can be found onRead the Docs.ContributingContributions are welcome! Please read ourCode of Conductbefore contributing to help this project stay welcoming.
Package: circuitpython-jepler-udecimal
IntroductionReduced version of the decimal library for CircuitPythonDependenciesThis library depends on:Adafruit CircuitPythonThe library also runs on desktop Python3, and should give numerically identical
results across all platorms.Installing from PyPITo install for current user:python3-mpipinstall--userjepler-circuitpython-udecimalTo install system-wide (this may be required in some cases):sudopython3-mpipinstalljepler-circuitpython-udecimalTo install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.envsource.env/bin/activatepip3installjepler-circuitpython-udecimalUsage Example>>>fromjepler_udecimalimportDecimal>>>Decimal(2)/3Decimal('0.6666666666666666666666666667')>>>Decimal('.1')+Decimal('.2')==Decimal('.3')TrueContributingContributions are welcome! Please read ourCode of Conductbefore contributing to help this project stay welcoming.DocumentationFor information on building library documentation, please check outthis guide.
Package: circuitpython-jled
IntroductionAn embedded library for Python to control LEDs. It uses anon-blockingapproach and can control LEDs in simple (on/off) and complex
(blinking,breathingand more) ways in atime-drivenmanner.This is a pure Python port of myJLedC++ library.Featuresnon-blockingeffects: simple on/off, breathe, blink, candle, fade, user-definedsupports inverted  polarity of LEDeasy configuration using fluent interfacecan control groups of LEDs sequentially or in parallelsupports CircuitPython and MicroPythonUsage ExampleTest JLed interactively in a CircuitPython REPL:Adafruit CircuitPython 7.3.3 on 2022-08-29; Raspberry Pi Pico with rp2040
>>> import board
>>> from jled import JLed
>>> led=JLed(board.LED).breathe(500).delay_after(250).repeat(5)
>>> while led.update(): passThis creates a JLed object connected to the builtin LED (board.LED), with a
breathe effect that is repeated 5 times.  Each iteration is followed by a delay
of 250 ms, before starting again.  By callingled.update()periodically,
the LED gets physically updated. Alternativelyplay(led)can be call in the
REPL as a shortcut.  Once finished, callled.reset()before playing the
effect again.Cheat SheetInstallationOn supported GNU/Linux systems like the Raspberry Pi (withAdafruit-Blinka), you can install the lib
locallyfrom PyPI.  To
install for current user:pip3installcircuitpython-jledTo install system-wide (this may be required in some cases):sudopip3installcircuitpython-jledTo install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.env/bin/activatepip3installcircuitpython-jledInstalling to a Connected CircuitPython Device with CircupJLedis available in theCircuitpython Community Bundleand can easily installed withcircupby
running:$ circup install jledOptionally copy also one of the example ascode.pyto the root of the filesystem.Installing on a MicroPython deviceCreate a directory calledjledon the device andcopythe following files into this directory:
into this directory:jled.py,jled_sequence.pyhal_pwm_micropython.py,hal_time_micropython.py,play.py,__init__.py`. Optionally also copy one of the example asmain.pyto the
root of the filesystem.  The overall structure is:/
├─ main.py
└─ jled
    ├─ __init__.[m]py
    ├─ hal_pwm_micropython.[m]py
    ├─ hal_time_micropython.[m]py
    ├─ jled.[m]py
    ├─ jled_sequence.[m]py
    └─ play.[m]pyTo reduce memory consumption, Python source files can be compiled to binarympyformat using thempy-crosstool. For convenience, a script to compile and copy jled to a connected device
is provided here (seescripts/install_mp.sh).DocumentationAPI documentation for this library can be found on here.Rebuild the documentation withsphinx-build-E-W-bhtml . _build/htmlin thedocsdirectory. Runpip install".[optional]"before to install
build-time dependencySphinxTestsUnit tests (usinghttps://docs.pytest.org) are provided, run the tests with:$ pip install ".[optional]"
$ pytestTo run thepre-commit-hooklocally, runpre-commitrun--all-filesAuthor & CopyrightCopyright © 2022-2023 by Jan Delgado, License: MIT
Package: circuitpython-kernel
CircuitPython KernelCircuitPython Kernel enablesCircuitPythonto be used inJupyterNotebooks to teachPythoncoding with microcontrollers.Free software: BSD licenseDocumentation:https://circuitpython-kernel.readthedocs.io.WarningThis package is a pre-alpha version. Use at your own peril.
It is missing functionality, has hard coding of variables,
and has only been used with MacOS 10.12 and Atmel SAMD.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.This package is inspired by Thomas Kluyver’subit_kernelfor the BBC Micro:bit
and Project Jupyter’s wrapper kernel.History0.1.0 (2017-03-23)First release on PyPI.
Package: circuitpython-kx132
IntroductionCircuitPython Driver for the Kionix KX132 AccelerometerDependenciesThis driver depends on:Adafruit CircuitPythonBus DeviceRegisterPlease ensure all dependencies are available on the CircuitPython filesystem.
This is easily achieved by downloadingthe Community Bundle 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:pip3installcircuitpython-kx132To install system-wide (this may be required in some cases):sudopip3installcircuitpython-kx132To install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.env/bin/activatepip3installcircuitpython-kx132Installing 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:circupinstallkx132Or the following command to update an existing version:circupupdateUsage ExampleTake a look at the examples directoryDocumentationAPI documentation for this library can be found onRead the Docs.
Package: circuitpython-laser-at
IntroductionDriver for an inexpensive laser rangefinder module, made by Hi-AT, available onaliexpressDependenciesThis 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:pip3installcircuitpython-laser-atTo install system-wide (this may be required in some cases):sudopip3installcircuitpython-laser-atTo install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.env/bin/activatepip3installcircuitpython-laser-atInstalling 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:circupinstalllaser_atOr the following command to update an existing version:circupupdateUsage ExamplefromboardimportUARTfromlaser_atimportLaseruart=UART()uart.baudrate=19200laser=Laser(uart)print(f"Distance is{laser.distance}")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.