Saravanan666/pypi-org huggingface dataset:
Package: bbw
bbw (boosted by wiki)Annotates tabular data with the entities, types and properties inWikidata.Easy to use: bbw.annotate().Resolves even tricky spelling mistakes via meta-lookup throughSearX.Matches to the up-to-date values in Wikidata without the dump files.Ranked in third place atSemTab2020.Table of contentsHow to useInstallationCitingSemTab2020How to useImport libraryfrombbwimportbbwThe easiest way to annotate the dataframe Y is:[web_table,url_table,label_table,cpa,cea,cta]=bbw.annotate(Y)It returns a list of six dataframes. The first three dataframes contain the annotations in the form of HTML-links, URLs and labels of the entities in Wikidata correspondingly. The dataframes have two more rows than Y. These two rows contain the annotations for types and properties. The last three dataframes contain the annotations in the format required bySemTab2020challenge.The fastest way to annotate the dataframe Y is:[cpa_list,cea_list,nomatch]=bbw.contextual_matching(bbw.preprocessing(Y))[cpa,cea,cta]=bbw.postprocessing(cpa_list,cea_list)The dataframescpa,ceaandctacontain the annotations inSemTab2020-format. The listnomatchcontains the labels which are not matched. The unprocessed and possibly non-unique annotations are in the listscpa_listandcea_list.GUIIf you need to annotate only one table, use the simple GUI:streamlitrunbbw_gui.pyOpen the browser athttp://localhost:8501and choose a CSV-file. The annotation process starts automatically. It outputs the six tables of the annotate function.Try it out online (no SearX support) with thisbinder link.CLIIf you need to annotate a few tables, use the CLI-tool:python3bbw_cli.py--amount100--offset0GNU parallelIf you need to annotate hundreds or thousands of tables, use the script with GNU parallel:./bbw_parallel.pyInstallationYou can use pip to install bbw:pip install bbwThe latest version can be installed directly from github:pip install git+https://github.com/UB-Mannheim/bbwYou can test bbw in a virtual environment:pip install virtualenv
virtualenv testing_bbw
source testing_bbw/bin/activate
python
from bbw import bbw
[web_table, url_table, label_table, cpa, cea, cta] = bbw.annotate(bbw.pd.DataFrame([['0','1'],['Mannheim','Rhine']]))
print(web_table)
deactivateInstall alsoSearX, because bbw meta-lookups through it.exportPORT=80dockerpullsearx/searx
dockerrun--rm-d-v${PWD}/searx:/etc/searx-p$PORT:8080-eBASE_URL=http://localhost:$PORT/searx/searxSearX is running onhttp://localhost:80. bbw sends GET requests to it.CitingIf you find bbw useful in your work, a proper reference would be:@inproceedings{2020_bbw,
  author    = {Renat Shigapov and Philipp Zumstein and Jan Kamlah and Lars Oberl{\"a}nder and J{\"o}rg Mechnich and Irene Schumm},
  title     = {bbw: {M}atching {CSV} to {W}ikidata via {M}eta-lookup},
  booktitle = {SemTab@ISWC 2020},
  year = {2020}
}[preprint] [presentation] [BERD@BW]SemTab2020The library was designed, implemented and tested duringSemTab2020.
It received the best scores in the last 4th round at automatically generated dataset:TaskF1-scorePrecisionRankCPA0.9950.9962CTA0.9800.9802CEA0.9780.9844
Package: bb-wrapper
Cliente não oficial feito em Python, para realizar integração com as API’s do Banco do Brasil.Documentação oficial do BBInstalandoNosso pacote está hospedado noPyPIpipinstallbb-wrapperConfiguraçãoPara utilizar obb-wrapperé necessário ter algumas constantes/variáveis. sendo elas:IMOBANCO_BB_IS_SANDBOX='flag True ou False para indicar utilização de sandbox ou não'IMOBANCO_BB_BASIC_TOKEN='chave de autenticação gerada para a aplicação no site developers.bb'IMOBANCO_BB_GW_APP_KEY='chave de desenvolvimento gerada para a aplicação no site developers.bb'Para geração de boletos é necessário:IMOBANCO_BB_CONVENIO='convênio do contrato para geração de boletos'IMOBANCO_BB_CARTEIRA='carteira do contrato para geração de boletos'IMOBANCO_BB_VARIACAO_CARTEIRA='variação da carteira do contrato para geração de boletosIMOBANCO_BB_AGENCIA='agência da conta berço do contrato para geração de boletos'IMOBANCO_BB_CONTA='nº da conta berço do contrato para geração de boletos'Recomendamos criar um arquivo.envcontendo essas varíaveis de ambiente.Podem ser criadas diretamente no terminal (não recomendado).

Podem ser criadas também diretamente no `arquivo.py` (não recomendado).Recursos disponíveisAPI’s☑ API de Cobrança (geração de boletos)☑ API PIX (recebimento PIX) {essa API ainda está instável e incompleta no BB}☐ API Arrecadação PIX {sem previsão de implementação}☑ API Lotes de Pagamentos {essa API ainda está instável e incompleta no BB}☐ Transferência PIX☑ Transferência Bancária☐ Pagamento GPS☐ Pagamento GRU☐ Pagamento DARF Preto☑ Pagamento Tributos☑ Pagamento BoletosRecursos auxiliares☑ Geração de imagem b64☑ Geração, validação e conversão de código de barras de boleto☑ Geração, validação e conversão de código de barras de tributos☑ Geração de QR Code PIX☑ Validação e limpeza de CPF/CNPJExemplos disponíveisExistem exemplos de utilização da biblioteca na pastaexamples.Preparando ambiente de desenvolvimento> O Nix é utilizado para gerenciar os pacotes necessários, por exemplo como a versão correta do python.Certifique-se que o ambiente está ativado, se não estiver execute:nixdevelopnixflakeclone'github:imobanco/bb-wrapper'--destbb-wrapper\&&cdbb-wrapper1>/dev/null2>/dev/null\&&(direnv--version1>/dev/null2>/dev/null&&direnvallow)\||nixdevelop--commandsh-c'make poetry.config.venv && make poetry.install && python -c "import requests"'gitremoteset-urlorigin$(gitremoteshoworigin\|grep"Fetch URL"\|sed's/ *Fetch URL: //'\|sed's/https:\/\/github.com\//git@github.com:/')
Package: bbx
PackagebbxSimple operations over bounding boxes.
The package provides a classBoxesencapsulating a set of bounding boxes. Internally, the boxes are represented in an Nx4 matrix with x1,y1,x2,y2 coordinates. Instances ofBoxessupport arbitraty user-defined fields which can hold other properties of boxes like e.g. score.importbbxB=bbx.Boxes([0,0,10,10])# New instanceB.set_field("score",[1])# Set the fieldB.width()# [10]C=bbx.resize(B,2)# Resize and make new instanceC.get()# [[-5,-5,15,15]]C.get_field("score")# [1]C.area()# [400]But why?... for the glory of s... But seriously, I use bounding boxes in every other project and there is no decent small package for this. Yes I can use TF obj detection api (and I did for a while, this pkg have similar interface to it) or structures from imgaug or others. I did not find anything that suits my needs (if you know about something just let me know). You either install a big non-standard package with tons of functionality you do not need or you implement it by yourself. So I decided to make a very small package that does precisely what I need and nothing more, is portable (just numpy needed, and you already have it!).Yes, I just implemented a non-standard package, so I so not need to use other non-standard packages... yes, I know...InstallationThe package is in PyPI so just usepippip install bbxContributeFeelin' brave? Contribute with code! You can also submit an issue if something is broken.LicenseThis code is published underMIT License
Package: bbyu-nickname-generator
# bbyu-nickname-generatorGenerate nickname with various options(animal, color etc.)Currently supports only korean. but have plans to add all of the language in the world### Objectsadjectiveanimalcolor## Install`shell pip installbbyu-nickname-generator`## Usage`python >> from bbyu import generator >>print(generator.easy_generate())>> '수다스러운도마뱀' >> print(generator.generate(max_length=12, number_length=3,seperator='-'))>>'뒤늦은-물개-234'>> print(generator.generate(max_length=10, number_length=2)) # default seperator = None >> '외로운원숭이28' >> generate(max_length=10, number_length=2,items=['number','번째', 'color','animal'])>> '72번째분홍색문어' `Find out test.py for basic use case.## Setting### easy_generate()` generator.easy_generate() `* =generate(max_length=15, number_length=0))### generate()`python generator.generate(max_length=12, number_length=3,items=['color','animal','number'],seperator='-')`*max_length: The maximum length of nickname. It’s easy to limit length of field.
*number_length: The length of number which locates end of the nickname.
*item: List of item type. item is the object which you can put in nickname. If you don’t set any sequence, default is['adjective', 'number'].item list :'color', 'animal', 'number'else : except above item name, generator understand it’s plain text. So they just put it to all nicknames. ex) ‘73``th``_red_mouse’, ‘42``th``_green_horse’seperator: The seperator which shows up in between two item(adj, color, animal etc).
Package: bc4py
bc4pybc4py(blockchain-for-python) enables you to
create blockchain application by Python3.FunctionUTXO basePoW, PoS and PoC multi-consensusMinting colored coinRequirementWindows/LinuxPython3.6+Rust nightlyp2p-pythonLevelDBhash functionyespower-pythonFor CPUx16s-hashfor GPUx11_hashFor ASICPython extensionbc4py-extensionplotting toolbc4py-plotterInstallcd ~
git clone https://github.com/namuyan/bc4py
rm -r doc tests
mv bc4py blockchain-py
cd blockchain-py
pip3 install --user -r requirements.txt
pip3 install --user -r requirements-c.txt
wget http://example.com/boot.jsonStart nodepython3 localnode.pyNode working on local env, for debug.python3 publicnode.pyNode with mining/staking.DocumentsCreate genesis blockHow to miningAPI documentAbout developmentAbout new offer about programHTTPS proxy introductionProof of capacityInstall LevelDBLicenceMITAuthor@namuyan_mine
Package: bc4py-core
bc4py-coreThis repository is bc4py core program.InstallPython3.6+pip install bc4py-corebuildcurlhttps://sh.rustup.rs-sSf|sh-s----default-toolchainnightly
pipinstallsetuptools-rust
gitclonegit+https://github.com/namuyan/bc4py_corecdbc4py_core
pythonsetup.pybdist_wheel# check distfmtformatcargo fmtcheckcargo fmt -- --checkLicenceMITAuthor@namuyan_mine
Package: bc4py-extension
bc4py extensionExtension library of bc4py implemented by Rust.RequirementRust nightly versionpython3 and setuptools-rustbc4py_plotterInstallRequire pre-install Rust-nightly.pip3 install --user setuptools-rust
pip3 install --user git+https://github.com/namuyan/bc4py_extensionLicenceMITAuthernamuyan_mine
Package: bcachefs
bcachefsC implementation with Python 3.7+ bindings for Bcachefsimportbcachefsasbch# Using a filesystem-like APIwithbch.mount("disk.img")asbchfs:forroot,dirs,filesinbchfs.walk():print(f"Directories in{root}:{[str(d)fordindirs]}")forentinfiles:withimage.open(ent,"rb")asf:forlineinf.lines():print(line)# Using a cursor with entries cachewithbch.mount("disk.img").cd()ascursor:forroot,dirs,filesincursor.walk():print(f"Directories in{root}:{[str(d)fordindirs]}")forentinfiles:withimage.open(ent,"rb")asf:forlineinf.lines():print(line)# Using a ZipFile-like APIwithBcachefs("disk.img","r")asimage:file_names=image.namelist()forfilenameinfile_names:withimage.open(filename,"rb")asf:forlineinf.lines():print(line)
Package: bcam
bcambcam is an easy to use Python camera interface for NVIDIA Jetson.This is forked formjetcam, intended to be used by BillioTech Team.Of course, You can clone and use it as well, if you find it convenient.Quick guide ishereIf you find an issue, pleaselet us know!Installpip3installbcamUsageStart camera from Jupyter NotebookfrombcamimportBCameraimporttraitletsimportipywidgets.widgetsaswidgetsimportcv2bcam=BCamera.builder()\.device(0)\.resolution(800,600)\.fps(5)\.build()bcam.start()widget=widgets.Image(format='jpeg',width=400,height=400)display(widget)bcam.link(widget)Stopbcam.stop()
Package: bcamp-dl
bcamp-dlDownload your collection from Bandcamp.InstallationInstallPython, then installpipxand use it to installbcamp-dl:python-mpipinstall--upgradepipsetuptoolspipx
pipxinstallbcamp-dlUsageTo use, login to Bandcamp using one of the supported browsers. All albums in your collection will be downloaded to the output directory, with subfolders, based on the filename format selected. If not specified, the defaults are to use Firefox and download as MP3 V0 to per-artist subfolders in the current directory.bcamp-dl--browser<BROWSER>--file-format<FORMAT>--directory<DIR><USERNAME>For all options, runbcamp-dl --helpDevelopment Environmentgitclonehttps://github.com/ReK42/bcamp-dl.gitcdbcamp-dl
python-mvenv.envsource.env/bin/activate
python-mpipinstall--upgradepipsetuptoolspre-commit
pre-commitinstall
pipinstall-e.[tests]
Package: bc-analyzer
BehaviorCloud AnalyzerPython HelperThis is a thin package to help you quickly create a BehaviorCloud analyzer. It will handle calls to the BehaviorCloud API server so you don't have to worry about it. This package supports the following features:Fully managed analyzer creation - you just make the conversion function!One off analysis (pass an "--id" command-line parameter)Daemon analysis (use the "--daemon" flag)Exception handling and automatic upload to Sentry.ioExample Usage:importjsonfrombehaviorcloud.analyzer.dataimportconvert_stream_to_jsonfrombehaviorcloud.analyzer.coordinatorimportCoordinatordefconvert(source_request,source_settings,settings,source,targets):target=targets[0]source_data=convert_stream_to_json(source_request)analyzed_data=[{processed:True,original:entry}forentryinsource_data]return[{"data":json.dumps(analyzed_data),"extension":"json","id":target["id"],}]coordinator=Coordinator(convert)coordinator.run()
Package: bcbiocov
This package has a set of modules to get coverage statistics for targeted DNA sequencing.Main modules:# Installationif you already have a bcbio installation working:git clone https://github.com/lpantano/bcbio.coverage.gitexport PYTHONPATH=$PATH_to_clone_# Usage
make sure to use the bcbio python:python /$PATH_to_clone/scripts/coverage.pyYou can do an exec and add it to your path modifying the filescripts/coverage
Package: bcbio_monitor
<p align="center"><a href="https://github.com/guillermo-carrasco/bcbio-nextgen-monitor"><img width="370" height="200" src="artwork/logo-letters.png"/></a></p>[![PyPI version](https://badge.fury.io/py/bcbio_monitor.svg)](https://badge.fury.io/py/bcbio_monitor)[![bioconda-badge](https://img.shields.io/badge/install%20with-bioconda-brightgreen.svg?style=flat-square)](http://bioconda.github.io)![Screenshot](docs/images/monitor.png)### What is this?[bcbio-nextgen][bcbio] is a python toolkit providing best-practice pipelines for fully automated high throughput sequencing analysis.**bcbio-monitor** is an independent web application to track `bcbcio-nextgen` analyses.Going to the point, you only tell `bcbio-monitor` where [bcbio-nextgen-debug.log][bcbio-logging] is (either in your local machine or on a remote server), and it'll do the work.**For a technical overview of bcbio-monitor**, please read [this][tech-post] blog post.### Quick startWith pip:pip install bcbio_monitorwget https://raw.githubusercontent.com/guillermo-carrasco/bcbio-nextgen-monitor/master/tests/data/bcbio-nextgen-debug.logbcbio_monitor bcbio-nextgen-debug.log --title "Test bcbio-monitor"With [conda][conda]:conda install -c bioconda bcbio_monitorwget https://raw.githubusercontent.com/guillermo-carrasco/bcbio-nextgen-monitor/master/tests/data/bcbio-nextgen-debug.logbcbio_monitor bcbio-nextgen-debug.log --title "Test bcbio-monitor"Run `bcbio_monitor -h` to get information about usage. Please don't hesitate to [open an issue][issue] if something is not clear.#### Configurationbcbio-monitor expects a configuration file in [yaml][yaml] format to be located in `~/.bcbio/monitor.yaml`. There are two main sections that you may want to consider, those are`flask` and `remote`.* In `server` section, you set [configuration parameters][flask_config] for the Flask app that runs the server.* In `remote` server, you specify connection parameters for the machine where the logfile to read is located. **Note** that if this section is missing, bcbio-monitor will try to read thelogfile locally (which can also be useful for finished analysis).A working example of configuration file would be like this:```yamlserver:SERVER_NAME: localhost:5000 # This is the address where bcbio_monitor will be servedDEBUG: Falseremote:host: <remote hostname>port: <SSH port> # Optionalusername: <remote username>password: <remote user password> # Optional```You can also modify the logging level by adding the corresponding section in the same configuration file:```yamllog:level: INFO # or WARN, ERROR, DEBUG```Logging level is `INFO` by default.[bcbio]: https://bcbio-nextgen.readthedocs.org/en/latest/[bcbio-logging]: https://bcbio-nextgen.readthedocs.org/en/latest/contents/testing.html#logging[tech-post]: http://mussol.org/2015/11/11/bcbio-monitor/[issue]: https://github.com/guillermo-carrasco/bcbio-nextgen-monitor/issues/new[yaml]: http://yaml.org/[flask_config]: http://flask.pocoo.org/docs/0.10/config/#builtin-configuration-values[conda]: http://docs.continuum.io/anaconda/index
Package: bcbp
BCBPA Python module to help decode IATA-standard boarding passes with barcodes.Data is usually stored on PDF417, QR Code, Aztec, or Data Matrix barcodes as defined by IATA Resolution 792.Module on PyPiRead more about the standard:On the IATA websiteAvailable under the GNU GPLv3 Licence.Published under the name "hattr".UsageInstall BCBP usingpip install bcbp.You will need thedatetime,re, andjsonmodules installed for BCBP to function properly.The following commands are available in BCBP:bcbp.decode("[IATA Resolution 792-standard BCBP data string.]")bcbp.encode("[firstname]", "[lastname]", "[pnr]", "[origin]", "[destination]", "[operator]", "[flight number]", "[date]", "[cabin class]", "[seat number]", "[check-in sequence]", [softerror])Parameters for thebcbp.encode()command:ParameterData TypeValuesDescriptionFirstnameStringAny value which, when combined with Lastname, does not exceed 19 characters.The passenger's first name, can include titles "MR","MRS","MSTR", "DR", or "MS" after the name.LastnameStringAny value which, when combined with Firstname, does not exceed 19 characters.The passenger's last name.PNRStringAny value which does not exceed 7 characters.The Passenger Name Reference (also referred to as a Booking Reference).OriginString3-character IATA airport code.Search Airport Codes Here (IATA Website)DestinationString3-character IATA airport code.Search Airport Codes Here (IATA Website)OperatorString2-character airline/operator code.Search Airline Codes Here (IATA Website)Flight NumberStringAny value which does not exceed 4 characters.The flight number, usually preceeded by the operator code but this value must only be the number.DateStringA Python datetime date object with at least a month and a day.A month and day which can be translated into the julian date. Must be a Pythondatetimedate.Cabin ClassString1-character value.A single character symbol that represents the class the seat is located in.Seat NumberString4-character value.The passenger's seat, usually a 3-digit row followed by a single character seat identifier.Check-In SequenceString4-character value.A 4-digit number that shows which check-in the passenger had (e.g: 1st passenger to check in: 0001, 25th passenger to check in: 0025).SofterrorBooleanA boolean (True/False) value.Set toTruefor the command to return an error message in the output rather than a BCBP code. Set tofalsefor an exception to be raised whenever there is an error.Planned UpgradesError catching when improper string is passed.bcbp.encode()function.Acknowledgementshttps://shaun.net/notes/whats-contained-in-a-boarding-pass-barcode/https://gizmodo.com/hacker-builds-a-qr-code-generator-that-lets-him-into-fa-1784884083
Package: bcc
bccN-dim invertible BCC latticeFree software: Apache Software License 2.0Documentation:https://bcc.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.9 (2018-07-10)add numba support0.1.8 (2018-03-12)Basic tests in place0.1.7 (2018-03-06)First release on PyPI.
Package: bcc2to
Bcc2Tois simplePosfixplugin allowing to distribute list mail
individually to each list user.Purpose:If you want to send mail to group of people and do not want
to redistribute ech people mail address to others, you add all those
recipients addresses toBcc:field.Bcc:field is not included into message
headers, so recipiens do not see addresses message was sent to.
However some mail systems bans messages if your address cannot be found insideTo:orCc:fields. This utility lets organize delivery of mail, where it
is delivered individually to each person fromBcc:(imaginary) field.Author:Vidmantas Balčytis <vidma@lema.lt>Version:0.4.0rc2 (2016.07.11)
Package: bcch
API del BCCh SDKContentsDescripciÃ³n generalRequerimientosInstalaciÃ³nDemoDocumentaciÃ³nDisclaimerDescripciÃ³n general:arrow_up:Requerimientos:arrow_up:InstalaciÃ³n:arrow_up:Demo:arrow_up:Tutorial sobre como guardar y llamar variables de ambiente en Python ->Hiding Passwords and Secret Keys in Environment Variables (Windows)DocumentaciÃ³n:arrow_up:Disclaimer:arrow_up:
Package: bc-configs
bc-configMake configuring your application easier.Installingpipinstallbc-configsMake your custom config classimportosfrombc_configsimportBaseConfigclassMyConfig(BaseConfig):some_int:intsome_string:strsome_bool:boolmy_config=MyConfig()# type: ignore[call-arg]assertint(os.getenv("MY_SOME_INT"))==my_config.some_int# Trueassertos.getenv("MY_SOME_STRING")==my_config.some_string# Trueassertbool(os.getenv("MY_SOME_BOOL"))==my_config.some_bool# TrueThe name of the environment variable is formed based on the names of the class and field.
Package: bc-count
Blood Cells CountCount red, white blood cells to detect various diseases such as blood cancer (leukemia), lower red blood cells (anemia)...Table of ContentsProject StructureInstallUsageDevelopLicenseProject Structurebc-count/
|-- bc-count/
|   |-- test/
|   |   |-- test_data.py
|   |   |-- test_main.py
|   |   |-- test_model.py
|   |   
|   |-- data.py
|   |-- main.py
|   |-- model.py
|
|-- bin/
|   |-- bc-count
|
|-- docs/
|
|-- data/
|   |-- rbc/
|   |-- wbc/
|
|-- models/
|
|-- AUTHORS
|-- LICENSE
|-- README.md
|-- TODO.md
|-- requirements.txt 
|-- setup.pyInstallInstall straight from PyPI using pip:$ pip install bc-countUsagePlease readbc-count --helpbefore using it
-o flag is optional (defaults to out/ directory)Count blood cells (-r for red and -w for white):$ bc-count -r <blood-cell-image>Predict blood cell image:$ bc-count predict -r <blood-cell-image>Train a new model:$ bc-count train -r <model-name>DevelopDownload the project:$ git clone https://github.com/nemo256/bc-count
$ cd bc-countActivate virtual environment:$ python -m venv venv
$ source venv/bin/activate
$ pip install -r requirements.txtNow just adapt the code to your need and then run using the command:$ python bc-count/main.pyLicensePlease read cell-count/LICENSE.
Package: bcdc2bcdc
OverviewUtility to migrate data between two CKAN instances using the CKAN api.Getting Startedconfig/transformationConfig.jsonThis file currently contains the configuration that is being used at DataBC for
the transformation between prod and test.  A detailed description of this file
is availablehereRunningEnv vars:Configure the following env vars:export CKAN_API_KEY_DEST=<api key for the destination instance, should be for
a ckan sysadmin user>export CKAN_URL_TST=export CKAN_API_KEY_SRC=<api key for source destination instance, should be sysadmin>export CKAN_URL_SRC=export CKAN_DO_NOT_WRITE_URL=<usually the source instance, adds checks to make no
methods that make changes are not being called on this instance>export CKAN_NEW_USER_PSWD=export CKAN_TRANSFORMATION_CONFIG=Optional env vars, These are optional vars that should NOT be used in production/
deployed versions of this code.  They are parameters that help with the debugging
of this code.export LOG_FILE_PATH=
if LOG_FILE_PATH is not set then logging will only go to console.export DUMP_DEBUG_DATA=
When the debug param is set the objects returned by the rest api get cached.
Subsequent runs of the script will re-use cached objects.  Also dumps comparison
object data to help debug issues with change control.Finally, environment variables are defined in the constants, making them easy
to changeRunningAfter the module has been installed:pip install bcdc2bcdcand the the env vars described above have been set, you can run the script usingpython3 runBCDC2BCDC.py