Saravanan666/pypi-org huggingface dataset:
Package: xsanta
xsantaSecret Santa sender / receiver generatorInstallationpip install xsantaExampleIn python:>>> from secret import santa
>>> invited = [
...     'Iron Man', 'Captain America', 'Thanos', 'Hulk',
...     'Black Widow', 'Thor', 'Loki', 'Wanda Maximoff',
... ]
>>> excluded = [
...     ('Iron Man', 'Captain America'),
...     ('Thor', 'Loki'),
...     ('Black Widow', 'Hulk'),
... ]
>>> santa.run(invited, excluded)
Thor 🎁 >> Thanos 🎁 >> Loki 🎁 >> Hulk 🎁 >> Iron Man 🎁 >> Thor
Captain America 🎁 >> Black Widow 🎁 >> Wanda Maximoff 🎁 >> Captain AmericaIn command line:python santa.py "['Iron Man', 'Captain America', 'Thanos']" --emoji=False
Captain America >> Thanos >> Iron Man >> Captain America
Package: xsarslc
xsarslcFunctions for Sentinel-1 SLC productsthe main feature of this library is the SAR processor:graph TD;
    A[level-1 SLC] -->| SAR processor | B(level-1B XSP);This is a Work In Progress Library.Disclaimer: no warranty on the quality of output product at this stage.installationpipinstallgit+https://github.com/umr-lops/xsar_slcusageimportxsarslc
Package: xsbe
XSBE - XML Schema By ExampleXSBE is a novel library intended forrapid developmentof XML related python code.It takes the approach of using lightly annotated example XML documents to act as a schema.  Using these schemas it can
then transform an XML document into a more friendly data structures built of dictionaries and lists such as you might
expect through parsing json or yaml.Copyright 2020 Philip CoulingPermission 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: xsc
nlitDeveloper GuideSetup# create conda environment$mambaenvcreate-fenv.yml# update conda environment$mambaenvupdate-nnlit--fileenv.ymlInstallpipinstall-e.# install from pypipipinstallnlitnbdev# activate conda environment$condaactivatenlit# make sure the nlit package is installed in development mode$pipinstall-e.# make changes under nbs/ directory# ...# compile to have changes apply to the nlit package$nbdev_preparePublishing# publish to pypi$nbdev_pypi# publish to conda$nbdev_conda--build_args'-c conda-forge'$nbdev_conda--mambabuild--build_args'-c conda-forge -c dsm-72'UsageInstallationInstall latest from the GitHubrepository:$pipinstallgit+https://github.com/dsm-72/nlit.gitor fromconda$condainstall-cdsm-72nlitor frompypi$pipinstallnlitDocumentationDocumentation can be found hosted on GitHubrepositorypages. Additionally you can find
package manager specific guidelines oncondaandpypirespectively.
Package: xscen
VersionsDocumentation and SupportOpen SourceCoding StandardsDevelopment StatusA climate change scenario-building analysis framework, built with Intake-esm catalogs and xarray-based packages such as xclim and xESMF.For documentation concerningxscen, see:https://xscen.readthedocs.io/en/latest/FeaturesSupports workflows with YAML configuration files for better transparency, reproducibility, and long-term backups.Intake-esm-based catalog to find and manage climate data.Climate dataset extraction, subsetting, and temporal aggregation.Calculate missing variables throughintake-esm’sDerivedVariableRegistry.Regridding powered byxESMF.Bias adjustment tools provided byxclim.InstallationPlease refer to theinstallation docs.AcknowledgmentsThis package was created withCookiecutterand theOuranosinc/cookiecutter-pypackageproject template.
Package: xsconnect
Generate pin assignment constraints for a given combination of XESS peripheral + motherboard + daughterboard.Free software: MIT licenseDocumentation:https://xesscorp.github.com/xsconnect.FeaturesAutomates the tedious process of creating FPGA pin assignments for a given combination
of XESS FPGA board (e.g. XuLA2), motherboard (e.g. StickIt!) and
peripheral board (e.g. StickIt! Audio I/O).Command-line version,xsconn, for batch-file operations.GUI version,gxsconn, for even easier interactive use.History0.1.4 (2016-11-04)Added support for StickIt! Rotary Encoder V2.0.Added support for StickIt! SmallButtons V1.0.Added support for StickIt! AudioIO V2.0.Added support for StickIt! QuadDAC V1.0.Added support for Logic Pod Mini V1.0.Added support for CAT Board.0.1.3 (2015-09-12)Replaced explicit scripts with entrypoints.0.1.2 (2015-07-14)Added definition file for the StickIt! Grove board.Removed travis testing requirement.0.1.1 (2015-06-01)Added generic peripheral device for getting FPGA pin assignments
for each connector pin of the StickIt! Board.0.1.0 (2015-05-25)First release on PyPI.
Package: xscrapers
XSCRAPERSTheXSCRAPERSpackage provides an OOP interface to some simple webscraping techniques.A base use case can be to load some pages toBeautifulsoup Elements.
This package allows to load the URLs concurrently using multiple threads, which allows to safe an enormous amount of time.importxscrapers.webscraperaswsURLS=["https://www.google.com/","https://www.amazon.com/","https://www.youtube.com/",]PARSER="html.parser"web_scraper=ws.Webscraper(PARSER,verbose=True)web_scraper.load(URLS)web_scraper.parse()Note that herein, the data scraped is stored in thedataattribute of the webscraper.
The URLs parsed are stored in theurlattribute.Downloading the Firefox GeckodriverLinuxSeethis linkfor a good explanation.
In short, the steps are:Download the geckodriver from themozilla GitHub release page, note to change theXfor the version you want to downloadwgethttps://github.com/mozilla/geckodriver/releases/download/vX.XX.X/geckodriver-vX.XX.X-linux64.tar.gzExtract the file withtar-xvzf geckodriver*Make it executablechmod+x geckodriverIn the last step, the driver can be added to thePATHenvironment variable, moved to theusr/local/binfolder, or can be given as full path to theWebdriverclass asexe_pathargumentexportPATH=$PATH:/path-to-extracted-file/sudomv geckodriver /usr/local/bin/
Package: xscreensaver-config
xscreensaver_configPython parser for .xscreensaver config fileInstallationpip install xscreensaver-configfrom xscreensaver_config.ConfigParser import ConfigParser
config = ConfigParser('/home/user/.xscreensaver')
# Read config as dict
print(config.read())
...

# Update config
config.update({'mode': 'one'})

# Save config
config.save()
Package: xsdata
Naive XML Bindings for pythonxsData is a complete data binding library for python allowing developers to access and
use XML and JSON documents as simple objects rather than using DOM.The code generator supports XML schemas, DTD, WSDL definitions, XML & JSON documents. It
produces simple dataclasses with type hints and simple binding metadata.The included XML and JSON parser/serializer are highly optimized and adaptable, with
multiple handlers and configuration properties.xsData is constantly tested against theW3C XML Schema 1.1 test suite.Getting started$# Install all dependencies$pipinstallxsdata[cli,lxml,soap]$# Generate models$xsdatatests/fixtures/primer/order.xsd--packagetests.fixtures.primer>>># Parse XML>>>frompathlibimportPath>>>fromtests.fixtures.primerimportPurchaseOrder>>>fromxsdata.formats.dataclass.parsersimportXmlParser>>>>>>xml_string=Path("tests/fixtures/primer/sample.xml").read_text()>>>parser=XmlParser()>>>order=parser.from_string(xml_string,PurchaseOrder)>>>order.bill_toUsaddress(name='Robert Smith',street='8 Oak Avenue',city='Old Town',state='PA',zip=Decimal('95819'),country='US')Check thedocumentationfor more ✨✨✨FeaturesGenerate code from:XML Schemas 1.0 & 1.1WSDL 1.1 definitions with SOAP 1.1 bindingsDTD external definitionsDirectly from XML and JSON DocumentsExtensive configuration to customize outputPluggable code writer for custom output formatsDefault Output:Pure python dataclasses with metadataType hints with support for forward references and unionsEnumerations and inner classesSupport namespace qualified elements and attributesData Binding:XML and JSON parser, serializerPyCode serializerHandlers and Writers based on lxml and native xml pythonSupport wildcard elements and attributesSupport xinclude statements and unknown propertiesCustomize behaviour through configChangelog: 24.2.1 (2024-02-19)Fixed FieldInfo type errors (#949)Fixed private package names (#950)Changelog: 24.2 (2024-02-17)Added Dict encoder/decoder (#921)Deprecated Serializer config pretty_print/pretty_print_indentation
(#942)Fixed lxml event writer to respect the encoding configuration
(#940)Migrated documentation to mkdocs with markdownRefactored project docstrings
Package: xsdata-attrs
xsdata powered by attrs!xsData is a complete data binding library for python allowing developers to access and
use XML and JSON documents as simple objects rather than using DOM.Now powered by attrs!Install$# Install with cli support$pipinstallxsdata-attrs[cli]Generate Models$# Generate models$xsdatahttp://rss.cnn.com/rss/edition.rss--outputattrsParsing document edition.rss
Analyzer input: 9 main and 0 inner classes
Analyzer output: 9 main and 0 inner classes
Generating package: init
Generating package: generated.rss...@attr.sclassRss:classMeta:name="rss"version:Optional[float]=attr.ib(default=None,metadata={"type":"Attribute",})channel:Optional[Channel]=attr.ib(default=None,metadata={"type":"Element",})...XML Parsing>>>fromxsdata_attrs.bindingsimportXmlParser>>>fromurllib.requestimporturlopen>>>fromgenerated.rssimportRss>>>>>>parser=XmlParser()>>>withurlopen("http://rss.cnn.com/rss/edition.rss")asrq:...result=parser.parse(rq,Rss)...>>>result.channel.item[2].title'Vatican indicts 10 people, including a Cardinal, over an international financial scandal'>>>result.channel.item[2].pub_date'Sat, 03 Jul 2021 16:37:14 GMT'>>>result.channel.item[2].link'https://www.cnn.com/2021/07/03/europe/vatican-financial-scandal-intl/index.html'Changelog: 23.8 (2023-08-12)Removed python 3.6 and 3.7 supportAdded official support for 3.11 and 3.12Set xsdata minimum version v23.5This project is still alive :)
Package: xsdata-ech
eCH xsdata dataclassesProvidesxsdatadataclasses for swiss
e-government standards defined byeCH.! JSON deserialization might return wrong classes, if they have the same structure.TestsRun the testspip install .[test]
toxReleasingBump versionpip install .[dev]
bump2version {major|minor|patch}Update definitionsGenerate filespip install .[dev]
xsdata generate xxx.xsdThen move the files and fix the imports.
History0.2.0 (19.02.2024)0.1.0 (18.06.2023)Initial release.The MIT License (MIT)Copyright © 2023 Seantis GmbHPermission 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: xsdata-plantuml
xsDataPlantUML pluginGeneratePlantUMLclass diagrams from xml
schemas, wsdl definitions and directly from xml documents.Usage$pipinstallxsdata-plantuml$xsdatasamples/order.xsd--outputplantuml--packagesamples@startuml

class Items {
    +item : item[]
}
Items +-- item
class item {
    +productName : string
    +quantity : positiveInteger
    +USPrice : decimal
    +comment : string
    +shipDate : date
    +partNum : string
}
class PurchaseOrderType {
    +shipTo : USAddress
    +billTo : USAddress
    +comment : string
    +items : Items
    +orderDate : date
}
class USAddress {
    +name : string
    +street : string
    +city : string
    +state : string
    +zip : decimal
    +country : NMTOKEN
}
class comment {
    +@value : string
}
class purchaseOrder {
}
purchaseOrder *- PurchaseOrderType

@enduml
Package: xsdata-pydantic
xsdata powered by pydantic!xsData is a complete data binding library for python allowing developers to access and
use XML and JSON documents as simple objects rather than using DOM.Now powered by pydantic!Install$# Install with cli support$pipinstallxsdata-pydantic[cli]Generate Models$# Generate models$xsdatahttp://rss.cnn.com/rss/edition.rss--outputpydanticParsing document edition.rss
Analyzer input: 9 main and 0 inner classes
Analyzer output: 9 main and 0 inner classes
Generating package: init
Generating package: generated.rssfromdataclassesimportfieldfrompydantic.dataclassesimportdataclass@dataclassclassRss:classMeta:name="rss"version:Optional[float]=field(default=None,metadata={"type":"Attribute",})channel:Optional[Channel]=field(default=None,metadata={"type":"Element",})...XML Parsing>>>fromxsdata_pydantic.bindingsimportXmlParser>>>fromurllib.requestimporturlopen>>>fromgenerated.rssimportRss>>>>>>parser=XmlParser()>>>withurlopen("http://rss.cnn.com/rss/edition.rss")asrq:...result=parser.parse(rq,Rss)...>>>result.channel.item[2].title"'A total lack of discipline': Clarissa Ward visits abandoned Russian foxholes">>>result.channel.item[2].pub_date'Fri, 08 Apr 2022 22:56:33 GMT'>>>result.channel.item[2].link'https://www.cnn.com/videos/world/2022/04/08/ukraine-chernihiv-visit-ward-pkg-tsr-vpx.cnn'Changelog: 22.10 (2022-10-02)Initial Release
Package: xsd-to-vol
xsd-to-volConvert XML Schema Definition files to voluptuous schemas.Binary file usageBasic usage:xml-to-vol-ischema.xsd-oschema.pyBasic pipe usage:catschema.xsd|xml-to-vol>schema.pyPipe through black formatter:catschema.xsd|xsd-to-vol|black->schema.pyAdvanced piping example with curl:curl-shttps://api-test.geofox.de/gti/public/geofoxThinInterfacePublic.xsd2>&1|xsd-to-vol|black->schema.pyYou can also mix input/output files and stdin/stdout.Library usageYou can also use thexml_to_volmethod to convert your schema:fromxsd_to_volimportxsd_to_volwithopen("schema.xsd",'r')asschema_file:xsd=schema_file.read()print(xsd_to_vol(xsd))To DoWhile the generation should work for most xsd files, there are some features I'd
like to have in future versions:Only include used imports: Currently all possible voluptuous requirements
are imported. The required imports can be determined.Tests: Gather different xsd schemas and build pytests to test the generation.Automatic code formatting: Run black over the code (without piping).Contributions are welcome!If you want to contribute to this, please read theContribution guidelines
Package: xsd-validator
xsd_validatorValidates an XML file against XSDs, supports XSD version 1.1. Requires Java Runtime (version 8 or better).APIAssert thatmy.xmlis valid according to schemaschema.xsd:fromxsd_validatorimportXsdValidatorvalidator=XsdValidator('schema.xsd')validator.assert_valid('my.xml')A more complex schema may be split between several files, for example:schema.xsd,schema-aux.xsdandxml.xsd.
Just pass them all to theXsdValidator:fromxsd_validatorimportXsdValidatorvalidator=XsdValidator('schema.xsd','schema-aux.xsd','xml.xsd')validator.assert_valid('my.xml')Sometimes you need to get all problems discovered. You can loop through the errors like this:fromxsd_validatorimportXsdValidatorvalidator=XsdValidator('schema.xsd','schema-aux.xsd','xml.xsd')forerrinvalidator('my.xml'):print(err)CLIYou can usexsd_validatormodule as an executable, like this:python-mxsd_validatorFor example:python-mxsd_validatorschema.xsdmy.xmlHelp:python-mxsd_validator-husage:xsd_validator[-h]xsd[xsd...]xml

ValidateanXMLfileagainsdXSDschema(supportsXSDversion1.1)positionalarguments:xsdXSDfilesxmlXMLfiletocheck

optionalarguments:-h,--helpshowthishelpmessageandexit
Package: xsearch
About The ProjectUse Python to search, export and analyse the search results of a long list of keywords.Built WithSeleniumA package to automate web browser interaction from Python.Getting StartedPrerequisitesPythonPython 3ChromeDownload GoogleChrome, and check the version through 'Help > About Google Chrome'.ChromeDriverDownload a driver to interface with the Chrome browser. Make sure it’s consistent with Chrome version.link1link2link3InstallationIf you havepipon your system, you can simply install or upgrade the Python bindings:pip install searchAlternately, you can download the source code fromPyPI(e.g. xsearch-0.0.8.tar.gz), unarchive it, and run:python setup.py installUsageSearch Engines Supportedgoogle.comorgoogle.com.hkbaidu.combing.comorcn.bing.comsogou.comweixin.sogou.comCodeimportxsearchxsearch.search()Example请输入导入文件名，支持txt/xlsxinput.txt请输入指定站点，如有多个用逗号分隔，如无请直接回车zhihu.com, 36kr.com请输入指定文件类型，如有多个用逗号分隔，如无请直接回车请输入导出文件名，支持csv/jsonoutput.csv请输入需要提取的关键词类型，如有多个用逗号分隔，如无请直接回车n,a,v请输入搜索域名google.comLicenseThe project is under theMITlicense.
Package: xsectron
cross_sectionA cross section calculation handbook for studentsThis work is licensed under aCreative Commons Attribution-NonCommercial 4.0 International License.The python codes in this repository are licensed under MIT license.What are the goals of this handbook?Unified notation systemDerivation of cross section, tree-level and a bit loopElectromagnetism and weak interaction coveredReference of textbooks for each stepReference of literatures for final numerical resultsComparison to latest experiment resultsFocus on simplified theoryPython codes providedThe short-term plan: process to coverneutrino - leptonneutrino - quark & nucleusWIMP - nucleondark photon - electronaxion - electronHow to generate the handbookinsidenotefolder, runlatexmk -C && latexmk --lualatex main.tex --shell-escapeCredit of template usageThe template used in LaTex codes is modified based onPhysics Book Template, published at Overleaf underCreative Commons CC BY 4.0 license, byCharles Averill.0.0.0 / 2023-09-13Bump to v0.0.0 by @dachengx inhttps://github.com/dachengx/cross_section/pull/1New Contributors@dachengx made their first contribution inhttps://github.com/dachengx/cross_section/pull/1
Package: xsellco-api
XSELLCO-API Python WrapperThis project provides a Python wrapper for interacting with theRepricer.com(aka Xsellco) API, simplifying the integration of Repricer.com's API features into Python applications. It offers both synchronous and asynchronous support to accommodate different programming needs, thanks in part to thehttpx library. Detailed API documentation can be found ateDesk Developers.Getting StartedThese instructions will give you a copy of the project up and running on
your local machine for development and testing purposes. See deployment
for notes on deploying the project on a live system.Installingpip install xsellco_apiFor Developing:Clone the repository and installrequirements-dev.txt:UsageThe library provides both synchronous (sync) and asynchronous (async_) interfaces for interacting with the Repricer.com API. Below are examples of how to use each interface:Synchronous Usagefromxsellco_api.syncimportRepricersrepricer=Repricers(user_name='your_username',password='your_password')repricer_data=repricer.get_report()print(repricer_data)# list of dictionaries# or# All classes support context manager usagewithRepricers(user_name='your_username',password='your_password')asrepricer:repricer_data=repricer.get_report()print(repricer_data)# list of dictionariesAsynchronous Usageimportasynciofromxsellco_api.async_importAsyncRepricersasyncdefmain():asyncwithAsyncRepricers(user_name='your_username',password='your_password')asrepricer:repricer_data=awaitrepricer.get_report()print(repricer_data)asyncio.run(main())Deprecation NoticePlease note that the xsellco_api.api module is deprecated and will be removed in future versions. Users are encouraged to switch to the sync or async_ modules for continued support.License
Package: xsendfile
This WSGI application allows you to tell your Web server (e.g., Apache, Nginx)
which file on disk to serve in response to a HTTP request. You can use this
within your Web application to control access to static files or customize the
HTTP response headers which otherwise would be set by the Web server, for
example.For more information, please read the documentation on:http://pythonhosted.org/xsendfile/
Package: xsensing-client
本仓库是Xsensing统一AI接口客户端(Unified Artificial Intelligence Interface Client, UAIC)代码和使用说明。本仓库提供客户端、API。1 About UAICXsensing的统一AI接口(Unified Artificial Intelligence Interface, UAII)分为服务端UAIS和客户端UAIC。服务端UAIS运行在GPU服务器上，统一调度不同算法模块、管理模型库，执行AI计算任务；客户端UAIC运行在应用服务器上，通过Socket与UAIS通讯，可远程查看UAIS运行情况；自定义处理流程、管道和模块；管理UAIS；获取UAIS的输出。2 Getting Started2.1 安装源码安装gitclonehttps://github.com/zhangzhengde0225/xsensing_client.gitcdxsensing_clientpythonsetup.pyinstallpip安装pipinstallxsensing_client2.2 样例Client Examples，下面是一个简单的客户端代码。importxsensing_clientuaic=xsensing_client.UAIC(url='http://127.0.0.1:5000')# 连接到UAIS服务器uaic.ps()# 查看服务器流、管道和模块的状态uaic.stop(stream=None,pipeline=None,module=None)# 停止流，无参数时，停止全部；指定流时停止指定的流；指定管道或模块时，停止与之相关的所有流uaic.get_cfg()# 从服务器读取各流、管道、模块的默认配置文件，保存到本地。uaic.configure(config_file='config.py')# 上传服务端的流、管道和模块配置文件，更新服务端配置。uaic.start(stream=None)# 启动流，无参数是启动所有流；指定流时启动指定的流；启动流的同时调起所有相关管道和模块。uaic.scan(pipeline=None)# 窥视指定管道的输出。3 详细文档客户端文档
Package: xsentinels
OverviewVarious objects that allow for sentinel-like singletons for various purposes, including:Ones pre-defined in this library:DefaultNullAlso, Easily create your own custom singletons/sentinels types.📄 Detailed Documentation|🐍 PyPiInstall# via pippipinstallxsentinels# via poetrypoetryaddxsentinelsQuick StartfromxsentinelsimportDefaultimportosdefmy_func(my_param=Default):ifmy_paramisDefault:# Resolve default value for parameter, otherwise None.my_param=os.environ.get('MY_PARAM',None)...LicensingThis library is licensed under the MIT-0 License. See the LICENSE file.
Package: xsge-tiled
xSGE is a collection of higher-level extensions for the SGE which
enhance the core functionality in an implementation-independent way.
Like the SGE itself, they are distribted under the terms of the GNU
Lesser General Public License.This extension provides support for loading the JSON format of theTiled Map Editor.  This allows you to use
Tiled to edit your game’s world (e.g. levels), rather than building a
level editor yourself.