Saravanan666/pypi-org huggingface dataset:
Package: python-wordsearch
WordSearch is a Python class for creating wordsearch puzzles.Installation:The PyValem package can be installed either from PyPI using pippython3-mpipinstallpython-wordsearchor from the source by running (one of the two) from the project source directory.# eitherpythonsetup.pyinstall# orpython3-mpipinstall.Examples:Creating a Word Search PuzzleAWordSearchobject can be created with the following arguments to generate a word-search:nrows,ncols: the dimensions of the word-search gridwordlistorwordlist_filename: a list of words or the filename of a text file containing the words (one per line).output_filestem: forms the base of the filename to use for the output SVG image. Defaults to'wordsearch', which will produced files called'wordsearch-search.svg'and'wordsearch-search-solution.svg'.mask(optional): defines the shape of the word-search (None,'circle'or'squares').allow_backwards_words: defaults toFalse.>>> from wordsearch import WordSearch

  >>> wordsearch = WordSearch(
 ...:     15,
 ...:     15,
 ...:     [
 ...:         "BOXER",
 ...:         "DASCHUND",
 ...:         "AIREDALE",
 ...:         "BORZOI",
 ...:         "LABRADOR",
 ...:         "CHIHUAHUA",
 ...:         "GREYHOUND",
 ...:         "POMERANIAN",
 ...:     ],
 ...:     mask="circle",
 ...:     output_filestem="dog-search",
 ...:     allow_backwards_words=True,
 ...: )

 >>> wordsearch.make()
(True, 'Fitted the words in 1 attempt(s)')

 >>> print(wordsearch.wordsearch_text)
            C K I Z H
        L L H E S Z R I L
      R E F I L H W Y D Y R
    S W C X H A J M W G R P G
    P Q M R U D P Y M M O I R
  F D D E P A E A B J M D D E W
  A I X C O H R I L E O P A Y Y
  P O D G B U I N R L D D S H B
  B Y V A A A A A C A U A C O U
  I O Z R O B N K A B B Q H U E
    Z V H C I Q U P R D D U N
    O M A A K U Q G A D Y N D
      I N L C E F W D T I D
        L L X X G W O A I
            M J Z C R
  POMERANIAN
  CHIHUAHUA
  GREYHOUND
  DASCHUND
  AIREDALE
  LABRADOR
  BORZOI
  BOXEROutput to an SVG file is also possible:>>> wordsearch.write_wordsearch_and_solution_svg()which produces the image:
Package: python-workflow
python-workflowA small framework to do workflows with threadable tasksDocumentation :https://anthonykgross.fr/python-workflow/InstallFrom PyPIpip install python-workflowFrom sourcerm build/ python_workflow.egg-info dist -Rf
python3 setup.py bdist_wheel
pip3 install -I dist/python_workflow-*-py3-none-any.whlHow it workssequenceDiagram
    Workflow->>+Step: Step1 is starting ...
    Step->>+Task: Task1 is starting ...
    Step->>+Task: Task2 is starting ...
    Task->>-Step: Task2 is done
    Task->>-Step: Task1 is done
    Step->>+Task: Task3 is starting ...
    Task->>-Step: Task3 is done
    Step->>-Workflow: Step1 is done
    Note right of Step: Tasks are running in concurrency (thread)
    Note right of Workflow: Step is done when all its tasks are doneEach Step is running when the previous one is done.
A Step is done when all its tasks are completed or raise exceptions.
Workflow will be stopped when a Step crashes or complete them.kwargsdefaultdescriptionnb_thread4The number of tasks to execute simultaneously.e.g. : 10 tasks on 2 threads = 5 loopsraise_errorTrueIf one of tasks crashes, the whole Step is considered as failed.How to usefrompython_workflowimportTask,Step,WorkflowclassMyTask1(Task):def__init__(self):super().__init__('my_task_1')defrun(self):return'It works 1!'classMyTask2(Task):def__init__(self):super().__init__('my_task_2')defrun(self):return'It works 2!'classMyTask3(Task):def__init__(self):super().__init__('my_task_3')defrun(self):return'It works 3!'step1=Step('my_step_1',tasks=[MyTask1(),MyTask2(),MyTask3(),],nb_thread=2)workflow=Workflow('my_workflow',steps=[step1])workflow.start()workflow.duration# 3workflow.steps[0].duration# 3workflow.steps[0].tasks[0].duration# 2workflow.steps[0].tasks[1].duration# 1workflow.steps[0].tasks[2].duration# 1ContributorsAnthony K GROSShttps://anthonykgross.frhttps://twitter.com/anthonykgrosshttps://github.com/anthonykgrossCopyright and licenseCode and documentation copyright 2024. Code released underthe MIT license.
Package: python-workq
Python Client forWorkqwithasyncio.RequirementsPython3.5+UsageEnqueue Foreground Jobimportasyncioimportuuidfromworkq.workqimportWorkqClientfromworkq.jobimportForegroundJobdefmain():loop=asyncio.new_event_loop()client=WorkqClient('127.0.0.1',9922,loop)jobid=uuid.uuid4()job=ForegroundJob(jobid,"ping1",5000,60000,"hello fg job")try:loop.run_until_complete(client.connect())results=loop.run_until_complete(client.run(job))finally:loop.close()forresultinresults:print("job:%s%s%s"%(result.id,result.name,result.payload))if__name__=='__main__':main()TODO[ ] inspect command
Package: python-wowapi
python-wowapiPython-wowapi is a client library for interacting with the World of Warcraft endpoins of theBlizzard APIPython-wowapi includes support for the following WoW API's:Game data APICharacter Profile APITo interact with this library, you need to first get a client-id and client secret byregisteringyour application.For more information about official World of Warcraft API's visit:Official API documentationOfficial API ForumAPI DocsFor examples and all available endpoints, visit theAPI DocumentationInstallingpipinstallpython-wowapiWoW Classic API supportAccording to thisForum post, Blizzard is adding support for some game data API's.In order to use these endpoints, you need to provide the classic namespace:api.get_item_class_index('us','static-classic-us')Development & Testingmakedevinstall
pytestAlternatively you can also run the fulldrone.iopipelinelocallyorremotedroneexecTo build the docs:makedocinstall
makedocs
Package: python_wpapi
# Python Wordpress API[![Pypi][pypi-image]][pypi-url][![Updates][pyup-image]][pyup-url]Simple python wrapper around the Wordpress REST API. Supports authentication using Basic Auth.All endpoints for the following resources are available:* Posts* Media* Post Types* Taxonomies* Categories* Tags* UsersThese endpoints will be implemented soon:* Post Revisions* Pages* Post Types* Post Statuses* CommentsUse the [official api documentation](http://v2.wp-api.org/reference) as reference for what is possible.## Installation```pip install python_wpapi```## Usage```from python_wpapi import WpApiapi1 = WpApi('http://example.com') # No authentication. Public endpoints onlyapi2 = WpApi('http://example.com', user='User', password='pwd') # Basic Authposts = api1.get_posts()new_post = api2.create_post(title='Foo', content='Bar')```## TODO* Documentation* OAuth authentication## Tests```make test```* Free software: MIT licensea[pypi-image]: https://img.shields.io/pypi/v/python_wpapi.svg[pypi-url]: https://pypi.python.org/pypi/python_wpapi[pyup-image]: https://pyup.io/repos/github/Lobosque/python_wpapi/shield.svg[pyup-url]: https://pyup.io/repos/github/Lobosque/python_wpapi/# History## 0.3.1 (2017-08-07)* Fixed bug where GET would send content in the request body.## 0.2.1 (2016-11-16)* Converted rst to markdown.## 0.2.0 (2016-11-16)* Added test suite.* Fixed bugs with api exception raising.## 0.1.0 (2016-11-16)* First release on PyPI.
Package: python-wrap-gcp
Wrap essential Google Cloud Platform functions to a python APISet project credentials and list VM's by prefiximportosos.environ['GOOGLE_APPLICATION_CREDENTIALS']="/Users/vadimskritskii/PycharmProjects/report/gcp/rock-embassy-279812-b252be8804df.json"os.environ['FROM_LOCAL']='false'os.environ['GCP_BUCKET']='bucket_name'frompython_wrap_gcpimportmanage_instancemanage_instance.list_gcp_instances('INTERNAL_IP',prefix='cc-wiki')Returns project VM's filtered by prefix as pandas.DataFrameNAME	ZONE	MACHINE_TYPE	PREEMPTIBLE	INTERNAL_IP	EXTERNAL_IP	STATUS
0	cc-wiki-1	us-central1-f	e2-medium	true	10.128.0.10	35.232.196.210	RUNNING
1	cc-wiki-2	us-central1-f	e2-medium	true	10.128.0.12	35.193.87.226	RUNNING
2	cc-wiki-3	us-central1-f	e2-medium	true	10.128.0.14	34.123.56.251	RUNNING
3	cc-wiki-4	us-central1-f	e2-medium	true	10.128.0.11	35.223.179.167	RUNNING
4	cc-wiki-5	us-central1-f	e2-medium	true	10.128.0.15	35.225.92.133	RUNNING
5	cc-wiki-6	us-central1-f	e2-medium	true	10.128.0.13	35.238.125.9	RUNNING```Start all VM's by a prefixmanage_instance.manage_gcp_instance(action='start',prefix='cc-wiki')[12:35:43.3]-[wrap_gcloud.py]-[wrap_gcloud_action]-[start: us-central1-f: cc-wiki-1,cc-wiki-2,cc-wiki-3,cc-wiki-4,cc-wiki-5,cc-wiki-6]-[I]-[9520cb]Abstraction interface to read/write data either locally or on GCPLoad data from the bucketimportjsonfrompython_wrap_gcpimportiodata=json.loads(io.emulate_open("gs://meely-inventory/data/context.json"))# alternativelyfrompython_wrap_gcp.reload_dataimportload_gcs_filedata,time_data_updated=load_gcs_file("gs://meely-inventory/data/context.json")Save data locallyimportjson,osfrompython_wrap_gcpimportioos.environ['TO_LOCAL']='true'context={"hello":"witam","world":"świat"}io.emulate_open("~/Desktop/context.json",method='wb',data=context)Create VM's by creating a template & setting VM replicasfrommeely_crawl.docsimportconfigfrompython_wrap_gcp.configure_gcpimportconfigureconfigure_gcp=configure.Configure(config.Path,config.GCPConfig)configure_gcp.set_up()
Package: python-xbrl-middleware
A collection of usefulpython-xbrlmiddleware. See thedocumentation.InstallationThe easiest way to install python-xbrl-middleware is with pipsudo pip install python-xbrl-middlewareMade sure yoursys.pathis correct.RequirementsPython >= 2.6 or >= 3.3InitializationTo start using the library, first importxbrl_middlewarefrom xbrl_middlewareSeeexamplesof different middleware use.LicenseLicensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.  See the NOTICE file
distributed with this work for additional information
regarding copyright ownership.  The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License.  You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied.  See the License for the
specific language governing permissions and limitations
under the license.
Package: python-xbtesting
A Python library to talk to the API provided by [CrossBrowserTesting.com](http://crossbrowsertesting.com/).Disclaimer: I am in no way associated with CrossBrowserTesting.com, LLC.Installation$ pip install python-xbtesting### PrerequisitessimplejsonUsage### Setup>>> from xbtesting import XBTesting
>>> XBTesting.username = "your username"
>>> XBTesting.password = "your password"
>>> xbt = XBTesting()### Retrieving tests>>> tests = xbt.get_tests()
>>> tests
[<xbtesting.xbtesting.XBTest object at 0x1011a3850>,
 <xbtesting.xbtesting.XBTest object at 0x1011a39d0>,
 <xbtesting.xbtesting.XBTest object at 0x1011a3a50>,
 <xbtesting.xbtesting.XBTest object at 0x1011a3b50>,
 <xbtesting.xbtesting.XBTest object at 0x1011a3b90>]
>>> tests[0].id
98765
>>> tests[0].url
'http://your-website.com/'
>>> tests[0].test_date
datetime.datetime(2010, 12, 13, 8, 4, 28)#### Available attributes of XBText instancesid(int)url(str)test_date(datetime)### Retrieving versions of a test>>> versions = test[0].get_versions()
>>> versions
[<xbtesting.xbtesting.XBTestVersion object at 0x1011b8150>,
 <xbtesting.xbtesting.XBTestVersion object at 0x1011b8190>
]
>>> versions[0].id
876543
>>> versions[0].version_date
datetime.datetime(2010, 12, 13, 8, 4, 28)#### Available attributes of XBTestVersion instancesid(int)test(XBTest)version_date(datetime)count_successful(int)count_not_finished(int)version_public_url(str)version_ui_url(str)version_zip(str)w3c_css_errors(int)w3c_html_errors(int)w3c_html_warnings(int)### Retrieving results of a version of a test>>> results = versions[0].get_results()
>>> results
[<xbtesting.xbtesting.XBTestVersionResult object at 0x100750650>,
 <xbtesting.xbtesting.XBTestVersionResult object at 0x100750190>,
 <xbtesting.xbtesting.XBTestVersionResult object at 0x1007501d0>,
 <xbtesting.xbtesting.XBTestVersionResult object at 0x100750290>,
 <xbtesting.xbtesting.XBTestVersionResult object at 0x100750310>,
 <xbtesting.xbtesting.XBTestVersionResult object at 0x100750350>,
 <xbtesting.xbtesting.XBTestVersionResult object at 0x100750390>,
 <xbtesting.xbtesting.XBTestVersionResult object at 0x1007503d0>,
 <xbtesting.xbtesting.XBTestVersionResult object at 0x100750410>,
 <xbtesting.xbtesting.XBTestVersionResult object at 0x100750450>,
 <xbtesting.xbtesting.XBTestVersionResult object at 0x1007504d0>,
 <xbtesting.xbtesting.XBTestVersionResult object at 0x100750510>]
>>> results[0].id
7654321
>>> results[0].finished_date
datetime.datetime(2011, 1, 18, 8, 34)
>>> results[0].full_page
'http://media.crossbrowsertesting.com/users/12345/screenshots/full/z02129bb861061d1a052.png'
>>> results[0].browser
'Firefox 3.5'
>>> results[0].os
'Mac OSX 10.5.8'
>>> results[0].resolution
'1024x768'#### Available attributes of XBTestVersionResult instancesid(int)testversion(XBTestVersion)start_date(datetime)finished_date(datetime)status(str)os(str)browser(str)resolution(str)windowed(str)windowed_thumb(str)full_page(str)full_page_thumb(str)live_test_url(str)
Package: python-xdoctl
xdoctl - Xdotool 命令包装器xdoctl 通过包装 xdotool 提供的各种操作和命令，提供一种使用 Python 操作 xdotool 工具的方式。如何安装直接从仓库安装：pip install git+https://github.com/nukemiko/python-xdoctl或者到发布页面下载打包好的版本，然后使用pip安装常用操作示例导入包>>>importxdoctl鼠标操作获取鼠标位置>>>xdoctl.mouse.get_location()MouseLocation(x=481,y=1088,screen=0,window=123732042)改变鼠标位置，其后再次获取鼠标位置>>>xdoctl.mouse.move(1920,1080)>>>xdoctl.mouse.get_location()MouseLocation(x=1920,y=1080,screen=0,window=123732042)模拟按下鼠标左键、右键和中键>>>xdoctl.mouse.click(1)# 鼠标左键>>>xdoctl.mouse.click(3)# 鼠标右键>>>xdoctl.mouse.click(2)# 鼠标中键键盘操作通过 keyboard.key_press() 模拟按下指定字符的行为>>>xdoctl.keyboard.key_press('A')# 输入单个字符>>>xdoctl.keyboard.key_press('E','x','a','m','p','l','e')# 输入一个单词>>>xdoctl.keyboard.key_press(*list('Example'))# 等效于 `keyboard.key_press('E', 'x', 'a', 'm', 'p', 'l', 'e')`>>>xdoctl.keyboard.key_press(*list('This'),'space',*list('is'),'space','a','n',*list('example'))# 输入一个句子通过 keyboard.type_() 输入特定内容使用此方法输入长文本，比 keyboard.key_press() 更高效和易用>>>xdoctl.keyboard.type_('This is an example')窗口操作通过鼠标选择窗口，并获取其 windowid>>>xdoctl.window.select_via_mouse()123732042通过 window.search() 和特定条件，获取一个 / 多个窗口的 windowid>>>xdoctl.window.search('Konsole')(138412036,138412041,138412039)使用特定的 PID，通过 window.search()，获取一个 / 多个窗口的 windowid>>>xdoctl.window.search(38616,pattern_is_pid=True)(138412039,)使用特定的 windowid，获取这个窗口的标题、PID、大小、位置等信息>>>xdoctl.window.get_window_name(140509185)# 窗口标题'Visual Studio Code'>>>xdoctl.window.get_window_pid(140509185)# 窗口所属进程的 PID43496>>>xdoctl.window.get_window_geometry(140509185)# 窗口的几何属性（包括位置、大小、所在屏幕等）WindowGeometryAttributes(x=312,y=504,width=1848,height=888,screen=0)移动窗口，其后获取窗口位置>>>xdoctl.window.window_move(140509185,100,100)# 移动窗口到 (100, 100)；相对于坐标原点（位于屏幕左上角）移动>>>xdoctl.window.get_window_geometry(140509185)WindowGeometryAttributes(x=0,y=49,width=1848,height=888,screen=0)>>>xdoctl.window.window_move(140509185,800,600,relative=True)# 移动窗口到 (900, 700)；相对于原窗口位置 (100, 100) 移动>>>xdoctl.window.get_window_geometry(140509185)WindowGeometryAttributes(x=312,y=504,width=1848,height=888,screen=0)
Package: python-xirsys
A Python 3 interface to the XirSys APIBadgesUsageInstall python-xirsys:pipinstallpython-xirsysBuild a Connection object:frompython_xirsysimportConnectionconnection=Connection(username="<xirsys_username>",secret_key="<xirsys_secret_key>"Grab XirSys signaling server:>>>SignalingServer.list_all(connection=connection)<SignalingServer[server_address]>>>>server=SignalingServer.list_all(connection=connection)>>>server.address'<server_address>'Generate a XirSys WebSocket token:>>>frompython_xirsys.objectsimportSignalingServer>>>SignalingServer.generate_token(connection=connection,domain="domain.com",application="application",room="room",secure=True)'<token>'Grab a list of XirSys ICE servers:>>>frompython_xirsys.objectsimportICEServer>>>ICEServer.list_all(connection=connection,domain="domain.com",application="application",room="room",secure=True,timeout=30)[<ICEServer[url]>,...]>>>ice_servers=ICEServer.list_all(connection=connection,domain="domain.com",application="application",room="room",secure=True,timeout=30)>>>ice_server=ice_servers[0]>>>ice_server.url'<url>'>>>ice_server.server_type'stun'>>>ice_server.usernameNone>>>ice_server.credentialNone>>>ice_server=ice_servers[1]>>>ice_server.url'<url>'>>>ice_server.server_type'turn'>>>ice_server.username'<username>'>>>ice_server.credential'<credential>'Manage XirSys domains:>>>frompython_xirsys.objectsimportDomain>>>Domain.create(connection=connection,domain="test.com")<Domain[test.com]>>>>Domain.list_all(connection=connection)[<Domain[domain.com]>,<Domain[test.com]>]>>>domains=Domain.list_all(connection=connection)>>>domain=domains[domains.index("test.com")]>>>domain.applications[<Application[default]>,...]>>>domain.disable()Manage XirSys applications:>>>frompython_xirsys.objectsimportApplication>>>domains=Domain.list_all(connection=connection)>>>domain=domains[domains.index("domain.com")]>>>Application.create(connection=connection,domain=domain,application="test")<Application[test]>>>>Application.list_all(connection=connection,domain=domain)[<Application[default]>,<Application[test]>]>>>Application.list_all(connection=connection,domain="domain.com")[<Application[default]>,<Application[test]>]>>>applications=Application.list_all(connection=connection,domain=domain)>>>application=applications[applications.index("test")]>>>application.rooms[<Room[default]>,...]>>>application.disable()Manage XirSys rooms:>>>frompython_xirsys.objectsimportRoom>>>Room.create(connection=connection,domain="domain.com",application="default",room="test_room")<Room[test_room]>>>>rooms=Room.list_all(connection=connection,domain="domain.com",application="default")[<Room[default]>,<Room[test_room]>]>>>room=rooms[rooms.index("test_room")]>>>application.room()Running the Testspipinstall-rrequirements/test.txt./runtests.pyChanges0.1.1 (2016-05-30)Object names are now coerced to strings when initialized to avoid a TypeError0.1.0 (2016-05-26)Initial release
Package: python-xmatters
python-xmatterspython-xmatters is a wrapper for the xMatters API.FeaturesMost documented endpoints and objects implemented.Auto-refresh of access tokens and storage of tokens.Support for both basic and OAuth2 authentication.Support for most query parameters.Support for pagination objects.Conversion to datetime objects (local or UTC timezone) for time attributes.RequirementsPython 3.5+Installation$ pip install python-xmattersDocumentationSeepython-xmatters.readthedocs.ioandxMatters REST API Referencefor object reference.Example UsageAuthenticationBasic AuthenticationfromxmattersimportXMSessionxm=XMSession('my_instance.xmatters.com')xm.set_authentication(username='my_username',password='my_password')groups=xm.groups_endpoint()forgroupingroups.get_groups():print(group.target_name)OAuth2 AuthenticationIt is assumed that if a client_id is provided; OAuth2 authentication is desired.Using refresh tokenfromxmattersimportXMSessionrefresh_token='my-refresh-token'xm=XMSession('my_instance.xmatters.com')xm.set_authentication(client_id='my-client-id',token=refresh_token)groups=xm.groups_endpoint()forgroupingroups.get_groups():print(group.target_name)Using token objectfromxmattersimportXMSessionmy_token={"access_token":"my-access-token","token_type":"bearer","refresh_token":"my-refresh-token","expires_in":900,"jti":"my-jti","sbu":"my-sbu","expires_at":0123456789.012345}xm=XMSession('my_instance.xmatters.com')xm.set_authentication(client_id='my-client-id',token=my_token)groups=xm.groups_endpoint()forgroupingroups.get_groups():print(group.target_name)Using username and password with token storageAny class instance with read_token and write_token methods should work as token_storagefromxmattersimportXMSessionfromxmatters.utilsimportTokenFileStoragetoken_storage=TokenFileStorage('/path/to/my_token.json')xm=XMSession('my_instance.xmatters.com')xm.set_authentication(client_id='my-client-id',username='my_username',password='my_password',token_storage=token_storage)groups=xm.groups_endpoint()forgroupingroups.get_groups():print(group.target_name)Timestamp conversion to local timezonefromxmattersimportXMSessionfromxmatters.utilsimportTokenFileStoragetoken_storage=TokenFileStorage('/path/to/my_token.json')xm=XMSession('my_instance.xmatters.com')xm.set_authentication(client_id='my-client-id',token_storage=token_storage)groups=xm.groups_endpoint()forgroupingroups.get_groups():print(group.created.local())
Package: python-xmp-toolkit
Python XMP Toolkit is a library for working with XMP metadata, as well as
reading/writing XMP metadata stored in many different file formats.Python XMP Toolkit is wrapping Exempi (using ctypes), a C/C++ XMP library
based on Adobe XMP Toolkit, ensuring that future updates to the XMP standard
are easily incorporated into the library with a minimum amount of work.Python XMP Toolkit has been developed by:ESA/Hubble - European Space AgencyESO - European Southern ObservatoryCRS4 - Centre for Advanced Studies, Research and Development in SardiniaDocumentationDocumentation is available at <http://python-xmp-toolkit.readthedocs.org> or can be build using Sphinx:pip install Sphinx
python setup.py build_sphinxTestingRunning the tests are as simple as:python setup.py testor (to also show test coverage)source run-coverage.sh
Package: python-xray
python-xrayA python 3 library which helps in using chaitin's community xray web scanner. This tool convert command line into python functions.For example in xray if you want to scan for urlhttp://xxx.xx/you would to something like this./xray_linux_amd64--config./configs/config.yamlwebscanurlhttp://xxx.xx/But in this python-xray script you would do something like thisimportpyxray# xray = pyxray.XrayWebScanner(['/path/to/your/xray-software-dir/xray_linux_amd64'])xray=pyxray.XrayWebScanner()# default: find it from your PATHres=xray.webscan(urls=['http://xxx.xx/'])res=xray.webscan_with_crawler(urls=['http://xxx.xx/'])print(res)NOTE: xray_search_path must be an iterable object
Package: python-xrd
Compatible with XRD 1.0 (execpt XRD Signature and XRDS)http://docs.oasis-open.org/xrd/xrd/v1.0/xrd-1.0.htmlOutstanding issues:support ds:Signaturesupport XRDSparsing of Expires date stamp from XMLmore tests are neededBasic usage:from xrd import XRD, Link

lnk = Link(rel='http://spec.example.net/photo/1.0',
           type='image/jpeg',
           href='http://photos.example.com/gpburdell.jpg')
lnk.titles.append(('User Photo', 'en'))
lnk.titles.append(('Benutzerfoto', 'de'))
lnk.properties.append(('http://spec.example.net/created/1.0', '1970-01-01'))

xrd = XRD(subject=http://example.com/gpburdell)
xrd.properties.append('http://spec.example.net/type/person')
xrd.links.append(lnk)

xrd.to_xml()
Package: python-xrectsel
python-xrectselGeometry of a rectangular screen regionThe project idea based onxrectsel. Its Python variant with some enhancements.Installation:pipinstallpython-xrectselUsage:❯xrectsel--help
Usage:xrectsel[OPTIONS]Options:-f,--formatTEXTFormatoutputstringwithfallowingoptions:%x-startx-coordinate%y-starty-coordinate%X-start%Y-end%w-width%h-heightNote:defaultoutputisin"%wx%h+%x+%y"format.-ci,--cursor-icon[crosshair|cross|pencil|dotbox]Selectcursoricon-cf,--cursor-foreground<INTEGERINTEGERINTEGER>...Selectcursorforegroundcolor-cb,--cursor-background<INTEGERINTEGERINTEGER>...Selectcursorbackgroundcolor-h,--helpShowthismessageandexit.We can collect selected region geometry just by commandxrectsel. Default format is%wx%h+%x+%y$xrectsel
$# select rectangle on sreen901x634+44+7#(x-coordinate, y-coordinate, width, height)We can format output geometry string$xrectsel-f"--x=%x --y=%y --width=%w --height=%h"--x=264--y=387--width=1204--height=519