Saravanan666/pypi-org huggingface dataset:
Package: briekit
Preprocessing tool kit of BRIE project in splicing analysisWhy BRIE-kitThe purpose of move some utility functions fromBRIEmain package into this
tool kit is thatbrie-eventis only supported by Python 2 (seeissue).
Therefore, we keep a few pre-processing tools into this package and  BRIE main
package can focus on splicing quantification and downstream analysis.Therefore, use BRIE-kit in Python 2 environment only for full fucntions.Supported fucntionsBRIE-kit provides following functions through command line, which are upgraded
from BRIE main package:1.briekit-event: Extract the splicing events from gene annotation file in
gff3/gtf formate.2.briekit-event-filter: Filter exon-skipping events by setting
thresholds.3.briekit-factor: Fetch genentic features from genome sequence reference
file in fasta formate.Quick StartInstallationBRIE-kit is developed under Python 2.7 environment, and not full compatible
with Python 3,so please use it in Python2 environment. If you are using
Python3 inAnaconda3, you can simply create acondaenvironment with
Python=2.7:condacreate-nbriekitpython=2.7numpy=1.13.0sourceactivatebriekitOnce you are in a Python 2 environment, there are two ways to isntall:Opt 1: Type in terminal:pip install briekit. Add-Uif you want to
upgrade your earlier installation.Opt 2: Download the GitHubrepository, and typepython setup.py installNote, if you don’t useAnacondaand don’t have root permission, add--user, so you can install it in your folder.ArgumentsType command linebriekit-event-hDetailed manualSee theWikidocumentation on how to install, to use, to find the annotation data
etc.ReferencesYuanhua Huang and Guido Sanguinetti.BRIE: transcriptome-wide splicing
quantification in single cells.Genome Biology, 2017; 18(1):123.
Package: brifuture-facilities
Facilities for BriFutureThese facility scripts which will mostly be written in python is for better management of myself, but if some of them are also useful for you, you can download them (either source code or install the whole package with pip) for personal usage. It will be grateful if you make some advision or want to make some improvements over these scripts.Usable CommandsAll commands that is usable can be downloaded and compiled withpip, all these commands are prefixed withbf_which may make these commands more identified.bf_broadcast: Identify which machine running the specified script through sending and recieving broadcast udp datagram.bf_gitrepo: which may simplify the creation or deletion a shared git repository on personal mini git server. you can read a blog article on how I make it by visitingmy blog website.bf_monitor: Monitor file changes, and execute prepared commands. you can read a blog article on how I make it by visitingmy blog website.For more details about these facilities, please refer the help message provided by each command with-hoption.InstallUsing pip to install these facility commands:python3 -m pip install brifuture-facilities
or
pip install brifuture-facilitiesLicenseLicense is GPLv3.
Package: brigade
BrigadeBrigade is a pure Python automation framework intented to be used directly from Python. While most automation frameworks use their own DSL which you use to describe what you want to have done, Brigade lets you control everything from Python.One of the benefits we want to highlight with this approach is the ease of troubleshooting, if something goes wrong you can just use your existing debug tools directly from Python (just add a line ofimport pdb&pdb.set_trace()and you're good to go). Doing the same using a DSL can be quite time consuming.What Brigade brings to the table is that it takes care of dealing with your inventory and manages the job of dispatching the tasks you want to run against your nodes and devices. The framework provides a very simple way to write plugins if you aren't happy with the ones we ship. Of course if you have written a plugin you think can be useful to others, please send us your code and test cases as apull request.InstallWhile Brigade still supports Python 2.7 the recommended version is 3.6. Install it with pip.pip install brigadeDocumentationRead theBrigade documentationonline or review it'scode hereExamplesYou can find some examples and already made toolshereBugs & New featuresIf you think you have bug or would like to request a new feature, please register a GitHub account andopen an issue.Contact & SupportWhile we are happy to help, theGitHub issuesare intended for bugs and discussions about new features. If are struggling to get something to work but don't believe its due to a bug in Brigade, the place to ask questions is in the #brigade channel in thenetworktoCode Slack team.Contributing to BrigadeIf you want to help the project, theContribution Guidelinesis the best place to start.
Package: brigadier.py
brigadier.pyImplementation ofMojang/brigadierin Python.InstallingRequires Python 3.7 or higher# For Windowspy-3-mpipinstallbrigadier.py# For linux or macOSpython3-mpipinstallbrigadier.pyExamplesRegistering a simple commandfrombrigadierimportCommandDispatcherfrombrigadier.builderimportliteral,argumentfrombrigadier.argumentsimportintegerdefpow2_command(ctx):number=ctx.get_argument("number")returnpow(number,2)defpow_command(ctx):number=ctx.get_argument("number")power=ctx.get_argument("power")returnpow(number,power)# Register the commanddispatcher=CommandDispatcher()dispatcher.register(literal("pow2").then(argument("number",integer).executes(power_command)))dispatcher.register(literal("pow").then(argument("number",integer).then(argument("power",integer).executes(pow_command))))# Execute the commandprint(dispatcher.execute("pow2 2",{}))print(dispatcher.execute("pow 3 4",{}))Using a custom argument typefrombrigadierimportCommandDispatcherfrombrigadier.builderimportliteral,argumentfrombrigadier.suggestionimportempty_suggestionclassVector3:defparse(self,reader):self.x=reader.read_int()reader.skip()self.y=reader.read_int()reader.skip()self.z=reader.read_int()returnselfdeflist_suggestions(self,builder):returnempty_suggestion()defget_examples(self):return["2 3 1","0 5 0"]defteleport_command(ctx):location=ctx.get_argument("location")x=location.xy=location.yz=location.zprint(f"You've been teleported to{x},{y},{z}")return1dispatcher=CommandDispatcher()dispatcher.register(literal("teleport").then(argument("location",Vector3()).executes(teleport_command)))dispatcher.execute("teleport 24 51 -632",{})LicenseMIT
Package: brightest-path-lib
brightest-path-libA Python package of path-finding algorithms to find the brightest path between points in an image.Getting StartedTo install and get started with thebrightest-path-lib, please visit thedocumentation website.For more detailed instructions on how to use thebrightest-path-lib, please see theAPI documentation.ContributingContributions are very welcome. Tests can be run withpytest, please ensure the coverage at least stays the same before you submit a pull request.To contribute to this package, first checkout the code. Then create a new virtual environment:cd brightest-path-lib
python -m venv brightest-venv
source brightest-venv/bin/activateNow install the package with the testing dependencies:pip install -e '.[test]'To run the tests:pytestIssuesIf you have any suggestions or encounter any problems, please file anissuealong with a detailed description.LicenseDistributed under the terms of the GNU GPL v3.0 license, "brightest-path-lib" is free and open source software.
Package: brighteyes-ism
BrightEyes-ISMA toolbox for analysing and simulating Image Scanning Microscopy (ISM) datasets.
The analysis module contains libraries for:Adaptive Pixel Reassignment (https://doi.org/10.1038/s41592-018-0291-9)Focus-ISM (https://doi.org/10.1038/s41467-022-35333-y)Image Deconvolution (https://doi.org/10.1088/1361-6420/accdc5)Fourier Ring Correlation (https://doi.org/10.1038/s41467-019-11024-z)Image and ISM datasets visualizationMiscellaneous toolsThe simulation module contains libraries for:Generation of ISM point spread functions (https://doi.org/10.1016/j.cpc.2022.108315)Generation of tubulin phantom samplesThe dataio module contains libraries for:Reading the data and metadata from the MCS software (https://github.com/VicidominiLab/BrightEyes-MCS)InstallationYou can installbrighteyes-ismviapipdirectly from GitHub:pip install git+https://github.com/VicidominiLab/BrightEyes-ISMor using the version onPyPI:pip install brighteyes-ismIt requires the following Python packagesnumpy
scipy
matplotlib
scikit-image
scikit-learn
poppy
PyCustomFocus==2.3
h5py
tqdm
statsmodels
matplotlib-scalebarDocumentationYou can find some examples of usage here:https://github.com/VicidominiLab/BrightEyes-ISM/tree/main/examplesYou can read the manual of this package on Read the Docs:https://brighteyes-ism.readthedocs.ioCitationIf you find BrightEyes-ISM useful for your research, please cite it as:Zunino, A., Slenders, E., Fersini, F. et al. Open-source tools enable accessible and advanced image scanning microscopy data analysis. Nat. Photon. (2023).https://doi.org/10.1038/s41566-023-01216-xLicenseDistributed under the terms of theGNU GPL v3.0license,
"BrightEyes-ISM" is free and open source softwareContributingYou want to contribute? Great!
Contributing works best if you creat a pull request with your changes.Fork the project.Create a branch for your feature:git checkout -b cool-new-featureCommit your changes:git commit -am 'My new feature'Push to the branch:git push origin cool-new-featureSubmit a pull request!If you are unfamilar with pull requests, you find more information on pull requests in thegithub helpIssuesIf you encounter any problems, pleasefile an issuealong with a detailed description.
Package: brightml
brightml: Machine-Learned Auto brightnessThe goal of this package is to automatically manage brightness on laptops, with "zero config"; using machine learning.
Some do not even realise that what is "on" your screen, matters. White screens (like browser) vs coding (in black) should be accounted for.All you have to do is to change brightness when it is not good enough yet;brightmllearns.It will learn to generalize based on your personal needs. To do this, it uses:Brightness of screenAmbient light sensor (if available)Hour of daywhereami (indoor wifi positioning)Battery feature (only if discharging)Active application nameActive window titleFeaturesCross-OS (within Linux)Cross-vendor (intel, nvidia)Cross-hardware (with or without ambient light sensor, linux on macbook works)Seamless integration: No need to change key bindings as it monitors brightness change by userUses asyncio, event-based (change of window immediately triggers prediction; no timer)Updates brightness on focusing different windows and on scrollingGoalsProvide service files to enable by startup (systemd: done)Add a command to show "feature importance"More extensibility (plugin based)Cross-platform (OSX)Installationpip install brightmlBonus: set upwhereami <https://github.com/kootenpv/whereami>_ to include indoor positioning in the predictions.pip install brightml[whereami]UsageEventually we need to get some service files for the different Operating Systems, so the process starts on boot.For now, just ready for preview, run on command line:sudo brightmlThis will run brightml in the foreground.To instead just show current feature values, run:pascal@archbook:~$ brightml features
{
    "ambient_light": 1,
    "whereami": "bed",
    "datetime_hour": 21,
    "datetime_timezone": "UTC+02:00",
    "datetime_date": "2017-10-28",
    "datetime_full": "2017-10-28 21:52:43+02:00",
    "display_pixel_mean": 9.072666666666667,
    "display_window_name": "pascal@archbook:~",
    "display_window_class": "urxvt URxvt",
    "battery": 95.94282414091828
}
Package: brightness
The effortless solution for managing screen brightness in Python.Linux support coming soon.Installingpipinstallbrightnessto test:python-mbrightnessset()defset(value:int|float)->NoneSets the screen brightness to the entered value.get()defget()->(int|None)Returns the screen brightness.increase()defincrease(value:int)->NoneIncreases the screen brightness by the entered value.decrease()defdecrease(value:int)->NoneDecreases the screen brightness by the entered value.
Package: brightnessctl
brightnessctl - Control screen brightness on LinuxInspired bybrightnessctlInstallationpip install --user brightnessctlUsageusage:brightnessctl[-h][-v][-pN|-dN|-rN][--durationS][--save|--restore]optionalarguments:-h,--helpshowthishelpmessageandexit-v,--verbose-pN,--percentNSetbrightnessto<N>%-dN,--deltaNAdjustbrightnessby<N>%ofmaxbrightness-rN,--relativeNAdjustbrightnessby<N>%ofcurrentbrightness--durationSHowlongtotaketogettofinalvalue--saveSavecurrentvaluetodiskbeforechangingvalue--restoreRestoresavedvaluefromdisk
Package: brightnessUI
brightnessUIIntroductionA simple UI to change screen backlight (brightness) for Ubuntu20.Purpose: An alternative for those computers with system brightness slider not working. This UI changes the backlight by modifying/sys/class/backlight/xxx/brightnessdirectly, wherexxxdiffers according to your computer.InstallMethod1 (From source)gitclonehttps://gitee.com/shu-peixuan/brightnessUI.gitcdbrightnessUI/
./install.shMethod2 (From PyPI)May NOT be updated:pip3installbrightnessUI# from PyPIbrightness-ui-install# install desktop and application menu shortcutsTo uninstall:pip3uninstallbrightnessUI
rm~/Desktop/brightness-ui.desktop
sudorm/usr/share/applications/brightness-ui.desktopUsagebrightness-uiOr click the desktop icon on the Desktop or Application Menu.It is needed to allow launching for the desktop icon.It is recommended to add the ui in the application menu to favorites.DevelopUpload on PyPI:sudoaptinstalltwine-y
python3setup.pysdistbdist_wheel
twineuploaddist/*
Package: brightside
BrightsideBrightside is a command dispatcher and processor for Python. It also provides a work queue for asynchronous dispatch over a broker such as RabbitMQ.
It is intended to work with Brighter, a C# command dispatcher and processor and allow polyglot solutions i.e. a Flask endpoint that sends work over a queue to a C# consumer or an ASP.NET WebAPI endpoint that sends a request over a work queue to a Python application.
Brightside can also be used stand-alone as an opinionated alternative to libraries like Celery, which use RPC and not messaging.Message Store ConfigurationIf you post messages via a Broker, and use alchemy_store then We need to know where the tables for the message store can be found;
we don't create the database that contains them, we assume that you will do that, and so we need a connection string to find that
database. To do this, we pick up the following environment variable:BRIGHTER_MESSAGE_STORE_URLIf this environment variable is not set, we will generate an errorDocker Compose FileThe Docker Compose File is intended to provide sufficient infrastructure for you to run tests that require backing stores or Message Oriented Middleware.
The testrunner.py script finds all test fixtures with the naming convention tests_* and runs them
To run the tests just use ./run_rests.sh
This shell script will docker-compose up the required infrastructure and a container for Brightside code and tests; that container is kept running with top
Once running we use docker-exec to run the python test runner script
Package: brightspot-employee
brightspot-employeeSimple database library for pulling data from a BrightSpot website.
Default setup can pull employee data fromhttps://religion.byu.edu/directory,
though the Employee and Employee_Processor classes can be overridden easily
to allow scraping data for most websites.
The library also supports using csv files for storing and pulling data.[License: GPL-3.0-or-later]
Package: bright-tool
bright-toolBright-tool is a Python package that enables users to control the brightness of their screens using fingertip gestures. This package utilises computer vision	technique to detect fingertips from a webcam feed and adjust the screen brightness accordingly.FeaturesControl screen brightness using simple fingertip gestures.Uses computer vision techniques for fingertip detection.Easy-to-use interface for adjusting brightness levels.Compatible with various operating systems.Lightweight and efficient implementation.InstallationYou can install bright-tool via pip:pipinstallbright-toolUsageimportbright_tool# Run brightness controllercontroller=bright_tool.detector()RequirementsPython >= 3.8OpenCVNumpyMediaPipeScreen-Brightness-ControlContributingContributions are welcome! Feel free to open issues or submit pull requests with improvements, bug fixes, or additional features.LicenseThis project is licensed under the MIT License - see theLICENSEfile for details.AcknowledgementsThis package was inspired by the idea of controlling screen brightness using gestures.Special thanks to the contributors and developers of OpenCV and NumPy.
Package: brightway2
Brightway2 life cycle assessment frameworkBrightway2 is a framework for advanced life cycle assessment calculations. It consists of several components which each accomplish specific tasks. This package is a container for all the separate components, for ease of documentation and installation.Brightway2 is inspired by the Brightway software, which was developed during Chris Mutel's PhD work at ETH Zurich, but is a complete rewrite focusing on simplicity, power, and ease of use. Brightway2 can run on all major operating systems.Official sitehttps://brightway.devOnline documentationhttps://docs.brightway.dev/Development bloghttp://chris.mutel.orgPackagesbrightway2-data:https://github.com/brightway-lca/brightway2-databrightway2-calc:https://github.com/brightway-lca/brightway2-calcbrightway2-io:https://github.com/brightway-lca/brightway2-io
Package: brightway25
Brightway2.5Brightway 2.5 is the next generation of theBrightway2framework for life cycle assessment. It provides new capabilities for cloud computing and model interaction, with the use of a newprocessed data libraryand a separation between the calculation library and a library formatrix construction and manipulation.Note that this library does not import anything, so runningfrom brightway25 import *won't do anything useful. Instead, import each constituent library separately. A good default is:importbw2analyzerasbaimportbw2dataasbdimportbw2calcasbcimportbw2ioasbiimportmatrix_utilsasmuimportbw_processingasbpUpgradingBrightway 2.5 can be use in parallel with Brightway 2, but each project must be either version 2 or 2.5. Brightway 2.5 projects have a different processed data format, and no longer use themappingobject.To upgrade an existing project to version 2.5, use the functionbw2data.projects.migrate_project_25().To maintain a clean separation between these two sets of projects, you can use some type of naming convention, or use anenvironment variablefor a new data directory.Official site:https://brightway.devOnline documentation:https://25.docs.brightway.dev/Development blog:http://chris.mutel.org
Package: brightwheel-photos
Brightwheel PhotosPython script for downloading a student's photos and videos fromBrightwheel.My kid went to a daycare that used Brightwheel to communicate with parents and
guardians. The teachers sent plenty of photos using Brightwheel. This script
downloads them all so I can keep them.Each photo's EXIF data includes the original creation date and any message
attached to the photo as a comment.UseInstall withpipx install brightwheel-photosbrightwheel-photos--email<brightwheel-account-email>--password<brightwheel-account-password>--directory~/Photos/brightwheelThe program will exit when all the photos have been saved.
Package: brigid
BrigidA simple blog engine, but not simpler than it should be.DemoMy blog:tiendil.org— look there to see all the features in action.Sources of the blog:https://github.com/Tiendil/tiendil-org-content— look there to see how content is organized.Or run from the root of the repository:poetryinstall

./bin/dev-server.shFeaturesMarkdown as a source code for articles.Multi-language support by design.Mobile-friendly.SEO-friendly.No cookies.Monolithic design: install and run. No need to look for plugins and themes.Some specific featuresBrigid is not a static site generator, i.e. you should run brigid process to access the site. It gives some advantages over classic static site generators.Redirects.Nice tags filtering (for wide pages only, for now).Detect language by headers.Sentry reporting.More features are coming.Design principlesA very subjective list of design principles I follow in this project:One solid, stable, simple, up-to-date solution. Just install and run.Markdown won => use markdown as the primary source for posts.TOML won => use TOML for metadata and frontmatter instead of YAML.No unnecessary or unused features.Design for not trivial posts: long, multilanguage, images, code, etc.Server-side rendering is good. Use it as the primary approach.Use minimum JS only when it is really required.No CSS experiments, only stable verified solutions.
Package: brij-fintech
brijA client api for brij fintechinstallationpip install brij-fintech==0.0.5getting startedin order to use brij services,you'll need to follow these simple stepscreate an account with themcreate a service/application under your brij account dashboardnote down your app ID and appKeyIntegrationDirect Payment:sending direct payment from your customer to your brij account using M-Pesafrom brij.mpesa import MpesaService

to_acc = MpesaService(app_id='YOUR-BRIJ-APP-ID', app_key='YOUR-BRIJ-APP-KEY')
response = to_acc.mpesa_to_acc(amount, sender, MPESA-NUMBER, description='short description')
if r:
    print(r.json())
else:
    print('error')the description text must not exceed 16 charsMPESA-NUMBER is the number making the transaction. the supported format starts is 254712345678Escrow:sending escrow payment between your customers with your account acting as an escrow account, using M-pesafrom mpesa import MpesaService

service = MpesaService(app_id='YOUR-BRIJ-APP-ID', app_key='YOUR-BRIJ-APP-KEY')
r = service.mpesa_to_escrow(amount, 'sender email or phone', 'recepient email or phone', MPESA-NUMBER, 'short deacription')
print(r.json())the MPESA-NUMBER is the number making the transaction. the supported format is 254712345678short description must not exceed 16 charssender email or phone are required in order to reach both parties with updates on the transaction
Package: brikeda-client
Brikeda ClientClient Proxy to call AI Services on Brikeda, and Classes to support hardware on Raspberry Pi such as waveshare motor controllerInstructionsInstall:pip install brikeda_clientGenerate an Brikeda object and call some methods:frombrikeda_client.brikedaimportBrikeda# initialize Brikeda Object with personal key retrieved at brikeda.com/aipanelbrik=Brikeda("4b6871e0d9d84de2926df29483a9aab9")# send a message. any string will do. but if is a valid hex color it will display itbrik.SyncMessages("#ebde34")# get a sentiment analysis of a sentence:postive, negative ratingsx=brik.Sentiment('this is exciting')print(x)
Package: brikeda-robot
Useful commandssudo rm -rf .git/Brikeda RobotPython Classes to support hardware on Raspberry Pi such as waveshare motor controllers,range detectors,camerasInstructionsInstall:pip install brikeda_robotGenerate an Brikeda object and call some methods:frombrikeda_robot.robotimportRobot# initialize Brikeda Object with personal key retrieved at brikeda.com/aipanelbrik=Brikeda("4b6871e0d9d84de2926df29483a9aab9")# send a message. any string will do. but if is a valid hex color it will display itbrik.SyncMessages("#ebde34")# get a sentiment analysis of a sentence:postive, negative ratingsx=brik.Sentiment('this is exciting')print(x)