Saravanan666/pypi-org huggingface dataset:
Package: xstatic-angular-material
Angular-Material JavaScript and SCSS library packaged for setuptools
(easy_install) / pip.This package is intended to be used byanyproject that needs these files.It intentionally doesnotprovide any extra code except some metadatanorhas any extra requirements. You MAY use some minimal support code from
the XStatic base package, if you like.You can find more info about the xstatic packaging way in the packageXStatic.
Package: xstatic-angular-notify
XStatic-Angular-Notify--------------Angular-Notify JavaScript and SCSS library packaged for setuptools (easy_install) / pip.This package is intended to be used by **any** project that needs these files.It intentionally does **not** provide any extra code except some metadata**nor** has any extra requirements. You MAY use some minimal support code fromthe XStatic base package, if you like.You can find more info about the xstatic packaging way in the package `XStatic`.
Package: xstatic-angular-uuid
XStatic-Angular-UUID--------------Angular-UUID JavaScript library packaged for setuptools (easy_install) / pip.This package is intended to be used by **any** project that needs these files.It intentionally does **not** provide any extra code except some metadata**nor** has any extra requirements. You MAY use some minimal support code fromthe XStatic base package, if you like.You can find more info about the xstatic packaging way in the package `XStatic`.
Package: xstatic-angular-vis
XStatic-Angular-Vis--------------Angular-Vis JavaScript library packaged for setuptools (easy_install) / pip.This package is intended to be used by **any** project that needs these files.It intentionally does **not** provide any extra code except some metadata**nor** has any extra requirements. You MAY use some minimal support code fromthe XStatic base package, if you like.You can find more info about the xstatic packaging way in the package `XStatic`.
Package: xstatic-filesaver
XStatic-FileSaver--------------FileSaver JavaScript library packaged for setuptools (easy_install) / pip.This package is intended to be used by **any** project that needs these files.It intentionally does **not** provide any extra code except some metadata**nor** has any extra requirements. You MAY use some minimal support code fromthe XStatic base package, if you like.You can find more info about the xstatic packaging way in the package `XStatic`.
Package: xstatic-json2yaml
XStatic-Js2yaml--------------Js2yaml JavaScript library packaged for setuptools (easy_install) / pip.This package is intended to be used by **any** project that needs these files.It intentionally does **not** provide any extra code except some metadata**nor** has any extra requirements. You MAY use some minimal support code fromthe XStatic base package, if you like.You can find more info about the xstatic packaging way in the package `XStatic`.
Package: xstatic-js-yaml
XStatic-JS-Yaml--------------JS Yaml JavaScript library packaged for setuptools (easy_install) / pip.This package is intended to be used by **any** project that needs these files.It intentionally does **not** provide any extra code except some metadata**nor** has any extra requirements. You MAY use some minimal support code fromthe XStatic base package, if you like.You can find more info about the xstatic packaging way in the package `XStatic`.
Package: xstatic-release
Steps to release a packageFor a first release:pip install xstatic-release,Add “dist”, “.eggs” & “MANIFEST” to your .gitignoreFor every release:Update data and metadata in the xstatic/pkg/MODULE_NAMEtreeRunxstatic-releaseto updatesetup.cfg(and generate missing files
if needed)CommitSubmit to gerrit for reviewAfter the patch merges, git tag it withPACKAGE_VERSIONand push that tag
as perhttps://wiki.openstack.org/wiki/StableBranchRelease#TagRelease package with “python setup.py sdist”, “python setup.py bdist_wheel”Releases1.2.1 Fix incorrect use of PACKAGE_NAME vs NAME1.2.0 Remove use of setuptools_scm and revert to more typical xstatic setup.py1.1.3 Correct naming of summary -> description fields1.1.2 First usable public release
Package: xstatix
STATiX (Space and Time Algorithm for Transients in X-rays)The Space and Time Algorithm for Transients in X-rays (STATiX) builds upon
tools from the image and signal processing fields and in particular the
Multi-Scale Variance Stabilisation Transform
(Zhang et al. 2008;Starck et al. 2009)
to provide a complete detection analysis pipeline optimised for finding
transient sources on X-ray imaging observations. Unlike standard source
detection codes, STATiX operates on 3-dimensional data cubes with 2-spatial
and one temporal dimensions. It is therefore sensitive to short and faint
X-ray flares that may be hidden in the background once the data cube is
collapsed in time to produce 2-dimensional images. Although the algorithm
is motivated by transient source searches, it also provides a competitive tool
for the detection of the general, typically less variable, X-ray source
population present in X-ray observations. See Ruiz et al. 2023 (in preparation)
for a detailed explanation of the algorithm.STATiX is distributed as a Python package. The current implementation
only allows the processing of data for the XMM-Newton EPIC-pn camera. In the near
future we will extend the code for all XMM-Newton cameras. Upgrading the code
for other X-ray imaging missions is possible, but beyond our current capabilities.InstallationSTATix needs the following software and libraries for a correct installation:C/C++ compiler and makeCMakeCFITSIO(>V3.31)pkg-configIn Ubuntu (and other Debian based Linux distributions) these dependencies can be installed viaapt:sudo apt install gcc make cmake libcfitsio* pkg-configOnce these prerequisites are installed, STATiX can be easily installed usingpip:pip install xstatixAlthough the STATiX source detection pipeline does not need any additional software, some of its side functions related with XMM-Newton data manipulation need a working installation ofSAS. If all the initial data products are already available (images, data cubes, exposure maps, etc) SAS is not needed. Otherwise these products will be generated during running time if SAS is available. All SAS-related functions are in thexmmsasmodule.ExamplesWe provideJupyter notebooks and scriptswith examples on how to use STATiX
with XMM-Newton data.
Package: xstavka-parse-package
##Пакет для разбора таблиц со ставками с сайтаhttps://1xstavka.ru/При изменении структуры сайта может стать не актуальным*Данные сохраняются в html, затем парсятся в json##Пример использованияfrom xstavka_parse_package.parse import parse_list
if __name__ == '__main__':
    url_list = [
        r'https://1xstavka.ru/line/Volleyball/',
        r'https://1xstavka.ru/line/Football/',
        r'https://1xstavka.ru/line/Tennis/',
        r'https://1xstavka.ru/line/Ice-Hockey/',
    ]
    parse_list(url_list)##Установкаpip install xstavka_parse_packageЛицензияЛицензия MIT
Package: xsthunder-python-lib
personal python liblegacy python lib seexsthunder/python-lib-old: useful python pieces of codeTODO[x] fix three version replicates, inrebuild.cmd,x_lib.__init__,setup.py[x] create github repo[x] ex_command能用，默认目录就在jupyter目录下。即外部可以直接使用x_lib.common.ex_command[x] save_and_export_notebook使用了./就是本目录下要求一定有script；；解决方法是通过import而不是ex_command的方式保存文件[x] save_and_export_notebook使用了支持多级目录FeaturesFull test with traivis to make sure things are on rail.list of function seedocInstall and RunInstall viaxsthunder-python-lib · PyPIpip install xsthunder-python-liborpip install xsthunder-python-lib --userUse in Codeuse for singleipynbfileexport theipynbfilenbe=common.NBExporter()nbe('./pdb.ipynb',to='./')use for projcetclonexsthunder/jupyter_dev_templateDevelopmentEnvironment Setupfor condadepsnot alldepsare necessary. only ipython are set in thesetup.py/deps.x_lib.commonsupports dynamic import. feel free to import.to import other modules, please install corresponding deps first or you may come across error.It's recommanded to install all packages listed increate-env.shRefdeployment - How can I use setuptools to generate a console_scripts entry point which callspython -m mypackage? - Stack OverflowPackaging Python Projects — Python Packaging User Guidenotebook2scriptfromcourse-v3/nbs/dl2 at master · fastai/course-v3
Package: xstr
xstrNew python3 strings just dropped.Installationpip3installxstrfromxstrimportustrfromxtrimportdstrfromxstrimporthstrorimportxstrorimporthstr# import dstr# import ustrHypenString  --    hstr()fromxstrimporthstrx=hstr('hello new world and all who inhabit it.')print(x)# hello-new-world-and-all-who-inhabit-it.print(x.original())# hello new world and all who inhabit it.outputhello-new-world-and-all-who-inhabit-it.hello new world and all who inhabit it.DotString   --  dstr()fromxstrimportdstrx=dstr('hello new world and all who inhabit it.')print(x)# hello.new.world.and.all.who.inhabit.it.print(x.original())# hello new world and all who inhabit it.outputhello.new.world.and.all.who.inhabit.it.hello new world and all who inhabit it.UnderlineString --  ustr()fromxstrimportustrx=ustr('hello new world and all who inhabit it.')print(x)# hello_new_world_and_all_who_inhabit_it.print(x.original())# hello new world and all who inhabit it.outputhello_new_world_and_all_who_inhabit_it.hello new world and all who inhabit it.
Package: xstr-donaldguiles
xstrNew python3 strings just dropped.Installationcd<project>
https://github.com/Donny-GUI/xstr.gitfromxstrimportustrfromxtrimportdstrfromxstrimporthstrorimportxstrorimporthstr# import dstr# import ustrHypenString  --    hstr()fromxstrimporthstrx=hstr('hello new world and all who inhabit it.')print(x)# hello-new-world-and-all-who-inhabit-it.print(x.original())# hello new world and all who inhabit it.outputhello-new-world-and-all-who-inhabit-it.hello new world and all who inhabit it.DotString   --  dstr()fromxstrimportdstrx=dstr('hello new world and all who inhabit it.')print(x)# hello.new.world.and.all.who.inhabit.it.print(x.original())# hello new world and all who inhabit it.outputhello.new.world.and.all.who.inhabit.it.hello new world and all who inhabit it.UnderlineString --  ustr()fromxstrimportustrx=ustr('hello new world and all who inhabit it.')print(x)# hello_new_world_and_all_who_inhabit_it.print(x.original())# hello new world and all who inhabit it.outputhello_new_world_and_all_who_inhabit_it.hello new world and all who inhabit it.
Package: xstruct
xstructThis module provides a solution to serialize, deserialize and represent
packed binary data in a declarative manner. It is built on top and
extends the capabilities of the standardstructmodule while
presenting an higher-level object oriented interface similar to that of
the familiar@dataclassdecorator. It has optional support for
embedded BSON data structures.Now available onPyPIandGitHubInstallationThe following command should work on most systems:$pipinstallxstructUsageThis module provides a class decorator with an interface similar todataclasses.dataclass.Basic usagefromxstructimportstruct,UInt16,Big@struct(endianess=Big)classUDPHeader:src_port:UInt16dst_port:UInt16length:UInt16checksum:UInt16xstructprovides pseudo-types for common signed and unsigned integer
sizes, IEEE-754 floating point numbers, NUL terminated strings and
optionally BSON documents.Struct objects can be created by decoding binary data from abytes-like object...>>>UDPHeader.unpack(b"\x00\x001\x00\x00\x00{\x00\x00\x00L\x00\x00\x00\x00")UDPHeader(src_port=8241,dst_port=123,length=76,checksum=0)...or through the generated constructor, and can be serialized back to
binary data.>>>UDPHeader(src_port=8241,dst_port=123,length=76,checksum=0).pack()b'\x00\x001\x00\x00\x00{\x00\x00\x00L\x00\x00\x00\x00'Optional membersDefault values can be specified for members at the tail end of a struct.fromxstructimportstruct,Int32,Little@struct(endianess=Little)classSecondsOptional:member1:Int32member2:Int32=0If a buffer ends prematurely during decoding, default values are used in
place of missing struct members.>>>SecondsOptional.decode(b"*\0\0\0")SecondsOptional(member1=42,member2=0)Members with a default value can also be omitted when creating a struct
through the generated constructor.>>>SecondsOptional(42)SecondsOptional(member1=42,member2=0)Struct inclusionStructs can include other structsfromxstructimportstruct,Int32,Int64,CString,Big@struct(endianess=Big)classHeader:src:Int32msg_type:Int32upd_time:Int64@struct(endianess=Big)classMessage:header:Headermsg:CStringEncoding and decodingMessagewill work as expected.Struct endianessThe endianess of the numeric members of the struct can optionally be
selected by providing theendianessargument to thestructdecorator. Valid options areLittle,BigandNative. When left
unspecified, endianess defaults toNative.Future workAs of now, this library is fairly complete and in an usable state.
Future work could add support for:Decoding network addresses (IPv4, IPv6, MAC) to stringsPascal stringsArraysFixed width embedded binary payloadsTail end paddingDecoding total struct size from/to designated member
Package: xs-turtle
📦 setup.py (for humans)This repo exists to providean example setup.pyfile, that can be used
to bootstrap your next Python project. It includes some advanced
patterns and best practices forsetup.py, as well as some
commented–out nice–to–haves.For example, thissetup.pyprovides a$ python setup.py uploadcommand, which creates auniversal wheel(andsdist) and uploads
your package toPyPiusingTwine, without the need for an annoyingsetup.cfgfile. It also creates/uploads a new git tag, automatically.In short,setup.pyfiles can be daunting to approach, when first
starting out — even Guido has been heard saying, "everyone cargo cults
thems". It's true — so, I want this repo to be the best place to
copy–paste from :)Check out the example!Installationcdyour_project# Download the setup.py file:#  download with wgetwgethttps://raw.githubusercontent.com/navdeep-G/setup.py/master/setup.py-Osetup.py#  download with curlcurl-Ohttps://raw.githubusercontent.com/navdeep-G/setup.py/master/setup.pyTo DoTests via$ setup.py test(if it's concise).Pull requests are encouraged!More ResourcesWhat is setup.py?on Stack OverflowOfficial Python Packaging User GuideThe Hitchhiker's Guide to PackagingCookiecutter template for a Python packageLicenseThis is free and unencumbered software released into the public domain.Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any means.
Package: xswem
XSWEMA simple and explainable deep learning model for NLP implemented in TensorFlow.Based on SWEM-max as proposed by Shen et al. inBaseline Needs More Love: On Simple Word-Embedding-Based Models and Associated Pooling Mechanisms, 2018.This package is currently in development. The purpose of this package is to make it easy to train and explain SWEM-max.You can find demos of the functionality we have implemented in thenotebooksdirectory of the package. Each notebook has a badge that allows you to run it yourself in Google Colab. We will add more notebooks as new functionality is added.For a demo of how to train a basic SWEM-max model seetrain_xswem.ipynb.Local ExplanationsWe are currently implementing some methods we have developed for local explanations.local_explain_most_salient_wordsSo far we have only implemented the local_explain_most_salient_words method. This method extracts the words the model has learnt as most salient from a given input sentence. Below we show an example of this method using a sample from theag_newsdataset. This method is explained in more detail in thelocal_explain_most_salient_words.ipynbnotebook.Global ExplanationsWe have implemented the global explainability method proposed in section 4.1.1 of the original paper. You can see a demo of this method in the notebookglobal_explain_embedding_components.ipynb.How to installThis package is hosted onPyPIand can be installed using pip.pip install xswem
Package: xsync
XsyncA set of tools to create hybrid sync/async interfaces.CPython versions 3.7 through 3.11-dev and PyPy versions 3.7 through 3.9 are officially supported.Windows, MacOS, and Linux are all supported.What doesXsyncdo?Xsyncallows developers to create dynamic interfaces which can be run in sync or async contexts.In simple terms, it makes this possible:result=my_function()result=awaitmy_function()How neat is that?!UsageThe above behaviour can be achieved with theas_hybriddecorator:@xsync.as_hybrid()defmy_function():...This setsmy_functionup as a "hybrid callable", which is capable of being run both synchronously and asynchronously.
However, we also need to set an async implementation formy_functionfor it to work.
We can do this using theset_async_impldecorator:@xsync.set_async_impl(my_function)asyncdefmy_async_function():...Doing this tellsXsyncto run this function instead ofmy_functionwhen awaiting:my_function()# runs as normalawaitmy_function()# calls `my_async_function` insteadDon't worry,my_async_functioncan still be run directly, as you'd expect.It also works on methods, class methods, and static methods:classMyClass:@xsync.as_hybrid()defmy_method(self):...@xsync.set_async_impl(my_method)asyncdefmy_async_method(self):...@classmethod@xsync.as_hybrid()defmy_class_method(cls):...@classmethod@xsync.set_async_impl(my_class_method)asyncdefmy_async_class_method(cls):...@staticmethod@xsync.as_hybrid()defmy_static_method(cls):...@staticmethod@xsync.set_async_impl(my_static_method)asyncdefmy_async_static_method(cls):...The above is the newer (and better) of two available implementations.View the old implementationThe above behaviour can be achieved with themaybe_asyncdecorator:@xsync.maybe_async()defmy_function():...This setsmy_functionup as a "hybrid callable", which is capable of being run both synchronously and asynchronously.
However, we also need to set an async implementation formy_functionfor it to work.
We can do this by creating another function of the same name, but with an_async_prefix:asyncdef_async_my_function():...Xsyncsearches for a function with the name of the original function prefixed by_async_at runtime, and runs this instead when awaiting:my_function()# runs as normalawaitmy_function()# calls `_async_my_function` insteadIt also works on methods and class methods:classMyClass:@xsync.maybe_async()defmy_method(self):...asyncdef_async_my_method(self):...@classmethod@xsync.maybe_async()defmy_class_method(cls):...@classmethodasyncdef_async_my_class_method(cls):...This implementation does not work with static methods.ContributingContributions are very much welcome! To get started:Familiarise yourself with thecode of conductHave a look at thecontributing guideLicenseTheXsyncmodule for Python is licensed under theBSD 3-Clause License.
Package: xsystem
Regex-learnerThis project provides a tool/library implementing an automated regular expression building mechanism.This project takes inspiration on the paper from Ilyas, et al [1]Ilyas, Andrew, M. F. da Trindade, Joana, Castro Fernandez, Raul and Madden, Samuel. 2018. "Extracting Syntactical Patterns from Databases."This repository contains code and examples to assist in the exeuction of regular expression learning from the columns of data.This is a basic readme. It will be completed as the prototype grows.Examples of usageExample of learning a date pattern from 100 examples of randomly sampled dates in the format DD-MM-YYYY.fromxsystemimportXTructurefromfakerimportFakerfake=Faker()x=XTructure()# Create basic XTructure classfor_inrange(100):d=fake.date(pattern=r"%d-%m-%Y")# Create example of data - date in the format DD-MM-YYYYx.learn_new_word(d)# Add example to XSystem and learn new featuresprint(str(x))# ([0312][0-9])(-)([01][891652073])(-)([21][09][078912][0-9])Similary, the tool can be used directly from the command line using theregex-learnerCLI provided by the installation of the package.The tool has several options, as described by the help message:> regex-learner -h
usage: regex-learner [-h] [-i INPUT] [-o OUTPUT] [--max-branch MAX_BRANCH] [--alpha ALPHA] [--branch-threshold BRANCH_THRESHOLD]

A simple tool to learn human readable a regular expression from examples

options:
  -h, --help            show this help message and exit
  -i INPUT, --input INPUT
                        Path to the input source, defaults to stdin
  -o OUTPUT, --output OUTPUT
                        Path to the output file, defaults to stdout
  --max-branch MAX_BRANCH
                        Maximum number of branches allowed, defaults to 8
  --alpha ALPHA         Weight for fitting tuples, defaults to 1/5
  --branch-threshold BRANCH_THRESHOLD
                        Branching threshold, defaults to 0.85, relative to the fitting score alphaAssuming a data file containing the examples to learn from is calledEXAMPLE_FILE, and assuming one is interested in a very simple regular expression, the tool can be used as follows:catEXAMPLE_FILE|regex-learner--max-branch2NoteNote that this project is not based on the actual implementation of the paper as presented in [2]ReferencesIlyas, Andrew, et al. "Extracting syntactical patterns from databases." 2018 IEEE 34th International Conference on Data Engineering (ICDE). IEEE, 2018.https://github.com/mitdbg/XSystem
Package: xt
[![Build Status](https://travis-ci.org/mapbox/xt.svg?branch=master)](https://travis-ci.org/mapbox/xt) [![Coverage Status](https://coveralls.io/repos/github/mapbox/xt/badge.svg?branch=master)](https://coveralls.io/github/mapbox/xt?branch=master)Automatically convert a stream of tile coordinates to another formatz/x/y | z-x-y==>[x, y, z][x, y, z]==>z/x/y|z-x-y|z?x?y -d ?Installation` pip install xt `Or to develop:` git@github.com:mapbox/xt.git && cd xt && pip install-e'.[test]'`ExamplesTile URL to [mercantile](https://github.com/mapbox/mercantile)[x, y, z]` » echohttps://map.s/17/20971/5051.png| xt [20971, 50651, 17] `mercantile toz/x/y` » echo '[0, 0, 0]' | xt 0/0/0 `mercantile toz-x-y` » echo '[100, 100, 100]' | xt-d-100-100-100`roundtripping` » pbpaste | xt | xt-d- | xt | xt | xt | xt-d| xt | xt 17/20972/50653 `Using mercantile to generate tile urls from a parent tile:` » echo '[0, 0, 0]' | mercantile children--depth2 | xt | awk '{print"https://map.s/"$NF".png"}'https://map.s/2/0/0.pnghttps://map.s/2/1/0.pnghttps://map.s/2/1/1.pnghttps://map.s/2/0/1.pnghttps://map.s/2/2/0.pnghttps://map.s/2/3/0.pnghttps://map.s/2/3/1.pnghttps://map.s/2/2/1.pnghttps://map.s/2/2/2.pnghttps://map.s/2/3/2.pnghttps://map.s/2/3/3.pnghttps://map.s/2/2/3.pnghttps://map.s/2/0/2.pnghttps://map.s/2/1/2.pnghttps://map.s/2/1/3.pnghttps://map.s/2/0/3.png`