Saravanan666/pypi-org huggingface dataset:
Package: bernard
BERNARDBuildinginstant services(or chatbots) is a brand new craft. BERNARD
is here to bring it up to speed for the professional world.Take advantage of each platform's specificities (Facebook, Telegram,
...)Connect your existing business APITranslate and decline your textsExtensible to any platform, without merging to upstreamGet started!This documentation will bring you methodology, concepts and patterns to
build bots as well as hands-on experience with the code of a bot.Get Startedcourse and tutorialTable of contentsof all topics in
documentationLicensingThere is a dual licencing scheme here:By default, AGPL v3+If your project is not compatible with the AGPL, please contactremy.sanchez@with-madrid.com.ContributionContribution is of course welcome, although there is a few rules to respect
for the well-being of the project.GovernancePlease do not hesitate to communicate through GitHub issues before committing
to a large contribution: the team of the project has plans and priorities, so
if you end up going against those it will be hard to merge your code.Coding RulesCoding rules are very, very important. There is not too many yet:PEP 8Imports are normalized by themake importscommandNo undocumented code gets mergedCode bringing test coverage down or breaking tests doesn't get mergedTestingUsepy.test. Node for later: document this part a bit better.
Package: bernardomg.tox-test-command
Command for running tox tests withsetuptools.This way the usual command for running tests will call tox:python setup.py testTo achieve this the project should be using setuptools, and contain a setup.py
file, where the test command will be overriden.This is detailed in the usage section.FeaturesRunning test with tox in any project using setuptoolsRunning a specific tox profileDocumentationDocumentation sources are included with the project, and used to generate the
documentation sites:Thelatest docsare always generated for the latest release, kept in the ‘master’ branchThedevelopment docsare generated from the latest code in the ‘develop’ branchYou can also create the documentation from the source files, kept in the ‘docs’
folder, with the help ofSphinx. For this use the makefile, or the make.bat
file, contained on that folder.PrerequisitesThe project has been tested in the following versions of the interpreter:Python 3.4Python 3.5Python 3.6Pypy 3All other dependencies are indicated on the requirements.txt file.These can be installed with:pip install –upgrade -r requirements.txtInstallingThe project is offered as aPypi package, and using pip is the preferred way
to install it. For this use the following command;pip install bernardomg.tox-test-commandIf needed, manual installation is possible:python setup.py installUsageThe application has been coded in Python, and is meant for projects usingsetuptools.It can be used to override the default test command with ease:from tox_test_command import ToxTestCommand

setup(
    ...
    cmdclass={'test': ToxTestCommand},
    ...
)This way the usual command for running tests will call the new command:python setup.py testIt is possible to run a specific tox profile:python setup.py test -p [profile-name]TestingThe tests included with the project can be run with:python setup.py testThis will delegate the execution to tox.It is possible to run just one of the test profiles, in this case the py36 profile:python setup.py test -p “py36”CollaborateAny kind of help with the project will be well received, and there are two main ways to give such help:Reporting errors and asking for extensions through the issues managementor forking the repository and extending the projectIssues managementIssues are managed at the GitHubproject issues tracker, where any Github
user may report bugs or ask for new features.Getting the codeIf you wish to fork or modify the code, visit theGitHub project page, where
the latest versions are always kept. Check the ‘master’ branch for the latest
release, and the ‘develop’ for the current, and stable, development version.LicenseThe project has been released under theMIT License.
Package: bernardomg.version-extractor
A tool for extracting the version of a Python file.FeaturesExtract the value from a version field inside any Python fileDocumentationDocumentation sources are included with the project, and used to generate the
documentation sites:Thelatest docsare always generated for the latest release, kept in the ‘master’ branchThedevelopment docsare generated from the latest code in the ‘develop’ branchYou can also create the documentation from the source files, kept in the ‘docs’
folder, with the help ofSphinx. For this use the makefile, or the make.bat
file, contained on that folder.PrerequisitesThe project has been tested in the following versions of the interpreter:Python 3.4Python 3.5Python 3.6Pypy 3All other dependencies are indicated on the requirements.txt file.These can be installed with:$ pip install--upgrade-rrequirements.txtInstallingThe project is offered as aPypi package, and using pip is the preferred way
to install it. For this use the following command;$ pip installbernardomg.version-extractorIf needed, manual installation is possible:$ python setup.py installUsageJust import and use the function:from version_extractor import extract_version

version = extract_version('tests/resources/__init__.py')Or use a preconfigured function:from version_extractor import extract_version_init

version = extract_version_init('tests/resources')This is useful when setting up a setup.py file:setup(
    ...
    version=extract_version_init(_source_package),
    ...
)TestingThe tests included with the project can be run with:$ python setup.py testThis will delegate the execution to tox.It is possible to run just one of the test profiles, in this case the py36 profile:$ python setup.py test-p"py36"CollaborateAny kind of help with the project will be well received, and there are two main ways to give such help:Reporting errors and asking for extensions through the issues managementor forking the repository and extending the projectIssues managementIssues are managed at the GitHubproject issues tracker, where any Github
user may report bugs or ask for new features.Getting the codeIf you wish to fork or modify the code, visit theGitHub project page, where
the latest versions are always kept. Check the ‘master’ branch for the latest
release, and the ‘develop’ for the current, and stable, development version.LicenseThe project has been released under theMIT License.
Package: bernhard
# BernhardA simple Python client for [Riemann](http://github.com/aphyr/riemann). Usage:```pythonimport bernhardc = bernhard.Client()c.send({'host': 'myhost.foobar.com', 'service': 'myservice', 'metric': 12})q = c.query('true')```Bernhard supports custom attributes with the syntax:```pythonimport bernhardc = bernhard.Client()c.send({'host': 'awesome.host.com', 'attributes': {'sky': 'sunny', 'sea': 'agitated'}})```Querying the index is as easy as:```pythonimport bernhardc = bernhard.Client()q = c.query('true')for e in q:print "Host:", e.host, "State:", e.state```## Installing```bashpip install bernhard```You may encounter issues with the `protobuf` dependency; if so, just run `pipinstall protobuf` manually, then `pip install bernhard`.
Package: bernhard_cletus
# BernhardA simple Python client for [Riemann](http://github.com/aphyr/riemann). Usage:```pythonimport bernhardc = bernhard.Client()c.send({'host': 'myhost.foobar.com', 'service': 'myservice', 'metric': 12})q = c.query('true')```Bernhard supports custom attributes with the syntax:```pythonimport bernhardc = bernhard.Client()c.send({'host': 'awesome.host.com', 'attributes': {'sky': 'sunny', 'sea': 'agitated'}})```Querying the index is as easy as:```pythonimport bernhardc = bernhard.Client()q = c.query('true')for e in q:print "Host:", e.host, "State:", e.state```## Installing```bashpip install bernhard```You may encounter issues with the `protobuf` dependency; if so, just run `pipinstall protobuf` manually, then `pip install bernhard`.
Package: bernhard_joe
#This is a temporary fork of the original Bernhard to support some custom events that are NOT generic. You shouldn't use this fork and should use the original bernahrd version from banjiewen. Hopefully I will introduce generic events handling at some point, and merge back the work into the original repo.# BernhardA simple Python client for [Riemann](http://github.com/aphyr/riemann). Usage:```pythonimport bernhardc = bernhard.Client()c.send({'host': 'myhost.foobar.com', 'service': 'myservice', 'metric': 12})q = c.query('true')```## Installing```bashpip install bernhard```You may encounter issues with the `protobuf` dependency; if so, just run `pipinstall protobuf` manually, then `pip install bernhard`.
Package: bernhard-py3
BernhardA simple Python3 client forRiemann. Usage:importbernhardc=bernhard.Client()c.send({'host':'myhost.foobar.com','service':'myservice','metric':12})q=c.query('true')Bernhard supports custom attributes with the syntax:importbernhardc=bernhard.Client()c.send({'host':'awesome.host.com','attributes':{'sky':'sunny','sea':'agitated'}})Querying the index is as easy as:importbernhardc=bernhard.Client()q=c.query('true')foreinq:print"Host:",e.host,"State:",e.stateInstallingpipinstallbernhard-py3
Package: berrosoft-upgrade
IntroductionThis program simplifies updates of your softwares by packaging the update management functions.Table of ContentsIntroductionInstallationUSAGESERVER SIDEExample 1Example 2CopyrightChangelog0.2.14 (2022-07-23)0.2 (2022-07-23)0.1 (2022-07-22)InstallationInstallberrosoft_upgradesimply using pippipinstallberrosoft_upgradeUSAGE# backup.pyfromberrosoft_upgradeimportbupgrade# url = "http://web_server_containing_update_files/directory_of_software# for example below, url should beurl=http://domain.ltd/backup/version=0.1#  (actual version of running software)verbose=True#  if you want to see messages. Default Falseclean=True#  To clean temporary dir after upgrade. Default Trueifbupgrade.check_update(version,url,None,verbose):#  return True if update is availablebupgrade.update(version,url,verbose,clean)#  do upgradeOr, simpliest, using default values# backup.pyfromberrosoft_upgradeimportbupgrade# url = "http://web_server_containing_update_files/directory_of_software# for example below, url should beurl=http://domain.ltd/backup/version=0.1#  (actual version of running software)ifbupgrade.check_update(version,url):#  return True if update is availablebupgrade.update(version,url)#  do upgradeSERVER SIDEYou have to write a simple text file as the example below, namedupdate.txt.
Example is for software nammedbackup:Example 1[general]version=0.2.3[update]download=http://domain.ltd/backup/backup.tar.gz# mode: archive, alonemode=archive[setup]setup=setup.pyversion: version of updated software. This text is compared to installed version and if it is different, check_update return True.download: url of installer of new version.mode: if installer is archive (zip, tar, tar.gz),berrosoft_upgradeknow how to deal with. If it is a single file, usealonekeyword.setup: file to launch after download to apply upgrade of your software. Can be a file downloaded bydownloadkeywordExample 2[general]version=0.2.3[update]download=http://domain.ltd/backup/setup.py# mode: archive, alonemode=alone[setup]setup=setup.pyOf course, you have to upload updated software to urlCopyrightThis package is copyright byManuel Berrocal.berrosoft_upgradeis licensed under GNU General Public License, version 3.Changelog0.2.14 (2022-07-23)Different tests to locate and understand rst error0.2 (2022-07-23)Added documentation0.1 (2022-07-22)Initial version
Package: berrycheck
Bem vindo ao berrycheckDescricaoPacote python de cotacao de moedas e valores de acoes das principais empresas brasileiras.Acesse:https://github.com/eduardosousaa/berrycheckObjetivosFornecer aos usuarios uma maneira facil e acessivel de obter cotacoes atualizadas de varias moedas, incluindo as principais moedas do mundo, para fins de negociacao, investimento ou outras finalidades financeiras.Oferecer um pacote facil de usar e bem documentada que permite aos usuarios integrar facilmente as cotacoes de moedas em seus proprios projetos e aplicativos.Permitir que os usuarios calculem rapidamente o valor de uma moeda em relacao a outra com base nas cotacoes mais recentes, facilitando a conversao de moedas para fins de viagens, compras internacionais ou outras necessidades pessoais ou comerciais.Fornecer valores de acoes atualizadas das principais empresas brasileiras.Permite tambem o calculo de acoes das empresas.FuncionalidadesObter cotacoes de varias moedas em tempo real.Converter valores entre diferentes moedas.Obter os valores das acoes de uma lista de empresas.Calcular o valor de acoes de uma empresa.Como usarSiga os passos a seguirInstale o pacotepipinstallberrycheckImportar a bibliotecafromberry_checkimportBerryCheckCriar um objeto da classex=BerryCheck()Obter cotacao das moedascotacao_dolar=x.obtem_cotacao("USD","BRL")["cotacao"]cotacao_euro=x.obtem_cotacao("EUR","BRL")["cotacao"]cotacao_libra=x.obtem_cotacao("GBP","BRL")["cotacao"]cotacao_bitcoin=x.obtem_cotacao('BTC','BRL')["cotacao"]Obter cotacao, maxima, minima e variacaocotacao=x.obtem_cotacao("USD","BRL")print("Cotacao:",cotacao["cotacao"])print("Maximo:",cotacao["maximo"])print("Minimo:",cotacao["minimo"])print("Variacao:",cotacao["variacao"])Converter moedasvalor_em_reais=x.converte_moeda('USD','BRL',100)valor_em_reais=x.converte_moeda('EUR','BRL',100)Codigos das moedasVeja a lista completa de combinacoes em:https://economia.awesomeapi.com.br/xml/availableVeja a lista de nomes das moedas em:https://economia.awesomeapi.com.br/xml/available/uniqObter valores de acoes das empresasvalores_acoes=x.obter_valores_acoes(["VALE3.SAO","PETR4.SAO"])Calcular valor das acoesvalor_vale=x.calcular_valor_acoes("VALE3.SAO",1,valores_acoes)valor_petro=x.calcular_valor_acoes("PETR4.SAO",1,valores_acoes)Lista de empresas brasileiras para procurar acoesPetrobras: PETR4.SAOVale: VALE3.SAOItaÃº Unibanco: ITUB4.SAOBradesco: BBDC4.SAOBanco do Brasil: BBAS3.SAOAmbev: ABEV3.SAOMagazine Luiza: MGLU3.SAONatura: NATU3.SAOB3: B3SA3.SAOGerdau: GGBR4.SAODesenvolvedoresCarlos Henrique do Vale e Silva -https://github.com/carlosvale03Eduardo de Sousa Gomes Vieira -https://github.com/eduardosousaa
Package: berryinfo
berryinfo makes obtaining diagnostic information about your device easy!InstallationSimply run:$ pip install berryinfoUsageStarting the application is easy$ berryinfo -i '0.0.0.0'For more help$ berryinfo --help
usage: berryinfo [-h] [--host HOST] [--port PORT] [--verbose]

optional arguments:
  -h, --help            show this help message and exit
  --host HOST, -i HOST  IP to listen on
  --port PORT, -p PORT  port to listen on
  --verbose, -v         increase output verbosityLicenseThis project has been developed by PiCymru as part of our education and
learning programme. This project is hereby released under the terms of
the MIT License, and is included belowMIT License

Copyright (c) 2017 PiCymru

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.SupportHave a question? Need assistance? Don’t stay stuck! If you do use this
project or have any feedback we would love to hear from you, tweet us at
[@PiCymru](https://twitter.com/PiCymru) or drop us ane-mail
Package: berry-suite
berryBerryextracts the Bloch wavefunctions from DFT calculations in an ordered way so they can be directly used to make calculations.It retrieves the wavefunctions and their gradients in reciprocal space totally ordered by unentangled bands, where continuity applies.In particular, it calculates the Berry connections and curvatures from DFT calculations.Then the Berry connections can be used to calculate the first order optical conductivity and the second order optical conductivity for second harmonic generation (SHG).Therefore, this suite of programs can be used in calculations other than Berry connections and related topics, with small adaptations.It still can only be used with 2D materials and with DFT suite Quantum Espresso.It is expected that this software will evolve with many more possibilities in the near future.
The list of TODOs is already large.Source code:https://github.com/ricardoribeiro-2020/berryAknowledgement:We aknowledge the Fundação para a Ciência e a Tecnologia (FCT)
under projectQUEST2D - Excitations in quantum 2D materialsPTDC/FIS-MAC/2045/2021 and in the framework of the Strategic Funding UIDB/04650/2020.RequirementsTo install requirements, run:pip install -r requirements.txtCopyright (c) 2022, 2023Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Package: bert4vector
bert4vector向量计算、存储、检索、相似度计算Documentation|Bert4torch|Examples|Source code1. 下载安装安装稳定版pipinstallbert4vector安装最新版pipinstallgit+https://github.com/Tongjilibo/bert4vector2. 支持的句向量权重模型分类模型名称权重来源权重链接备注(若有)simbertsimbert追一科技tf，torch_base转换脚本simbert_v2/roformer-sim追一科技tf，base，ft_base，small，ft_small转换脚本,configembeddingtext2vec-base-chineseshibing624torchconfigm3emoka-aitorchconfigbgeBAAItorchconfiggtethenlperlarge-zh,base-zhlarge-zh,base-zh3. 版本历史更新日期bert4vector版本说明202401310.0.2.post2去除对bert4torch的版本依赖202312280.0.2初始版本，支持内存和faiss模式4. 更新历史：20231228：初始版本，支持内存和faiss模式5. Referencesimilaritiesbert4vec
Package: bertagent
BERTAgentQuantify linguistic agency in textual data.Publication: BERTAgent: A Novel Tool to Quantify Agency in Textual Data (doi: TBA)PyPi:https://pypi.org/project/bertagent/GitHub:https://github.com/cogsys-io/bertagentDocumentation:https://bertagent.readthedocs.io(https://bertagent.rtfd.io)Free software: GNU General Public License v3FeaturesDetect linguistic agnecy in text using large language model
(pretrained transformers architecture).CreditsThis package was created withCookiecutterand thecogsys-io/cogsys-io-cookiecutter-pypackageproject template.History0.0.0 (2023-05-22)First release on PyPI.
Package: bert-augment
BERTAugmentBERTAugment is a Python 3 library for augmenting text for NLP applications.
It utilizes pre-trained masked language model to mask a given text and augment it by predicting the masked words.Installation$pipinstallbert_augmentUsageBERTAugment can be used from the command line or as a package.Command Linebertaugment[-nnumber][-pmask_probability][--pretrained_modelpretrained_model][--seedseed]textBasic Usage>>>bertaugment'The picture quality is great and the sound is amazing.'Thepicturequalityisgreatandthesoundisamazing.Thepicturequalityishighandthesoundissatisfactory.
Thepicturehereisgreatandtheitisamazing;Thepicturelooksisupandthesoundisamazing.
Thepicturequalityisgoodandthequalitynotgood.
Thepicturequalityisgoodandthesoundisamazing.
The;-is..|whichisnot?
Thepicturequalityisgreatandthesoundsystemamazing.
Thepicturequalityisgreatandthesoundsoundsamazing.
Thepicturequalityisgreatandthesoundqualityamazing.
Thepicturequalityispoorandthesoundisbeautiful.Pythonfrombert_augmentimportBERTAugmentba=BERTAugment(pretrained='bert-base-cased')samples=ba.augment('The picture quality is great and the sound is amazing.')
Package: bert-build
bertBert builds things in a similar manner to thedocker buildcommand, but with
the intended output being things other than just docker images.Known LimitationsBert does not clean up very well after itself.Types of tasks is currently somewhat limited (and does not have feature
parity withdocker build).The docker commit process while creating an image can timeout, but resuming
the run after the commit actually commits will work.Bert doesn't integrate very well into CI servers yet.Needs tests and examples.InstallingFrom checkout, use pip:pip install --user .Bert may appear on pypi in the future.Usagebertorbert bert-build.yml
Package: bert-deid
bert-deidCode to fine-tune BERT on a medical note de-identification task.Install(Recommended)Create an environment calleddeidconda env create -f environment.ymlpip install locallypip install bert-deidDownloadTo download the model, we have provided a helper script in bert-deid:# note: MODEL_DIR environment variable used by download# by default, we download to bert_deid_model in the current directoryexportMODEL_DIR="bert_deid_model"bert_deiddownloadUsageThe model can be imported and used directly within Python.frombert_deid.modelimportTransformer# load in a trained modelmodel_path='bert_deid_model'deid_model=Transformer(model_path)withopen('tests/example_note.txt','r')asfp:text=''.join(fp.readlines())print(deid_model.apply(text,repl='___'))# we can also get the original predictionspreds=deid_model.predict(text)# print out the identified entitiesforp,predinenumerate(preds):prob=pred[0]label=pred[1]start,stop=pred[2:]# print the prediction labels outprint(f'{text[start:stop]:15s}{label}({prob:0.3f})')