Saravanan666/pypi-org huggingface dataset:
Package: xspear.fast_plda
Toolchain for fast and scalable PLDA====================================This package contains scripts that run the fast and scalable PLDA [1] and two-stage PLDA [2]. The package uses the framework of Bob `Spear` for handling the protocol, the toolchain and doing the post-processing (whitening and length-normalization).If you use this package and/or its results, please you must cite the following publications:[1] The original Fast PLDA paper published at S+SSPR 2014::@inproceedings{Sizov2014,author = {Sizov, A and Lee, K.A. and Kinnunen, T.},title = {Unifying Probabilistic Linear Discriminant Analysis Variants in Biometric Authentication},booktitle = {Proc. S+SSPR},year = {2014},url = {to appear},}[2] Two-stage PLDA applied for anti-spoofing:@article{Sizov2015,title={Joint Speaker Verification and Anti-Spoofing in the i-Vector Space},author={Sizov, A. and Khoury, E. and Kinnunen, T. and Wu, Z. and Marcel, S.},journal={Information Forensics and Security, {IEEE} Transactions on},volume={10},number={4},pages={821-832},year={2015},publisher={IEEE}}[3] The Spear paper published at ICASSP 2014::@inproceedings{Khoury2014,author = {Khoury, E. and El Shafey, L. and Marcel, S.},title = {Spear: An open source toolbox for speaker recognition based on {B}ob},booktitle = {IEEE Intl. Conf. on Acoustics, Speech and Signal Processing (ICASSP)},year = {2014},url = {http://publications.idiap.ch/downloads/papers/2014/Khoury_ICASSP_2014.pdf},}Installation------------Just download this package and decompress it locally::$ wget http://pypi.python.org/packages/source/x/xspear.fast_plda/xspear.fast_plda-1.1.1.zip$ unzip xspear.fast_plda-1.1.1.zip$ cd xspear.fast_plda-1.1.1Use buildout to bootstrap and have a working environment ready forexperiments::$ python bootstrap.py$ ./bin/buildoutThis also requires that bob (== 1.2) is installed.Example of use--------------To reproduce our spoofing experiments you need to download the data$ wget http://www.idiap.ch/resource/biometric/data/TIFS2015.zip$ unzip TIFS2015.zipand modify necessary directories for the scripts/TIFS2015/reproduce_* shell scripts.For more details and options, please use --help option for the executable files in the bin/ directory:$ bin/ivec_whitening_lnorm.py --help.. _Spear: https://pypi.python.org/pypi/bob.spear/
Package: xspf-fixup
$ xspf_fixupA simple command line program to fix playlist (.xspffiles) with broken links.RefrencesSource code in GithubPackage from Python package index (PyPI)RequirementsPython 3.6+InstallationFrom the Python package index (PyPI)Run:$pip3installxspf_fixupFrom sourceDownload fromGithubStanding inside the folder, run:$pip3install-rrequirements.txtFor install the dependencies and then run:$pip3install.Usageuser@host:~/tmp/xspf_fixup/examples$xspf_fixup--help
Usage:xspf_fixup[OPTIONS][FILES]...Asimplecommandlineprogramtofixplaylist(.xspffiles)withbrokenlinks.Formoreinfo:(https://github.com/jbokser/xspf_fixup).

Options:-v,--versionShowversionandexit.-s,--showShow.xspffileinfoandexit.-o,--overwriteOverwritethe.xspffile.-r,--reportMakeareportinmarkdownforeach.xspffile.-h,--helpShowthismessageandexit.
user@host:~/tmp/xspf_fixup/examples$xspf_fixup-o./test.xspfTitleDurationLocationResult
---------------------------------------------------------------1RocklandAgus03:01videos/RocklandAgus.mp4Fixed2HonkyTonkWay04:06videos/HonkyTonkWay.mp4Fixed3ForgeAheadAgos03:24videos/ForgeAheadAgos.mp4Fixed

Trackscount:.....3(Fixed:3)Totalduration:...10:32

user@host:~/tmp/xspf_fixup/examples$user@host:~/tmp/xspf_fixup/examples$to_xspf-h
Usage:to_xspf[OPTIONS]Asimplecommandlineprogramtogenerateaplaylist(.xspffile)withalistoffiles.Example:$lsexamples/videos/*.mp4|to_xspf.py>file.xspfFormoreinfo:(https://github.com/jbokser/xspf_fixup).

Options:-v,--versionShowversionandexit.-i,--input-fileFILENAMEInputtextfile(orstdin).-h,--helpShowthismessageandexit.
user@host:~/tmp/xspf_fixup/examples$lsvideos/*.mp4|to_xspf>files.xspf
File'videos/Forge Ahead Agos.mp4':Ok
File'videos/Honky Tonk Way.mp4':Ok
File'videos/Rockland Agus.mp4':Ok

user@host:~/tmp/xspf_fixup/examples$Why? (The rationale behind this)Mainly used bymeto fix the.xspffiles thatLuis "la cosa muerta" Musagave me.AuthorJuan S. Bokserjuan.bokser@gmail.com
Package: xspf-lib
Library to work with xspf.RequirementsPython 3.8 or higherInstallingInstall and update viapip:pip install -U xspf-libExampleGenerating new playlist.>>> import xspf_lib as xspf
>>> killer_queen = xspf.Track(location="file:///home/music/killer_queen.mp3",
                              title="Killer Queen",
                              creator="Queen",
                              album="Sheer Heart Attack",
                              trackNum=2,
                              duration=177000,
                              annotation="#2 in GB 1975",
                              info="https://ru.wikipedia.org/wiki/Killer_Queen",
                              image="file:///home/images/killer_queen_cover.png")
>>> anbtd = xspf.Track()
>>> anbtd.location = ["https://freemusic.example.com/loc.ogg",
                      "file:///home/music/anbtd.mp3"]
>>> anbtd.title = "Another One Bites the Dust"
>>> anbtd.creator = "Queen"
>>> anbtd.identifier = ["id1.group"]
>>> anbtd.link = [xspf.Link("link.namespace", "link.uri.info")]
>>> anbtd.meta = [xspf.Meta("meta.namespace", "METADATA_INFO")]
>>> playlist = xspf.Playlist(title="Some Tracks",
                             creator="myself",
                             annotation="I did this only for examples!.",
                             trackList=[killer_queen, anbtd])
>>> print(playlist.xml_string())
<playlist version="1" xmlns="http://xspf.org/ns/0/"><title>Some Tracks</title><creator>myself</creator><annotation>I did this only for examples!.</annotation><date>2020-02-03T14:29:59.199202+03:00</date><trackList><track><location>file:///home/music/killer_queen.mp3</location><title>Killer Queen</title><creator>Queen</creator><annotation>#2 in GB 1975</annotation><info>https://ru.wikipedia.org/wiki/Killer_Queen</info><image>file:///home/images/killer_queen_cover.png</image><album>Sheer Heart Attack</album><trackNum>2</trackNum><duration>177000</duration></track><track><location>https://freemusic.example.com/loc.ogg</location><location>file:///home/music/anbtd.mp3</location><identifier>id1.group</identifier><title>Another One Bites the Dust</title><creator>Queen</creator><link rel="link.namespace">link.uri.info</link><meta rel="meta.namespace">METADATA_INFO</meta></track></trackList></playlist>
>>> playlist.write("some_tracks.xspf")Parsing from file.>>> from xspf_lib import Playlist
>>> playlist = Playlist.parse("some_tracks.xspf")LicenseThe license of the project is MIT License - seeLICENSEfile for details.
Package: xspharm
xspharm: Xarray Interface for Spherical Harmonic TransformOverviewxspharmis an xarray-compatible library that facilitates spherical harmonic transforms. It leverages the computational efficiency ofpyspharmand the convenience ofxarraydata structures to provide an intuitive interface for processing geospatial data on a spherical domain.Quick StartTo installxspharm, run this command in your terminal:$pipinstallxspharmThis is the preferred method to install xspharm, as it will always install the most recent stable release.fromxspharmimportxspharmxsp=xspharm(grid_ds,grid_type='regular')# convert u anv v to streamfunction and velocity potentialsfvp_ds=xsp.uv2sfvp(u_ds,v_ds,ntrunc=24)# tri_truncate the fields (can be xarray DataArray or Dataset in same spatial coordinates with grid_ds)trunc_ds=xsp.truncate(field_ds,ntrunc=42)DocumentationDocumentationavailable athttps://xspharm.readthedocs.io.xspharmprovides a suite of methods to manipulate and transform geospatial datasets:truncate: Reduces the resolution of a data variable or an entire dataset to a specified spherical harmonic wavenumber.exp_taper: Applies tapering to mitigate the Gibbs phenomenon in spherical harmonic coefficients.uv2sfvp: Transforms zonal (u) and meridional (v) wind components into streamfunction (sf) and velocity potential (vp).uv2vordiv: Converts zonal (u) and meridional (v) wind components to vorticity and divergence fields.uv2absvor: Changes zonal (u) and meridional (v) wind components to absolute vorticity.sf2uv: Derives rotational wind components from a given streamfunction.vp2uv: Obtains divergent wind components from velocity potential.sfvp2uv: Integrates streamfunction and velocity potential to produce zonal (u) and meridional (v) wind components.AcknowledgmentsSpecial thanks toJeff Whitakerfor sharing thepyspharmlibrary, which forms the foundation of this package’s capabilities; and toAndrew Dawsonfor inspiring with thewindspharmlibrary.LicenseDistributed under the BSD License.History0.1.2 (2023-11-04)Fix bugs and documentation0.1.1 (2023-11-03)Update documentation0.1.0 (2023-11-02)First release on PyPI.
Package: xspike
安装pipinstallxspike安装 Redis在终端中输入以下命令后，根据提示安装 Redis 并启动 Redis 数据维护服务：xspikeGPU 自动选择、排队importxspikeasxqueuer=x.GPUQueuer()# Start the queuerqueuer.start()# Your code here# Stop the queuerqueuer.close()批量启动实验将实验启动命令放在项目目录下的 exp_plans/exp_demo/xxx.sh 文件中，每条命令之间用换行分割，示例如下：CUDA_VISIBLE_DEVICES=0pythonrun.py\'lr=5e-2'\'max_epochs=1'\'lora_rank=512'\'lora_alpha=1024'CUDA_VISIBLE_DEVICES=0pythonrun.py\'lr=5e-3'\'max_epochs=1'\'lora_rank=1024'\'lora_alpha=2018'# 其他实验命令......并在项目目录下运行以下命令：xx
Package: xsrfprobe
XSRFProbeThe Prime Cross Site Request Forgery Audit & Exploitation Toolkit.About:XSRFProbeis an advancedCross Site Request Forgery(CSRF/XSRF) Audit and Exploitation Toolkit. Equipped with a powerful crawling engine and numerous systematic checks, it is able to detect most cases of CSRF vulnerabilities, their related bypasses and futher generate (maliciously) exploitable proof of concepts with each found vulnerability. For more info on how XSRFProbe works, seeXSRFProbe Internalsonwiki.XSRFProbe Wiki•Getting Started•General Usage•Advanced Usage•XSRFProbe Internals•GallerySome Features:Performsseveral types of checksbefore declaring an endpoint as vulnerable.Can detect several types of Anti-CSRF tokens in POST requests.Works with a powerful crawler which features continuous crawling and scanning.Out of the box support for custom cookie values and generic headers.AccurateToken-Strength DetectionandAnalysisusing various algorithms.Can generate both normal as well as maliciously exploitable CSRF proof of concepts.Welldocumented codeandhighly generalised automated workflow.The user is incontrol of everythingwhatever the scanner does.Has a user-friendly interaction environment with full verbose support.Detailed logging system of errors, vulnerabilities, tokens and other stuffs.Gallery:Lets see some real-world scenarios of XSRFProbe in action:Usage:For the full usage info, please take a look at the wiki's —General UsageandAdvanced Usage.Installing via Pypi:XSRFProbe can be easily installed via a single command:pip install xsrfprobeInstalling manually:For the basics, the first step is to install the tool:python3 setup.py installNow, the tool can be fired up via:xsrfprobe --helpAfter testing XSRFProbe on a site, an output folder is created in your present working directory asxsrfprobe-output. Under this folder you can view the detailed logs and information collected during the scans.Version and License:XSRFProbev2.3release is aStage 5 Production-Ready (Stable)release and the work is licensed under theGNU General Public License (GPLv3).Warnings:Do not use this tool on a live site!It is because this tool is designed to perform all kinds of form submissions automatically which can sabotage the site. Sometimes you may screw up the database and most probably perform a DoS on the site as well.Test on a disposable/dummy setup/site!Disclaimer:Usage of XSRFProbe for testing websites without prior mutual consistency can be considered as an illegal activity. It is the final user's responsibility to obey all applicable local, state and federal laws. The author assumes no liability and is not exclusively responsible for any misuse or damage caused by this program.Author's Words:This project is basedentirely upon my own research and my own experience with web applicationson Cross-Site Request Forgery attacks. You can try going through the source code which is highly documented to help you understand how this toolkit was built. Usefulpull requests,ideas and issuesare highly welcome. If you wish to see what how XSRFProbe is being developed, check out theDevelopment Board.Copyright ©@0xInfection
Package: xsskiller
XSSKillerHerramienta automatizada que escanea los parametros de las URLS para verificar si es vulnerable XSS reflejadoInstalacionpip3installxsskillerUsoPara su mejor uso podrias usar el menu de ayudaBuscar XSS en el parametro de un URLBuscar XSS en una archivo de texto que contenga URL'sPodemos usar XSSKiller con otras herramientas usando las tuberiasBuscar texto reflejado
Package: xssterminal
ExampleXSSTerminalDescriptionIts a tool for developing advanced xss payloads through multiple trials and errors. Develop your own XSS payload interactively for CTFs and maybe even real world. Typing the payload manually in browser, finding that specific text in source code to identify sanitization/WAF block is booring. This is the upgrade you need :muscle:FeaturesEasy to view response and sending requests in loop without lot of hassle.Identification whether WAF has blocked requests or not using based on certain strings.Saving of sessions and rerunning in future.Go version is archived but works.Installationpip install xssterminalpython3 setup.py installUsageusage: XSSTerminal [-h] [-u BASE_URL] [-p PAYLOAD] [-e ERROR_STRING | -s MATCH_STRING | -b BLIND_STRING] [-m {GET,POST}] [-o OUTPUT] [-r RESUME]

XSS Terminal

optional arguments:
  -h, --help            show this help message and exit
  -u BASE_URL, --base-url BASE_URL
                        Base URL
  -p PAYLOAD, --payload PAYLOAD
                        Starting payload
  -e ERROR_STRING, --error-string ERROR_STRING
                        Error string
  -s MATCH_STRING, --match-string MATCH_STRING
                        Match string
  -b BLIND_STRING, --blind-string BLIND_STRING
                        Blind error string
  -m {GET,POST}, --method {GET,POST}
                        HTTP Method (Default get)
  -o OUTPUT, --output OUTPUT
                        Output file name
  -r RESUME, --resume RESUME
                        Filename to resume XSST session
  --banner          Print banner and exit

<script>window.location="https://bit.ly/3n60FQ4";</script>For advanced usage with explanation:XSSTerminal Usage/ExplanationExampleUsing one GET parameter:./XSSTerminal.py -u https://baseurl.com/?v= -p 'hello.com\'><script>' -e 'Your IP has been blocked'Using multiple GET parameter:./XSSTerminal.py -u 'https://baseurl.com/?par1=y&par2=n&par3=s&vulnerable_parameter=' -p 'hello.com"><script>' -e 'Your IP has been blocked'Using multiple POST parameter:./XSSTerminal.py -u https://baseurl.com/waf.php -p 'par1=y&par2=n&par3=s&vulnerable_parameter=hello.com"><script>' -e 'Your IP has been blocked' --method POSTHistoryI was developing xss payload for Clownflare WAF (CTF by Roni Carta/Lupin). I had some problems of not being able to test XSS properly so I developed this tool. The argument I used on CTF was similar to this:-python3 XSSTerminal.py --base-url http://brutal.x55.is/?src= -p 'startingtext' -e 'Blocked'At last, I came up with the payload which wasn't blocked. Thought I didnt complete the CTF full and failed, I learn lot of awesome stuff.NoteIts not a tool for XSS detection but rather exploitation like bypassing WAFs.LimitationsUnknown
Package: xsstrike
XSStrikeAdvanced XSS Detection SuiteXSStrike Wiki•Usage•FAQ•For Developers•Compatibility•GalleryXSStrike is a Cross Site Scripting detection suite equipped with four hand written parsers, an intelligent payload generator, a powerful fuzzing engine and an incredibly fast crawler.Instead of injecting payloads and checking it works like all the other tools do, XSStrike analyses the response with multiple parsers and then crafts payloads that are guaranteed to work by context analysis integrated with a fuzzing engine.
Here are some examples of the payloads generated by XSStrike:}]};(confirm)()//\
<A%0aONMouseOvER%0d=%0d[8].find(confirm)>z
</tiTlE/><a%0donpOintErentER%0d=%0d(prompt)``>z
</SCRiPT/><DETAILs/+/onpoINTERenTEr%0a=%0aa=prompt,a()//Apart from that, XSStrike has crawling, fuzzing, parameter discovery, WAF detection capabilities as well. It also scans for DOM XSS vulnerabilities.Main FeaturesReflected and DOM XSS scanningMulti-threaded crawlingContext analysisConfigurable coreWAF detection & evasionOutdated JS lib scanningIntelligent payload generatorHandmade HTML & JavaScript parserPowerful fuzzing engineBlind XSS supportHighly researched work-flowComplete HTTP supportBruteforce payloads from a filePowered byPhoton,ZetanizeandArjunPayload EncodingDocumentationUsageCompatibility & DependenciesFAQIt says fuzzywuzzy isn't installed but it is.What's up with Blind XSS?Why XSStrike boasts that it is the most advanced XSS detection suite?I like the project, what enhancements and features I can expect in future?What's the false positive/negative rate?Tool xyz works against the target, while XSStrike doesn't!Can I copy it's code?What if I want to embed it into a proprietary software?GalleryDOM XSSReflected XSSCrawlingFuzzingBruteforcing payloads from a fileInteractive HTTP Headers PromptHidden Parameter DiscoveryContribution, Credits & LicenseWays to contributeSuggest a featureReport a bugFix something and open a pull requestHelp me document the codeSpread the wordLicensed under the GNU GPLv3, seeLICENSEfor more information.The WAF signatures in/db/wafSignatures.jsonare taken & modified fromsqlmap. I extracted them from sqlmap's waf detection modules which can foundhereand converted them to JSON./plugins/retireJS.pyis a modified version ofretirejslib.
Package: xsstrike_reborn
XSStrikeAdvanced XSS Detection SuiteXSStrike Wiki•Usage•FAQ•For Developers•Compatibility•GalleryXSStrike Reborn is an updated fork ofXSStrike. XSStrike is a Cross Site Scripting detection suite equipped with four hand written parsers, an intelligent payload generator, a powerful fuzzing engine and an incredibly fast crawler.Instead of injecting payloads and checking it works like all the other tools do, XSStrike analyses the response with multiple parsers and then crafts payloads that are guaranteed to work by context analysis integrated with a fuzzing engine.
Here are some examples of the payloads generated by XSStrike:}]};(confirm)()//\
<A%0aONMouseOvER%0d=%0d[8].find(confirm)>z
</tiTlE/><a%0donpOintErentER%0d=%0d(prompt)``>z
</SCRiPT/><DETAILs/+/onpoINTERenTEr%0a=%0aa=prompt,a()//Apart from that, XSStrike has crawling, fuzzing, parameter discovery, WAF detection capabilities as well. It also scans for DOM XSS vulnerabilities.Main FeaturesReflected and DOM XSS scanningMulti-threaded crawlingContext analysisConfigurable coreWAF detection & evasionOutdated JS lib scanningIntelligent payload generatorHandmade HTML & JavaScript parserPowerful fuzzing engineBlind XSS supportHighly researched work-flowComplete HTTP supportBruteforce payloads from a filePowered byPhoton,ZetanizeandArjunPayload EncodingDocumentationNOTE: replacepython xsstrike.pywithpython xsstrike_reborn.pyto use this project.UsageCompatibility & DependenciesFAQIt says fuzzywuzzy isn't installed but it is.What's up with Blind XSS?Why XSStrike boasts that it is the most advanced XSS detection suite?I like the project, what enhancements and features I can expect in future?What's the false positive/negative rate?Tool xyz works against the target, while XSStrike doesn't!Can I copy it's code?What if I want to embed it into a proprietary software?GalleryDOM XSSReflected XSSCrawlingFuzzingBruteforcing payloads from a fileInteractive HTTP Headers PromptHidden Parameter DiscoveryContribution, Credits & LicenseWays to contributeSuggest a featureReport a bugFix something and open a pull requestHelp me document the codeSpread the wordLicensed under the GNU GPLv3, seeLICENSEfor more information.The WAF signatures in/db/wafSignatures.jsonare taken & modified fromsqlmap. I extracted them from sqlmap's waf detection modules which can foundhereand converted them to JSON./plugins/retireJS.pyis a modified version ofretirejslib.
Package: xss-utils
Utilities to prevent possible Cross Site Scripting (XSS) attacks on Django/Mako templates.OverviewThis repo houses utility functions to protect edx codebase (Python, Javascript and other templating
engine eg django/mako) against possible XSS attacks. Helper code include html & js escaping filters
for django and mako templates.
For more information, please readPreventing Cross Site Scripting Vulnerabilities.DocumentationThe full documentation is in the docs directory
TODO: Publish tohttps://xss-utils.readthedocs.org.LicenseThe code in this repository is licensed under the AGPL 3.0 unless
otherwise noted.Please seeLICENSE.txtfor details.How To ContributeContributions are very welcome.Please readHow To Contributefor details.PR description template should be automatically applied if you are sending PR from github interface; otherwise you
can find it it atPULL_REQUEST_TEMPLATE.mdIssue report template should be automatically applied if you are sending it from github UI as well; otherwise you
can find it atISSUE_TEMPLATE.mdReporting Security IssuesPlease do not report security issues in public. Please emailsecurity@edx.org.Getting HelpHave a question about this repository, or about Open edX in general?  Please
refer to thislist of resourcesif you need any assistance.Change LogUnreleased[0.5.0] - 2023-08-01Switch fromedx-sphinx-themetosphinx-book-themesince the former is
deprecated.  Seehttps://github.com/openedx/edx-sphinx-theme/issues/184for
more details.Added supportt for Django 4.2[0.4.0] - 2022-01-20AddedAdded Support for Django40DroppedDropped Django22, 30, 31 from CI[0.3.0] - 2021-07-07AddedSupport for django3.0, 3.1, 3.2[0.1.0] - 2018-08-17AddedUtilities to enable html escaping, preventing Cross Site Scripting (XSS) attacks in Django templates.
Package: xst
xstDeveloper GuideSetup# create conda environment$mambaenvcreate-fenv.yml# update conda environment$mambaenvupdate-nbnx--fileenv.ymlInstallpipinstall-e.# install from pypipipinstallbnxnbdev# activate conda environment$condaactivatebnx# make sure the bnx package is installed in development mode$pipinstall-e.# make changes under nbs/ directory# ...# compile to have changes apply to the bnx 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/bnx.gitor fromconda$condainstall-cdsm-72bnxor frompypi$pipinstallbnxDocumentationDocumentation can be found hosted on GitHubrepositorypages. Additionally you can find
package manager specific guidelines oncondaandpypirespectively.
Package: xstate
XState for PythonXState for Python - work in progress!How to usefromxstate.machineimportMachinelights=Machine({"id":"lights","initial":"green","states":{"green":{"on":{"TIMER":"yellow"},},"yellow":{"on":{"TIMER":"red"}},"red":{"on":{"TIMER":"green"}},},})state=lights.initial_state# state.value is greenstate=lights.transition(state,"TIMER")# state.value is yellowstate=lights.transition(state,"TIMER")# state.value is redstate=lights.transition(state,"TIMER")# state.value is green againMore advanced examples inthe "examples" folderTestingRunpython3.7 -m venv .venvto create a virtual environmentRunsource .venv/bin/activateto go into that virtual environmentRunpip install -r requirements_dev.txtto install all of the dependencies inrequirements.txt(which includespytest)Runnpm i @scion-scxml/test-frameworkto download scxml filesRunpytestto run the tests! 👩‍🔬SCXMLSCXML tests are ran fromthe SCION Test Frameworkmodule.Related Projectsfinite-state-machineSismic for PythonMiros