Saravanan666/pypi-org huggingface dataset:
Package: xyz-py
xyz-pyxyz-pyis a python module for working with and manipulating chemical structures.InstallationFor convenience,xyz-pyis available onPyPIand so can be installed usingpippip install xyz-pyFunctionalityTo use the functions included inxyz-py, first import it into your python fileimport xyz_py as xyzpand then call them asxyzp.function_name(arguments)To find information on any of the functions included inxyz-py, use thehelpcommand from within a python environment, e.g.help(xyzp.function_name)or visit thedocumentation.
Package: xyzrequest
XYZRequestModules that make the API easy to get	简单API爬虫获取Notice:The lastest version is 2022.1	注意：最新版本2022.11.Download	下载pip install xyzrequest==2022.12. Import Package	导入import xyzrequest4. Function	函数​	(1)youdao_translate_AUTO( string )​		NetEase Youdao Dictionary translation, automatic language detection​		网易有道词典，自动检测语言翻译​	(2)baidu_OCR( apiKey , secretKey , imagePath )​		Baidu image text recognition OCR​		百度图片文字识别OCR​		ApiKey and secretKey, Watch the websitehttps://cloud.baidu.com/doc/OCR/index.html, log in and get the keys​		ApiKey和secretKey，详细请见https://cloud.baidu.com/doc/OCR/index.html，登录并获取密钥
Package: xyz-restful
XYZ RestFul API provides a way to register django-rest-framework apis as easy as Django admins.Usage ExampleFirst, add ‘xyz_restful’ into django settings’s INSTALLED_APPSINSTALLED_APPS = [
    ...
    'xyz_restful',
    ...
]Then, register url router in project’s"urls.py"from xyz_restful.helper import router

urlpatterns = [
    url(r'^admin/', admin.site.urls),
    url(r'^api/', include(router.urls)),
    ...
]Then, in an app for example: comment , create a file"comment/apis.py"from xyz_restful.decorators import register

@register()
class PostViewSet(viewsets.ModelViewSet):
    serializer_class = serializers.PostSerializer
    queryset = models.Post.objects.all()then, full api url just like :http://127.0.0.1:8000/api/comment/post/Enjoyed!
Package: xyzservices
xyzservices - Source of XYZ tiles providersxyzservicesis a lightweight library providing a repository of available XYZ services
offering raster basemap tiles. The repository is provided via Python API and as a
compressed JSON file.XYZ tiles can be used as background for your maps to provide necessary spatial context.xyzservicesoffer specifications of many tile services and provide an easy-to-use
tools to plug them into your work, no matter if interactive or static.Quick StartUsingxyzservicesis simple and in most cases does not involve more than a line of
code.InstallationYou can installxyzservicesfromcondaorpip:condainstallxyzservices-cconda-forgepipinstallxyzservicesThe package does not depend on any other apart from those built-in in Python.Providers APIThe key part ofxyzservicesare providers:>>>importxyzservices.providersasxyzxyzservices.providersor justxyzfor short is aBunchof providers, an enhanceddict. If you are in Jupyter-like environment,xyzwill offer collapsible inventory
of available XYZ tile sources. You can also explore it as a standarddictusingxyz.keys(). Once you have picked your provider, you get its details as aTileProviderobject with all the details you may need:>>>xyz.CartoDB.Positron.url'https://{s}.basemaps.cartocdn.com/{variant}/{z}/{x}/{y}{r}.png'>>>xyz.CartoDB.Positron.attribution'(C) OpenStreetMap contributors (C) CARTO'You can also check if theTileProviderneeds API token and pass it to the object if
needed.>>>xyz.MapBox.requires_token()True>>>xyz.MapBox["accessToken"]="my_personal_token">>>xyz.MapBox.requires_token()FalseProviders JSONAfter the installation, you will find the JSON used as a database of providers inshare/xyzservices/providers.jsonif you want to use it outside of a Python ecosystem.Contributorsxyzservicesis developed by a community of enthusiastic volunteers and lives undergeopandasGitHub organization. You can see a full list
of contributorshere.The main group of providers is retrieved from theleaflet-providersprojectthat contains both openly
accessible providers as well as those requiring registration. All of them are consideredfree.If you would like to contribute to the project, have a look at the list ofopen issues, particularly those labeled asgood first issue.LicenseBSD 3-Clause LicenseResources coming from theleaflet-providersprojectare licensed under BSD
2-Clause License (© 2013 Leaflet Providers)
Package: xyzt
xyzt: compute and plot time cost scaling for functions with numpy array inputI often implement functions on atom positions in terms ofNx3numpy arrays,
and need to compare speed of different implementations.
This small library is a thin wrapper overtimeitfor that purpose.xyzt.timethem(functions_to_check,nmin=10,nmax=1e5,number=1e5)->(n,times)xyzt.plot(n,times,labels=None)forfiinfunctions:forninvalid_range:generaterandomn-dimensionalinputvectortimeitfi(v_rand)example:scipy.spatial.distance.cdist+minversusscipy.spatial.cKDTree
Package: xyztilefile
xyztilefileSamplesBasic usage sample.fromxyztilefileimport*xyz=calc_xyz_from_lonlatx,y,z=calc_xyz_from_lonlat(135.0,35.0,15)test_txt=XYZTileFile("./tile_sample/{z}/{x}/{y}.txt")txt=test_txt.get(*xyz(135.0,35.0,15))test_txt.set(x,y,z,txt+"\nNew line is added")test_txt.save(x,y,z)Usage sample of XYZTileManagerfromxyztilefileimport*xyz=calc_xyz_from_lonlattest_json=XYZTileManager("https://raw.githubusercontent.com/aDAVISk/xyztilefile/dev/tile_sample/{z}/{x}/{y}.json","./tile_sample2/{z}/{x}/{y}.json")data=test_json.get(*xyz(135.0,35.0,15))XYZTileManager first check the locally saved cache which is the second argument. If such local file is missing, then XYZTileManager will try to retrieve data from the online source which is the first argument.please check './test/' for more sample codescurrently supported file formatstxt : encoding must be UTF-8json : encoding must be UTF-8png : with skit-image (tested with./test/test_png.py)npy : with numpy (tested with./test/test_npy.py)pickle/pkl : only for local file with extra keyword setting at the initializationXYZTileFile(basepath, allow_pickle=True)(tested with./test/test_pickle.py)(generic : this format is basic but your customization is needed.)
Package: xzc-tools
tools-xzc该工具是平时写代码过程中我经常用懂得一些功能，尤其是其中的函数装饰器以及错误处理，重命名文件等，函数的说明在代码中都有说明。代码还存在可以优化以及隐藏问题的地方，有问题可以随时联系我。(15510726991@163.com)
Package: xzip
xzipis aFUSEfile system for deduplicating zip files which share zipped
contents.To install use:$ pip install xzip

or

$ easy_install xzipxzipprovides three executableszipexplode,zipanalyze, andmount.xzipwhich will “explode” a zip, analyze a zip file, and mount
exploded zips respectively.The file structure for an exploded zip is the following:$ zipexplode path/to/zip/name-of-zip.zip
$ tree .
.
├── data
│   ├── <sha1-data-file1>
│   ├── <sha1-data-file2>
│   ├── ...
│   └── <sha1-data-filen>
└── meta
    ├── name-of-zip.zip.dir
    ├── name-of-zip.zip.jump
    └── name-of-zip.zip.streamThe file structure would be mounted by:$ mount.xzip . path/to/mount/point
$ ls path/to/mount/point
name-of-zip.zipData files may be shared between any number of exploded zips files, and the
meta tuple (*.dir,*.jump,*.stream) describe the original zip
file.zipexplodeaccepts two options--directoryand--depthto modify
where it creates thedataandmetadirectories and how many levels deep
thedatadirectory should be.zipexplodecan explode multiple zip files
at once, and additional help is provided with the--helpoption.zipanalyzesimply prints out the sha1 of different segments of the original
zip file. This script was used to determine what could be deduplicated, and
what needed to be stored per zip file. This executable is mainly of historical
use.mount.xzipwill mount the directory structure described above, and needs to
be supplied with matchingdirectoryand--deptharguments to whenzipexplodewas called.  Additional arguments--debug,--foreground,
and--single-threadedare passed toFUSEand control underlying
functionality. For more information see the--helpformount.xzip.
(mount.xzipalso takes-ostyle options)Note: At this time  xzip is not zip64 safe
Package: xzitaao
XZITAAO本项目是http://jwc.xzit.edu.cn的爬虫非常感谢xrandx将其开源我现在把它整理出来供大家使用使用方法pip install xzitaao一些说明student.set_tesseract_dic("D:\\Program Files\\Tesseract-OCR\\tessdata")设置tesseract目录（可选）
如果没有设置，将会显示验证码，你需要自己手动输入由于教务系统有修改，所以选课功能暂时没法使用DemoimportxzitaaoSid=""# 学号Pwd=""# 密码Cid=""# 选课的课程号Tesseract_Dic="D:\\Program Files\\Tesseract-OCR\\tessdata"defmain():student=xzitaao.Student(Sid,Pwd,Cid)try:student.set_tesseract_dic(Tesseract_Dic)student.login()# 登录student.get_info()# 保存个人信息student.save_score()# 保存成绩单student.evaluate()# 教学评估# student.get_elective_course() #选课exceptExceptionase:xzitaao.auto_ip()print(e)if__name__=='__main__':main()已知 Bug如果你没有设置tesseract目录，验证码图片无法自己关掉，需要手动关LICENSEApache License 2.0
Package: xzqhotspot
Example:fromxzqhotspotimportmanagerm=manager()# start mobile hotspot# returns TetheringOperationStatus, for details, refer to the table belowresult=m.start_hotspot()# stop mobile hotspot# returns TetheringOperationStatus, for details, refer to the table belowresult=m.stop_hotspot()# get current status instantly# 0 for Unknown, 1 for On, 2 for Off, 3 for Transition between On and Offs=m.hotspot_status()# test Internet connectivity# True for connected, False otherwiseflag=is_internet_available()# get connected network ssidssid=get_wifi_ssid()# keyword is a part of network adpater name# in order to identify specific network adpaterdisable_network_adapter(keyword)enable_network_adapter(keyword)ResultValueDescriptionBluetoothDeviceOff7The operation could not begin because Bluetooth or a required Bluetooth device is turned off.EntitlementCheckFailure5The operation did not complete because the account does not currently support tethering operations.EntitlementCheckTimeout4The operation did not complete because the mobile operator could not be contacted to confirm tethering capabilities are provided for this account.MobileBroadbandDeviceOff2The operation could not begin because the mobile broadband device is turned off.NetworkLimitedConnectivity8The operation did not complete because of limited network connectivity.OperationInProgress6The operation is still in progress.Success0The operation completed successfully.Unknown1The status of the operation is unknown.WiFiDeviceOff3The operation could not begin because the Wifi device is turned off.