Saravanan666/pypi-org huggingface dataset:
Package: xiaobaiapi
xiaobaiapi介绍让接口测试起来更简单、人性化、更好玩公众号：小白科技之窗接口测试需要接口的痛点：接口文档的导入：swagger、har、curl接口信息头：支持长字符串接口断言：支持jsonpath与正则断言接口数据：支持jsonpath提取数据软件架构python3.* + requests + jmespath + pytest + pytest-HTML安装教程更新下载源pip config set global.index-url https://pypi.douban.com/simple安装xiaobaiapipip install -U xiaobaiapi使用说明from xiaobaiapi.xiaobaiapi import RequestClient


# 断言的案例
RequestClient(method='GET', url='http://127.0.0.1:8000', assertExpression='code', assertValue=200)

# 提取器的案例，提取的值存储在r.variable对象中
r = RequestClient(method='GET', url='http://127.0.0.1:8000/api/gettoken', extractorExpression='data.token', extractorVariable='token')
print(r.variable)日志版本信息0.1完成单个接口断言及提取器0.1.1fix
Package: xiaobaiinstaller
安装pip install xiaobaiinstaller
or
pip install -U xiaobaiinstaller使用打开cmd输入以下命令，回车运行
xiaobaiinstaller备注- 目前支持：JMeter与JDK的安装
- 可以手动获取JMeter或者JDK的版本，推荐选择新版本
- 软件默认安装在D:\Program Files盘下，后续添加可自定义安装在其它目录下
- 后续再增加其它软件安装
Package: xiaochuanhttpsproxy
https代理ip运行python3第三方包requests安装pipinstallxiaochuanhttpsproxy使用importxiaochuanhttpsproxyxiaochuanhttpsproxy.start(2)print(xiaochuanhttpsproxy.getip())每次提取的ip有接近20个,start的参数为2函数解释:start()  开始提取，参数为提取的页面数，一页100个初始ip, getip()获取随机ipstart(1)的运行时间大概为2分钟，以此类推联系github:@github,pypi:pypimail:w2239559319@outlook.com
Package: xiaochuanipproxy
http代理ip提取程序运行python3第三方包requests安装pipinstallxiaochuanipproxy使用importxiaochuanipproxyxiaochuanipproxy.start()#等到程序输出提取完毕即可调用print(xiaochuanipproxy.getip())#返回一个ip每次提取的IP大概有30个提取的网站有:西刺代理.快代理.89免费代理.5u代理.米扑.yqie
相应的函数getxiciip(maxpage),getmipuip(),get5uip(),get98mianfeiip(maxpage),getkuaidailiip(maxpage),getyqieip开发者版本xiaochuanipproxy已经上传至pypi，进入pypi页面
Package: xiaogui-ble
xiaogui-bleSource Code:https://github.com/bluetooth-devices/xiaogui-bleBluetooth parser for xiaogui scalesInstallationInstall this via pip (or your favourite package manager):pip install xiaogui-bleUsageStart by importing it:importxiaogui_bleContributors ✨Thanks goes to these wonderful people (emoji key):This project follows theall-contributorsspecification. Contributions of any kind welcome!CreditsThis package was created withCopierand thebrowniebroke/pypackage-templateproject template.
Package: xiaohei
=======
XIAOHEIA Jianhua WU's projectThis package provides an easy way for setting up CI/CD tools on AWS and Azure.The XIAOHEI package works on Python versions:3.6.x and greater3.7.x and greater3.8.x and greaterPre-requisiteboto3access key & secret key of an AWS IAM user with Admin permissiongeneral AWS knowledgeAzure Credsgeneral Azure knowledgeSet up AWS EnvironmentThe quickest way to get started is to run theaws configurecommand::$ aws configure
AWS Access Key ID: YourAwsAccessKey
AWS Secret Access Key: YourAwsSecretKey
Default region name [ap-southeast-2]: ap-southeast-2
Default output format [None]: jsonFor more detail, follow the link athttps://github.com/aws/aws-cli/blob/develop/README.rst
Package: xiaohongshu
小红书 Python SDK小红书Python SDKrequirementpython >= 3.6安装使用安装pypi:pipinstallxiaohongshuUsage使用示例：from xiaohongshu.api.api import ARK

ark = ARK("xhs", "9a539709cafc1efc9ef05838be468a28")

# 获取物流公司列表
ark.comm.get_express_list()接口说明公共接口封装在comm中
订单相关接口封装在order
库存相关接口封装在stock
商品相关封装在product.changelog[0.0.3] 添加物流模式接口的说明，官方文档存在错误。
Package: xiaomi-ble
Xiaomi BLEManage Xiaomi BLE devicesInstallationInstall this via pip (or your favourite package manager).pip install xiaomi-bleContributors ✨Thanks goes to these wonderful people (emoji key):This project follows theall-contributorsspecification. Contributions of any kind welcome!CreditsThis package was created withCookiecutterand thebrowniebroke/cookiecutter-pypackageproject template.
Package: xiaomi-flashable-firmware-creator
Xiaomi Flashable Firmware CreatorCreate flashable firmware zip from MIUI Recovery ROMs!Xiaomi Flashable Firmware Creator is a tool that generates flashable firmware-update packages from official MIUI ROMS.It supports creating untouched firmware, non-arb firmware, firmware + vendor flashable zip, and firmware-less ROMs from any local zip file or direct link of the zip file.InstallationYou can simply install this tool using Python pip.pipinstallxiaomi_flashable_firmware_creatorCLI Usagexiaomi_flashable_firmware_creator[-h](-FFIRMWARE|-NNONARB|-LFIRMWARELESS|-VVENDOR)[-oOUTPUT]Examples:Creating normal (untouched) firmware:xiaomi_flashable_firmware_creator-F[MIUIZIP]Creating non-arb firmware (without anti-rollback):xiaomi_flashable_firmware_creator-N[MIUIZIP]Creating firmware-less ROM (stock untouched ROM with just firmware removed):xiaomi_flashable_firmware_creator-L[MIUIZIP]Creating firmware + vendor flashable zip:xiaomi_flashable_firmware_creator-V[MIUIZIP]Using from other Python scriptsfromxiaomi_flashable_firmware_creator.firmware_creatorimportFlashableFirmwareCreator# initialize firmware creator object with the following parameters:# input_file: zip file to extract from. It can be a local path or a remote direct url.# process: Which mode should the tool use. This must be one of "firmware", "nonarb", "firmwareless" or "vendor".# out_dir: The output directory to store the extracted file in.firmware_creator=FlashableFirmwareCreator(input_zip,process,output_dir)# Now, you can either use auto() method to create the new zip file or do stuff at your own using firmware_creator public methods.new_zip=firmware_creator.auto()
Package: xiaomi-flashable-firmware-creator-gui
Xiaomi Flashable Firmware Creator GUICreate flashable firmware zip from MIUI Recovery ROMs!Xiaomi Flashable Firmware Creator is a tool that generates flashable firmware-update packages from official MIUI ROMS.It supports creating untouched firmware, non-arb firmware, firmware + vendor flashable zip, and firmware-less ROMs.Features:Easy-to-use interfaceMultilanguage support (more than 25 languages!). Thanks to our community members!Screenshots:HereInstallationUsing pipYou can simply install this tool using Python pip.pipinstallxiaomi_flashable_firmware_creator_guiManual InstallationClone this repo usinggit cloneMake sure that you have Python3 installed with pip version higher than 19 on your device.Install the required packages by running the following command in cloned repo folder.pip3install.GUI Usage:Run the tool.xiaomi_flashable_firmware_creator_g
Package: xiaomi-ndef
Xiaomi NDEFEncode and decode NDEF message using Xiaomi NFC protocol.Usagepipinstallxiaomi-ndeffrompyndefimportNdefMessagefromxiaomi_ndefimportMiConnectData,XiaomiNfcPayload,V2NfcProtocolfromxiaomi_ndefimportndef,xiaomi,handoff,tag# ExampleNDEF_MSG_BYTES=b"..."# Parse ndefndef_msg=NdefMessage.parse(NDEF_MSG_BYTES)ndef_type=ndef.get_xiami_ndef_payload_type(ndef_msg)ndef_bytes=ndef.get_xiami_ndef_payload_bytes(ndef_msg,ndef_type)# Parse ndef payloadmi_connect_data=MiConnectData.parse(ndef_bytes)nfc_protocol=mi_connect_data.get_nfc_protocol()nfc_payload=mi_connect_data.to_xiaomi_nfc_payload(nfc_protocol)# Build new screen mirror recordhandoff_ndef_type,handoff_payload=xiaomi.new_handoff_screen_mirror(device_type=handoff.DeviceType.PC,bluetooth_mac="00:00:00:00:00:00",enable_lyra=True)handoff_record=ndef.new_xiaomi_ndef_record(handoff_ndef_type,handoff_payload)# Build new ndef msghandoff_msg=NdefMessage(handoff_record)print(handoff_msg.to_bytes().hex())# Customize xiaomi ndefXiaomiNfcPayload(major_version=1,minor_version=11,id_hash=0,protocol=V2NfcProtocol,appData=tag.NfcTagAppData(major_version=1,minor_version=0,write_time=1666666666,flags=0,records=(tag.NfcTagDeviceRecord(device_type=tag.DeviceType.MI_SOUND_BOX,flags=0,device_number=0,attributes_map=tag.NfcTagDeviceRecord.new_attributes_map([tag.DeviceAttribute.WIFI_MAC_ADDRESS.new_pair("00:00:00:00:00:00"),tag.DeviceAttribute.BLUETOOTH_MAC_ADDRESS.new_pair("00:00:00:00:00:01")])),tag.NfcTagActionRecord(action=tag.Action.CUSTOM,condition=tag.Condition.AUTO,device_number=0,flags=0))))Related ProjectsPyNdefMiLinkNFCReferencePackage nameVersioncom.xiaomi.mi_connect_service3.1.453.10com.milink.service15.0.5.0.ceaac61.2919843com.xiaomi.smarthome9.1.501com.android.nfc14LicenseMIT License

Copyright (c) 2024 XFY9326

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Package: xiaoming-weather
Xiaoming-weatherXiaoming weather provides personalized weather data strings for chinese user. Its weather data is captured fromhttp://www.weather.com.cnUsageFollowing query on terminal will provide you the weather details of the city you provided by option city code. You can get your city code in the URL by finding the city name onhttp://www.weather.com.cn. For example, China city ChongQing homepage ishttp://www.weather.com.cn/weather/101040100.shtml, the city code is 101040100.zhangyd@zhangyd-ubuntu:~$ xiaoming-weather -q 101160407
小明天气：今天17℃~24℃，明天阴转多云，比今天凉一点，似乎要降温了。
明天: 阴转多云
温度: 10℃~20℃
风力: 3-4级转<3级Helpzhangyd@zhangyd-ubuntu:~$ xiaoming-weather --help
usage: xiaoming-weather [-h] [-q city-code]

XiaoMing Weather

optional arguments:
  -h, --help            show this help message and exit
  -q city-code, --query city-code
                        The specific city code from http://www.weather.com.cn
Package: xiaomipassive
xiaomipassiveLYWSD02, LYWSD03MMC (custom firmware ATC) and MiFlora passive scannerInstallationgit clone https://github.com/afer92/xiaomipassive.git
cd xiaomipassive
pip3 install .Command line toolxiaomipassivecOutput:mac: 80:EA:CA:89:xx:yy conductivity:   54 µS/cm (2023-02-26T00:42:25)
mac: C4:7C:8D:64:xx:yyconductivity:  837 µS/cm (2023-02-26T00:42:25)
mac: C4:7C:8D:6C:xx:yy light:          26 lux   (2023-02-26T00:42:26)
...
A4:C1:38:09:xx:yy ATC_0990AB
=================
mac: A4:C1:38:09:xx:yyB rssi:          -35 dBm   (2023-02-26T00:42:39)
mac: A4:C1:38:09:xx:yy temperature:  21.6 °C    (2023-02-26T00:42:39)
mac: A4:C1:38:09:xx:yy moisture:       32 %     (2023-02-26T00:42:39)
mac: A4:C1:38:09:xx:yyB battery:        93 %     (2023-02-26T00:42:39)
mac: A4:C1:38:09:xx:yy volt:         3.04 V     (2023-02-26T00:42:39)class XiaomiPassiveScannerloop=asyncio.get_event_loop()scanner=XiaomiPassiveScanner(loop,callback,timeout_seconds=240)callbackFunction call at each received advertissementdefcallback(self,data):print(self.dump_result(data))Output:mac: C4:7C:8D:65:xx:yy conductivity: 376 µS/cm
mac: 80:EA:CA:89:xx:yy light:        283 lux
mac: 15:03:10:12:xx:yy moisture:     47.0 %
mac: C4:7C:8D:65:xx:yy temperature:  20.8 °C
mac: E7:2E:01:71:xx:yy battery:      18 %Functiondump_resultformat the data decoded in an advertisementDictionnarydata:{'ok':True,'mac':'C4:7C:8D:6C:xx:yy','sensor':4100,'stype':'temperature','svalue':ListContainer([123,0]),'typeCst':ListContainer([113,32,152,0]),'num':247,'tab':13,'name':'Flower care','rssi':-87,'value':12.3}timeout_secondsScan fortimeout_seconds, default=240sdevicesAftertimeout_secondsscanning, data collected for each mac addressFunctiondump_device(mac)format the data for one mac addressE7:2E:01:71:xx:yy LYWSD02
=================
mac: E7:2E:01:71:xx:yy rssi:          -93 dBm   (2023-02-24T19:34:19)
mac: E7:2E:01:71:xx:yy moisture:     47.0 %     (2023-02-24T19:32:44)
mac: E7:2E:01:71:xx:yy temperature:  20.6 °C    (2023-02-24T19:34:18)
mac: E7:2E:01:71:xx:yy battery:        18 %     (2023-02-24T19:33:37)

C4:7C:8D:65:B1:1D Flower care
=================
mac: C4:7C:8D:65:xx:yy rssi:          -81 dBm   (2023-02-24T19:34:19)
mac: C4:7C:8D:65:xx:yy light:         118 lux   (2023-02-24T19:33:41)
mac: C4:7C:8D:65:xx:yy moisture:       21 %     (2023-02-24T19:33:52)
mac: C4:7C:8D:65:xx:yy conductivity:  309 µS/cm (2023-02-24T19:34:04)
mac: C4:7C:8D:65:xx:yy temperature:  20.7 °C    (2023-02-24T19:34:15)Example#!/usr/bin/python3fromxiaomipassiveimportxiaomipassiveasxiaomiimportasynciodefmain():defcallback(self,result):print(self.dump_result(result))defget_data():loop=asyncio.get_event_loop()scanner=xiaomi.XiaomiPassiveScannermiflora_scanner=scanner(loop,callback,timeout_seconds=240)try:loop.run_until_complete(miflora_scanner.run())exceptKeyboardInterruptaserr:print(err)formac,deviceinmiflora_scanner.xdevices.items():print(device)get_data()if__name__=='__main__':exit(main())
Package: xiaomusic
xiaomusic使用小爱/红米音箱播放音乐，音乐使用 yt-dlp 下载。运行使用 install_dependencies.sh 下载依赖使用 pdm 安装环境参考xiaogpt设置好环境变量exportMI_USER="xxxxx"exportMI_PASS="xxxx"exportMI_DID=00000exportXIAOMUSIC_SEARCH='bilisearch:'然后启动即可。默认监听了端口 8090 , 使用其他端口自行修改。pdmrunxiaomusic.py支持口令播放歌曲播放歌曲+歌名 比如：播放歌曲周杰伦晴天下一首单曲循环全部循环隐藏玩法: 对小爱同学说播放歌曲小猪佩奇的故事，会播放小猪佩奇的故事。已测试设备"L07A": ("5-1", "5-5"),  # Redmi小爱音箱Play(l7a)支持音乐格式mp3flac本地音乐会搜索 mp3 和 flac 格式的文件，下载的歌曲是 mp3 格式的。在 Docker 里使用dockerrun-eMI_USER=<your-xiaomi-account>-eMI_PASS=<your-xiaomi-password>-eMI_DID=<your-xiaomi-speaker-mid>-eMI_HARDWARE='L07A'-eXIAOMUSIC_PROXY=<proxy-for-yt-dlp>-eXIAOMUSIC_HOSTNAME=192.168.2.5-eXIAOMUSIC_SEARCH='bilisearch:'-p8090:8090-v./music:/app/musichanxi/xiaomusicXIAOMUSIC_SEARCH 可以配置为 'bilisearch:' 表示歌曲从哔哩哔哩下载;配置为 'ytsearch:' 表示歌曲从 youtube 下载。XIAOMUSIC_PROXY 用于配置代理，默认为空;当 XIAOMUSIC_SEARCH 配置为 'ytsearch:' 时在国内需要用到。MI_HARDWARE 是小米音箱的型号，默认为'L07A'注意端口必须映射为与容器内一致， XIAOMUSIC_HOSTNAME 需要设置为宿主机的 IP 地址，否则小爱无法正常播放。可以把 /app/music 目录映射到本地，用于保存下载的歌曲。XIAOMUSIC_PROXY 参数格式参考 yt-dlp 文档说明:Use the specified HTTP/HTTPS/SOCKS proxy. To
enable SOCKS proxy, specify a proper scheme,
e.g. socks5://user:pass@127.0.0.1:1080/.
Pass in an empty string (--proxy "") for
direct connection见https://github.com/hanxi/xiaomusic/issues/2和https://github.com/hanxi/xiaomusic/issues/11本地编译Docker Imagedockerbuild-txiaomusic.docker compose 示例使用哔哩哔哩下载歌曲:version:'3'services:xiaomusic:image:hanxi/xiaomusiccontainer_name:xiaomusicrestart:unless-stoppedports:-8090:8090volumes:-./music:/app/musicenvironment:MI_USER:'小米账号'MI_PASS:'小米密码'MI_DID:00000MI_HARDWARE:'L07A'XIAOMUSIC_SEARCH:'bilisearch:'XIAOMUSIC_HOSTNAME:'192.168.2.5'使用 youtobe 下载歌曲:version:'3'services:xiaomusic:image:hanxi/xiaomusiccontainer_name:xiaomusicrestart:unless-stoppedports:-8090:8090volumes:-./music:/app/musicenvironment:MI_USER:'小米账号'MI_PASS:'小米密码'MI_DID:00000MI_HARDWARE:'L07A'XIAOMUSIC_SEARCH:'ytsearch:'XIAOMUSIC_PROXY:'http://192.168.2.5:8080'XIAOMUSIC_HOSTNAME:'192.168.2.5'简易的控制面板浏览器进入http://192.168.2.5:8090ip 是 XIAOMUSIC_HOSTNAME 设置的8090 是默认端口感谢xiaomiPDMxiaogptMiServiceyt-dlpStar History
Package: xiaoniu-tr-free
xiaoniu-tr-freexiaoniu translate for free -- local cache plus throttling (1.5 calls/s from 201st call on). Let's hope it lasts.Update: fix query=50980349 and source="text", resort to use getInstallationpip install -U xiaoniu-tr-freeorInstall (pip or whatever) necessary requirements, e.g.pip install requests_cache langidorpip install -r requirements.txtDrop the file xiaoniu_tr.py in any folder in your PYTHONPATH (check with import sys; print(sys.path)or clone the repo (e.g.,git clone https://github.com/ffreemt/xiaoniu-tr-free.gitor downloadhttps://github.com/ffreemt/xiaoniu-tr-free/archive/master.zipand unzip) and change to the xiaoniu-tr-free folder and do apython setup.py developUsagefrom xiaoniu_tr import xiaoniu_tr
print(xiaoniu_tr('hello world'))  # -> '你好世界'
print(xiaoniu_tr('Good morning', to_lang='de'))  # ->'Guten Morgen, wow'
print(xiaoniu_tr('hello world', to_lang='fr'))  # ->'Bonjour le monde'
print(xiaoniu_tr('hello world', to_lang='ja'))  # ->'こんにちは世界'AcknowledgmentsThanks to everyone whose code was used
Package: xiaoxiong
# xiaoxiong#### 介绍
小熊熊#### 软件架构
软件架构说明#### 安装教程xxxxxxxxxxxx#### 使用说明xxxxxxxxxxxx#### 参与贡献Fork 本仓库新建 Feat_xxx 分支提交代码新建 Pull Request#### 特技使用 Readme_XXX.md 来支持不同的语言，例如 Readme_en.md, Readme_zh.mdGitee 官方博客 [blog.gitee.com](https://blog.gitee.com)你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目[GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目，是综合评定出的优秀开源项目Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
Package: xibs
XIBSThis repository contains the source forxibs, a prototype for Intra-Beam Scattering (IBS) modelling and computing to be later integrated intoXsuite.[!NOTE]
This started as a fork of M. Zampetakis' work on a simple but physics-accurateIBS implementation. The new
package's code is quite different from the original but is benchmarked against
it as well as other tools to ensure the validity of results.See thedocumentationfor details.InstallingInstallation is easily done in your environment viapip:python-mpipinstallxibsLicenseThis project is licensed under theApache-2.0 License- see theLICENSEfile for details.
Package: xicam
Xi-CAMXi-cam is a graphical environment for synchrotron data analysis,
management, and visualization developed by the Advanced Light Source at
Lawrence Berkeley National Laboratory. This is a cross-platform
open-source Python 3 project licensed under BSD.InstallationThe latest stable Xi-CAM is available on pypipipinstallxicamFor more information, see theinstallation documentation.ResourcesDocumentation:https://xi-cam.readthedocs.io/en/latestReport an issue in Xi-CAM:New Bug Report
Package: xicam.core
===========Xi-cam.core is the fundamental package for Xi-cam.Keywords: synchrotron analysis x-ray scattering tomographyPlatform: UNKNOWNClassifier: Development Status :: 3 - AlphaClassifier: Intended Audience :: Science/ResearchClassifier: Topic :: Scientific/Engineering :: PhysicsClassifier: License :: OSI Approved :: BSD LicenseClassifier: Programming Language :: Python :: 3.6
Package: xicam.dev
A quick-installer for Xi-cam 2 developers. Python and Git experience required. The default install location is~/Xi-cam.AttentionXi-cam 2 has not yet reached a release state. Expect some changes to API design as we continue development.RequirementsPython 3.6+PyQt5GitPython(…and the Xi-cam 2 platform requirements)InstallationTo run the quick-installer:pip install -v xicam.devThis quick-installer performs the following operations:Clone essential Xi-cam 2 packages to the installation directoryInstall Xi-cam 2 dependenciesInstall Xi-cam 2 essential packages as editable sourceNote: The-vallows you to see installation progress.ConfigurationTo install to a custom directory, set a shell environment variable with the desired path:INSTALL_DIR="~/my/install/dir"or, infish:set -x -g INSTALL_DIR "~/my/install/dir"
Package: xicam.SAXS
Xi-CAM SAXSXi-CAM GUI plugin that facilitates data exploration and processing for SAXS experiments.(Work in progress, release 1.0.0 will be more stable.)InstallationThe latest build of Xi-cam.SAXS is available on pypi asxicam.SAXS.DetailsIf unsure about where to install, we recommend creating an environment.
There are several tools that provide this, such as virtualenv or conda.For more details about setting up an environment for installation, see theXi-CAM Installation Instructionsfor your operating system.Once your environment is activated, install with the following command:pip install xicam.SAXS(this will install xicam for you as well).ResourcesFor more information about Xi-CAM, see themain Xi-CAM repository's READMERelease Notes0.3.0 - Refactoring; provides Calibration and Correlation stages.
Package: xicor
xicorxi correlation method adapted for pythonWhat is xicor?xicor is an implementation of the "xi" correlation metric described in Chatterjee, S. (2019, September 22). A new coefficient of correlation.arxiv.org/abs/1909.10140. It is based off the R code mentioned in the paper:https://statweb.stanford.edu/~souravc/xi.RFree software: MIT licenseDocumentation:https://czbiohub.github.io/xicorInstallationThe package can be installed from PyPI usingpiphere:pip install xicorDevelopmental installTo install this code and play around with the code locally, clone this github repository and usepipto install:git clone https://github.com/czbiohub/xicor.git
cd xicor

# The "." means "install *this*, the folder where I am now"
pip install .
# or you could install using
python setup.py installUsagefrom xicor.xicor import Xi
xi_obj = Xi([1, 2, 3], [1, 2, 3])
correlation = xi_obj.correlation
pvals = xi_obj.pval_asymptotic(ties=False, nperm=1000)
Package: xicorpy
Chatterjee's Xi, its Applications, and OffshootsXicorPy is a Python package implementingChatterjee's Xi, and its various offshoots. You can use the package with raw python objects, NumPy arrays, or Pandas DataFrames.Please see theDocumentationfor an introductory tutorial and a full
user guide.FeaturesThe package currently implements:Chatterjee's Xi from [1]Modified Xi from [2]Codependence Coefficient from [3]Feature Ordering by Conditional Independence (FOCI) for Feature Selection from [3]UsageThe package is available on PyPI. You can install using pip:pip install xicorpy.importxicorpyx=[10,8,13,9,11,14,6,4,12,7,5]y=[8.04,6.95,7.58,8.81,8.33,9.96,7.24,4.26,10.84,4.82,5.68]xi=xicorpy.compute_xi_correlation(x,y)xi,p_value=xicorpy.compute_xi_correlation(x,y,get_p_values=True)Refer to theDocsfor more details.Contributing to XiCorPyAny help with the package is greatly appreciated! Pull requests and bug reports are greatly welcome!Citations:Chatterjee (2020). "A new coefficient of correlation"Lin and Han (2021). "On boosting the power of Chatterjee's rank correlation"Azadkia and Chatterjee (2021). "A simple measure of conditional dependence"
Package: xicorrelation
xicorrelationpackage implements xi correlation formula proposed inhttps://arxiv.org/pdf/1909.10140.pdf.It is based off the R code mentioned in the paper:https://statweb.stanford.edu/~souravc/xi.Rand
R packagehttps://github.com/cran/XICORSimple examplefromxicorrelationimportxicorrx=[10,8,13,9,11,14,6,4,12,7,5]y=[8.04,6.95,7.58,8.81,8.33,9.96,7.24,4.26,10.84,4.82,5.68]# API similar to spearmanr or kendalltau from scipyxi,pvalue=xicorr(x,y)print("xi",xi)print("pvalue",pvalue)InstallationInstallation process is simple, just:$ pip install xicorrelationChanges0.3.0Rework API do be similar to scipy.0.2.1Initial release.
Package: xicsrt
XICSRT: Photon based raytracing in PythonDocumentation:https://xicsrt.readthedocs.orgGit Repository:https://bitbucket.org/amicitas/xicsrtGit Mirror:https://github.com/PrincetonUniversity/xicsrtPurposeXICSRT is a general purpose, photon based, scientific raytracing code intended
for both optical and x-ray raytracing.XICSRT includes handling for x-ray Bragg reflections from crystals which allows
modeling of x-ray spectrometers and other x-ray systems. Care has been taken to
allow for modeling of emission sources in real units and accurate preservation
of photon statistics throughout. The XICSRT code has similar functionality to
the well knownSHADOWraytracing code, though the intention is to be a
complementary tool rather than a replacement.  These two projects have somewhat
different goals, and therefore different strengths.Current development is focused on x-ray raytracing for fusion science and
high energy density physics (HEDP) research, in particular X-Ray Imaging Crystal
Spectrometers for Wendelstein 7-X (W7-X), ITER and the National Ignition
Facility (NIF).InstallationXICSRT can be simply installed usingpippip install xicsrtAlternatively it is possible to install from source usingsetuptoolspython setup.py installUsageXICSRT is run by supplying a config dictionary toxicsrt.raytrace(config).
The easiest way to run XICSRT is through aJupyter Notebook. A command line
interface is also available.To learn how format the input, and interpret the output, see the examples
provided in thedocumentation.