Saravanan666/pypi-org huggingface dataset:
Package: xmptools
XMP ToolsThis package provides basic XMP support forRDFLib,
including parsing, modification, and serialization. XMP is Adobe's metadata format, based on
RDF. Trivially, XMP metadata is RDF serialized asRDF/XML,
"wrapped" within a special XML element.Adobe's XMP documentationcan be found hereandhere.Unit tests with incomplete coverage are provided, as well as somedocumentationand examples.The parser and the serializer are implemented as RDFLib plugins. Because of limited
extensibility of RDFLib, we have copied some methods from RDFLib and modified them. The plugins
register themselves asformat="xmp". Normally, you do not have to know this, as we provide
convenience functionality for reading and writing XMP (see below).Future plansMake the embedded metadata support more "robust". Writing of embedded metadata is not in the
plans, at least for now.ContactAuthor: Ora Lassilaora@somanyaircraft.comCopyright (c) 2021-2022 Ora Lassila andSo Many Aircraft
Package: xmpush-python
# xmpush-python
Apython3library forked from [Xiaomi push python SDK](https://dev.mi.com/mipush/downpage/python.html)
The main purpose is to support distribute this SDK via PyPI.## Latest changes
- Initial version and no changes at all.## Install`bash pip installxmpush-python`or download from [here](https://github.com/ULHI-xin/xmpush-python/releases/download/0.0.2/xmpush-python-1.0.3.tar.gz)
then run`bash pip installxmpush-python-1.0.3.tar.gz(Supposexmpush-python-1.0.3.tar.gzis the local file downloaded) `## Licence
Apache 2.0
The original SDK by Xiaomi is developed underApache Software Licenseand it’s not modified.
I cannot find any license declaration in the original copy of code.
Package: xmq-python
Message Queue Client for Python生成安装包参考https://packaging.python.org/tutorials/packaging-projects/升级安装必要工具python3-mpipinstall--upgradebuildpython3-mpipinstall--user--upgradetwine生成安装包python3-mbuild上传安装包python3-mtwineupload--repository-urlhttps://<私有镜像地址>dist/*默认上传到https://pypi.orgpython3-mtwineuploaddist/*使用安装包installpip3installxmq-python发送消息fromxmq_python.producerimportProducerproducer=Producer(mq_type='AMQO',host='',port=0,access_key='',access_secret='',timeout=None,max_message_size=None,username='',password='',virtual_host='',instance_id='')producer.start()producer.Publish('order','demand',{"id":123,"name":"neil"})producer.stop()接收消息fromxmq_python.consumerimportConsumerimporttimedefcallback(message):print("Got message: ",message)returnTrueconsumer=Consumer(mq_type='AMQO',consumer_group_name='',host='',port=0,access_key='',access_secret='',timeout=None,max_message_size='',username='',password='',virtual_host='',instance_id='')consumer.Register("order","demand",callback)consumer.start()time.sleep(100)consumer.stop()
Package: xmrig-auto-throttler
xmrig auto throttlerThis program automatically throttles xmrig when you start using your computer and stops throttling when you become idle again. It does so by defining two profiles, which are two config.json's, one for the minimum load situation, one for the maximum load situation.InstallationArch Linux (or other arch-derivatives like Manjaro, etc...)sudopacman-Sxprintidle
pip3installxmrig-auto-throttlerUbuntu (or other Debian based distros)sudoapt-getinstallxprintidle
pip3installxmrig-auto-throttlerWindowsComing soonDonatePlease consider a donation if you find this program useful.
Package: xmutant
This package provides a byte-code based mutation analysis framework for Python. It computes the mutation score (The quality score) of your doctests. Bytecode based mutation analysis ensures that invalid mutants are completely avoided (unlike source code based mutants), and also that trivial redundant and equivalent mutants (that can be distinguished by compiler) are already removed.  It uses coverage analysis to ensure that only covered mutants that have a chance to be detected are run. It also includes randomized evaluation of equivalent mutants (use -a to set the number of attempts to be made).Compatibility-------------It was tested on Python 3.6To run------python xmutant.py -a <attempts> <module to be tested>Mutation Operators (on bytecode)--------------------------------- modify constants- replace boolean comparators (< <= == != > >=)- replace arithmetic operators (+ - * / // ./. ** % << >> ^)- remove unary negation and invert- invert unary signs- swap 'and' and 'or' in boolean expressions- swap inplace 'and' and 'or' in assignments- swap 'jump if * or pop' and 'jump if * and pop'- swap 'pop if true' and 'pop if false'
Package: xmuznlwtyr
Xmuznlwtyr=================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 "xmuznlwtyr_test.py" file in the root directory.2. Use any controller as follows:```pythonfrom __future__ import print_functionfrom xmuznlwtyr.xmuznlwtyr_client import XmuznlwtyrClientapi_client = XmuznlwtyrClient()controller = api_client.clientresponse = controller.get_basic_auth_test(<required parameters if any>)print(response)```
Package: xnat
A new XNAT client that exposes XNAT objects/functions as python
objects/functions. The aim is to abstract as much of the REST API
away as possible and make xnatpy feel like native Python code. This
reduces the need for the user to know the details of the REST API.
Low level functionality can still be accessed via the connection object
which hasget,head,put,post,deletemethods for more
directly calling the REST API.DisclaimerThis is NOT pyxnat, but a new module which uses a
different philosophy for the user interface. Pyxnat is located at:https://pythonhosted.org/pyxnat/Getting startedTo install just use the setup.py normally:python setup.py installor install directly using pip:pip install xnatTo get started, create a connection and start querying:>>> import xnat
>>> session = xnat.connect('https://central.xnat.org', user="", password="")
>>> session.projects['Sample_DICOM'].subjectswhen using IPython most functionality can be figured out by looking at the
available attributes/methods of the returned objects.CredentialsTo store credentials this module uses the .netrc file. This file contains login
information and should be accessible ONLY by the user (if not, the module with
throw an error to let you know the file is unsafe).DocumentationThe official documentation can be found atxnat.readthedocs.orgThis documentation is a stub, but shows the classes and methods available.StatusCurrently we have basic support for almost all data on XNAT servers. Also it is
possible to import data via the import service (upload a zip file). There is
also some support for working with the prearchive (reading, moving, deleting and
archiving).Any function not exposed by the object-oriented API of xnatpy, but exposed in the
XNAT REST API can be called via the generic get/put/post methods in the session
object.There is at the moment still a lack of proper tests in the code base and the documentation
is somewhat sparse, this is a known limitation and can hopefully be addressed in the future.
Package: xnat-access
XNAT AccessThin XNAT REST API wrapper for Python 3 requests.Installationpip3install--userxnat-accessUsagefromxnat_accessimportXNATClientxnat=XNATClient('https://example.com/xnat','USERNAME','PASSWORD')url='projects/PROJECT/subjects/SUBJECT/experiments/EXPERIMENT/scans'scans=xnat.get_result(url)print(scans)# all functions# --------------------# xnat.get_request# xnat.get_json# xnat.get_result# xnat.get_file# xnat.download_file# xnat.put_request# xnat.upload_file# xnat.delete_request# xnat.open_session# xnat.close_session# xnat.session_is_open
Package: xnatclient
XNAT Python clientPython Boilerplate contains all the boilerplate you need to create a Python package.Free software: MIT licenseDocumentation:https://xnatclient.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2021-09-27)First release on PyPI.
Package: xnatio
# xnatio
xnatio, which runs inside the of jupyter notebook, is a program designed for gathering and presenting useful summary statistics from the [XNAT](https://xnat.org) database. My vision for the project is that it will be highly customizable, allowing users to interface with data of any xsi:type–even if xnatio does not understand what that data represents. There will also be a range of pre-selected queries to generate useful information.I am completing this project during my employment as a summer student in the Neuroinformatics Research Group at Washington University in St. Louis.
Package: xnatpytools
XnatPy ToolsCollection of XPython tools for working with XNATFree software: MIT licenseDocumentation:https://xnatpytools.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2020-12-23)First release on PyPI.
Package: xnbs
nlitDeveloper GuideSetup# create conda environment$mambaenvcreate-fenv.yml# update conda environment$mambaenvupdate-nnlit--fileenv.ymlInstallpipinstall-e.# install from pypipipinstallnlitnbdev# activate conda environment$condaactivatenlit# make sure the nlit package is installed in development mode$pipinstall-e.# make changes under nbs/ directory# ...# compile to have changes apply to the nlit package$nbdev_preparePublishing# publish to pypi$nbdev_pypi# publish to conda$nbdev_conda--build_args'-c conda-forge'$nbdev_conda--mambabuild--build_args'-c conda-forge -c dsm-72'UsageInstallationInstall latest from the GitHubrepository:$pipinstallgit+https://github.com/dsm-72/nlit.gitor fromconda$condainstall-cdsm-72nlitor frompypi$pipinstallnlitDocumentationDocumentation can be found hosted on GitHubrepositorypages. Additionally you can find
package manager specific guidelines oncondaandpypirespectively.
Package: xnbtd
xNBTDxNBTD est une application de gestion pour entreprise de livraison.
Elle facilite la gestion des tournées et des plannings.ExigencesPython 3.xDjango 3.xUn serveur web pour héberger l'applicationInstallationPour installer xNBTD, suivez ces étapes (pour les systèmes Linux) :Créez le répertoire :mkdir /opt/eldertekAccédez au répertoire :cd /opt/eldertekClonez le dépôt :git clone https://github.com/eldertek/xnbtd && cd xnbtdInstallez Poetry :make install-poetryInstallez xnbtd :make installVoilà ! Vous devez maintenant déployer l'application.Vous devez ensuite la déployer, voir ci-dessous.DéploiementPour déployer xNBTD dans un environnement de production, suivez ces étapes :Installez un serveur web prêt pour la production, tel que Nginx ou Apache.Configurez le serveur web pour servir l'application Django.Utilisez un gestionnaire de processus, tel que Gunicorn ou uWSGI, pour exécuter l'application Django.ContributionNous accueillons les contributions à xNBTD ! Si vous souhaitez contribuer, veuillez suivre ces étapes :Fork le dépôtCréez une nouvelle branche pour vos modificationsEffectuez vos modifications et poussez-les vers votre forkSoumettez une pull request pour examenSupportSi vous avez besoin d'aide avec xNBTD, veuillez ouvrir une issue sur le dépôt. Nous ferons de notre mieux pour vous aider.Droits d'auteur (c) 2023 André Théo LAURET - Tous droits réservés
Package: xncml
# xncml![Read the Docs](https://img.shields.io/readthedocs/xncml)
![PyPI](https://img.shields.io/pypi/v/xncml)Tools for opening and manipulating NcML (NetCDF Markup Language) files with/for xarray.These tools allow you to modify NcML by:Adding or removing global attributesAdding or removing variable attributesRemoving variables and dimensionsand read NcML files intoxarray.Datasetobjects:`python import xncml ds =xncml.open_ncml("large_ensemble.ncml")`See [documentation] for more information.## Installationxncml can be installed from PyPI with pip:`bash pip install xncml `[documentation]:https://xncml.readthedocs.io
Package: xnd
OverviewThexndmodule implements a container type that maps most Python values
relevant for scientific computing directly to typed memory.Whenever possible, a single, pointer-free memory block is used.xndsupports ragged arrays, categorical types, indexing, slicing, aligned
memory blocks and type inference.Operations like indexing and slicing return zero-copy typed views on the data.Importing PEP-3118 buffers is supported.Linkshttps://github.com/plures/http://ndtypes.readthedocs.io/en/latest/http://xnd.readthedocs.io/en/latest/
Package: xnemogcm
xnemogcmInterface to open NEMO ocean global circulation model output dataset and create a xgcm grid.
NEMO 3.6, 4.0, and 4.2.0 are tested and supported. Any version between 3.6 and 4.2.0 should work,
but in case of trouble,please open an issue.UsagefrompathlibimportPathfromxnemogcmimportopen_nemo_and_domain_cfgds=open_nemo_and_domain_cfg(nemo_files='/path/to/output/files',domcfg_files='/path/to/domain_cfg/mesh_mask/files')# Interface with xgcmfromxnemogcmimportget_metricsimportxgcmgrid=xgcm.Grid(ds,metrics=get_metrics(ds),periodic=False)See theexampledirectory for some jupyter notebook examples.
xnemocgm is able to process xarray.Datasets (e.g. they could be retrieved from a remote server),
and can get information of the variables grid points with multiple options
(seeexample/open_process_files.ipynb.Notexnemogcmis capable or recombining the domain_cfg and mesh_mask files output
by multiple processors,
the recombining tool from the NEMO toolbox is thus not needed here, see
theexample/recombing_mesh_mask_domain_cfg.ipynbInstallationInstallation via pip:pip3installxnemogcmInstallation via conda:condainstall-cconda-forgexnemogcmRequirements for devWe usepoetryto set up a virtual environment containing all
needed packages to run xnemogcm and the tests.
To install all the dependencies, typepoetry install --with test,devafter cloning the directory. This will create a new virtual environment.
Typingpoetry shellin the package directory will activate the virtual environment.About test dataTest data are based on the GYRE configuration, and produced by another repository:rcaneill/xnemogcm_test_data.
Testing is built in a way that it is quite easy to add other nemo version to test.About notebooks examplesSources for the notebooks are located insrc_example. This is where to add / modify the
examples. A github action is set to automatically build the notebook according to
the latest version of the code, and publish them toexamplewhen commiting to master branch.What's newv0.4.2 (2023-08-07)Allow additional dimension names occurring when variables on inner grid are diagnosed, e.g.x_grid_U_innerorx_grid_U.Add coordinates into the DataArraysAdd some standard names and units in domcfgv0.4.1 (2023-03-29)Allow to open files if time bounds are missingMinor bug correction for nemo 3.6Add nemo 3.6 and 4.2.0 test dataUpdate code to support nemo 3.6 and 4.2.0v0.4.0 (2022-12-08)Optimize speedAdd option to decode grid type from attributesShift from pipenv and setupy.py to poetryRefactor data test to allow testing of multiple version of NEMOv0.3.4 (2021-06-15)Adding some exampleBug fixesAdd option to compute extra scale factorsv0.3.2 - v0.3.3 (2021-05-05)By default adds the lat/lon/depth variables of domcfg as coordinatesv0.3.1 (2021-05-04)Minor bug fix when mergingbetter squeezing of time in domcfg + nemo v3.6 compatibilityv0.3.0 (2021-04-13)Cleaning the backendRemoving the saving options (that were useless and confusing)Minor bug fixesTested with realistic regional configurationv0.2.3 (2021-03-15)Support for surface only filesReshaping the data files for the tests (dev)
Package: xnet
Xnet - Just like Xmas, but on your networks!xnetis a framework and a collection of command-line
tools utilizing microthreads (from the python library gevent).All tools developed in Xnet have a common set of command-line parameters for parallelization and other functionality, which is provided by the framework.  Try the–helpoption for each tool for more details. Reading the source code of some existing tool should suffice to produce new tools under the same flag.Current list of tools:xnet (meta-tool)tcpstatenetcatsresolviprangeiissnsslinfowebgetxnet install instructionsDebian 6Development packages are needed to build a newer gevent
than what debian ships with.$ sudo apt-get install gcc
$ sudo apt-get install libevent-dev
$ sudo apt-get install python-dev
$ sudo apt-get install python-pip
$ sudo apt-get install python-opensslOptionally, if you want to contain xnet in a local directory
instead of making a system installation:$ sudo apt-get install python-virtualenv
$ virtualenv pyenv && cd pyenv && . bin/activateFinally, install gevent and xnet:$ pip install gevent==0.13.8
$ pip install xnetDebian 7The same procedure as for Debian 6 but we can use the python-gevent
package right away instead of compiling our own.$ sudo apt-get install python-pip
$ sudo apt-get install python-openssl
$ sudo apt-get install python-geventOptionally, if you want to contain xnet in a local directory
instead of making a system installation:$ sudo apt-get install python-virtualenv
$ virtualenv pyenv && cd pyenv && . bin/activateFinally, install xnet:$ pip install xnetBacktrack 5R2$ sudo apt-get install python-dev
$ sudo apt-get install python-openssl
$ sudo apt-get install python-pip
$ sudo apt-get install libevent-devOptionally, if you want to contain xnet in a local directory
instead of making a system installation:$ sudo apt-get install python-virtualenv
$ virtualenv pyenv && cd pyenv && . bin/activateFinally, install gevent and xnet:$ pip install gevent==0.13.8
$ pip install xnetOSXGevent 0.13.8 misbehaves under OSX, but the development release 1.0rc2 works.
This must be compiled so Xcode is a requirement.  The list below may be incomplete.Optional if you want to contain xnet in a local directory
instead of making a system installation.$ sudo port install py-virtualenv
$ virtualenv pyenv && cd pyenv && . bin/activateAnd then gevent.$ pip install cython -e git://github.com/surfly/gevent.git@1.0rc2#egg=gevent
Package: x-net-django-color-field
X-Net Django Color FieldA color field for Django models and forms.Installationpip install x_net_django_color_fieldAddx_net_django_color_fieldto INSTALLED_APPSUsageConsider the following model using aColorFieldfromdjango.dbimportmodelsfromx_net_django_color_field.modelsimportColorFieldclassCustomModel(models.Model):color=ColorField(verbose_name="Color")Consider the following form using aColorFieldfromdjango.formsimportformsfromx_net_django_color_field.formsimportColorFieldclassCustomForm(forms.Form):color=ColorField(label="Color")
Package: x-net-django-email-template
X-Net Django Email TemplateThis is the default email template that we use in ourcompanyfor sending emails with django (registration, password forgot, eg.)Installationpip installx_net_django_email_templateAddx_net_django_email_templateto INSTALLED_APPSUsageWhen extends the default.html you can overwrite the blocks:{% extends "email/default.html" %}

{% load html_email i18n %}

{% block title %}Title{% endblock %}
{% block header_title %}Header title{% endblock %}

{% block main %}<p>This is an example of text.</p><tablerole="presentation"><tr><tdclass="button-wrapper"><tableclass="button"role="presentation"><tr><td><ahref="#">Click me</a></td></tr></table></td></tr></table>{% endblock %}

{% block footer %}<p><small>{% trans "This is an automatically generated email, please do not reply to this message." %}</small></p>{% endblock %}TemplatetagsWith thefull_statictemplate tag you can insert absolute urls in the email template.{% load html_email %}<linkrel="stylesheet"href="{% full_static "css/email/html-email.min.css"%}"/>CompatibilityYou can inline css to this HTML template with theX-Net Email Inliner.
We have test this HTML template with the following email client:Apple Mail 13Outlook 2007Outlook 2010Outlook 2013Outlook 2013 with 120 DPIOutlook 2016 (macOS)Outlook 2016Outlook 2016 with 120 DPIOutlook 2019Outlook 2019 with 120 DPIOutlook Office 365ThunderbirdGmail AppSamsung MailMail/iOSOutlook AndroidOutlook iOSOffice 365 (Browser)Gmail (Browser)GMX.de (Browser)
Package: x-net-email-css-inliner
X-Net Email CSS InlinerTheX-Net Email CSS Inlineris a HTML email inliner inspired by theZURB CSS inliner.Inlining is the process of prepping an HTML email for delivery to email clients
Some email clients strip out your email's styles unless they are written inline
with style tags. Here's what the inliner does:Inlining CSS:All of your CSS is embedded directly into the HTML as style attributes on each tag.CSS inside a@mediablock can't be inlined, so it's put in a<style>tag.You can use our greatX-Net Django Email Templatewith theX-Net Email CSS InlinerInstallationpip install x_net_email_css_inlinerExamplefrom x_net_email_css_inliner import EmailCSSInliner

raw_html = "<html>...</html>"  # HTML email template
html_with_inline_css = str(EmailCSSInliner(raw_html))
Package: xneuralintents
neuralintentsStill in a buggy alpha state.Setting Up A Basic AssistantfromneuralintentsimportGenericAssistantassistant=GenericAssistant('intents.json',model_name="test_model")assistant.train_model()assistant.save_model()done=Falsewhilenotdone:message=input("Enter a message: ")ifmessage=="STOP":done=Trueelse:assistant.request(message)Binding Functions To RequestsfromneuralintentsimportGenericAssistantdeffunction_for_greetings():print("You triggered the greetings intent!")# Some action you want to takedeffunction_for_stocks():print("You triggered the stocks intent!")# Some action you want to takemappings={'greeting':function_for_greetings,'stocks':function_for_stocks}assistant=GenericAssistant('intents.json',intent_methods=mappings,model_name="test_model")assistant.train_model()assistant.save_model()done=Falsewhilenotdone:message=input("Enter a message: ")ifmessage=="STOP":done=Trueelse:assistant.request(message)Sample intents.json File{"intents":[{"tag":"greeting","patterns":["Hi","How are you","Is anyone there?","Hello","Good day","Whats up","Hey","greetings"],"responses":["Hello!","Good to see you again!","Hi there, how can I help?"],"context_set":""},{"tag":"goodbye","patterns":["cya","See you later","Goodbye","I am Leaving","Have a Good day","bye","cao","see ya"],"responses":["Sad to see you go :(","Talk to you later","Goodbye!"],"context_set":""},{"tag":"stocks","patterns":["what stocks do I own?","how are my shares?","what companies am I investing in?","what am I doing in the markets?"],"responses":["You own the following shares: ABBV, AAPL, FB, NVDA and an ETF of the S&P 500 Index!"],"context_set":""}]}
Package: x-nlp
X NLPPython library of helper functions for Natural Language Processing related algorithms (designed for the TechX NLP course).Installationhaha pip go brrr:pipinstallx-nlpModulesThis package contains various modules, each responsible for assisting students in completing a givenHomework Problem. Some of the modules are more general-purposed, and (hopefully) can be useful outside of the assignments of this course.An overview of modules that this package has to offer:xnlp.parser: Parser combinators (token-based) for parse tree generation