Saravanan666/pypi-org huggingface dataset:
Package: micropython-bisect
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-bitstring
micropython-bitstringis a stripped-down version of the Bitstring package by Scott Griffiths
that works with MicroPython. It defines a single classBitsfor the creation
of binary strings. Binary strings created with this module are compatible
with the original Bitstring module.Example:from ubitstring import Bits
s = Bits(float=3.1415, length=32) + Bits(uint=15, length=4) + Bits(bool=True)
assert len(s) == 32 + 4 + 1The Bits classTheBitsclass is a simplified version of theBitsclass of the same name
of the original Bitstring package. The focus is on thecreationof
binary strings, for instance in IoT devices.Theautoandfilenamekeyword arguments have been removed and only the
functionality shown in the example below is supported:a = Bits(int=-31111, length=32)
b = Bits(int=-31111, length=32)

assert a.len == 32

assert a.int == -31111
assert a.hex == 'ffff8679'
assert a.bin == '11111111111111111000011001111001'
assert a.bytes == b'\xff\xff\x86y'

assert a.all(True, [1,2,3,4]) is True
assert a.all(True, [30]) is False

assert a.any(True, [0,30]) is True
assert a.any(True, [29,30]) is False

assert a.count(1) == 24
assert a.count(0) == 8

assert a.tobytes() == b'\xff\xff\x86y'
assert a[-4:].bin == '1001'

assert a == b

c = a + b
assert c.hex == 'ffff8679ffff8679'The bitstring module has been released as open source under the MIT License.
Copyright (c) 2016 Scott GriffithsFor more information see the project’s homepage on GitHub:
<https://github.com/scott-griffiths/bitstring>The MicroPython version has been created by Markus Juenemann:
<https://github.com/mjuenema/micropython-bitstring>
Package: micropython-bma220
IntroductionMicroPython Driver for the Bosch BMA220 AccelerometerInstalling with mipTo install using mpremotempremotemipinstallgithub:jposada202020/MicroPython_BMA220To install directly using a WIFI capable boardmipinstallgithub:jposada202020/MicroPython_BMA220Installing Library ExamplesIf you want to install library examples:mpremotemipinstallgithub:jposada202020/MicroPython_BMA220/examples.jsonTo install directly using a WIFI capable boardmipinstallgithub:jposada202020/MicroPython_BMA220/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-bma220To install system-wide (this may be required in some cases):sudopip3installmicropython-bma220To install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.env/bin/activatepip3installmicropython-bma220Usage ExampleTake a look at the examples directoryDocumentationAPI documentation for this library can be found onRead the Docs.
Package: micropython-bma400
IntroductionMicroPython Driver for the Bosch BMA400 AccelerometerInstalling with mipTo install using mpremotempremotemipinstallgithub:jposada202020/MicroPython_BMA400To install directly using a WIFI capable boardmipinstallgithub:jposada202020/MicroPython_BMA400Installing Library ExamplesIf you want to install library examples:mpremotemipinstallgithub:jposada202020/MicroPython_BMA400/examples.jsonTo install directly using a WIFI capable boardmipinstallgithub:jposada202020/MicroPython_BMA400/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-bma400To install system-wide (this may be required in some cases):sudopip3installmicropython-bma400To install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.env/bin/activatepip3installmicropython-bma400Usage ExampleTake a look at the examples directoryDocumentationAPI documentation for this library can be found onRead the Docs.
Package: micropython-bmi160
IntroductionMicroPython Driver for the Bosch BMI160 Acc/Gyro SensorInstalling with mipTo install using mpremotempremotemipinstallgithub:jposada202020/MicroPython_BMI160To install directly using a WIFI capable boardmipinstallgithub:jposada202020/MicroPython_BMI160Installing Library ExamplesIf you want to install library examples:mpremotemipinstallgithub:jposada202020/MicroPython_BMI160/examples.jsonTo install directly using a WIFI capable boardmipinstallgithub:jposada202020/MicroPython_BMI160/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-bmi160To install system-wide (this may be required in some cases):sudopip3installmicropython-bmi160To install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.env/bin/activatepip3installmicropython-bmi160Usage ExampleTake a look at the examples directoryDocumentationAPI documentation for this library can be found onRead the Docs.
Package: micropython-bmi270
IntroductionMicroPython Driver for the Bosch BMI270 Accelerometer/Gyro SensorInstalling with mipTo install using mpremotempremotemipinstallgithub:jposada202020/MicroPython_BMI270To install directly using a WIFI capable boardmipinstallgithub:jposada202020/MicroPython_BMI270Installing Library ExamplesIf you want to install library examples:mpremotemipinstallgithub:jposada202020/MicroPython_BMI270/examples.jsonTo install directly using a WIFI capable boardmipinstallgithub:jposada202020/MicroPython_BMI270/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-bmi270To install system-wide (this may be required in some cases):sudopip3installmicropython-bmi270To install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.env/bin/activatepip3installmicropython-bmi270Usage ExampleTake a look at the examples directoryDocumentationAPI documentation for this library can be found onRead the Docs.
Package: micropython-bmm150
IntroductionMicroPython Driver for the Bosch BMM150 MagnetometerInstalling with mipTo install using mpremotempremotemipinstallgithub:jposada202020/MicroPython_BMM150To install directly using a WIFI capable boardmipinstallgithub:jposada202020/MicroPython_BMM150Installing Library ExamplesIf you want to install library examples:mpremotemipinstallgithub:jposada202020/MicroPython_BMM150/examples.jsonTo install directly using a WIFI capable boardmipinstallgithub:jposada202020/MicroPython_BMM150/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-bmm150To install system-wide (this may be required in some cases):sudopip3installmicropython-bmm150To install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.env/bin/activatepip3installmicropython-bmm150Usage ExampleTake a look at the examples directoryDocumentationAPI documentation for this library can be found onRead the Docs.
Package: micropython-bmp581
IntroductionMicroPython Driver for the Bosch BMP581 pressure sensorInstalling with mipTo install using mpremotempremotemipinstallgithub:jposada202020/MicroPython_BMP581To install directly using a WIFI capable boardmip.install("github:jposada202020/MicroPython_BMP581")Installing Library ExamplesIf you want to install library examples:mpremotemipinstallgithub:jposada202020/MicroPython_BMP581/examples.jsonTo install directly using a WIFI capable boardmip.install("github:jposada202020/MicroPython_BMP581/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-bmp581To install system-wide (this may be required in some cases):sudopip3installmicropython-bmp581To install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.env/bin/activatepip3installmicropython-bmp581Usage ExampleTake a look at the examples directoryDocumentationAPI documentation for this library can be found onRead the Docs.
Package: micropython-btree
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-bz2
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-calendar
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-cgi
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-cgitb
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-chunk
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-cloudmanager
DescriptionCloudmanger provides a single point of managment for micropython systems that minimizes the security attack surface and
offloads resource intensive operations from the micropython clients to the server.QuickstartHere is a quickstart for setting up cloudmanager with popular esp8266 boardsInstallUse pip to install the server and client flash utility:$ pip install micropython-cloudmanager micropython-cloudmanager-esp8266
$Start ServerStart the server process with the default settings:$ mbm server-start
Cloudmanager service is listening on: 192.168.1.127:18266
$Flash and Configure esp8266 board as a clientPlug in the esp8266 board, into the usb port.NOTE: Some boards may need to be manually put into flash mode per the vendor instructions.The flash tool will generally determine the correct serial device to flash as long as only one usb serial device
is connected to the system.Flash and configure the board specifying the wifi connection settings:$ flash_esp_image --wifi_ssid mywifi --wifi_password mywifipassword
esptool.py --port /dev/ttyUSB0 --baud 115200 erase_flash
esptool.py v1.2.1
Connecting...
Running Cesanta flasher stub...
Erasing flash (this may take a while)...
Erase took 9.0 seconds
esptool.py --port /dev/ttyUSB0 --baud 115200 write_flash --verify --flash_size=32m --flash_mode=qio 0 /tmp/cloudmanager-micropython-esp8266/local/lib/python2.7/site-packages/cloudmanager_micropython_esp8266/firmware/firmware-combined.bin
esptool.py v1.2.1
Connecting...
Running Cesanta flasher stub...
Flash params set to 0x0040
Writing 557056 @ 0x0... 557056 (100 %)
Wrote 557056 bytes at 0x0 in 48.3 seconds (92.3 kbit/s)...
Leaving...
Verifying just-written flash...
Verifying 0x8734c (553804) bytes @ 0x00000000 in flash against /tmp/cloudmanager-micropython-esp8266/local/lib/python2.7/site-packages/cloudmanager_micropython_esp8266/firmware/firmware-combined.bin...
-- verify OK (digest matched)
>>>
>>> import os
>>> os.mkdir('etc')
>>> from bootconfig.config import get, set
>>> set('wifi_ssid', 'mywifi')
>>> set('wifi_password', 'mywifipassword')
>>> set('redis_server', '192.168.1.127')
>>> import bootconfig.service
>>> bootconfig.service.autostart()
>>> import redis_cloudclient.service
>>> redis_cloudclient.service.autostart()
>>> import machine
>>> machine.reset()NOTE: At this point some boards need to be manually reset.Verify the board is registered with the serverAfter a few seconds the board should connect to the wifi network and register with the cloudmanager server:$ mbm board-list
Name       Platform                                           State
esp8266-1  esp8266                                            idle
$See the full documentation to use cloudmanager to install packages, upload files or execute commands on the board.
Package: micropython-cmath
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-cmd
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-code
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-codecs
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-codeop
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-collections.abc
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-colorsys
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-compileall
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-concurrent.futures
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-configparser
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-consentiumthings
micropython-consentiumthingsPassing tests on ESP 8266 and ESP 32Developed by Debjyoti Chowdhury from ConsentiumIncInstalling dependencies and main libraryFirst connect to WiFi with SSID and Pskimportnetworkssid=""psk=""station=network.WLAN(network.STA_IF)station.active(True)station.connect(ssid,psk)station.isconnected()print(station.ifconfig())Then install dependencies and main module using upip>>>importupip>>>upip.install('micropython-urequests')>>>upip.install('micropython-consentiumthings','/lib/')Examples of How To UseMaking requests to Consentium IoT serverfromConsentiumThingsimportThingsUpdateimportutimeapi_key=""ssid=""psk=""board=ThingsUpdate(key=api_key)board.initWiFi(ssid,psk)whileTrue:sensor_val=[1,2,3,4,5,6,7]info_buff=["a","b","c","d","e","f","g"]r=board.sendREST(sensor_val=sensor_val,info_buff=info_buff)print(r.text)utime.sleep(5)
Package: micropython-contextlib
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-contextvars
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-copy
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-copyreg
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-cProfile
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-crypt
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-csv
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-_ctypes
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.