Saravanan666/pypi-org huggingface dataset:
Package: micropython-vcnl4010
IntroductionMicroPython Driver for the Vishay VCNL4010 Proximity and Ambient Light SensorInstalling with mipTo install using mpremotempremotemipinstallgithub:jposada202020/MicroPython_VCNL4010To install directly using a WIFI capable boardmipinstallgithub:jposada202020/MicroPython_VCNL4010Installing Library ExamplesIf you want to install library examples:mpremotemipinstallgithub:jposada202020/MicroPython_VCNL4010/examples.jsonTo install directly using a WIFI capable boardmipinstallgithub:jposada202020/MicroPython_VCNL4010/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-vcnl4010To install system-wide (this may be required in some cases):sudopip3installmicropython-vcnl4010To install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.env/bin/activatepip3installmicropython-vcnl4010Usage ExampleTake a look at the examples directoryDocumentationAPI documentation for this library can be found onRead the Docs.
Package: micropython-wave
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-weakref
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-webassembly-stubs
micropython-webassembly-stubsThis is a stub-only package for MicroPython.
It is intended to be installed in a projects virtual environment to allow static type checkers and intellisense features to be used while writing Micropython code.The version of this package is alligned the the version of the MicroPython firmware.Major, Minor and Patch levels are alligned to the same version as the firmware.The post release level is used to publish new releases of the stubs.ForMicropython 1.17the stubs are published as1.17.post1...1.17.post2forMicropython 1.18the stubs are published as1.18.post1...1.18.post2To install the latest stubs:pip install -I  micropython-<port>-stubswhere port is the port of the MicroPython firmware.To install the stubs for an older version, such as MicroPython 1.17:pip install micropython-stm32-stubs==1.17.*which will install the last post release of the stubs for MicroPython 1.17.As the creation of the stubs, and merging of the different types is still going though improvements, the stub packages are marked as Beta.
To upgrade stubs to the latest stubs for a specific version usepip install micropython-stm32-stubs==1.17.* --upgradeIf you have suggestions or find any issues with the stubs, please report them in theMicroPython-stubs DiscussionsFor an overview of  Micropython Stubs please see:https://micropython-stubs.readthedocs.io/en/main/List of all stubs :https://micropython-stubs.readthedocs.io/en/main/firmware_grp.htmlIncluded stubs:Merged stubs fromstubs/micropython-v1_21_0-webassembly-GENERIC-mergedCore stubs fromstubs/micropython-coreoriginFamilyPortBoardVersionDocumentationmicropython--v1.21.0
Package: micropython-wifi-communication
comuserverinitfrom comu.ser import se

s = se(net=True)
#se(net={'SSID':...,'PASSWORD':....})recvfrom time import sleep

while True:
    data = s.recv()
    if data:
        print(data)
    sleep(1)sendfrom time import sleep

x = 0

while True:
    s.send(x)
    x+=1
    sleep(1)clientfrom comu.cli import ci

c = ci(net=True)
#ci(net={'ssid':...,'password':....}) or ci()recvfrom time import sleep

while True:
    data = c.recv()
    if data:
        print(data)
    sleep(1)sendfrom time import sleep

x = 0

while True:
    c.send(x)
    x+=1
    sleep(1)close serverc.close() # or s.close()
Package: micropython-wifimanager
micropython-wifimanagerA simple network configuration utility for MicroPython on boards such as ESP8266 and ESP32.ConfigurationSimply upload your JSON file with your networks, the default path is '/networks.json', which is specified in the class propertyconfig_file.A sample configuration may look like this:{
	"schema": 2,
	"known_networks": [
		{
			"ssid": "User\u2019s iPhone",
			"password": "Password1",
			"enables_webrepl": false
		},
		{
			"ssid": "HomeNetwork",
			"password": "Password2",
			"enables_webrepl": true
		}
	],
	"access_point": {
		"config": {
			"essid": "Micropython-Dev",
			"channel": 11,
			"hidden": false,
			"password": "P@55W0rd"
		},
		"enables_webrepl": true,
		"start_policy": "fallback"
	}
}Configuration schemaschema: currently this should be2known_networks: list of networks to connect to, in order of most preferred firstSSID - the name of the access pointpassword - the clear test password to useenables_webrepl - a boolean value to indicate if connection to this network desires webrepl being startedaccess_point: the details for the access point (AP) of this deviceconfig - the keys for the AP config, exactly as per the micropython documentationenables_weprepl - a boolean value to indicate if ceating this network desires webrepl being startedstart_policy - A policy from the below list to indicate when to enable the AP'always' - regardless of the connection to any base station, AP will be started'fallback' - the AP will only be started if no network could be connected to'never' - The AP will not be started under any conditionSimple usage (one shot)Here's an example of how to use the WifiManager.MicroPython v1.9.4 on 2018-05-11; ESP32 module with ESP32
Type "help()" for more information.
>>> from wifi_manager import WifiManager
>>> WifiManager.setup_network()
connecting to network Foo-Network...
WebREPL daemon started on ws://10.1.1.234:8266
Started webrepl in normal mode
TrueAsynchronous usage (event loop)The WifiManager can be run asynchronously, via the cooperative scheduling that micropthon has in uasyncio. If you callWifiManager.start_managing()as follows, it will ensure that periodically the network status is scanned, and connection will be re-established as per preferences as needed.import uasyncio as asyncio
from wifi_manager import WifiManager

WifiManager.start_managing()
asyncio.get_event_loop().run_forever()ContributionFound a bug, or want a feature? open an issue.If you want to contribute, create a pull request.System flow
Package: micropython-windows-stubs
micropython-windows-stubsThis is a stub-only package for MicroPython.
It is intended to be installed in a projects virtual environment to allow static type checkers and intellisense features to be used while writing Micropython code.The version of this package is alligned the the version of the MicroPython firmware.Major, Minor and Patch levels are alligned to the same version as the firmware.The post release level is used to publish new releases of the stubs.ForMicropython 1.17the stubs are published as1.17.post1...1.17.post2forMicropython 1.18the stubs are published as1.18.post1...1.18.post2To install the latest stubs:pip install -I  micropython-<port>-stubswhere port is the port of the MicroPython firmware.To install the stubs for an older version, such as MicroPython 1.17:pip install micropython-stm32-stubs==1.17.*which will install the last post release of the stubs for MicroPython 1.17.As the creation of the stubs, and merging of the different types is still going though improvements, the stub packages are marked as Beta.
To upgrade stubs to the latest stubs for a specific version usepip install micropython-stm32-stubs==1.17.* --upgradeIf you have suggestions or find any issues with the stubs, please report them in theMicroPython-stubs DiscussionsFor an overview of  Micropython Stubs please see:https://micropython-stubs.readthedocs.io/en/main/List of all stubs :https://micropython-stubs.readthedocs.io/en/main/firmware_grp.htmlIncluded stubs:Merged stubs fromstubs/micropython-v1_21_0-windows-GENERIC-mergedFrozen stubs fromstubs/micropython-v1_21_0-frozen/windows/GENERICCore stubs fromstubs/micropython-coreoriginFamilyPortBoardVersionDocumentationmicropython--v1.21.0Coremicropythonwindows-v1.21.0
Package: micropython-wsentids
IntroductionMicroPython library for the WSEN WSEN-TIDS temperautre SensorInstalling with mipTo install using mpremotempremotemipinstallgithub:jposada202020/MicroPython_WSENTIDSTo install directly using a WIFI capable boardmipinstallgithub:jposada202020/MicroPython_WSENTIDSInstalling Library ExamplesIf you want to install library examples:mpremotemipinstallgithub:jposada202020/MicroPython_WSENTIDS/examples.jsonTo install directly using a WIFI capable boardmipinstallgithub:jposada202020/MicroPython_WSENTIDS/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-wsentidsTo install system-wide (this may be required in some cases):sudopip3installmicropython-wsentidsTo install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.venvsource.env/bin/activatepip3installmicropython-wsentidsUsage ExampleTake a look at the examples directoryDocumentationAPI documentation for this library can be found onRead the Docs.
Package: micropython-wsgiref
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-xdrlib
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-xml
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-xml.dom
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-xml.dom.minidom
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-xml.dom.pulldom
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-xml.parsers.expat
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-xmlrpc
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-xmlrpc.server
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-xml.sax
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-zipapp
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-zipfile
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-zipimport
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-zlib
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: microrequests
This module makes consuming microservices in Python more efficient.
Python’s requests module is fantastic and highly configurable,
microrequests builds a wrapper over requests module and enables
connection pooling as part of initialisation. This ensures that you use
the same connection instead of creating one with every new request,
while still working with requests’ clean APIs and mechanism.This is first version of microrequests and we intend to add more
customisation for to consume microservices easily and efficiently.InstallationThe easiest way to install microrequests is using pip$pipinstallmicrorequestsUsageTo use, simply do:importmicrorequestsmr=microrequests.init()res=mr.get("http://httpbin.org/get")# mr is requests' session object and you can use it in similar mannerprint(res.text)you can also customize max_retries, pool_connections and pool_maxsize -
they are by default set to 1, 100 and 50 respectively pool_connections
is the number of urllib3 connection pools to cache and poolmaxsize* is
the maximum number of connections to save in the poolimportmicrorequestsmr=microrequests.init(max_retries=2,pool_connections=10,pool_size=5)res=mr.get("http://httpbin.org/get")print(res.text)TestsTo run tests:$toxTODOWrite more testsContributingBug reports and pull requests are welcome on GitHub athttps://github.com/abhinavs/microrequests. This project is intended to
be a safe, welcoming space for collaboration, and contributors are
expected to adhere to thecode of conduct.Code of ConductEveryone interacting in the microrequests project’s codebases, issue
trackers, chat rooms and mailing lists is expected to follow thecode
of conduct.CopyrightCopyright (c) 2020 Abhinav Saxena. SeeMIT Licensefor further
details.
Package: micros
A skeleton command line program in Python.UsageTo authenticate with AWS (use /home/USERNAME/.aws/ on Linux/macOS, and C:UsersUSERNAME.awsas aws-folder):# on windows the
micros authenticate <aws-folder> <aws_key> <aws_secret>Create a new project:micros create <project>Deploy your files to S3:micros deploy <project> <directory> [–create_www] [–create_hosted]Run the project locally (use this command in the root of your project):micros run <port>Delete the static website and remove all files (permanent):micros delete <project>Show help dialog:micros –helpShow current version:micros –versionOptions:--helpShow this screen.--versionShow version.--create_wwwCreate a second S3 bucket with prepended ‘www.’ which redirects to the default--create_hostCreate hosted Route 53 zone on AWSExamples:micros authenticate ~/.aws/ 76231 18290micros create festive_seasonmicros run 8080micros deploy festive_season local/directory/micros delete festive_seasonInstallationInstall dependencies:pip install -e .[test]Run tests:python setup.py testInstall as a user:pip install micros
Package: microsatellites_finder
This program searches for microsatellites in fasta sequences.
The available options are the following:-i,--input-fasta: path of the fasta file containing the sequence(s) to analyze. The file can be either a plain text file or a gzip compressed file.-o,--output-file: path of the file to save with the results of the analysis. The coordinates of the microsatellites will be 0-based.-l,--seed-length: length of the seed of the microsatellites, i.e. the number of nucleotides that will be repeated. For instance-l 2will find microsatellites likeACACACACwhere the seedACis repeated 4 times.-r,--minimum_repetitions: minimum number of repetitions of the seed. For instance-r3will find microsatellites likeCTACTACTAorCTACTACTACTAwhere the seedCTAis repeated at least 3 times. The minimum allowed value is 2 and the default value is 3.-im,--imperfect: include imperfect microsatellites. With this option microsatellites repeated at least-r-1times that share the same seed and have a distance up to the “–imperfect” value will be merged together and will be considered as a single microsatellite. By default this option is disabled and microsatellites are kept separated.-s,--strict: when--imperfectis a positive integer, this option allows to search for imperfect microsatellites only by using nucleotides that are present in the seed. For instance, if the seed isATonly the nucleotidesAandTwill be considered. By default this option is disabled and all the nucleotidesACGTare considered.-a,--alphabet: alphabet to use for the microsatellites search. The alphabet can be eitherdnafor DNA oraafor PROTEINS. Default is “dna”.-f,--flanking: length of the sequences flanking the microsatellites. The sequences will be written in the output file. Sequences that overstep the boundaries of a chromosome will be truncated. By default this option is disabled.-c,--cores: number of CPUs to use in the computation. By default it will use all the available CPUs.-p,--progress: track the progress of the computation with a progress bar.How to execute the programThe program can be executed by writing of your terminal:find_microRequirements:Python 3.4+Installation:pip install macrosatellites_finder
Package: microscan
# microscan-driver[![Build Status](https://travis-ci.org/jonemo/microscan-driver.svg?branch=master)](https://travis-ci.org/jonemo/microscan-driver)
[![PyPI version](https://badge.fury.io/py/microscan.svg)](https://badge.fury.io/py/microscan)Python driver for Microscan barcode readersThe author of this software is not affiliated with Microscan Systems Inc.“Microscan” and “MS3” are trademarks of Microscan Systems Inc. and are used in this software and its accompanying documentation to the benefit of the trademark owner, with no intention of infringement.## How to installClone this git repository or download the repository as a [zip package](https://github.com/jonemo/microscan-driver/archive/master.zip) and extract.
Then, from the root folder of the repository, run` $ python setup.py install `Depending on your setup and environment, you might want to consider doing so inside a [virtualenv](https://virtualenv.pypa.io/).This package only has a single requirement (which is automatically installed when running the above command):
The [pyseriallibrary](https://pythonhosted.org/pyserial/) provides access to the serial port and is implemented in pure Python.
In other words: This driver does not use any C extensions and should work in many Python implementations.## How to run unit testsFrom the root folder of the repo, run:` $ python-munittest `No additional dependencies are required.## Supported devicesCurrently, this library aims to implement all features documented in the MS3device user manual (with exceptions listed below).## Not (yet) supported features### Specific SettingsThe configuration settings listed below are not currently implemented in this library:For the Host Port Protocol setting, the values “Multidrop”, “User Defined”, and “User Defined Multidrop”Matchcode (all functionality described in chapter 7 of the user manual)Configuration settings for the Codabar, Interleaved2Of5, and Pharmacode symbologiesA workaround for applications that require these features, is to send the corresponding configuration strings directly using theMicroscanDriver.write()method, for example, to only output symbol data on match, but as soon as data is available:` driver =MicroscanDriver('COM3')driver.write(b'<K705,1,0>')driver.close() `### General FunctionalityNo sanity checking is performed on the combinations of settings in a configuration. Only individual settings and their subsettings are (to limited degree) validated against the specification.