Saravanan666/pypi-org huggingface dataset:
Package: micropython-htu21df
IntroductionMicroPython HTU21D-F Temperature & HumidityInstalling with mipTo install using mpremotempremotemipinstallgithub:jposada202020/MicroPython_HTU21DFTo install directly using a WIFI capable boardmipinstallgithub:jposada202020/MicroPython_HTU21DFInstalling Library ExamplesIf you want to install library examples:mpremotemipinstallgithub:jposada202020/MicroPython_HTU21DF/examples.jsonTo install directly using a WIFI capable boardmipinstallgithub:jposada202020/MicroPython_HTU21DF/examples.jsonInstalling from PyPIOn supported GNU/Linux systems like the Raspberry Pi, you can install the driver locallyfrom
PyPI.
To install for current user:pip3installmicropython-htu21dfTo install system-wide (this may be required in some cases):sudopip3installmicropython-htu21dfTo install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.env/bin/activatepip3installmicropython-htu21dfUsage ExampleTake a look at the examples directoryDocumentationAPI documentation for this library can be found onRead the Docs.
Package: micropython-htu31d
IntroductionMicroPython library for TE HTU31D temperature and humidity sensorsInstalling with mipTo install using mpremotempremotemipinstallgithub:jposada202020/MicroPython_HTU31DTo install directly using a WIFI capable boardmipinstallgithub:jposada202020/MicroPython_HTU31DInstalling Library ExamplesIf you want to install library examples:mpremotemipinstallgithub:jposada202020/MicroPython_HTU31D/examples.jsonTo install directly using a WIFI capable boardmipinstallgithub:jposada202020/MicroPython_HTU31D/examples.jsonInstalling from PyPIOn supported GNU/Linux systems like the Raspberry Pi, you can install the driver locallyfrom
PyPI.
To install for current user:pip3installmicropython-htu31dTo install system-wide (this may be required in some cases):sudopip3installmicropython-htu31dTo install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.env/bin/activatepip3installmicropython-htu31dUsage ExampleTake a look at the examples directoryDocumentationAPI documentation for this library can be found onRead the Docs.
Package: micropython-icg20660
IntroductionMicroPython Driver for the TDK ICG20660 Accelerometer/Gyro sensorInstalling with mipTo install using mpremotempremotemipinstallgithub:jposada202020/MicroPython_ICG20660To install directly using a WIFI capable boardmipinstallgithub:jposada202020/MicroPython_ICG20660Installing Library ExamplesIf you want to install library examples:mpremotemipinstallgithub:jposada202020/MicroPython_ICG20660/examples.jsonTo install directly using a WIFI capable boardmipinstallgithub:jposada202020/MicroPython_ICG20660/examples.jsonInstalling from PyPIOn supported GNU/Linux systems like the Raspberry Pi, you can install the driver locallyfrom
PyPI.
To install for current user:pip3installmicropython-icg20660To install system-wide (this may be required in some cases):sudopip3installmicropython-icg20660To install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.env/bin/activatepip3installmicropython-icg20660Usage ExampleTake a look at the examples directoryDocumentationAPI documentation for this library can be found onRead the Docs.
Package: micropython-icm20948
IntroductionMicroPython Driver for the Accelerometer and Gyro ICM20948 SensorInstalling with mipTo install using mpremotempremotemipinstallgithub:jposada202020/MicroPython_ICM20948To install directly using a WIFI capable boardmip.install("github:jposada202020/MicroPython_ICM20948")Installing Library ExamplesIf you want to install library examples:mpremotemipinstallgithub:jposada202020/MicroPython_ICM20948/examples.jsonTo install directly using a WIFI capable boardmip.install("github:jposada202020/MicroPython_ICM20948/examples.json")Installing from PyPIOn supported GNU/Linux systems like the Raspberry Pi, you can install the driver locallyfrom
PyPI.
To install for current user:pip3installmicropython-icm20948To install system-wide (this may be required in some cases):sudopip3installmicropython-icm20948To install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.env/bin/activatepip3installmicropython-icm20948
Package: micropython-icp10111
IntroductionMicroPython Driver for the TDK Barometric PressureInstalling with mipTo install using mpremotempremotemipinstallgithub:jposada202020/MicroPython_ICP10111To install directly using a WIFI capable boardmipinstallgithub:jposada202020/MicroPython_ICP10111Installing Library ExamplesIf you want to install library examples:mpremotemipinstallgithub:jposada202020/MicroPython_ICP10111/examples.jsonTo install directly using a WIFI capable boardmipinstallgithub:jposada202020/MicroPython_ICP10111/examples.jsonInstalling from PyPIOn supported GNU/Linux systems like the Raspberry Pi, you can install the driver locallyfrom
PyPI.
To install for current user:pip3installmicropython-icp10111To install system-wide (this may be required in some cases):sudopip3installmicropython-icp10111To install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.env/bin/activatepip3installmicropython-icp10111Usage ExampleTake a look at the examples directoryDocumentationAPI documentation for this library can be found onRead the Docs.
Package: micropython-imaplib
This is a dummy implementation of a module for MicroPython standard library.
It contains zero or very little functionality, and primarily intended to
avoid import errors (using idea that even if an application imports a
module, it may be not using it onevery code path, so may work at least
partially). It is expected that more complete implementation of the module
will be provided later. Please help with the development if you are
interested in this module.
Package: micropython-imghdr
This is a dummy implementation of a module for MicroPython standard library.
It contains zero or very little functionality, and primarily intended to
avoid import errors (using idea that even if an application imports a
module, it may be not using it onevery code path, so may work at least
partially). It is expected that more complete implementation of the module
will be provided later. Please help with the development if you are
interested in this module.
Package: micropython-imp
This is a dummy implementation of a module for MicroPython standard library.
It contains zero or very little functionality, and primarily intended to
avoid import errors (using idea that even if an application imports a
module, it may be not using it onevery code path, so may work at least
partially). It is expected that more complete implementation of the module
will be provided later. Please help with the development if you are
interested in this module.
Package: micropython-importlib
This is a dummy implementation of a module for MicroPython standard library.
It contains zero or very little functionality, and primarily intended to
avoid import errors (using idea that even if an application imports a
module, it may be not using it onevery code path, so may work at least
partially). It is expected that more complete implementation of the module
will be provided later. Please help with the development if you are
interested in this module.
Package: micropython-importlib.resources
This is a dummy implementation of a module for MicroPython standard library.
It contains zero or very little functionality, and primarily intended to
avoid import errors (using idea that even if an application imports a
module, it may be not using it onevery code path, so may work at least
partially). It is expected that more complete implementation of the module
will be provided later. Please help with the development if you are
interested in this module.
Package: micropython-io
This is a dummy implementation of a module for MicroPython standard library.
It contains zero or very little functionality, and primarily intended to
avoid import errors (using idea that even if an application imports a
module, it may be not using it onevery code path, so may work at least
partially). It is expected that more complete implementation of the module
will be provided later. Please help with the development if you are
interested in this module.
Package: micropython-ipaddress
This is a dummy implementation of a module for MicroPython standard library.
It contains zero or very little functionality, and primarily intended to
avoid import errors (using idea that even if an application imports a
module, it may be not using it onevery code path, so may work at least
partially). It is expected that more complete implementation of the module
will be provided later. Please help with the development if you are
interested in this module.
Package: micropython-isl29125
IntroductionMicroPython Driver for the Intersil ISL29125 Color SensorInstalling with mipTo install using mpremotempremotemipinstallgithub:jposada202020/MicroPython_ISL29125To install directly using a WIFI capable boardmipinstallgithub:jposada202020/MicroPython_ISL29125Installing Library ExamplesIf you want to install library examples:mpremotemipinstallgithub:jposada202020/MicroPython_ISL29125/examples.jsonTo install directly using a WIFI capable boardmipinstallgithub:jposada202020/MicroPython_ISL29125/examples.jsonInstalling from PyPIOn supported GNU/Linux systems like the Raspberry Pi, you can install the driver locallyfrom
PyPI.
To install for current user:pip3installmicropython-isl29125To install system-wide (this may be required in some cases):sudopip3installmicropython-isl29125To install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.env/bin/activatepip3installmicropython-isl29125Usage ExampleTake a look at the examples directoryDocumentationAPI documentation for this library can be found onRead the Docs.
Package: micropython-json
This is a module ported from CPython standard library to be compatible with
MicroPython interpreter. Usually, this means applying small patches for
features not supported (yet, or at all) in MicroPython. Sometimes, heavier
changes are required. Note that CPython modules are written with availability
of vast resources in mind, and may not work for MicroPython ports with
limited heap. If you are affected by such a case, please help reimplement
the module from scratch.
Package: micropython-keypad
micropython-keypadImplementation for matrix keyboards and keypads.For now support 8 and 16bit i2c expanders based on PCF8574 and PCF8575Contributions are welcomeTODO:Do more generic classImplement optional non-blocking reading (use interrupt if available)Read expander state before write to preserve other pin statesThink about solution to support more keypads (5x4, 4x4, 3x4, invert etc...)Implement more interfaces (SPI expander, direct GPIO, more I2C expanders)
Package: micropython-keyword
This is a module ported from CPython standard library to be compatible with
MicroPython interpreter. Usually, this means applying small patches for
features not supported (yet, or at all) in MicroPython. Sometimes, heavier
changes are required. Note that CPython modules are written with availability
of vast resources in mind, and may not work for MicroPython ports with
limited heap. If you are affected by such a case, please help reimplement
the module from scratch.
Package: micropython-kx132
IntroductionMicroPython Driver for the Kionix KX132 AccelerometerInstalling with mipTo install using mpremotempremotemipinstallgithub:jposada202020/MicroPython_KX132To install directly using a WIFI capable boardmipinstallgithub:jposada202020/MicroPython_KX132Installing Library ExamplesIf you want to install library examples:mpremotemipinstallgithub:jposada202020/MicroPython_KX132/examples.jsonTo install directly using a WIFI capable boardmipinstallgithub:jposada202020/MicroPython_KX132/examples.jsonInstalling from PyPIOn supported GNU/Linux systems like the Raspberry Pi, you can install the driver locallyfrom
PyPI.
To install for current user:pip3installmicropython-kx132To install system-wide (this may be required in some cases):sudopip3installmicropython-kx132To install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.env/bin/activatepip3installmicropython-kx132Usage ExampleTake a look at the examples directoryDocumentationAPI documentation for this library can be found onRead the Docs.
Package: micropython-lagan
micropython-lagan介绍基于micropython语言的日志库.lagan取名来自于宜家的水龙头"拉根"。本软件包已上传到pypi，可输入命令直接安装。pipinstallmicropython-lagan功能支持日志在终端实时打印支持二进制流打印支持带颜色的日志打印与python标准版lagan相比，micropython版本的lagan删除了输出到日志文件的功能。error打印函数名改为err，原因是使用error函数名在设备运行会报错。示例# 默认输出界别是info,本行不会打印lagan.debug("case4","debug test print")lagan.info("case4","info test print")lagan.warn("case4","warn test print")lagan.err("case4","error test print")输出：186172:12:16 -  I/case4: info test print
186172:12:16 -  W/case4: warn test print
186172:12:16 -  E/case4: error test print注意：时间戳是基于设备本地时钟，不是标准时间。二进制流打印s=bytearray()foriinrange(100):s.append(i)lagan.print_hex('case2',lagan.LEVEL_ERROR,s)输出：186172:11:40 -  E/case2: 
****00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 
---- : -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
0000 : 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 
0010 : 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 
0020 : 20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f 
0030 : 30 31 32 33 34 35 36 37 38 39 3a 3b 3c 3d 3e 3f 
0040 : 40 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f 
0050 : 50 51 52 53 54 55 56 57 58 59 5a 5b 5c 5d 5e 5f 
0060 : 60 61 62 63颜色控制可以使用EnableColor函数开控制打开或者关闭日志颜色，默认关闭颜色。lagan.set_filter_level(lagan.LEVEL_DEBUG)lagan.enable_color(True)lagan.println('case1',lagan.LEVEL_OFF,'TestPrintOut1:%d',100)lagan.println('case1',lagan.LEVEL_DEBUG,'TestPrintOut1:%d',100)lagan.println('case1',lagan.LEVEL_INFO,'TestPrintOut1:%d',100)lagan.println('case1',lagan.LEVEL_WARN,'TestPrintOut1:%d',100)lagan.println('case1',lagan.LEVEL_ERROR,'TestPrintOut1:%d',100)s=bytearray()foriinrange(100):s.append(i)lagan.print_hex('case2',lagan.LEVEL_INFO,s)
Package: micropython-lcd
This is a dummy implementation of a module for MicroPython standard library.
It contains zero or very little functionality, and primarily intended to
avoid import errors (using idea that even if an application imports a
module, it may be not using it onevery code path, so may work at least
partially). It is expected that more complete implementation of the module
will be provided later. Please help with the development if you are
interested in this module.
Package: micropython-lib2to3
This is a dummy implementation of a module for MicroPython standard library.
It contains zero or very little functionality, and primarily intended to
avoid import errors (using idea that even if an application imports a
module, it may be not using it onevery code path, so may work at least
partially). It is expected that more complete implementation of the module
will be provided later. Please help with the development if you are
interested in this module.
Package: micropython-linecache
This is a dummy implementation of a module for MicroPython standard library.
It contains zero or very little functionality, and primarily intended to
avoid import errors (using idea that even if an application imports a
module, it may be not using it onevery code path, so may work at least
partially). It is expected that more complete implementation of the module
will be provided later. Please help with the development if you are
interested in this module.
Package: micropython-linenotify
micropython-linenotifyIt is a MicroPython library for sending notifications to Line
Notify,which can be used with ESP8266 and ESP32.Can send both text messages, stickers and images.github:https://github.com/PerfecXX/micropython-linenotifyInstallationupipinstallmicropython-linenotifyUsageCreate Instance and set tokenline=LineNotify('<token>')Notify text messageline.notify('<message>')Notify sticker with text messageSticker List:https://developers.line.biz/en/docs/messaging-api/sticker-list/line.notifySticker('<Sticker Package ID>','<Sticker ID>','<Message>')Notify image from URL with text messageline.notifyImageURL('<Image URL>','<Message>')Example Code# Import LibraryfromlinenotifyimportLineNotifyfromnetworkimportWLAN,STA_IF# Network Setupssid='<ssid>'password='<password>'wlan=WLAN(STA_IF)wlan.active(True)print('Connecting...')wlan.connect(ssid,password)whilenotwlan.isconnected():passprint(wlan.ifconfig())# Set Line Tokenline=LineNotify('<token>')# Notify text messageline.notify('Hello World!')# Notify sticker with messageline.notifySticker(3,240,'Nice Sticker')# Notify image from URL with messageline.notifyImageURL('https://static.wikia.nocookie.net/chainsaw-man/images/1/1b/Pochita.PNG','Pochita')
Package: micropython-lis2mdl
IntroductionMicroPython Driver for the ST LIS2MDL Magnetometer sensorInstalling with mipTo install using mpremotempremotemipinstallgithub:jposada202020/MicroPython_LIS2MDLTo install directly using a WIFI capable boardmipinstallgithub:jposada202020/MicroPython_LIS2MDLInstalling Library ExamplesIf you want to install library examples:mpremotemipinstallgithub:jposada202020/MicroPython_LIS2MDL/examples.jsonTo install directly using a WIFI capable boardmipinstallgithub:jposada202020/MicroPython_LIS2MDL/examples.jsonInstalling from PyPIOn supported GNU/Linux systems like the Raspberry Pi, you can install the driver locallyfrom
PyPI.
To install for current user:pip3installmicropython-lis2mdlTo install system-wide (this may be required in some cases):sudopip3installmicropython-lis2mdlTo install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.env/bin/activatepip3installmicropython-lis2mdlUsage ExampleTake a look at the examples directoryDocumentationAPI documentation for this library can be found onRead the Docs.
Package: micropython-lis3dh
IntroductionLIS3DH MicroPython Driver. Work is based in:https://github.com/adafruit/Adafruit_CircuitPython_LIS3DH/https://github.com/adafruit/Adafruit_CircuitPython_RegisterInstalling with mipTo install using mpremotempremotemipinstallgithub:jposada202020/MicroPython_LIS3DHTo install directly using a WIFI capable boardmipinstallgithub:jposada202020/MicroPython_LIS3DHInstalling Library ExamplesIf you want to install library examples:mpremotemipinstallgithub:jposada202020/MicroPython_LIS3DH/examples.jsonTo install directly using a WIFI capable boardmipinstallgithub:jposada202020/MicroPython_LIS3DH/examples.jsonInstallationOn supported GNU/Linux systems like the Raspberry Pi, you can install the driver locallyfrom
PyPI.
To install for current user:pip3installmicropython-lis3dhTo install system-wide (this may be required in some cases):sudopip3installmicropython-lis3dhTo install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.env/bin/activatepip3installmicropython-lis3dh
Package: micropython-lis3mdl
IntroductionMicroPython Driver for the ST LIS3MDL magnetometerInstalling with mipTo install using mpremotempremotemipinstallgithub:jposada202020/MicroPython_LIS3MDLTo install directly using a WIFI capable boardmip.install("github:jposada202020/MicroPython_LIS3MDL")Installing Library ExamplesIf you want to install library examples:mpremotemipinstallgithub:jposada202020/MicroPython_LIS3MDL/examples.jsonTo install directly using a WIFI capable boardmip.install("github:jposada202020/MicroPython_LIS3MDL/examples.json")Installing from PyPIOn supported GNU/Linux systems like the Raspberry Pi, you can install the driver locallyfrom
PyPI.
To install for current user:pip3installmicropython-lis3mdlTo install system-wide (this may be required in some cases):sudopip3installmicropython-lis3mdlTo install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.env/bin/activatepip3installmicropython-lis3mdlUsage ExampleTake a look at the examples directoryDocumentationAPI documentation for this library can be found onRead the Docs.
Package: micropython-locale
This is a dummy implementation of a module for MicroPython standard library.
It contains zero or very little functionality, and primarily intended to
avoid import errors (using idea that even if an application imports a
module, it may be not using it onevery code path, so may work at least
partially). It is expected that more complete implementation of the module
will be provided later. Please help with the development if you are
interested in this module.
Package: micropython-logging
logging is MicroPython’s implementation of a subset of CPythons logging module. This
module defines functions and classes which implement a flexible event logging system for
applications and libraries.Major differences to CPython logging:No event propagation: events logged to a logger will not be passed to the handlers of
higher level (ancestor) logger. In CPython this matches the behaviour achieved by
settingLogger.propagate = False.Filters are not supportedRequirementsAt the time of writing, logging requires theospackage (installed automatically by theupiptool).
Package: micropython-loki
micropython-lokiIntroductionMicropython library for sending logs toLokiInstallationThe library can be installed usingupipormip. Ensure that the device is connected to the network.Installation using upip (Micropython < 1.19)importupipupip.install('micropython-loki')Installation using mip (Micropython >= 1.19)Py-fileimportmipmip.install('github:olivergregorius/micropython_loki/micropython_loki.py')Cross-compiled mpy-fileNOTE: Set the release_version variable accordingly.importmiprelease_version='vX.Y.Z'mip.install(f'https://github.com/olivergregorius/micropython_loki/releases/download/{release_version}/micropython_loki.mpy')UsageThis library provides two methods foradding log messages to the stack (log) andpushing the logs to a Loki instance (push_logs).NOTE: Each log message is applied with the current system's timestamp. Please be sure the RTC of the device is set correctly.At first the Loki-instance must be initialized providing the Loki base-URL:frommicropython_lokiimportLokiloki=Loki('https://loki.example.org:3100')The following additional arguments may be provided:ArgumentDescriptionDefaultlog_labelsList ofLogLabelinstances. EachLogLabelis a key-value pair to enrich each log message with a label.[]default_log_levelSet the default log level. Instance ofLogLevel.LogLevel.INFOtimeoutTimeout in seconds for calls against the Loki-API.5max_stack_sizeMaximum size of the log stack. If the stack size exceeds this value, the 'oldest' log message is dropped.50min_push_log_levelMinimum log level of log messages to be pushed to Loki.LogLevel.DEBUGThe following example creates a Loki-instance for calling the Loki-API at 'https://loki.example.org:3100', adding the labels 'app: important-app' and
'version: 1.0.0' to each log message, setting the default log level to 'INFO', setting the timeout to 5 seconds, setting the max stack size to 20 and only
pushing logs to Loki with LogLevel.WARN or LogLevel.ERROR.frommicropython_lokiimportLoki,LogLabel,LogLevelloki=Loki('https://loki.example.org:3100',[LogLabel('app','important-app'),LogLabel('version','1.0.0')],LogLevel.INFO,5,20,LogLevel.WARN)To add a log message to the log-stack the methodlogis called, it takes the argumentsmessage(required) containing the log message andlog_level(optional) for setting the log level for that log message:...loki.log('Calling do_something')result=do_something()ifresult==1:loki.log('Something went wrong',LogLevel.WARN)...The example above adds one log message of level 'INFO' (as set by default during Loki instantiation, the LogLevel can be omitted in thelogcall) and one log
message of level 'WARN' (in case the value of result is 1).Convenience methods have been added to simplify adding log messages to the stack:loki.debug('Message with LogLevel.DEBUG')loki.info('Message with LogLevel.INFO')loki.warn('Message with LogLevel.WARN')loki.error('Message with LogLevel.ERROR')To push the logs to Lokipush_logsis called, this method takes no arguments:...loki.push_logs()...