Saravanan666/pypi-org huggingface dataset:
Package: xbr
TheXBR Protocolenables secure peer-to-peer data-trading and -service microtransactions inOpen Data Marketsbetween multiple independent entities.XBR as a protocol sits on top ofWAMP, an open messaging middleware and service mesh technology,
and enables secure integration, trusted sharing and monetization of data and data-driven microservices
between different parties and users.The XBR Protocol specification is openly developed and freely usable.The protocol is implemented insmart contractswritten inSolidityand open-source licensed (Apache 2.0).
Smart contracts are designed to run on theEthereum blockchain.
All source code for the XBR smart contracts is developed and hosted in the
project mainGitHub repository.The XBR Protocol and reference documentation can be foundhere.Contract addressesContract addresses for local development on Ganache, using theexport XBR_HDWALLET_SEED="myth like bonus scare over problem client lizard pioneer submit female collect"which result in the following contract addresses (when the deployment is the very first transactions on Ganache):export XBR_DEBUG_TOKEN_ADDR=0xCfEB869F69431e42cdB54A4F4f105C19C080A601
export XBR_DEBUG_NETWORK_ADDR=0xC89Ce4735882C9F0f0FE26686c53074E09B0D550
export XBR_DEBUG_MARKET_ADDR=0x9561C133DD8580860B6b7E504bC5Aa500f0f06a7
export XBR_DEBUG_CATALOG_ADDR=0xD833215cBcc3f914bD1C9ece3EE7BF8B14f841bb
export XBR_DEBUG_CHANNEL_ADDR=0xe982E462b094850F12AF94d21D470e21bE9D0E9CApplication developmentThe XBR smart contracts primary build artifacts are thecontract ABIs JSON files.
The ABI files are built during compiling thecontract sources.
Technically, the ABI files are all you need to interact and talk to the XBR smart contracts deployed to a blockchain
from any (client side) language or run-time that supports Ethereum, such asweb3.jsorweb3.py.However, this approach (using the raw XBR ABI files directly from a “generic” Ethereum client library) can be cumbersome
and error prone to maintain. An alternative way is using a client library with built-in XBR support.The XBR project currently maintains the followingXBR-enabled client libraries:XBR (contract ABIs package)for PythonAutobahn|Pythonfor Python (uses the XBR package)Autobahn|JavaScriptfor JavaScript, in browser and NodeJSAutobahn|Java(beta XBR support) for Java on Android and Java 8 / NettyAutobahn|C++(XBR support planned) for C++ 11+ and Boost/ASIOXBR support can be added to anyWAMP client librarywith a language run-time that has packages for Ethereum application development.
Package: xbridge
xbridgeAn xrpc based tool for securely transmitting in a local networkCommand line UsageInstallsuggest usingpipxto install commandpipxinstallxbridge帮助xbridge[-h|--help]搜索服务xbridge-d启动服务xbridge[-c<config_dir>]<name>start<config_dir>是本地配置目录, 包含密钥和未结束的sessions. 默认路径$HOME/.xbridge<name>是建议的服务名, 实际服务名以启动后为准发起请求一般命令格式xbridge[-c<config_dir>]<name>request[<action><params...>[--with-files<files...>]]<name>可以是服务名, 也可以是[protocal://]ip:port格式字符串快捷子命令查看服务支持的所有请求xbridge<server>info# 等价于:xbridge<server>requestinfo发送文件:xbridge<server>send<files...># 等价于:xbridge<server>requestsend_files<files...>--with-files<files...>获取文件xbridge<server>get<files...># 等价于:xbridge<server>requestget_files<files...>列出文件xbridge<server>ls[<files...>]# 等价于:xbridge<server>requestlist_files[<files...>]断点继续xbridge[-c<config_dir>]<server>resume<session><msg_type>[<params...>[--with-files<files...>]]<msg_type>: reply/done/get_fileConfigurationconfiguration dir is by default located in$HOME/.xbridge/.
You can specify the dir by-c <config_dir>RSA keysrsa key用来表明自己的身份.prikey.pem私钥pubkey.pem公钥密钥会在首次使用时自动生成Permissions// permissions.json[{"client_hash":"xxxx","allow_connect":true,"always_allow_actions":{"send_files":true,"get_files":false,"list_files":true,}}]Sessions该目录用户存放所有未结束的sessions
Package: xbridge-cli
xbridge-cliInstallpipinstallxbridge-cliNOTE: if you're looking at the repo before it's published, this won't work. Instead, you'll do this:gitclonehttps://github.com/xpring-eng/xbridge-cli.gitcdxbridge-cli# install poetrycurl-sSLhttps://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py|python-
poetryinstall
poetryshellInstall rippled and the xbridge witness.rippled:https://xrpl.org/install-rippled.htmlwitness:https://github.com/seelabs/xbridge_witnessGet startedexportXCHAIN_CONFIG_DIR={filepathwhereyouwantyourconfigfilesstored}exportRIPPLED_EXE={rippledexefilepath}exportWITNESSD_EXE={witnessdexefilepath}./scripts/tutorial.shTo stop the servers:xbridge-cliserverstop--allUse Commandsxbridge-cli--helpEach subcommand also has a--helpflag, to tell you what fields you'll need.
Package: xbrl
Features(P0) Parse XBRL instance documents(P0) Parse XBRL linkbases(P2) Calculation linkbase(P2) Definition linkbase(P1) Label linkbase(P0) Presentation linkbase(P0) Parse XBRL schemasClassesXBRL InstanceDocumentclassXBRL(list):"""An XBRL instance document"""...FactclassFact(dict):"""An XBRL fact: concept, context, value"""...ConceptclassConcept(dict):"""An XBRL concept"""...ContextclassContext(dict):"""An XBRL context: company, segment, period"""...classPeriod(dict):"""An XBRL period: start date, end date"""...ValueclassValue(dict):"""An XBRL value: amount, unit"""...classUnit(dict):"""An XBRL unit"""...XBRL LinkbaseLinkbaseclassLinkbase(list):"""An XBRL linkbase"""...classCalculationLinkbase(Linkbase):"""An XBRL calculation linkbase"""...classDefinitionLinkbase(Linkbase):"""An XBRL definition linkbase"""...classLabelLinkbase(Linkbase):"""An XBRL label linkbase"""...classPresentationLinkbase(Linkbase):"""An XBRL Presentation linkbase"""...LinkclassLink(dict):"""An XBRL link"""...classCalculationLink(Link):"""An XBRL calculation link"""...classDefinitionLink(Link):"""An XBRL definition link"""...classLabelLink(Link):"""An XBRL label link"""...classPresentationLink(Link):"""An XBRL Presentation link"""...UsageXBRL Instancebrka=XBRL(file='brka-20151231.xml')brka=XBRL('BRKA',2015)brka=XBRL('BRKA',2015,'FY')brka=XBRL(file='brka-20160331.xml')brka=XBRL('BRKA',2016,'Q1')facts=list(brka)contexts=list(brka.contexts)units=list(brka.units)XBRL Linkbasebrka_cal=CalculationLinkbase(file='brka-20151231_cal.xml')brka_cal=CalculationLinkbase('BRKA',2015)brka_cal=CalculationLinkbase('BRKA',2015,'FY')brka_def=DefinitionLinkbase(file='brka-20151231_def.xml')brka_def=DefinitionLinkbase('BRKA',2015)brka_def=DefinitionLinkbase('BRKA',2015,'FY')brka_lab=LabelLinkbase(file='brka-20151231_lab.xml')brka_lab=LabelLinkbase('BRKA',2015)brka_lab=LabelLinkbase('BRKA',2015,'FY')brka_pre=PresentationLinkbase(file='brka-20151231_pre.xml')brka_pre=PresentationLinkbase('BRKA',2015)brka_pre=PresentationLinkbase('BRKA',2015,'FY')
Package: xbrl2rdf
xbrl2rdf> #### DISCLAIMER - BETA PHASE
> This XBRL to RDF parser is currently in a beta phase.
>Python package to convert XBRL instance and taxonomy files to RDFFree software: GNU GENERAL PUBLIC LICENSE, v2Documentation:https://xbrl2rdf.readthedocs.io.FeaturesHere is what the package does:
- convert XBRL instance file and related taxonomy files (schemas and linkbases) to RDF and RDF-starQuick overviewTo install the packagepip install xbrl2rdfHow to runTo parse an XBRL-instance file run in the root of the projectpython -m xbrl2rdf.xbrl2rdfCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2021-02-05)First release on PyPI.
Package: xbrl-filings-api
XBRL Filings APIPython API for filings.xbrl.org XBRL report repository.NoteThis library is still under development.The library is not connected to XBRL International.Table of ContentsInstallationLicenseInstallationpip install xbrl-filings-apiLicensexbrl-filings-apiis distributed under the terms of theMITlicense.
Package: xbrowser-automation
xbrowser_automationxbrowser guiInstallation & setupInstall PythonAs this is a Python package, please install a Python version first. We recommend to use our ownBENTELER Anaconda Installer, see some instructions in ourPython wikiInstallxbrowser_automationAfterwards you can install the package by opening thePython Command PromptorPython PowerShell Promptand typecondainstallxbrowser_automationUsageimportxbrowser_automationDevelopmentTo develop the package first install its dependencies. Open thePython Command PromptorPython PowerShell Promptand typecondainstall--filerequirements.txt--filerequirements_test.txt--filedocs/requirements_docs.txtTo make the package usable in you Python installation install it in--editablemode:pipinstall--no-deps--editable.
Package: xbrr
XBRR: eXtensible Business Report ReaderFeatures:API: Download the documents from official publication site.Reader: Extract contents from XBRL.Supported documents:JapanAPI:EDINETReader: Mainly supports annual reports disclosed on EDINET.AmericaAPI: Comming soonReader: Comming soonWe are welcome the contribution to support other countries API & Documents!Installpip install xbrrHow to use(Examples are Japanese EDINET API and annual report).1. APIDownload the documents fromEDINET.1.1 Get document list of specific dayimportxbrrdocuments=xbrr.edinet.api.documents.get("2019-01-31")print(f"Number of documents is{len(documents.list)}")print(f"Title of first document is{documents.list[0].title}")1.2 Get document by document idfrompathlibimportPathimportxbrrxbrl_path=xbrr.edinet.api.document.get_xbrl("S100FGR9",save_dir=Path.cwd())pdf_path=xbrr.edinet.api.document.get_pdf("S100FGR9",save_dir=Path.cwd())Each XBRL includes taxonomy information. If you want to deal with these files, execute the following.xbrl_dir=xbrr.edinet.api.document.get_xbrl("S100FGR9",save_dir=Path.cwd(),expand_level="dir")2. ReaderExtract contents from XBRL.xbrl=xbrr.edinet.reader.read("path/to/xbrl/file")content=xbrl.extract(xbrr.edinet.aspects.Business).policy_environment_issue_etc.valueExtract financial statements.xbrl_dir=xbrr.edinet.reader.read("path/to/xbrl/dir")xbrl_dir.extract(xbrr.edinet.aspects.Finance).bs.to_csv("bs.csv",index=False)Please refer to the supported aspects from the following links.EDINET
Package: xbrz.py
xbrz.pyxbrz.py is a simple ctypes-based binding library forxBRZ, a high-quality pixel-art image scaling algorithm.InstallationWheels are available for many platforms. If there isn't one for your platform, make sure you have a C++ compiler handy.pip install xbrz.pyUsageimportxbrz# pixels is a list of 32 bit ints representing RGBA colors.# It is 32 * 24 long.pixels=...scaled_pixels=xbrz.scale(pixels,6,32,24,xbrz.ColorFormat.RGBA)# scaled_pixels is a 32 * 24 * 6 ** 2 long list of 32 bit ints representing the scaled image.Wand / Pillow supportYou can pass a Wand image toxbrz.scale_wand(img, factor)or a Pillow image toxbrz.scale_pillow(img, factor).
Neither libraries are required to use xbrz.py, however they can be installed via:pip install xbrz.py[wand]
# or
pip install xbrz.py[pillow]xbrz.py as an executable modulePassing raw RGBA pixels topython3 -m xbrz <factor> <width> <height>via stdin will output scaled raw RGBA pixels to stdout.LicenseAGPLv3, see LICENSE.md. The original xBRZ code is GPLv3 licensed.lib/ is based on code provided by Zenju under the GPLv3 license. See lib/License.txt for details.
Some changes were made:Added someextern "C"declarations to the functions I intended to call from python.Removed some namespace use to avoid being mangled.Replaced a C++ template with a simple function that takes two arguments.Converted the library to use RGBA instead of ARGB.xbrz.py is based on lib/ and is released under the AGPLv3 license, see LICENSE.md for details.
Package: xbsryzmvon
Xbsryzmvon=================This API SDK was automatically generated by [APIMATIC Code Generator](https://apimatic.io/).This SDK uses the Requests library and will work for Python ```2 >=2.7.9``` and Python ```3 >=3.4```.How to configure:=================The generated code might need to be configured with your API credentials.To do that, open the file "Configuration.py" and edit its contents.How to resolve dependencies:===========================The generated code uses Python packages named requests, jsonpickle and dateutil.You can resolve these dependencies using pip ( https://pip.pypa.io/en/stable/ ).1. From terminal/cmd navigate to the root directory of the SDK.2. Invoke ```pip install -r requirements.txt```Note: You will need internet access for this step.How  to test:=============You can test the generated SDK and the server with automatically generated testcases. unittest is used as the testing framework and nose is used as the testrunner. You can run the tests as follows:1. From terminal/cmd navigate to the root directory of the SDK.2. Invoke ```pip install -r test-requirements.txt```3. Invoke ```nosetests```How to use:===========After having resolved the dependencies, you can easily use the SDK following these steps.1. Create a "xbsryzmvon_test.py" file in the root directory.2. Use any controller as follows:```pythonfrom __future__ import print_functionfrom xbsryzmvon.xbsryzmvon_client import XbsryzmvonClientapi_client = XbsryzmvonClient()controller = api_client.clientresponse = controller.get_basic_auth_test(<required parameters if any>)print(response)```
Package: xbstrap
xbstrap: Build system for OS distributionsxbstrap is a build system designed to build "distributions" consisting of multiple (usually many) packages.
It does not replace neithermakeandninjanorautoconf,automake,mesonorcmakeand similar utilities.
Instead, xbstrap is intended to invoke those build systems in the correct order, while respecting inter-package dependencies.Official Discord server:https://discord.gg/7WB6Ur3Installationxbstrap is available from PyPI. To install it using pip, use:pip3 install xbstrapBasic usageSee theboostrap-managarm repositoryfor an examplebootstrap.ymlfile.Installing all tools (that run on the build system) is done using:xbstrap install-tool --allInstalling all packages to a sysroot (of the host system):xbstrap install --allIt is often useful to rebuild specific packages. Rebuilding packagefoobarcan be done by:xbstrap install --rebuild foobarIf theconfigurescript shall be run again, use instead:xbstrap install --reconfigure foobarLocal developmentWhen developingxbstrap, you must install your local copy instead of the one provided by thepiprepositories. To do this, run:pip install --user -e .Development with DockerFor containerized builds, mostxbstrapcommands will run in two stages: once on the host, then again on the container to
actually execute the build steps. Therefore, installingxbstraplocally (as shown above) is not sufficient in this case.In addition, you must change yourDockerfileso that instead of grabbingxbstrapfrom thepiprepositories, it installs from the host:Add the following lines (replace/local-xbstrapat your convenience):ADDxbstrap/local-xbstrapRUNpip3install-e/local-xbstrapCopy or symlink your localxbstrapinto the same folder that contains theDockerfile, so that it can be accessed by the previous step.Rebuild the docker container as usual.Enabling the pre-commit hook for linting (optional)To avoid running into the CI complaining about formatting, linting can be done in a pre-commit hook. To enable this, run:git config core.hooksPath .githooks
Package: xbTools
About the xbeach-toolboxWelcome to the xbeach-toolbox!This package contains a set of general tools to setup and postprocess 1D and 2D XBeach models.The tools have been written in Python, please see the sections below for further instructions.Information about this package and its contents can also be viewed on:https://xbeach-toolbox.readthedocs.io/en/latest/Information about the use of the XBeach model itself can be found on:https://xbeach.readthedocs.io/en/latest/.Getting started / installationPip packages are hosted on the pypi server and can be installed as usual.Release notesReleasenotes0.0.1first release!0.0.2future contentUsage / examplesBasic examples have been added to the examples folder in the project.For both a 1D and 2D simulation these python notebooks show how the tools can be used to setup a model.Contributingfork, issue, branch, commit, review, approve, mergeContactMenno de Ridder -menno.deridder@deltares.nlCas van Bemmelen -cas.van.bemmelen@witteveenbos.com
Package: xbundle
xbundleconverts back and forth between OLX and “xbundle” style XML
formats. The xbundle format is a single XML file.The OLX format is defined inthis
documentation.Installationpython setup.py installThis will installxbundleand thexbundle_convertcommand-line
tool.Using xbundle in your codeTo convert from xbundle to OLXfromxbundleimportXBundlebundle=XBundle()# get input_path and output_path from user inputbundle.load(input_path)bundle.export_to_directory(output_path)To convert from OLX to xbundlefromxbundleimportXBundlebundle=XBundle()# get input_path and output_path from user inputbundle.import_from_directory(input_path)bundle.save(output_path)Using the command-line toolxbundle_convert convert /path/to/course /path/to/output.xmlorxbundle_convert convert /path/to/output.xml /path/to/courseRun testsxbundle_convert test
Package: xbus.broker
xbus.brokerxbus.broker is the central piece of the Xbus project.Related projects:xbus.file_emitter <https://bitbucket.org/xcg/xbus.file_emitter>xbus.monitor <https://bitbucket.org/xcg/xbus.monitor>xbus_monitor_js <https://bitbucket.org/xcg/xbus_monitor_js>xbus.clearinghouse <https://bitbucket.org/xcg/xbus.clearinghouse>XbusXbus is an Enterprise service bus. As such it aims to help IT departments
achieve a better application infrastructure layout by providing a way to
urbanize the IT systems.The goals of urbanization are:high coherencelow couplingMore information about Xbus:Documentation: <http://xbusbroker.readthedocs.org/>Website: <https://xbus.io/>InstallingGet requirements: python3-dev, 0mq, python3 and redis:$ sudo apt-get install libzmq3-dev python3 python3-dev redis-server virtualenvwrapperSet up a virtualenv with Python 3:$ mkvirtualenv -p /usr/bin/python3 xbusInstall the xbus.broker package:$ pip install xbus.brokerConfiguringCreate configuration files (eg for the 0.1.3 version):$ wget https://bitbucket.org/xcg/xbus.broker/raw/0.1.3/etc/config.ini-example -O config.ini
$ wget https://bitbucket.org/xcg/xbus.broker/raw/0.1.3/etc/logging.ini-example -O logging.iniEdit the files following comments written inside.
Note: Ensure the path to the logging file is an absolute path.Initialize the databaseRun the “setup_xbusbroker” program:$ setup_xbusbroker -c config.iniMigrating an existing databaseUse the “migrate_xbus_broker” project. Instructions are on
<https://bitbucket.org/xcg/migrate_xbus_broker/>.RunningRun the “start_xbusbroker” program:$ start_xbusbroker -c config.iniContributorsSorted by commit date:Florent Aide, <florent.aide@xcg-consulting.fr>Jérémie Gavrel, <jeremie.gavrel@xcg-consulting.fr>Houzéfa Abbasbhay, <houzefa.abba@xcg-consulting.fr>Alexandre Brun, <alexandre.brun@xcg-consulting.fr>Vincent Hatakeyama, <vincent.hatakeyama@xcg-consulting.fr>Patrice Journoud, <patrice.journoud@xcg-consulting.fr>Changelog0.2.0 (2016-06-27)Better message state tracking.Undelivered messages are re-sent when the recipient comes back.More logging.Documentation improvements.Upgrade step: Migrate the DB to version 1 using
<https://bitbucket.org/xcg/migrate_xbus_broker/>.0.1.5 (2015-05-25)Update requirements.0.1.4 (2015-05-18)Update the setup script wrt permission changes.Define required package versions in setup.py and document why some are
frozen.0.1.3 (2015-05-11)Improve the README and configuration file paths.0.1.2 Initial release (2015-05-11)Initial implementation of the Xbus broker in Python 3.
Package: xbus.file_emitter
xbus.file_emitterGeneric Xbus file emitter.XbusXbus is an Enterprise service bus. As such it aims to help IT departments
achieve a better application infrastructure layout by providing a way to
urbanize the IT systems.The goals of urbanization are:high coherencelow couplingMore information about Xbus:Documentation: <http://xbusbroker.readthedocs.org/>Website: <http://xbus.io/>Presentation: <http://bit.ly/1AYtQa6>Requirementspyjon.descriptors (directly from pypi)ContributorsSorted by commit date:Jérémie Gavrel, <jeremie.gavrel@xcg-consulting.fr>Houzéfa Abbasbhay, <houzefa.abba@xcg-consulting.fr>Florent Aide, <florent.aide@xcg-consulting.fr>Changelog0.1.2 (2015-05-12)Better release setup.0.1.1 Initial release (2015-05-12)Initial implementation of the Xbus file emitter.
Package: xbus.monitor
xbus.monitorThis package provides tools to monitor and administer Xbus <http://xbus.io>.The monitor serves a REST API; it also includes a backbone.js client app:xbus_monitor_js <https://bitbucket.org/xcg/xbus_monitor_js>: Single-page
JavaScript Backbone application that communicates with xbus.monitor via its
REST API.XbusXbus is an Enterprise service bus. As such it aims to help IT departments
achieve a better application infrastructure layout by providing a way to
urbanize the IT systems.The goals of urbanization are:high coherencelow couplingMore information about Xbus:Documentation: <http://xbusbroker.readthedocs.org/>Website: <http://xbus.io/>Presentation: <http://bit.ly/1AYtQa6>InstallingSet up a virtualenv:$ mkvirtualenv -p /usr/bin/python3 xbusInstall the xbus.monitor package:$ pip install xbus.monitorConfiguringFollow the xbus.broker README file to set it up.Xbus monitor settings are within the etc/production-example.ini file; grab it
from bitbucket (eg for the 0.1.2 version):$ wget https://bitbucket.org/xcg/xbus.monitor/raw/0.1.2/etc/production-example.ini -O monitor.iniEdit the file following comments written inside.Localization:Edit the “pyramid.default_locale_name” variable. Note: Only “en_US” and
“fr_FR” are supported for now.RunningRun as a regular Pyramid program:$ pserve monitor.iniRun testsnosetestsDevelopmentWhen running the monitor for development purposes, it is recommended to deactivate thecookie.secureoption in the configuration file:cookie.secure = falseGenerate the translation templatepip install Babel lingua
python setup.py extract_messagesOther translation tasksSee <http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/i18n.html>.python setup.py [init_catalog -l en_US] [update_catalog] [compile_catalog]Thanksxbus.monitor uses the following external projects; thanks a lot to their respective authors:pyramid <http://docs.pylonsproject.org/projects/pyramid/en/latest/>pyramid_httpauth <https://github.com/tarzanjw/pyramid_httpauth>ContributorsSorted by commit date:Jérémie Gavrel, <jeremie.gavrel@xcg-consulting.fr>Florent Aide, <florent.aide@xcg-consulting.fr>Houzéfa Abbasbhay, <houzefa.abba@xcg-consulting.fr>Alexandre Brun, <alexandre.brun@xcg-consulting.fr>Brendan Masson, <brendan.masson@xcg-consulting.fr>Changelog0.2.1 (2016-07-04)Fix inclusion of the monitor_js client-side app into the package.0.2.0 (2016-06-27)Add new consumer event type settings (related to optional data lookup” /
clearing features).Resolve aiozmq endpoints beforehand.Safer consumer getter.Log Xbus requests by default in the example configuration file.Simplified deployment; this application now includes a default client.Reworked the login system to apply on the whole client app instead of
triggering on specific JS requests.Adapt to message tracking changes done in xbus.broker.0.1.4 (2015-05-25)Event types: Allow setting the “immediate reply” flag.Update requirements.0.1.3 (2015-05-18)Define required package versions in setup.py and document why some are
frozen.0.1.2 Initial release (2015-05-12)Initial implementation of the Xbus monitor.