Saravanan666/pypi-org huggingface dataset:
Package: bracon
This library is Branch and Confluence. You can have consecutive another process.timeline >-------------------------------->

main process o---o---o---o---o---o---o---o---o
                  \       \           \
sub process        o-------o-----------oRequirementsPython3Quick Exampleimportbraconb=bracon.Bracon()b.add(lambdax:"Hello")b.add(lambdax:x*2)b.add(lambdax:print("print from sub process",x))print("print from main process")When you run this script, you will get:print from main process
print from sub process HelloHelloBut if you copy and paste on your python shell one by one, you will get:print from sub process HelloHello
print from main processSometime main is called fist, sometime sub is called first. That’s why BraCon runs on another process.
Package: bracu-cgpa-calc
BracU CGPA Calculator ModuleBracU CGPA Module is a Python library for easier calculation of CGPA inBrac University.Developed byJoyanta J. Mondalfrom BracU (C) 2021Email:hello@joyantamondal.comFunctionality:Adding CoursesRemoving CoursesChecking Courses AttemptedGet CGPANumber of Credits AttemptedRead from Device (PC/Google Colab)Save to Device (PC/Google Colab)Template of Excel File (Read from PC)Flush InfoCheck Completed Course.Check Retake Course.Credits Completed.InstallationUse the package managerpipto install bracu_cgpa_calc.pip install bracu_cgpa_calcUsagefrombracu_cgpa_calcimport*#import bracu_cgpa_calc as bcc #this is another alternative importadd("CSE110",4,3)#adding coursesadd("CSE111",3.7,3)#adding coursesadd("CSE220",3.3,3)#adding coursesadd("MAT215",0,3)#adding courses#bcc.add("MAT215", 0, 3) #adding courses using alternative importremove("CSE220")#removing coursescheck_attempted_course()#returns list of courses attempted.check_completed_course()#returns list of courses completed.check_retake_course()#returns list of courses needs retake.credits_attempted()#returns number of credits attempted.credits_completed()#returns number of credits completed.get_cgpa()#returns CGPAreadme()#prints out readmedocs()#prints out documentationsave_to_pc()#self-explanatoryread_from_pc("CGPA.xlsx")#reads "CGPA.xlsx" from deviceflush()#flushes all the data of course list and CGPA and everything from the codeNoteI have tried to implement all the functionalities, it might have some bugs also. Please ignore that or please contact me email to notify me about the bug. I will try to give proper credits to that too. And you are welcome to give your valuable opinion and suggestions.LicenseMITCHANGELOG:1.0.6:Fixed: Course Remove was not working.Fixed: Get CGPA was not working.1.0.5:Fixed: Credits Attempted was not adding number of credits.Fixed: Flush was not removing Credits Completed.1.0.4:Added: Check Completed Course.Added: Check Retake Course.Added: Credits Completed.1.0.3:Added: Flush.1.0.2:Added: Save to Device. (Tested on PC and Google Colab)Added: Read from Device. (Tested on PC and Google Colab)1.0.1:Fixed: Removing Courses: Wrong course was getting removed.Fixed: Checking Courses Attempted: It was showing random course instead of a list.1.0.0:Added: Adding CoursesAdded: Removing CoursesAdded: Checking Courses AttemptedAdded: Get CGPAAdded: Number of Credits Attempted
Package: br-address-parser
br-address-parserThis module is a simple parser for Brazilian addresses. This receives a complete address string and split it in 'street', 'number', 'complement', 'neighborhood', 'city' and 'state'.This code is abr-address-parserport for Python.
Credits should go to the original implementation contributors.How to installpip install br_address_parserHow to usefrombr_address_parserimportparsecomplete_address="Av. Brasil, 1245 - Bloco 2 Ap 203 - Centro - Belo Horizonte - MG"parsed_address=parse(complete_address)The above example transforms the string "Av. Brasil, 1245 - Bloco 2 Ap 203 - Centro - Belo Horizonte - MG" into the following object:{"street":"Av. Brasil","number":"1245","complement":"Bloco 2 Ap 203","neighborhood":"Centro","city":"Belo Horizonte","state":"MG"}If you want to fill some fields with default values when they are empty, then you can usedefaultFieldsparameter:complete_address="AV ANAVILLE 1-QD 3 LT 4 - RESIDENCIAL ANAVILLE - ANAPOLIS - GO"parsed_address=parse(complete_address,{"number":"S/N"})The above example transforms will putS/Nin thenumberfield, because parsed address returns emptynumber:{"street":"AV ANAVILLE 1","number":"S/N","complement":"QD 3 LT 4","neighborhood":"RESIDENCIAL ANAVILLE","city":"ANAPOLIS","state":"GO"}When the address cannot be parsed, theparsefunction returnsNone.How to testmake testLicenseThis project is licensed under the terms of the MIT license.
Package: braidvisualiser
Braid VisualiserSimple python library for the creation and rendering of Artin braids.InstallationThis package is available on PyPi and can be installed to your project withpip:pip install braidvisualiserExampleRendering a simple 3-strand braid:import braidvisualiser as bv

bv.Braid(3, 1, -2, 2)

bv.draw()See thedrawmethod's configurable parameters for rendering options.
Package: braille-art
braille-art一个便利的盲文字符画生成工具安装请先确保安装好Python环境，本程序在以下环境经过测试：Windows 10, CPython 3.9.7 (amd64)macOS 11.6, CPython 3.9.7 (amd64)Ubuntu 20.04 LTS, CPython 3.8.10 (amd64, WSL2)之后，利用pip进行安装：pip3installbraille-art用法brailleart<你的图片路径>另外，提供了以下可选开关：-w/--width,-h/--height: 控制图片的长/宽，如果只给其中一个值，则等比例缩放-o/--output: 输出盲文字符画到指定文件-s/--threshold: 可以指定进行二值化时使用的阈值当然也可以在python中引用：importbrailleartasbaba.convert(your_path,optional_width,optional_height,optional_threshold)感谢感谢这篇文章给出的盲文字符表和权值表。
Package: braille-bars
Uses ansi terminal characters to print braille barcodes.
Simple library that uses the braille unicode characters to make 4 individual barcodes in one line of text.Installation
No dependencies, just run the braille-test.py file.Make sure you switch terminal emulation on to allow ansi characters.Howto:
There are two classes, the Manager to keep track of the progress bars and the Bar class to create the individual bars.manager = ProgressBarManager()

    # Keep track of time
    start_time = time.time()

    # progress bar unique index
    bar_index = 1

    # Update and display progress bars
    while len(manager.bars) > 0 or bar_index < 15:
        # Add a new progress bar set every 3 seconds
        if time.time() - start_time > 1.3 and bar_index < 15:
            manager.add_progress_bar(f"PDF {bar_index}")
            start_time = time.time()
            bar_index += 1

        # Update progress bars
        for title in list(manager.bars.keys()):
            for index in range(4):
                increment = random.random() * 0.03
                manager.update_progress_bar(title, index, increment)

        # Remove and reposition completed progress bar sets
        for title, bar in list(manager.bars.items()):
            if all(progress >= 1 for progress in bar.progresses):
                manager.reposition_progress_bars(title)

        # Sleep before next update
        time.sleep(0.05)```
Package: braillelib
braille - 1st Placewinnerat HarkerHacks 2018https://devpost.com/software/braille-h7kxzbA Python module that supports conversion between text, image, speech, and braille for developers.InspirationIn the world, 36 million people are blind, and I wanted to create a project that would make blind people's life easier. I was searching for a Python library to assist braille technology, but I found nothing. So, I decided to create my own library to assist developers create projects that integrates braille technology.What it doesWith this library, developers can simply install and import this library and perform conversions between text, image, speech, and braille.Installation 🛠Make a project directory$ mkdir YOUR_PROJECT_DIRECTORYInstall the library from GitHubgit clone https://www.github.com/AaditT/brailleMake sure you work within this directory. Your importation of the braille library may not work if this installation occurs in any other folderbraille DocumentationDownload braille.py to a directory and create your project within this directoryimport brailleTo convert text to braille:braille.textToBraille('string')To convert text to speech:braille.textToSpeech('string')To convert image to text:braille.imageToText('image_path')To convert image to speech:braille.imageToSpeech('image_path')To convert image to braille:braille.imageToBraille('image_path')To convert a braille array to text:braille.brailleToTextArray('array')To convert a braille array to speech (array implementation):braille.brailleToSpeechArray('list_of_imgs_paths')To convert a braille array to speech (image implementation):braille.brailleToSpeechImg('list_of_imgs_paths')To convert braille images (fromhere):braille.brailleToSpeechImgs('list_of_imgs_paths')
Package: braille-radio
braille_radioA neat commandline internet radio for braille users or small character displays (e.g. Raspberry Pi).FunctionBraille_radio plays internet radio stations. The station information is gathered from
the open radio data projecthttps://www.radio-browser.info.Slow indexing for lighting fast searching:The station information is processed byWhooshinto a quick search index.
Therefore the initial start of braille_radio will need a minute or two to create the index, so please be patient.
The subsequent starts will be quite fast. Then you can fluidly search (offline) as you type.Optimized GUI:The GUI is quite minimal. The main action takes place in the top line of the screen. This is for the comfort of the braille users.
Additional lines are displayed for further help/information, only.Sound output:The sound output is via VLC only. So you will need VLC to use this software.Work in progressThis is a work in progress. Please open an issue if you have a question, found a bug or like to introduce some new ideas.Installation:$ pip install braille_radioUsage:$ braille_radio

or

$ bradio
Package: brainatlas
A python interface to the rat brain atlasPurpose-------Using the rat brain atlas...1) construct 3d point clouds of various brain regions2) lookup the area for a given location (ML, DV, AP coordinate)3) grab the containing section image for a given location4) plot a location on a flattened cortical surfaceInstallation details--------------------Due to copyright reasons, this module does not contain the eps filesfrom the cd that comes with the rat brain atlas. These files arehowever required for the module to function.You can either pass in the path of the eps files to the necessaryfunctions (such as Section.__init__) or copy the eps files(of at least the coronal sections) to atlas/eps.How to------get the section index for the containing section>>> pyatlas.py section 6.5 3.5 -7plot a location on a section (show and save the plot)>>> pyatlas.py section 6.5 3.5 -7 -psget the area for a location>>> pyatlas.py area 6.5 3.5 -7get a point cloud of an area (saved to meshes/<area>.asc) [takes a while]>>> pyatlas.py points V2L -mplot a location on a flattened cortex>>> pyatlas.py cortex 6.5 3.5 -7 -psSeveral calls to plot on a flattened cortical surface will go much fasterif the area points are recomputed like so>>> pyatlas.py area -p area.p>>> pyatals.py cortex <ML> <DV> <AP> -A area.pNotes-----this is buggy and hacky as all heckwhat I wanted was to generate a 3d mesh of a selected brain area from a stack of labeled brain atlas imagesSteps:1) take eps files of a brain atlas2) find location of a selected area label within each eps file3) render eps file to bitmap format4) find pixels that correspond to the border of the selected area5) map image to brain coordinates6) output 3d brain coordinates for border of selected area at each slice7) use meshlab to generate mesh from pointsthis is terribly hacky and relied on:3) manually generating the mesh using ball-pivoting in meshlabwhat I would really like is to2) make a more flexible mapping for all atlas slices3) automatically generate meshMeshlab-------1) load in a points file for an area (ex: V1.asc)2) simplify the points:Filter -> Cleaning -> Merge: ~.05 world units3) save as mesh (ex: .ply)4) reload3) mesh the points:Filter -> Remeshing -> Surface Reconstruction (ball pivoting): ~.5 world units (or .7 for V2L)5) close holes5) smooth:Filter -> Smoothing -> Laplace Smooth: 2 iterations6) save as mesh (ex: .ply)
Package: brain-automl
Brain-AutoMLAn open-source Python framework for systematic review based on PRISMA : systematic-reviewpyChaudhari, C., Purswani, G. (2023). Stock Market Prediction Techniques Using Artificial Intelligence: A Systematic Review. In: Kumar, S., Sharma, H., Balachandran, K., Kim, J.H., Bansal, J.C. (eds) Third Congress on Intelligent Systems. CIS 2022. Lecture Notes in Networks and Systems, vol 608. Springer, Singapore.https://doi.org/10.1007/978-981-19-9225-4_17IntroductionFeaturesInstallationContributionFuture ImprovementsIntroductionThe main objective of the Python framework is to automate systematic reviews to save reviewers time without creating
constraints that might affect the review quality. The other objective is to create an open-source and highly
customisable framework with options to use or improve any parts of the framework. python framework supports each step in
the systematic review workflow and suggests using checklists provided by Preferred Reporting Items for Systematic Reviews
and Meta-Analyses (PRISMA).AuthorsThe packagessystematic-reviewpyandbrowser-automationpyare part of Research paperAn open-source Python framework for systematic review based on PRISMAcreated byChandravesh chaudhari, Doctoral candidate atCHRIST (Deemed to be University), Bangalore, Indiaunder supervision ofDr. Geetanjali purswani.Featuressupported file types: ris, json, andpandas IOsupports the complete workflow for systematic reviews.supports to combine multiple databases citations.supports searching words with boolean conditions and filter based on counts.browser automation usingbrowser-automationpyvalidation of downloaded articles.contains natural language processing techniques such as stemming and lemmatisation for text mining.sorting selected research papers based on database.generating literature review excel or csv file.automatically generates analysis tables and graphs.automatically generates workflow diagram.generate the ASReview supported file for Active-learning ScreeningSignificanceSaves timeAutomate monotonous tasksNever makes mistakesProvides replicable resultsInstallationThis project is available atPyPI. For help in installation checkinstructionspython3-mpipinstallsystematic-reviewpyDependenciesRequiredrispy- A Python 3.6+ reader/writer of RIS reference files.pandas- A Python package that provides fast, flexible, and expressive data
structures designed to make working with "relational" or "labeled" data both easy and intuitive.Optionalbrowser-automationpypdftotext- Simple PDF text extractionPyMuPDF- PyMuPDF (current version 1.19.2) - A Python binding with support for
MuPDF, a lightweight PDF, XPS, and E-book viewer, renderer, and toolkit.Important linksDocumentationQuick tourProject maintainer (feel free to contact)Future ImprovementsLicenseContributionall kinds of contributions are appreciated.Improving readability of documentationFeature RequestReporting bugsContribute codeAsking questions in discussionsFuture ImprovementsWeb based GUI
Package: brainbite
brainbiteA python bit my brain, so I sliced up the python into fine strips in retaliation.DescriptionBrainfuckis widely known as an esoteric programming language.
This package enables to write brainfuck-like code in pythonlegalgrammar.This package also provides transpilation function from bf code to python one.DemoThough this code is strange, outputs"Hello World!"on stdout correctly.frombrainbiteimportBiter_=Biter()[::...][::...][::...][::...][::...][::...][::...][::...][:...]_=_[:...:...][::...][::...][::...][::...][:...][:...:...][::...][::...]_=_[:...:...][::...][::...][::...][:...:...][::...][::...][::...]_=_[:...:...][::...][...:...][...:...][...:...][...:...][...:][...::...]_=_[:...:...][::...][:...:...][::...][:...:...][...:][:...:...][:...:...]_=_[::...][:...][...:...][...::...][...:...][...:][...::...][:...:...]_=_[:...:...][:][:...:...][...:][...:][...:][:][::...][::...][::...]_=_[::...][::...][::...][::...][:][:][::...][::...][::...][:][:...:...]_=_[:...:...][:][...:...][...:][:][...:...][:][::...][::...][::...][:]_=_[...:][...:][...:][...:][...:][...:][:][...:][...:][...:][...:][...:]_=_[...:][...:][...:][:][:...:...][:...:...][::...][:][:...:...][::...]_=_[::...][:]()To get this code, run below command.$python-mbrainbitesamplehello_worldTranspileThis module also works as transpiler.$python-mbrainbitetransfizzbuzz.bfFor more information, view$ python -m brainbite --help.InstallThis module is registered at PyPI.PyPI - brainbite$pipinstallbrainbiteLicenseMITAuthorLouiS0616
Package: brainboard
Module providing Measurements and Visualizations Tools for PyTorch.Home-page:https://github.com/neurospin-deepinsight/brainboardAuthor:
brainboard developersAuthor-email:antoine.grigis@cea.frLicense: CeCILL-B
Description: Module providing Measurements and Visualizations Tools for PyTorch.Platform: OS Independent
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Environment :: X11 Applications :: Qt
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Utilities
Package: brainbow
brainbowScript for visualizing ICA/ROI brain parcellationRequirementspip install brainbowExamplesbrainbow -n {your_brain_map}.niiQuick guideprovide a path to nifti map (-n/--niftiflag) and anatomical underlay (-a/--anatflag, optional)control the output with--sign,--thr, and--no-normflagsto plot only certain components use-c/--componentflagto set cut coordinates manually use--cutflagsee below for more infoOptions forbrainbow-n/--niftipath to the nifti file with 4D ICA map to convert to images (last dimension is components), orpath to the nifti file with 3D ROI map to convert to images (int values from 0 ton_regions);required-a/--anatpath to the anatomical image to use as an underlayif none is provided, the MNI 152 template is used as an underlay-o/--outputname of the output file(s)default -brainbow-output.png/svgYou can specify the exact extension (pngorsvg). If none is provided, files with both extensions will be created--richif--richis passed, in addition to the basic output a config file and a csv file containing cut coordinates is generated-s/--signchoices:pos, neg, bothused for leaving only positive (pos), only negative (neg), or all values (both) in the componentsALSO controls the colormap--thrthreshold value for component significanceif component is significant,thris used to mask values:-thr < value < thrif all abs values in the component are belowthr, component won't be visualizeddefault -0.2--no-normuse to disable data normalizationnormalization includes:centering around median,divsion by the max abs value, anddivsion by the sign (1 or -1) of this max abs value--extendif passed, in addition to overlay+underlay picture each componentwill also have a row with separate overlay/underlayhelpful for QC--dpidpi for png outputdefault -150--annotatechoices:none, minimal, fullshow components indices (minimal), components indices and cut coordinates (full), or nothing (none) on the output figuredefault -minimal-c/--componentsallows to provide a list of components to plot (e.g., '42 4 2')enumeration starts with 1--cutallows to set the cut coordinates manuallydefault behavior is to use the coordinates of the max abs value of each componentneeds to be either:a path to scv file (like the one created by--richflag), ora comma separated list of 3 cooridnates, which will be used for all components.coordinates order should be RAS+be careful when using with--componentsflag: brainbow assumes that the components order in the csv file correspond to the order of the provided componentsOutput example
Package: brainbox-ibl
# IBL Python Libraries[![Build Status on master](https://travis-ci.org/cortex-lab/alyx.svg?branch=master)](https://travis-ci.org/cortex-lab/alyx)
[![Build Status on dev](https://travis-ci.org/cortex-lab/alyx.svg?branch=dev)](https://travis-ci.org/cortex-lab/alyx)## Description
Library used to implement the International Brain Laboratory data pipeline.
The library as currently 3 main modules:
-alf: the ALF
-ibllib: general purpose library containng I/O, signal processing and IBL data pipelines utilities.
-oneibl: interface to the Alyx database of experiments to access IBL data.## RequirementsOS: Deployed on Linux and Windows. Minimally tested for Mac.Python Module: Python 3.6 or higher, we develop on 3.7.## Documentationhttps://ibllib.readthedocs.io/en/latest/## Installationhttps://ibllib.readthedocs.io/en/latest/02_installation_python.html### Demonstrationhttps://ibllib.readthedocs.io/en/latest/_static/one_demo.html## Contribution and development practices
See developper’s installation guide here:https://ibllib.readthedocs.io/en/latest/02_installation_dev_python.htmlWe use gitflow and Semantic Versioning.Before commiting to your branch:
-   run tests
-   flake8
This is also enforced by continuous integration.## Matlab Library
The Matlab library has moved to its own repository here:https://github.com/int-brain-lab/ibllib-matlab/
Package: braincube-model-sdk
Braincube Model SDKThis Python package aims to provide the skeletton of the Braincube Model Manager framework.This SDK provides the following classes and methods:classHandler: this class is to be inherited by the user to get notified when a message arrives, and to be able to send messages back to the Edge computing platform.functionrun_sdk(handler): blocking function that your client should call at some point (earliest possible)functionstop_sdk: will ask the sdk to stop itself. Not normally needed but if you need to stop the client at some point (and restart it later), you can use that.
Package: braincube-token-getter
Braincube Token GetterBraincube Token Getter is small program that uses the braincube sso in order to obtain a temporary token.The program uses the flask python framework.Installationpipinstallbraincube-token-getterUsageCreate a new configurationBy default the new configuration is stored in~/.braincube/but the option-por--pathcan be used to specify a specific configuration directory.braincube-token-getter-c-pmy_directoryThe program will ask for a Baincube applicationClient IDandClient Secret. If you do not know how to find these informations or how to create a Braincube application, see the sectionCreate a Braincube application.Request a tokenbraincube-token-getter-tThe token is added to themy_directory/config.jsonfile.Note: your browser may warn you with a Security risk because your ssl certificate is not known by firefox or chrome. In this case click onAdvanced...andAccept the Risk an Continue.Create a Braincube applicationConnect tomybraincube.com/Go toConfigureby clicking on youusernameon the top left corner.Go to application on the thin horizontal menu bar just below the black header.Either select an existing application you want to use or create a new one with the +/- icon.Note that the url of your application should behttps://localhost:5000/tokenso that the program gets the right url when it logs in.
Package: brain-diffusion
brain_diffusion========Brain_diffusion is a tool for calculating and analyzing MSDs from trajectorydatasets.It can calculate MSDs from input trajectories, perform averaging over largedatasets, and visualization tools.  It also provides templates for parallelcomputing.To get started using these components in your own software, please go to therepository README_... _README: https://github.com/ccurtis7/brain_diffusion/blob/master/README.mdLicense=======``brain_diffusion`` is licensed under the terms of the BSD 2-Clause license. Seethe file "LICENSE" for information on the history of this software, terms &conditions for usage, and a DISCLAIMER OF ALL WARRANTIES.All trademarks referenced herein are property of their respective holders.Copyright (c) 2015--, Chad Curtis, The University of Washington.