Saravanan666/pypi-org huggingface dataset:
Package: xdmod-data
xdmod-dataAs part of theXDMoDData Analytics Framework, this Python package provides API access to the data warehouse of an instance of XDMoD version ≥10.5.The package can be installed from PyPI viapip install xdmod-data.It has dependencies onNumPy,Pandas,Plotly, andRequests.Example usage is documented through Jupyter notebooks in thexdmod-notebooksrepository.API Token AccessUse of the Data Analytics Framework requires an API token. To obtain an API token, follow the steps below to obtain an API token from the XDMoD portal.First, if you are not already signed in to the portal, sign in in the top-left corner:Next, click the "My Profile" button in the top-right corner:The "My Profile" window will appear. Click the "API Token" tab:Note:If the "API Token" tab does not appear, it means this instance of XDMoD is not configured for the Data Analytics Framework.If you already have an existing token, delete it:Click the "Generate API Token" button:Copy the token to your clipboard. Make sure to paste it somewhere for saving, as you will not be able to see the token again once you close the window:Note:If you lose your token, simply delete it and generate a new one.SupportFor support, please seethis page. If you email for support, please include the following:xdmod-dataversion number, obtained by running this Python code:from xdmod_data import __version__
print(__version__)Operating system version.A description of the problem you are experiencing.Detailed steps to reproduce the problem.Licensexdmod-datais released under the GNU Lesser General Public License ("LGPL") Version 3.0. See theLICENSEfile for details.ReferenceWhen referencing XDMoD, please cite the following publication:Jeffrey T. Palmer, Steven M. Gallo, Thomas R. Furlani, Matthew D. Jones, Robert L. DeLeon, Joseph P. White, Nikolay Simakov, Abani K. Patra, Jeanette Sperhac, Thomas Yearke, Ryan Rathsam, Martins Innus, Cynthia D. Cornelius, James C. Browne, William L. Barth, Richard T. Evans, "Open XDMoD: A Tool for the Comprehensive Management of High-Performance Computing Resources",Computing in Science & Engineering, Vol 17, Issue 4, 2015, pp. 52-62. DOI:10.1109/MCSE.2015.68
Package: xdotool
XDOTOOLLibrary to use xdotool with python.PrerequisitesUbuntusudoapt-getinstallxdotoolInstalationYou can installxdotoolfromPypi. It's going to install the library itself and its prerequisites as well.pipinstallxdotoolYou can installxdotoolfrom its source code.gitclonehttps://github.com/Tlaloc-Es/xdotool.gitcdxdotool
pipinstall-e.
Package: xdot-rs
xdotThe main function of this package isparse.
It parses node/edge attributes on graphviz graphs created byxdotinto drawable shapes.usexdot::{parse,ShapeDraw};letshapes:Vec<ShapeDraw>=parse("c 7 -#ff0000 p 4 4 4 36 4 36 36 4 36");EachShapeDrawstruct contains ashapewith geometry and apenwith drawing attributes (such as color, line style, and font).
If you have thelayoutfeature active, you can also uselayout_and_draw_graph(anddraw_graph):usegraphviz_rust::parse;usegraphviz_rust::dot_structures::Graph;usexdot::{layout_and_draw_graph,ShapeDraw};letgraph:Graph=parse("graph { a -- b}").unwrap();letshapes:Vec<ShapeDraw>=layout_and_draw_graph(graph).unwrap();Release processA commit tomaincauses creation or update of a release PR. (releaseworkflow)Merging a release PR causes the creation of a Git tag and GitHub release, and the upload of a Rust crate tocrates.io.(alsoreleaseworkflow)Publishing this GitHub release in turn triggers building and uploading a Python package. (publishworkflow)
Package: xdow
xdowVideo Downloader (Mostly Porn)This is a video downloader for porn. To download youtube videos you
can useyoutube-dlHow to useCurrently Only Pornhub is supportedGet Direct link of any video and pass the link as argument to console scriptxdowe.gxdow https://www.pornhub.com/view_video.php?viewkey=ph5e5afa917d4fdPlease report bug by raising a issue atgithub issuesor sending me an email by clicking the author hyperlink
Package: xdp-test-harness
XDP test harnessA test harness that can be used to test the implementation of XDP and XDP
programs.RequirementsPython 3.5, bcc, Pyroute2, ScapyUsageRunningTo start the test harness, runpython3 -m xdp_test_harness.runnerin a folder
containing tests as a superuser. There are three commands that can be used:clientStart a client, running tests using network interfaces to process packets by XDP
program. One can further specify which tests to run, usingunittest's format.
That is modules, classes and methods separated by dots, for examplepython3 -m xdp_test_harness.runner client test_general.ReturnValuesBasic.bptrSimilar to theclientcommand, but uses theBPF_PROG_TEST_RUNsyscall
command instead of a server to process packets by an XDP program.serverStarts a server, used byclientcommand to send packets.ConfigurationConfiguration of interfaces to be used for testing is done in theconfig.pyfile. In the configuration file there are two variables:local_server_ctxA variable specifying the interface of the server, used for testing, and
the interface of the server used for communication with a client.local_server_ctx=ContextServer(ContextLocal("enp0s31f6"),ContextCommunication("192.168.0.106",6555),)remote_server_ctxsList of contexts specifying one physical testing interface and one virtual
testing interface. Elements of the list are eitherContextClientobjects,
for physical interfaces, or objects created bynew_virtual_ctxfunction,
for virtual interfaces.remote_server_ctxs=ContextClientList([ContextClient(ContextLocal("enp0s31f6",xdp_mode=XDPFlag.SKB_MODE),ContextCommunication("192.168.0.107",6555)),new_virtual_ctx(ContextLocal("a_to_b",xdp_mode=XDPFlag.DRV_MODE),ContextCommunication("192.168.1.1"),"test_b",ContextLocal("b_to_a",xdp_mode=XDPFlag.DRV_MODE),ContextCommunication("192.168.1.2",6000),),])Creating new testsTo create a new test, create a class inheriting fromXDPCase. This class
should be located in a file named with atest_prefix and placed in thetestsfolder. Each method of this class, that should be run while testing,
has to be named with atest_prefix.Each test should either call bothload_bpfandattach_xdpmethods in this
order, before callingsend_packets, or be decorated withusingCustomLoaderand attach own XDP program to the interface. After
attaching attaching an XDP program, callingsend_packets, returns aSendResultobject, containing lists of packets that arrived to each
interface engaged in testing.
Package: xdress
XDress is an automatic wrapper generator for C/C++ written in pure Python. Currently,
xdress may generate Python bindings (via Cython) for C++ classes & functions
and in-memory wrappers for C++ standard library containers (sets, vectors, maps).
In the future, other tools and bindings will be supported.The main enabling feature of xdress is a dynamic type system that was designed with
the purpose of API generation in mind.Go here for the latest version of the docs!Contentstutorial
advtut
libclang
libref/index
rcdocs
previous/index
other/index
faq
authorsInstallationSince xdress is pure Python code, thepiporeasy_installmay be used
to grab and install the code:$ pip install xdress

$ easy_install xdressThe source code repository for xdress may be found at theGitHub project site.
You may simply clone the development branch using git:git clone git://github.com/xdress/xdress.gitAlso, if you wish to have the optional BASH completion, please add the
following lines to your~/.bashrcfile:# Enable completion for xdress
eval "$(register-python-argcomplete xdress)"DependenciesXDress currently has the following external dependencies,Run Time:Clang/LLVM, optional for C/C++pycparser, optional for CGCC-XML, optional for C++dOxygen, optional for docstringslxml, optional (but nice!)argcomplete, optional for BASH completionCompile Time:CythonNumPyTest Time:noseCMake, optional for integration testsExamples of UseTo see examples of xdress in action (and sample run control files), here are a
few places to look:xdress/tests/cproj:
This is a fully functioning sample C project which uses xdress locally.xdress/tests/cppproj:
This is a fully functioning sample C++ project which uses xdress locally.PyNE: This uses xdress to generate STL container wrappers.Bright: This uses xdress to automatically
wrap a suite of interacting C++ class.  This was the motivating use case for the
xdress project.TestingXDress has two major test types: unit tests which test library functionality and
integration tests which test the command line tool, the parsers, compilers, etc.
The unit tests are generally fast while the integration are slower.  From thetests/directory you may use nose to run the tests together or individually:# Go into the tests dir
$ cd tests

# Run just the unit tests
tests $ nosetests -a unit

# Run just the integration tests
tests $ nosetests -a integration

# Run all of the tests together
tests $ nosetestsNote that the integration tests require CMake in order to build the sample
projects.Contact UsIf you have questions or comments, please sign up for the the mailing list
athttps://groups.google.com/forum/#!forum/xdressand send an email toxdress@googlegroups.com. Alternatively, please contact the authors directly or
open an issue on GitHub.ContributingWe highly encourage contributions to xdress!  If you would like to contribute,
it is as easy as forking the repository on GitHub, making your changes, and
issuing a pull request.  If you have any questions about this process don’t
hesitate to ask the mailing list (xdress@googlegroups.com).Helpful LinksDocumentationMailing list websiteMailing list address
Package: xdrlib3
xdrlib3A forked version ofxdrlib, a module for encoding and decoding XDR (External Data Representation) data in Python.xdrlibis planned to be removed in Python 3.13 and later versions, therefore this fork has been created to add type hints and maintain compatibility with future versions of Python.InstallationYou can installxdrlib3using pip:pipinstallxdrlib3Usagexdrlib3has the same functions and methods asxdrlib. Here's an example of how to use it:importxdrlib3packer=xdrlib3.Packer()packer.pack_int(16)packed_data=packer.get_buffer()unpacker=xdrlib3.Unpacker(packed_data)unpacked_data=unpacker.unpack_int()Licensexdrlib3is a fork ofxdrlib, so please refer tothe LICENSE filefor the original code's licensing agreement, while other parts of the code are released under the MIT license.
Package: xdrone
This project is available onGithubandPypi.To UseRunpip install xdronefor to install the xdrone package.Then runxdrone [--validate | --simulate | --fly] --code <code_path> --config <config_path>to validate the code, simulate in the simulator, or fly real drones.Note that to run the simulation,xDroneWebSimulatormust be running on the localhost.Runxdrone --helpfor more information.To DevelopClone the Github repo for the source code.The terminal commands are similar as before, but withxdronereplaced bypython -m cmdline.xdrone, e.g.python -m cmdline.xdrone --helpLanguage SpecPlease readxDrone Spec.
Package: xdrparser
xdrparserCommand line tool to parse the .xdr files written to the history archive of a stellar-core and print their data as json.CompatibilityPython >= 3.4Tested on Linux, Mac OS, and Windows.InstallationFrom PyPI:pip install xdrparserFrom the repository:pip install git+git://github.com/kinecosystem/xdrparser#egg=xdrparserUsage$ xdrparser --help

Usage: xdrparser [OPTIONS] XDR_FILE

  Command line tool to parse Stellar's xdr history files.

Options:
  --with-hash        Calculate tx hashes, only for a 'transactions' xdr file,
                     must be used with --network-id
  --network-id TEXT  Network-id/network paraphrase, needed for --with-hash
  --indent INTEGER   Number of spaces to indent the json output with
  --help             Show this message and exit.
Package: xdrt
XDRT (XDR Tools)XDRT is a python toolkit to work with the XDR file format used e.g. by Elekta to store cone-beam CT images and as reconstructed by XVI.
The reading of.xvifiles is also supported, allowing to find the map the XDR file to the moment of acquistion
(which fraction, what type of scan).Free software: Apache Software License 2.0. Decompression library is public domain, but has a differentlicense.Documentation:https://docs.aiforoncology.nl/xdrt/.FeaturesUtilities to read (compressed) 3D and 4D XDR files in python.Ability to read XVI files and link planning scans with cone-beam CT scans.xdr2imgcommand line utility to convert xdr images to ITK supported formats.xvi2imgcommand line utility converts all fractions to ITK supported formats.How to useThe package needs to compile the decompression library, which can be done with:python setup.py installor withpip install git+https://github.com/NKI-AI/xdrt.gitor from PyPi usingpip install xdrt.The command line programxdr2img image.xdr image.nrrdconverts images from XDR
to any ITK supported format. For more details checkxdr2img --help.The command line programxvi2imgreads XVI files and combined with the XDR files, writes
to a new directory and image format. For more details checkxvi2img --help.Work in progressThis package is work in progress, if you have an image which is not properly parsed
byxdrt, create an issue with the image and expected output.The following is not yet supported:Origin is not yet always properly parsed.Onlyuniformgrids are currently supported.Protocol is not detected from the XVI file (e.g. 4D-CBCT + SBRT). Images in fraction are output consecutively.Create anissueif this is an urgent issue for you.
Package: xdserver
Durusis an object database for Python.  It allows multiple clients
to operate on a single database via a wire protocol, and allows one
process at a time to directly access a database file.xdserver is a client/server extension for Durus providing these
enhancements:Serve multiple databases with one server process.  Operate on
multiple databases with one connection.Asynchronous server, usingcogento offer platform-specific
performance enhancements.Adevelopment versionis available.
Package: xds-protos
Package “xds-protos” is a collection of ProtoBuf generated Python files for xDS protos (or thedata-plane-api). You can find the source code of this project ingrpc/grpc. For any question or suggestion, please post tohttps://github.com/grpc/grpc/issues.Each generated Python file can be imported according to their proto package. For example, if we are trying to import a proto located at “envoy/service/status/v3/csds.proto”, whose proto package is “package envoy.service.status.v3”, then we can import it as:# Import the message definitions
from envoy.service.status.v3 import csds_pb2
# Import the gRPC service and stub
from envoy.service.status.v3 import csds_pb2_grpc
Package: xdtransform
usage: xdtransform [-h] [-s SOURCE] [-d DESTINATION] -t TRANSFORM

optional arguments:
  -h, --help            show this help message and exit
  -s SOURCE, --source SOURCE
                        The source XML file (you can specify - to mean stdin)
  -d DESTINATION, --destination DESTINATION
                        The destination XML file (you can specify - to mean stdout)
  -t TRANSFORM, --transform TRANSFORM
                        The transformation XML file
Package: xdvtheme.inventions
xdv.inventions ver 1.0xdv.inventions is a plone look and feel customization using collective.xdv.DependenciesPlone 3.3rc5 or bigger. Tested with Plone 4.0b5.
xdv.inventions depends on collective.xdv To setup collective.xdv you can follow its instructions atpackage’s page.SetupAdd collective.xdv and install it on your plone site using quickinstaller.Add xdvtheme.inventions to your buildout:[buildout]
...
eggs =
    ...
    collective.inventions

[instance]
...
zcml =
    collective.inventionsRerun buildout and restart your Plone instance.Go to site setup, Theme transform, and fill the xdv form enabling it and to use the static resources. For example:Enabled: yes
Domains: www.mysite.com:port
Theme template: http://xxx.xx.xx.xxx:port/demo/static/index
Rules file: /absolute_path_to_instance/themes/rules.xmlwhere www.mysite.com are the domains which you’re going to use to access the site,http://xxx.xx.xx.xxxis the ip number of the site, or a file system path in your server to reach the file index.html. Click on save and if you access using www.mysite.com you should get the inventions look and feel customization.If you’re trying it locally, it could be something like:Domains: localhost:8080
Theme template: http://127.0.0.1:8080/MY-PLONE-SITE/index
Rules file: /PATH-TO-BOULDOUT-EGGS/xdvtheme.inventions/rules.xmlDocumentationhttp://plone.org/documentation/manual/theminghttp://pypi.python.org/pypi/collective.xdvCreditsinventions is a design made by sdworkz,http://www.oswd.org/user/profile/id/11103xdv.inventions is rewritten for xdv by Roberto Allende -rover@menttes.comcollective.xdv is developed by Martin AspeliCopyrightxdvtheme.inventions is copyright by Menttes and it’s published with GPLv2 Licence.This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston,
MA 02111-1307 USA.Changelog1.0dev (unreleased)Initial release
Package: xdvtheme.sparkling
xdvtheme.sparkling is a customized version of the Sparkling theme originally released by CSS Templates. For an example of this theme see:http://www.freecsstemplates.org/preview/sparkling/.In order to install this theme within your version of Plone you need to install collective.xdv.
Changelog
=========1.0-beta - Nov 22, 2010Initial release
Package: xdwarf
xdwarfMining XML to tabular data, FAAAAAASTInstallpipinstallxdwarfThe library is an wrapping onrust_dwarf, a rust based mining tool.Mining# finding in glob pattern, project name, use all - 2 CPUsdwarf=Dwarf.from_glob("../test/data/*.xml","PMC",-2)Define the mining detail as xpath query pattern, chaining multistage mining is well supported.dwarf.find_one('article-meta > article-id[pub-id-type=pmid]',"pmid")dwarf.find_one("abstract","abstract").find_many("p","paragraph")# mining stage can be chained to longer detialsreference=dwarf.find_one("ref-list","ref_list").find_many("ref","reference")reference.find_one("pub-id[pub-id-type=pmid]","ref_id")reference.find_one("pub-id[pub-id-type=doi]","doi")ref_name=reference.find_many("name","ref_name")ref_name.find_one("surname","ref_surname")dwarf.set_necessary("pmid")dwarf.create_children()Mining startresult=dwarf()See resultresult.child_df().head(2)See child resultresult['ref_list'].child_df().head()
Package: xdwlib
2023-08-30 HAYASHI Hideki <hideki@hayasix.com>Welcome to the xdwlib source releaseXdwlib is a DocuWorks library for Python.This document provides some general information about xdwlib source release.
Detailed description is available in docs/ only in Japanese at the moment.Report problems with this release to the author.LicenseCopyright (C) 2010 HAYASHI HidekiXdwlib is provided under The Zope Public License (ZPL) Version 2.1,
which is included in ‘LICENSE.rst’.  Send your feedback about the license
to the author.InstallationSystem RequirementsMicrosoft Windows (versions compatible with DocuWorks 7+)Python 3.7+DocuWorks 7+ (Japanese version; English version may also work)Install from archiveSet PATH environment variable properly and issue the following command:python3 setup.py installThis will install xdwlib in $PYTHONPATH/xdwlib.Install from PyPIXdwlib is also delivered via Python Package Index (PyPI).  The latest
version of xdwlib will be installed by issuing:pip3 install xdwlibIf you have installed older version of xdwlib already, try:pip3 install --upgrade xdwlibOptional ModulesPIL (Python Imaging Library)Xdwlib has been working with PIL (Python Imaging Library) if available,
to rotate pages for desired degrees other than right angles, and to copy
bitmap annotations.  Unfortunately the original PIL has not been ported
on Python 3 yet.There is an alternative library calledPillowwhich will be a good
substitution.  Install Pillow by issuing:pip3 install pillowcx_FreezeThe attached command line toolxdw2text.pycan be compiled to .exe
with cx_Freeze package, a popular successor of py2exe.  To build your
ownxdw2text.exe, try:pip3 install cx_Freeze
python3 cx_setup.py buildgoogle-cloud-visionNative OCR is not available in DocuWorks >=9.1, so xdwlib offers OCR
by Microsoft Azure AI Vision or Google Cloud Vision (credentials required
for the services).  To use Google Cloud Vision, install this module:pip3 install google-cloud-visionDocumentationDetailed documents are available in Japanese atRead the Docs.Python’s help() also gives brief descriptions in English.Typical UseThe following code will appy OCR and paste a date stamp on every page
as an annotation:import time

from xdwlib import xdwopen, Point

...

with xdwopen(PATHNAME, autosave=True) as doc:
    position = Point(pg.size - 100, pg.size - 20)
    datestamp = time.strftime("%Y-%m-%d")
    for pg in doc:
        pg.rotate(auto=True)
        pg.ocr(strategy="accuracy")
        ann = pg.add_text(position=position, text=datestamp)
        ann.fore_color = "red"Reporting bugsThe author appreciate bugs reports from you by email.Have fun!
Package: xdyna
xdynaTools to study beam dynamics in xtrack simulations, like dynamic aperture calculations, PYTHIA integration, dynamic indicators, ...Dynamic aperture studiesThexdynapackage provides theDAclass which serves as a simple front-end for setting up and running dynamic aperture studies.To start, axtrack.lineobject is required.
The following code then sets up the study and launches the trackingimportxdynaasxdda=xd.DA(name='name_of_your_study',# used to generate a directory where files are storednormalised_emittance=[1,1],# provide normalized emittance for particle initialization in [m]max_turns=1e5,# number of turns to trackuse_files=False# in case DA studies should run on HTC condor, files are used to collect the information# if the tracking is performed locally, no files are needed)# initialize a grid of particles using 5 angles in x-y space, in a range from 0 to 20 sigmas in steps of 5 sigma.da.generate_initial_radial(angles=5,r_min=0,r_max=20,r_step=5,delta=0.)da.line=line# associate prev. created line, holding the lattice and context, with DA objectda.track_job()# start the trackingda.survival_data# returns a dataframe with the number of survived turns for the initial position of each particleTo use on a platform like HTCondor, perform the same setup as before but usinguse_files=True.
Each HTCondor job then only requires the following linesimportxdynaasxd# This will load the existing DA based on the meta file with the same name found in the working directory.# If the script is ran somewhere else, the path to the metafile can be passed with 'path=...'.DA=xd.DA(name=study,use_files=True)# Do the tracking, here for 100 particles.# The code will automatically look for particles that are not-submitted yet and use these.DA.track_job(npart=100)