Saravanan666/pypi-org huggingface dataset:
Package: xicsrt-contrib
XICSRT: Contributed ModulesGit Repository:https://bitbucket.org/amicitas/xicsrt_contribGit Mirror:https://github.com/PrincetonUniversity/xicsrt_contribPurposeA collection of community contributed modules for extension of the XICSRT
raytracing code.The optic, source and filter objects in this repository are meant for use with
XICSRT. These are extra objects that may be useful to an XICSRT user but have
not been included as built-in objects for one of the following reasons:Usage is too specific for general use.Non-standard external dependencies.Performance and stability not at production quality.Some of these objects may eventually be moved into the main repository as their
development advances.InstallationThe XICSRT contributed modules can be simply installed usingpippip install xicsrt_contribAlternatively it is possible to install from source usingsetuptoolspython setup.py installAfter installation xicsrt should natively see all available contributed objects
in the same way as built-in objects.UsageUse xicsrt normally; after installation the contributed objects are natively
available.
Package: xiezhi-ai
xiezhi: The First One-dimensional Anomaly Detection ToolInstallpip install xiezhi-aiUsageThe inputs include data, beta, and alpha.data: The current version only supports the detection of one-dimensional data, so the data should be a list.beta and alpha are set between 0 and 1 and beta is smaller than alpha, if there are few anomalies, beta and alpha can be set close to 1;
otherwize, it should be set close to 0.5. If the number of anomalies are unknown, then both of beta and alpha should be close to 0.5.Below is the example:importxiezhiasxzdata=[1,2,3,4,5,6,7,9,10,20]# here 20 is the anomalybenign_data=xz(data,0.7,0.9)# xiezhi will return the benign data
Package: xifa
XIFA: Accelerated Item Factor AnalysisWhat isxifa?xifais a python package for conductingitem factor analysis(IFA), a representative multivariate technique in psychometrics.xifais build onjax, a package for Autograd and XLA (accelerated linear algebra). Hence,xifacan run IFA on GPUs and TPUs to hugely speed up the training process. That is why we call itAccelerated IFA.To calculate a marginal maximum likelihood (MML) estimate,xifaimplements a vectorized version of Metropolis-Hastings Robbins-Monro (MH-RM) algorithm  (Cai, 2010). The vectorized algorithm is designed for parallel computing with GPUs of TPUs. The vectorized algorithm includes two stages: the first stage updates the parameter estimate by a stochastic expectation-maximization (StEM) algorithm and the second stage conducts stochastic approximation (SA) to iteratively refine the estimate.For a tutorial, please see theIPIP 50 Items Example.For a large-scale application, please see theIPIP 300 Items Example (v2).Features inxifaxifasupports ordinal data IFA withgraded response model (GRM;Semejima, 1969)generalized partial credit model (GPCM;Muraki, 1992).The analysis can be eitherexploratoryorconfirmatory. In addition, the vectorized algorithm is able to handle the presence ofmissing responsesunequal category itemsFeatures in statistical inference (e.g., goodness-of-fit statistics, parameter standard errors, etc.) are still under development.
Package: xignitegh
XigniteGHPython module to get historical stock data from the XigniteGlobalHistorical APIXigniteGH is a wrapper to the XigniteGlobalHistorical API. This module implements a python interface to the API provided byXignite. A token is required.InstallTo install the package use:pipinstallxigniteghUsageimportpandasaspdfromxigniteghimportXignitexgh=Xignite(_token="TOKEN",_token_userid=USERID)quotes=xgh.get_quotes(ticker="AAPL",years=1)ifquotes["Outcome"]=="Success":name=quotes["Security"]["Name"]dividends=xgh.get_dividends(ticker="AAPL",years=1)ifdividends["Outcome"]=="Success":df=pd.json_normalize(dividends["CashDividends"])The token may also be stored in the environment variableXIGNITE_TOKEN. The token userid is optional and used only with encrypted tokens.
Package: xil
XILGather and compare foreign currency exchange buy and sell rates offered by Israeli
banks.Banks dataThe XIL project supports the following banks:Bank and data sourceXIL moduleTestsBank name (Hebrew)Bank Leumi Le-Israelleumi:x:בנק לאומי לישראלBank Hapoalimpoalim:x:בנק הפועליםMizrahi Tefahot Bankmizrahi_tefahot:x:בנק מזרחי טפחותIsrael Discount Bankdiscount:x:בנק דיסקונט לישראלFirst International Bank of Israelfibi:x:הבנק הבינלאומי הראשון לישראלBank of Jerusalemjerusalem:x:בנק ירושליםMercantile Discount Bankmercantile:x:בנק מרכנתיל דיסקונטBank Massadmassad:x:בנק מסדOne Zero Digital Bankonezero:white_check_mark:וואן זירו הבנק הדיגיטליBank of Israelboi:x:בנק ישראלFor the data sources (websites and URLs) for each bank, see the docstring of the
corresponding XIL module.Banks that are not supported yet:Bank Yahav (בנק יהב): no public information available.https://www.bank-yahav.co.il/investments/foreing-currency/Bank Esh Israel (בנק אש ישראל): a new bank - not commercially active yet.https://www.esh.com/InstallationThe project requires Python 3.11 or above. To install the project, run:pipinstallxilContributing to the XIL projectPlease read theContribution Guide.
Package: xilinx-language-server
xilinx-language-serverLanguage server for xilinx:vivadovitisdocument hovercompletionReadto know more.Documentsvivado-system-level-design-entryvivado-tcl-commandsvitis-embeddedUpdateInstallvivadoandvitis, thenRunscripts/vivado.tclto updatesrc/xilinx_language_server/assets/json/vivado.jsonRunscripts/xsct.tclto updatesrc/xilinx_language_server/assets/json/xsct.jsonRelated Projectsxilinx.vim: vim filetype plugin
for xilinx
Package: xillypy
XillyPyA simple Xillybus interface written in Python.
It supports streaming as well as reading/writing bytes to an address/data interface.Usageimportxillypy# write 16 (0x10, 0b00010000) to address 2xillypy.memory_write('/dev/xillybus_mem',2,(16,))# write some bytes (.encode()) to a streaming interfacexillypy.stream_write('/dev/xillybus_write','this is my data i want to write'.encode())An example can be found inbenchmark.py.CompatibilityThe code was tested with Python 3.5 and 3.6 on a Linux Host (Ubuntu 16.04).
Package: ximea-py
ximea-pyThis module provides a python interface to XIMEA cameras. It is simply a repackaging of XIMEA's python drivers available athttps://www.ximea.com/downloads/recent/XIMEA_Linux_SP.tgz(package/api/Python/v3/ximea) in order to allow for easier installation with pip, e.g. into virtual or conda environments.InstallationOn Linux, add users that will use the camera to the "plugdev" group:sudo usermod -aG plugdev <myuser>Install with:pip install ximea-pyand use like so:import ximea.xiapi

ximea.xiapi.Camera()
...
Package: ximenez
The purpose of Ximenez is to execute an action on a set of collected
items. Both the action and the way items are collected, are defined by
Python modules, which are called plug-ins. This lets you:execute a command (and retrieve its output) on a set of remote hosts
(via SSH);perform various actions on a set of Zope servers (add an user,
change his/her password, remove an user, etc.);carry out any action that you are willing to write a Python plug-in
for.See thePlug-inssection below to know more about Ximenez built-in
plug-ins and how to develop your own ones.UsageYou can use Ximenez with the following command-line:$ ximenez -c <collector> -a <action><collector>and<action>are both plug-ins. The former gives
Ximenez a set of items on which to act, and the latter is the action
to perform on each item of this set.Hopefully, Ximenez comes with a number of useful plug-ins , e.g.:$ ximenez -c misc.readlines -a misc.logOptional arguments are available. Seeusagefor further
details.Plug-insThe main characteristic of Ximenez is that it can be extended to just
do what you need to do, by using plug-ins. There are two kinds of
plug-ins: collectors and actions.Ximenez ships with a set ofbuilt-in plug-ins. You may also want to
take a look at theexhaustive guideto develop your own plug-ins.RequirementsXimenez should run under any OS, though some plug-ins may use
OS-specific features or require special Python packages.Python 2.4 or above is required. This program may also work with prior
versions of Python with minor changes.InstallationIf you haveeasy_install, then the following should do the trick:$ easy_install ximenezFor further details, see theInstallationchapter.Subversion repositoryXimenez source code lives in a Subversion repository. To checkout the
trunk:$ svn co https://svn.pilotsystems.net/projets/ximenez/trunk ximenezYou can alsobrowse the sourceswith the same URL.The nameIt all began in Jarrow. One of the cross beams had gone out askew on
the treddle.CreditsXimenez has been written by Damien Baty.Gaël Le Mignot (Pilot Systems) and Sylvain Viollon (Infrae) have
provided several bug fixes.Pilot Systemshas partially sponsored the development of this
program.LicenseXimenez is copyright 2006-2007 by Damien Baty.This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or (at
your option) any later version.This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
General Public License for more details.You should have received a copy of the GNU General Public License
along with this program. If not, see thesection about licensesof
theGNU web site.
Package: xi-mzidentml-converter
xi-mzidentml-converterxi-mzidentml-converter uses pyteomics (https://pyteomics.readthedocs.io/en/latest/index.html) to parse mzIdentML files (v1.2.0) and extract crosslink information. Results are written to a relational database (PostgreSQL or SQLite) using sqlalchemy.Requirements:python3.10pipenvsqlite3 or postgresql (these instruction use posrgresql)1. InstallationClone git repository :git clone https://github.com/Rappsilber-Laboratory/xi-mzidentml-converter.gitcd into the repository:cd xi-mzidentml-converterCheckout python3 branch:git checkout python32. create a postgresql role and database to usesudo su postgres
psql
create database xiview;
create user xiadmin with login password 'your_password_here';
grant all privileges on database xiview to xiadmin;find the hba.conf file in the postgresql installation directory and add a line to allow  the xiadmin role to access the database:
e.g.sudo nano /etc/postgresql/13/main/pg_hba.confthen add the line:local   xiview   xiadmin   md5then restart postgresql:sudo service postgresql restart3. Configure the python environment for the file parseredit the file xiSPEC_ms_parser/credentials.py to point to your postgressql database.
e.g. so its content is:hostname = 'localhost'
username = 'xiadmin'
password = 'your_password_here'
database = 'xiview'
port = 5432Set up the python environment:cd xiSPEC_ms_parser
pipenv install --python 3.10run create_db_schema.py to create the database tables:python create_db_schema.pyparse a test dataset:python process_dataset.py -d ~/PXD038060 -i PXD038060The argument-dis the directory to read files from and-iis the project identifier to use in the database.To run testsMake sure we have the right db user availablepsql -p 5432 -c "create role ximzid_unittests with password 'ximzid_unittests';"
psql -p 5432 -c 'alter role ximzid_unittests with login;'
psql -p 5432 -c 'alter role ximzid_unittests with createdb;'
psql -p 5432 -c 'GRANT pg_signal_backend TO ximzid_unittests;'run the testspipenv run pytest
Package: xin2pbn
xin2pbn==> Deprecated, this module is moved intobridge-utilssince 2022.05.27, all features are kept$ pip uninstall xin2pbn
$ pip install bridge-utilsxinrui bridge online url to pbn converterxinrui url looks likethis, it can be converted to standard pbn filesoutput.pbnUsagepip install xin2pbn
xin2pbn "url"
xin2pbn "local.html"example$ xin2pbn "http://www.xinruibridge.com/deallog/DealLog.html?bidlog=P%3BP,1S,X,2S%3BP,P,X,P%3B3C,P,4C,P%3B5C,P,P,P%3B&playlog=W:TH,KH,AH,4H%3BE:TS,KS,AS,6C%3BN:3H,2H,9H,8H%3BS:TD,KD,AD,7D%3BN:3D,9D,2C,2D%3BS:3C,4C,TC,5C%3BN:6D,5D,QC,4D%3BS:7C,KC,AC,8C%3BN:&deal=T96.A62.J975.985%20KQ832.954.T.Q732%20AJ754.T8.K842.K4%20.KQJ73.AQ63.AJT6&vul=NS&dealer=E&contract=5C&declarer=S&wintrick=12&score=620&str=%E7%BE%A4%E7%BB%84IMP%E8%B5%9B%2020201121%20%E7%89%8C%E5%8F%B7%202/8&dealid=984602529&pbnid=344008254"
write to file output.pbn

$ curl -O https://isoliu.gitlab.io/book2020/web/1-chapter2-B01-zdjs.html
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  5054  100  5054    0     0  11512      0 --:--:-- --:--:-- --:--:-- 11512
$ xin2pbn 1-chapter2-B01-zdjs.html
[b'https://isoliu.gitlab.io/deallog/DealLog.html?bidlog=1D,1S,P;2D,3C,P,P;4S,P,P,X;P,P,P&amp;playlog=E:5D,KD,2D,6D;S:3H,5H,8H,7H;N:8S,TS,AS,3D;S:4C,KC,3C,2C;W:8D,7D,2S,9D;E:8C,JC,AC,5C;W:QD,TH,5S,4D;E:6H,9H,KH,AH;N:&amp;deal=.K5.QJT832.AK976%20KQ874.AT8.76.Q53%20JT652.7642.5.T82%20A93.QJ93.AK94.J4&amp;vul=All&amp;dealer=W&amp;contract=4SX&amp;declarer=N&amp;wintrick=9&amp;score=-200&amp;str=%E9%94%A6%E6%A0%87%E8%B5%9B%20%E7%AC%AC12%E8%BD%AE%20%E7%89%8C%E5%8F%B7%204/12&amp;dealid=653117488&amp;pbnid=127397878', b'https://isoliu.gitlab.io/deallog/DealLog.html?bidlog=1D,1S,P;2D,3C,P,P;4S,P,P,X;P,P,P&amp;playlog=E:5D,AD,2D,6D;S:QH,KH,AH,7H;N:KS,2S,3S,3D;N:4S,TS,AS,8D;S:3H,5H,8H,2H;N:TH,6H,JH,7C;S:9H,6C,7D,4H;S:4C,KC,3C,2C;W:AC,5C,8C,JC;W:QD,QS,TC,4D;N:&amp;deal=.K5.QJT832.AK976%20KQ874.AT8.76.Q53%20JT652.7642.5.T82%20A93.QJ93.AK94.J4&amp;vul=All&amp;dealer=W&amp;contract=4SX&amp;declarer=N&amp;wintrick=10&amp;score=790&amp;str=%E9%94%A6%E6%A0%87%E8%B5%9B%20%E7%AC%AC12%E8%BD%AE%20%E7%89%8C%E5%8F%B7%204/12&amp;dealid=653247876&amp;pbnid=127397878']
write to file ./1-chapter2-B01-zdjs-01.pbn
write to file ./1-chapter2-B01-zdjs-02.pbn

$ cat 1-cha*.pbn > all.pbnsnapshotoriginal source in xinrui UIThe outputed pbn can be viewed inside bridgecomposer & pbnjviewDevelopment# docker run -it  -v $PWD:/app  -w /app python:3.8  bash
# python3 -m pip install --user --upgrade twine wheel
# python3 setup.py sdist clean
# rm -rf dist
# python3 setup.py sdist bdist_wheel
# cat > ~/.pypirc
# python3 -m twine upload --skip-existing --verbose dist/*TODOWeb interfaceconvert to js to be used by anyoneReferencehttp://www.tistis.nl/pbn/http://xinruibridge.com/http://bridgecomposer.com/
Package: xinabox-CORE
Python-COREI2C Core for CC03/CS11/CW03, CW02, CW01, Raspberry Pi and MicrobitUsageMu-editorDownloadMu-editorCW01 and CW02UseXinaBoxUploaderand flash MicroPython to the CW01/CW02.Download Python packages from the REPL with the following code:importnetworkimportupipsta_if=network.WLAN(network.STA_IF)sta_if.active(True)sta_if.connect("ssid","password")upip.install("xinabox-CORE")CC03, CS11 and CW03Download the .UF2 file for CC03/CS11/CW03CircuitPythonand flash it to the board.TO DOMicroBitTO DORaspberry PiRequires Python 3pip3 install xinabox-CORE
Package: xinabox-CW01-CW02-CORE
Python CORE for CW01 and CW02MicroPython Core handling I2C communication forCW01(ESP8266) andCW02(ESP32).InstructionsUseXinaBoxUploaderand flash MicroPython to the CW01/CW02.Python IDEmu-editorUsemu-editor(find it herehttps://codewith.mu)mu-editorneeds to recognize Product ID:0x6001and Vendor ID:0x0403- pull request submitted.In the meantime use XinaBox version of themu-editorfrom here:XinaBox mu-editor.Visual Studio Code (VSC)UseVSC(find it herehttps://code.visualstudio.com)You need a plugin, such asPymakrESPlorerUseESPlorerESPlorerThis IDE allows you to switch DTR/RTS off - see note regarding CW01 belowNote using CW01The CW01 doesn't have an "auto resetting" circutry on it like the CW02 has, therefore the the CW01 will be stuck in "bootloader" mode when inserted into your computer with a standard IP01. However if you have an old IP01 with switches, then you can bypass that by setting the A-B switch in positionAwhen programming the CW01 using mu-editor. And when loading the MicroPython using theXinaBoxUploader, the switches should be inBandDCEYou can also just use an IDE that allows you to control DTR/RTS, such as ESPlorer (see above)
Package: xinabox-OC01
Python-OC01Insert description of xChipUsageMu-editorDownloadMu-editorCW01 and CW02UseXinaBoxUploaderand flash MicroPython to the CW01/CW02.Download Python packages from the REPL with the following code:importnetworkimportupipsta_if=network.WLAN(network.STA_IF)sta_if.active(True)sta_if.connect("ssid","password")upip.install("xinabox-oc01")CC03, CS11 and CW03Download the .UF2 file for CC03/CS11/CW03CircuitPythonand flash it to the board.TO DOMicroBitTO DORaspberry PiRequires Python 3pip3 install xinabox-oc01Example#insert example
Package: xinabox-OC03
Python-OC03The OC03 xChip is a low-voltage control relay module able to switch AC and DC loads. It is based on the PCA9554A and TLP241A.The optically isolated relay is controlled by a PCA9554A IO expander, which provides an control interface to the switch. The PCA9554A has several selectable I2C addresses accessible via solder pads.The TLP241A photorelay consist of a photo MOSFET optically coupled to an infrared light emitting diode which switches a AC or DC load. It provides an isolation voltage of 5000 Vrms, making it suitable for applications that require reinforced circuit insulation.UsageMu-editorDownloadMu-editorCW01 and CW02UseXinaBoxUploaderand flash MicroPython to the CW01/CW02.Download Python packages from the REPL with the following code:importnetworkimportupipsta_if=network.WLAN(network.STA_IF)sta_if.active(True)sta_if.connect("ssid","password")upip.install("xinabox-OC03")CC03, CS11 and CW03Download the .UF2 file for CC03/CS11/CW03CircuitPythonand flash it to the board.TO DOMicroBitTO DORaspberry PiRequires Python 3pip3 install xinabox-OC03ExamplefromxOC03importxOC03fromxCoreimportxCoreOC03=xOC03()# start OC03OC03.init()# sleep timeDELAY=500# infinite loopwhileTrue:# close relayOC03.writePin(True)xCore.sleep(DELAY)# open relayOC03.writePin(False)xCore.sleep(DELAY)
Package: xinabox-OC05
Python-OC05The OC05 xChip is an 8-channel servo motor driver. It is based on the popular PCA9685 manufactured by NXP Semiconductor. It is supported by a BU33SD5 regulator to drive and accurately control up to 8 servo motors on a single module and act as system power supply. The module has 8 standard 2.54 mm (0.1") servo headers, plus 1 standard 2.54 mm (0.1") battery/BEC input header.UsageMu-editorDownloadMu-editorCW01 and CW02UseXinaBoxUploaderand flash MicroPython to the CW01/CW02.Download Python packages from the REPL with the following code:importnetworkimportupipsta_if=network.WLAN(network.STA_IF)sta_if.active(True)sta_if.connect("ssid","password")upip.install("xinabox-OC05")CC03, CS11 and CW03Download the .UF2 file for CC03/CS11/CW03CircuitPythonand flash it to the board.TO DOMicroBitTO DORaspberry PiRequires Python 3pip3 install xinabox-OC05ExamplefromxOC05importxOC05fromxCoreimportxCore# OC05 instanceOC05=xOC05()# configure OC05 with frequency of 60HzOC05.init(60)whileTrue:OC05.setServoPosition(1,0)#  position servo to the rightxCore.sleep(50)OC05.setServoPosition(1,180)#  position servo to the leftxCore.sleep(50)
Package: xinabox-SG33
Python-SG33TODO - Insert descriptionUsageMu-editorDownloadMu-editorCW01 and CW02UseXinaBoxUploaderand flash MicroPython to the CW01/CW02.Download Python packages from the REPL with the following code:importnetworkimportupipsta_if=network.WLAN(network.STA_IF)sta_if.active(True)sta_if.connect("ssid","password")upip.install("xinabox-sg33")CC03, CS11 and CW03Download the .UF2 file for CC03/CS11/CW03CircuitPythonand flash it to the board.TO DOMicroBitTO DORaspberry PiRequires Python 3pip3 install xinabox-sg33ExamplefromxCoreimportxCorefromxSG33importxSG33SG33=xSG33()whileTrue:ifSG33.dataAvailable()==True:SG33.getAlgorithmResults()print(SG33.getTVOC())print(SG33.getCO2())xCore.sleep(1000)
Package: xinabox-SL01
Python-SL01The SL01 xChip is a UV radiation and ambient light level sensor. It is based on the VEML6075 and TSL4531. VEML6075 on the SL01 is capable of measuring UVA and UVB radiation, in turn, providing an acccurate UV Index. TSL4531 is a light sensor that is capable of measuring the luminosity (Wide Dynamic Range â€” 3 lux to 220k lux) (visual brightness).UsageMu-editorDownloadMu-editorCW01 and CW02UseXinaBoxUploaderand flash MicroPython to the CW01/CW02.Download Python packages from the REPL with the following code:importnetworkimportupipsta_if=network.WLAN(network.STA_IF)sta_if.active(True)sta_if.connect("ssid","password")upip.install("xinabox-SL01")CC03, CS11 and CW03Download the .UF2 file for CC03/CS11/CW03CircuitPythonand flash it to the board.TO DOMicroBitTO DORaspberry PiRequires Python 3pip3 install xinabox-SL01ExamplefromxCoreimportxCorefromxSL01importxSL01SL01=xSL01()whileTrue:print(SL01.getUVA())print(SL01.getUVB())print(SL01.getUVIndex())print(SL01.getLUX())xCore.sleep(1000)
Package: xinabox-SL06
Python-SL06The SL06 xChip features advanced Gesture detection, Proximity detection, Digital Ambient Light Sense (ALS) and Colour Sense (RGBC). It is based on the popular APDS9960 manufactured by Avago Technologies.UsageMu-editorDownloadMu-editorCW01 and CW02UseXinaBoxUploaderand flash MicroPython to the CW01/CW02.Download Python packages from the REPL with the following code:importnetworkimportupipsta_if=network.WLAN(network.STA_IF)sta_if.active(True)sta_if.connect("ssid","password")upip.install("xinabox-SL06")CC03, CS11 and CW03Download the .UF2 file for CC03/CS11/CW03CircuitPythonand flash it to the board.TO DOMicroBitTO DORaspberry PiRequires Python 3pip3 install xinabox-SL06ExamplefromxCoreimportxCorefromxSL06importxSL06# SL06 instanceSL06=xSL06()# configure SL06SL06.init()# enable SL06 for gesture sensingSL06.enableGestureSensor()whileTrue:ifSL06.isGestureAvailable():# check for gesturedir=SL06.getGesture()# read directionprint(dir)# print direction on consolexCore.sleep(100)
Package: xinabox-SL19
Python-SL19The SL19 xChip is equipped to measure temperature as a function of infrared light/radiation (IR) radiating from objects in its field of view. Is is based on theMLX90614in which a IR sensitive thermopile detector chip and signal conditioning ASIC are integrated.The MLX90614 is factory calibrated in wide temperature ranges: -40-125ËšC for the ambient temperature and -70-380ËšC for the object temperature. The measured value is the average temperature of all objects in the Field Of View of the sensor. The MLX90614 offers a standard accuracy of Â±0.5ËšC around room temperatures.UsageMu-editorDownloadMu-editorCW01 and CW02UseXinaBoxUploaderand flash MicroPython to the CW01/CW02.Download Python packages from the REPL with the following code:importnetworkimportupipsta_if=network.WLAN(network.STA_IF)sta_if.active(True)sta_if.connect("ssid","password")upip.install("xinabox-SL19")CC03, CS11 and CW03Download the .UF2 file for CC03/CS11/CW03CircuitPythonand flash it to the board.TO DOMicroBitTO DORaspberry PiRequires Python 3pip3 install xinabox-SL19ExamplefromxCoreimportxCorefromxSL19importxSL19# SL19 instanceSL19=xSL19()# configure SL19SL19.init()whileTrue:tempAmbient=SL19.getAmbientTempC()# returns ambient temp in degree celciustempObject=SL19.getObjectTempC()# returns object temp in degree celcius# prints on consoleprint('Ambient: ',tempAmbient,' C')print('Object : ',tempObject,' C')xCore.sleep(2000)