Saravanan666/pypi-org huggingface dataset:
Package: brewt
omokami's brew toola cute little cli tool for organizing and timing your brews!this program:keeps track of all of your known brew recipes in a yaml file (my known brews provided)lets your quickly reference them within the program using a fuzzy searchhas a clean little cli with cute recipe cardscreates concurrent timers using your notification system!has two modes: constant & intervalhas time drift protection for accurate timekeepingcan play custom sounds on brew completioncan take an argument if you want your config files somewhere specificis pretty cute!has currently only been tested on endeavourOS running i3wm. (lmk if it works on your system!)who is this for?CivMC brewers but any brew mod users can use the basic template.the default provided yaml file just won't apply to you.installyou can grab the package off of github and do it the manual way.or, for your convenience, the most stable current version is on pippip install brewtusagesimply run the main files with an optional '-p' flag to specify a custom config pathuse the slash commands in the prompt to control the programevery timer you start has a unique code attached to itthis can be used to disambiguate batches you may have running at the same timeit can also be used to kill specific timers using the "/k" commandthere are two timer modes because some notification systems will not update in place. they seem to ignore the "id" tag being passed in the notification, so the "constant" timer which ticks down every second will unfortunately flood users who have a notification system like this. if this happens to you, you will need to use the "interval" timer mode or see if you can tweak your notification systems configuration to be less janky.planned featuresslash commands to:done!kill specific timers,done!pretty print all recipe cards,done!quit the program (currently ctrl+c)done!config file to:done!turn on/off persistent notifications (only get a notif @ x time)done!custom soundsdone!~~allow custom brewfile location (currently ~/.config/brewt/brews.yaml)~~done!set different sounds at different intervalscustom countdown valuecontactin game as omokami (ma suno & UTSS) or on the purple at okamime#9484you're welcome to send me feature requests, bugs you run into,  or simply berate me for my poor choices!also if you found this useful, feel free to send me recipes or hints!appearancewarning, screenshots are from previous version of the programscreenshots for your convenience.color scheme and font will depend on your terminal configuration.
Package: brewtils
Brewtils is the Python library for interfacing with Beergarden systems. If you are planning on
writing beer-garden plugins, this is the correct library for you. In addition to writing plugins,
it provides simple ways to query the API and is officially supported by the beer-garden team.FeaturesBrewtils helps you interact with beer-garden.Easy way to create beer-garden pluginsFull support of the entire Beer-Garden APIOfficially supported by the beer-garden teamInstallationTo install brewtils, run this command in your terminal:$pipinstallbrewtilsOr add it to yourrequirements.txt$catbrewtils>>requirements.txt$pipinstall-rrequirements.txtQuick StartYou can create your own beer-garden plugins without much problem at all. To start, we’ll create
the obligatory hello-world plugin. Creating a plugin is as simple as:frombrewtils.decoratorsimportsystem,parameter,commandfrombrewtils.pluginimportRemotePlugin@systemclassHelloWorld(object):@parameter(key="message",description="The message to echo",type="String")defsay_hello(self,message="World!"):print("Hello,%s!"%message)return"Hello,%s!"%messageif__name__=="__main__":client=HelloWorld()plugin=RemotePlugin(client,name="hello",version="0.0.1",bg_host='127.0.0.1',bg_port=2337)plugin.run()Assuming you have a Beer Garden running on port 2337 on localhost, running this will register and
start your plugin! You now have your first plugin running in beer-garden. Let’s use another part
of thebrewtilslibrary to exercise your plugin from python.TheSystemClientis designed to help you interact with registered Systems as if they were native
Python objects.frombrewtils.rest.system_clientimportSystemClienthello_client=SystemClient('localhost',2337,'hello')request=hello_client.say_hello(message="from system client")print(request.status)# 'SUCCESS'print(request.output)# Hello, from system client!In the background, theSystemClienthas executed an HTTP POST with the payload required to get
beer-garden to execute your command. TheSystemClientis how most people interact with
beer-garden when they are in the context of python and want to be making requests.Of course, the rest of the API is accessible through thebrewtilspackage. TheEasyClientprovides simple convenient methods to call the API and auto-serialize the responses. Suppose you
want to get a list of all the commands on all systems:frombrewtils.rest.easy_clientimportEasyClientclient=EasyClient('localhost',2337)systems=client.find_systems()forsysteminsystems:forcommandinsystem.commands:print(command.name)This is just a small taste of what is possible with theEasyClient. Feel free to explore all the
methods that are exposed.For more detailed information and better walkthroughs, checkout the full documentation!DocumentationFull Beer Garden documentation is available athttps://beer-garden.ioBrewtils Documentation is available athttps://brewtils.readthedocs.io
Package: brewup
brewupA CLI that automates upgrading Homebrew and all installed packages. Brewup runs the following routines in order to keep your system up to date with the latest versions of all installed formulae and casks.brew updateUpgrades installed packages based on many configuration settingsbrew autoremovebrew cleanupThe settings allow for a variety of options including:Excluding specific formulae/casks from being upgradedRunningbrew upgradewith the--greedyflagOpening casks after upgrading withopen -a {cask}Removing specific casks from MacOS quarantineSelect which available formulae/casks to upgradeInstallationIt is recommended to usePIPXto install this package.pipxinstallbrewupIf pipx is not an option, you can install Brewup in your Python user directory.python-mpipinstall--userbrewupNote: brewup requires Python >= v3.10.UsageUpgrade available formulae/casks:brewupInclude formulae and casks that are excluded in the configuration file:brewup--allSelect which formulae/casks to upgrade:brewup--selectSee all available upgrades but don't upgrade anything:brewup--listOnly formulae/casks that are excluded in the configuration file:brewup--excludedConfigurationOn first run, an empty configuration file will be created at~/Library/Application Support/brewup/config.toml. This file can be edited to customize the behavior of brewup.# Configuration for brewup# Target location for Applications, mimics --appdir. If empty, uses default# app_dir = ""# List of packages to exclude from updatesexclude_updades=[]# Update all casks, even if they auto-updategreedy_casks=false# Full path to `brew` if not in $PATH# homebrew_command = ""# List of casks to open after updatingno_quarantine=[]ContributingSetup: Once per projectInstall Python 3.10 andPoetryClone this repository.git clone https://github.com/natelandau/brewupInstall the Poetry environment withpoetry install.Activate your Poetry environment withpoetry shell.Install the pre-commit hooks withpre-commit install --install-hooks.DevelopingThis project follows theConventional Commitsstandard to automateSemantic VersioningandKeep A ChangelogwithCommitizen.When you're ready to commit changes runcz cRunpoefrom within the development environment to print a list ofPoe the Poettasks available to run on this project. Common commands:poe lintruns all linterspoe testruns all tests with PytestRunpoetry add {package}from within the development environment to install a run time dependency and add it topyproject.tomlandpoetry.lock.Runpoetry remove {package}from within the development environment to uninstall a run time dependency and remove it frompyproject.tomlandpoetry.lock.Runpoetry updatefrom within the development environment to upgrade all dependencies to the latest versions allowed bypyproject.toml.
Package: brew-versions
Brew Versions (brewv)Manage multiple versions of your Homebrew packages with ease!
Homebrew makes this difficult as a design decision, but sometimes old packages
need to be installed and we need a way to do so easily.InstallationWithpipxpipxinstallbrew-versionsOr just with pip:python3-mpipinstall--userbrew-versionsUsageSwitch to a specific version:$brewvswitchwget1.21[brewv]:Switchingwgettoversion1.21[brewv]:Notincache:findingbottletodownload[brewv]:GEThttps://linuxbrew.bintray.com/bottles/wget-1.21.x86_64_linux.bottle.tar.gz[brewv]:Bottlesuccessfullydownloaded,butcannotverifySHA256[brewv]:Pinningwget[brewv]:Successfullyswitchedtowget1.21Installing from taps:$brewvswitchjonchang/biology/bucky1.4.4[brewv]:Tappingjonchang/biology[brewv]:Switchingbuckytoversion1.4.4[brewv]:Notincache:findingbottletodownload[brewv]:GEThttps://linuxbrew.bintray.com/bottles/bucky-1.4.4.x86_64_linux.bottle.tar.gz[brewv]:Nobottlewasfoundforbucky1.4.4[brewv]:Searchingforversioningitdirectory,thismaytakeawhile...[brewv]:Foundaversionincommit:eee76a60fb5d7c6b619d736b50ee10fe42a9c73c[brewv]:Foundbottleintapconfig[brewv]:GEThttps://dl.bintray.com/jonchang/bottles-biology/bucky-1.4.4.x86_64_linux.bottle.tar.gz[brewv]:SHA256verifiedsuccessfully[brewv]:Pinningbucky[brewv]:Successfullyswitchedtojonchang/biology/bucky1.4.4When no bottle is found for taps it will proceed with searching the
local tap repository for the correct version and installing from the bottle
defined in the formula if it exists, otherwise from source.This is very slow for the main homebrew repository so this behaviour is disabled
when a bottle for a homebrew-core package cannot be found. You can supply
the optionbrewv switch --slow ...to perform this search.WarningsProper SHA256 verification is not done when downloading bottles from the
main bottle repository. This is because to get the expected SHAs would mean searching
the huge homebrew-core repository.While homebrew bottles exist for most operating
systems, if the bottle is not found then parsing old formulas fails quite often
since Homebrew updates their code frequently.
Package: brew-view
Brew View is the beer-garden application frontend. It uses Tornado to serve some REST endpoints and the AngularJS application, and it communicates with the beer-garden backend (Bartender) through Thrift.Getting StartedThe following steps are the easiest way to get Brew-view up and running from source.PrerequisitesPython (2.7.9+ or 3.4+)Node.js (Stable, 6+) withyarninstalled globallyConnectivity to a MongoDB ServerConnectivity to a RabbitMQ ServerGet Up and RunningA full installation guide for RabbitMQ and Mongo is outside the scope of this document. Below is a small snippet to get you up and running if you havedockerinstalled..$dockerrun-d-p27017:27017--namebg-mongomongo$dockerrun-d-p5672:5672-p15672:15672--namebg-rmqrabbitmq:3-management-alpineTo do development locally, it is important to note that brew-view is a combination of a python API powered bytornadoand an AngularJS App. So we will start them both up!$gitclonehttps://github.com/beer-garden/brew-view.git$cdbrew-view$makedeps# just a simple way to do pip install -r requirements.txt and yarn installStart up the JavaScript Application:$cdbrew_view/static$yarnserveNow start up the Python API:$cd/path/to/brew-view$python-mbrew_view-c./dev_conf/config.ymlSweet! Everything should now be up and running. Visithttp://localhost:8080/in a browser to check it out. Hit Ctrl-c to stop the web server.NOTE: It’s worth noting that the JavaScript App is served on 8080 but the python application is running on 2337.ConfigurationThere’s a conf/config.yml file that comes with the installation. It comes with sensible default values but feel free to change them if you’d like. You’ll need to restart the web server after making any changes.REST ServicesBrew-view’s most visible job is to serve the frontend application, but it also provides a REST API. This API is used by the frontend (and the plugins) to interact with the rest of beer-garden. You’re more than welcome to use the REST API directly if you’d like - you can find Swagger documentation by navigating to theAboutpage and clicking theCheck it out!button.Testing and Code CoverageYou can run the testing yourself.Python$maketestThis will run the tests for the python application. You can run against multiple python versions using tox:$maketest-allTo generate coverage:$makecoverageWe useflake8for linting:$makelintJavaScriptThe JavaScript application has its ownMakefileso to run these commands you’ll need to be in thebrew_view/staticdirectory.We are currently lacking in good JavaScript tests since we switched to webpack. We are hoping to remedy this in the near-term future. You __should__ be able to run tests:$maketestTo run ESLint:make lintDistributionCreating the brew-view distribution is simple. Simply go to the git root directory and run the following:$makedist
Package: brezn
brezn :pretzel:This is my attempt at figuring out what I would like asemlequivalent built on top ofhydrato look like. In particular, I want to have code isolation, i.e.
making a copy of the code when you run a job, so that you can continue working on your
code while your jobs wait in a SLURM queue.brezncomes withabsolutely no guaranteesregarding stability or backwards
compatibility. You have been warned.InstallationYou can installbreznfrom pypi (pip install brezn) though if you want the latest
version, you better install it straight from the repo.pipinstallgit+https://github.com/martenlienen/breznUsageConfigurationYou can configurebreznin a separate section of yourpyproject.toml.[tool.brezn]# Directory that brezn should put its internal files and saved environments intoenv_dir=".brezn"# Rules in the .gitignore format about which files should be included in the saved environmentsfiles=["brezn/**/*.py","config/**/*.yaml",]Run a commandbrezn runcreates a new copy of your code and then runs the command you provide from
there. Note that the working directory will be the directory where you issuebrezn run.breznrun./train.pyoverrides=True
Package: brfunds
[English]
Brazilian Fund Scrapper (or brfunds) is a package to recover data from investment funds without the need to download data to your computer. It uses the data available onhttps://comparadordefundos.com.br/and can be used to Time Series Analysis of earnings, net assets and number of  shareholders. It can also be used for comparing rentability of different funds.Ps: Due to changes on the api, the search is done exclusively with the CNPJ of the fund (company id), this changed occured starting on version 0.2.0.[Português]
Brazilian Fund Scrapper (ou brfunds) é um pacote para obter dados de fundos de investimentos brasileiros sem precisar baixar arquivos para o drive do computador. Ele utiliza o banco de dados disponível emhttps://comparadordefundos.com.br/e pode ser usado para Análise de Séries Temporais da rentabilidade, patrimônio do fundo e do número de cotistas.Obs: Por conta de mudanças na api, a busca pelos fundos é feita exclusivamente pelo CNPJ do fundo, a mudança é válida a partir da versão 0.2.0.Examples:frombrfundsimportsearchFund#The search fuction can be used to get the fund CNPJ (brazilian company id)# The max_size param can be used to control the size of the searchsearchFund('Example Fund',max_size=1)NameCNPJExample Fund 100.000.000/0000-00frombrfundsimportgetFundsEarnings#With the CNPJ, you can get data from the statistic of the fundgetFundsEarnings('00.000.000/0000-00')DateExample Fund 12016-01-310.0000002016-02-01-0.0007152016-02-06-0.0099022016-02-07-0.0090092016-02-08-0.007612......2021-06-020.9100642021-06-040.9142012021-06-070.9170082021-06-080.9115542021-06-090.911601#It can also be used to multiple funds and benchmarksgetFundsEarnings('00.000.000/0000-00','00.000.000/0000-00',benchmarks=['cdi','ibovespa'],start='31/01/16',end='09/06/21')DateExample Fund 1Example Fund 2CDIIBOV2016-01-310.0000000.000000.000000.000002016-02-01-0.0007150.0011360.000525-0.0486532016-02-06-0.009902-0.0050260.001049-0.0241862016-02-07-0.009009-0.0068550.0015750.0062042016-02-08-0.007612-0.0093790.0021000.000544...............2021-06-020.9100641.3242910.4504202.1945122021-06-040.9142011.3238140.4506122.2074362021-06-070.9170081.3236900.4508052.223472021-06-080.9115541.3275290.4509972.1990882021-06-090.9116011.3294020.4511902.202039#The package also includes functions for drawdown, 30d Volatility, Number of Shareholders and Net Worth.getFundsDrawdown('00.000.000/0000-00','00.000.000/0000-00',start='08/01/20')getFundsVolatility('00.000.000/0000-00',start='13/10/20')getFundsShareholders('00.000.000/0000-00','00.000.000/0000-00')getFundsNetWorth('00.000.000/0000-00',end='31/12/18')
Package: brian
Brian is a simulator for spiking neural networks available on almost all platforms.
The motivation for this project is that a simulator should not only save the time of
processors, but also the time of scientists.Brian is easy to learn and use, highly flexible and easily extensible. The Brian package
itself and simulations using it are all written in the Python programming language,
which is an easy, concise and highly developed language with many advanced features and
development tools, excellent documentation and a large community of users providing
support and extension packages.
Package: brian2lava
Brian2LavaBrianis an open-source Python package developed and used by the computational neuroscience community to simulate spiking neural networks. The goal of theBrian2Lavaopen-source project is to develop a Brian device interface for the neuromorphic computing frameworkLava, in order to facilitate deployment of brain-inspired algorithms on
Lava-supported hardware and emulator backends.For more information, please see ourwebsiteand thedocumentation.For a rundown of the new features and bugfixes addressed in the latest version, see theRelease Notes.Getting startedBelow you'll find information on how to quickly get Brian2Lava to run. For further information, please visit thedocumentation.Note:Brian2Lava is still in its testing phase. Please feel free toreport issues or feature requests.Note:At the moment, due to legal restrictions, models for theLoihi2backend may just be provided to members of theIntel Neuromorphic Research Community. Thus, the public version of Brian2Lava currently contains models for theCPUbackend only.InstallationBrian2Lava can be easily installed via the Python Package Index (pip):python3 -m pip install brian2lavaNote:condasupport might be added at a later point.For the latest source code, please visitgitlab.com/brian2lava/brian2lava. If you run from source code, make sure that you have added your path to the source code toPYTHONPATH, for example, via::export PYTHONPATH=~/brian2lavaImport package and set deviceUsing Brian2Lava within Brian 2 only requires two steps.First, import the package:import brian2lavaSecond, set thelavadevice with the desired hardware backend and mode:set_device('lava', hardware='CPU', mode = 'flexible')In principle, this can already run your Brian simulation on the Lava engine. However, you may have to use a few additional settings to
specify how the code for the simulation is generated and executed. Please see thedocumentationfor more information.You may want to continue by considering the example code providedhere.DependenciesBrian2Lava currently includes the library of preset models as an external dependency. To make sure that you have the latest version
of the library in your installation, navigate to the Brian2Lava package folder and runsource update_submodules.shor manually executegit init
git submodule foreach 'git pull origin main'This will pull the latest version of the public library of preset models from aGitHub repositoryinto your local Brian2Lava installation.Further dependencies can be found insetup.py.
Package: brian2modelfitting
Model Fitting Toolbox for Brian 2 simulator, to allow the user to find the best fit of the parameters for recorded traces and spike trains.By default, we support a range of global derivative-free optimization methods, that include popular methods for model fitting, such as: Differential Evolution, Particle Swarm Optimization and Covariance Matrix Adaptation (provided by the Nevergrad) as well as Bayesian Optimization for black box functions (provided by Scikit-Optimize).Documentation for Brian2modelfitting can be found athttp://brian2modelfitting.readthedocs.orgBrian2modelfitting is released under the terms of the CeCILL 2.1 license.Please report issues at the github issue tracker (https://github.com/brian-team/brian2/issues) or at the brian support mailing list (http://groups.google.com/group/briansupport/)InstallationModule can be installed with pypi:` pip install brian2modelfitting `Testing status[![Build Status](https://travis-ci.org/brian-team/brian2modelfitting.svg?branch=master)](https://travis-ci.org/brian-team/brian2modelfitting)
[![Coverage Status](https://coveralls.io/repos/github/brian-team/brian2modelfitting/badge.svg?branch=master)](https://coveralls.io/github/brian-team/brian2modelfitting?branch=master)
Package: briar_repl
briar_replasync python repl cli chat client, to be used with briar-headless:https://code.briarproject.org/briar/briar/tree/master/briar-headlessusage:currently it features:contact listingcontact addingcontact removingcontact renamingcontacts pending listcontacts display online statuscontacts display unread message count (currently per session only)direct chat with contactsbriar link displaycommand helptwo modes:command mode (blue bottom bar)chat mode    (green bottom bar)commands in chat mode are called by pre-pending/so a/backor/exit_chatbrings you back to command modecommands are auto completed thanks to the amazing prompt_toolkit package:https://github.com/prompt-toolkit/python-prompt-toolkitinstallation:install via pip:needs python3.7 or higher:python3 -m pip install briar_replbriar-headless.jar (1.2.12 or higher) would need to be available in:~/.briar/headless/briar-headless.jarinstall via flatpakneeds flatpak and flatpak builder, briar-headless is bundled in the flatpak.build flatpakwith supplied yaml instructions:flatpak-builder --repo=build/flatpak/repo --install-deps-from=flathub --user --force-clean build/flatpak/build org.briarproject.briar_repl.yamlbuild flatpak bundlecreates a flatpak file here:build/briar_repl.flatpakflatpak build-bundle build/flatpak/repo build/briar_repl.flatpak org.briarproject.briar_replinstall flatpakinstall flatpak on current machineflatpak install --user build/briar_repl.flatpakrun the flatpakflatpak run org.briarproject.briar_repl
Package: brick
Brick [![Build Status](https://secure.travis-ci.org/garindra/brick.png)](https://secure.travis-ci.org/garindra/brick.png)=====`brick` is a pure Python block-based templating system.###ExamplesLet's see some example:from brick import Blockfrom brick.tags import *class LikeButton(Block):def construct(self):b = []with Div(class_=['like-btn']).into(b):b += A(href="#")("Like")return blike_button = LikeButton()like_button.render()>> <div class="like-btn"><a href="#">Like</a></div>###Installation`brick` is an official PyPi module, so you can use it simply with pip by doing:pip install brick###PyPI Page[http://pypi.python.org/pypi/brick](http://pypi.python.org/pypi/brick)###Prerequisites`brick` is currently well tested on Python 2.5, 2.6 and 2.7.###Run unit testsIf you have the `nose` Python unit tester library installed and want to run the unit test suite for this library, then simply run this command:nosetests###Travis CIYou can track the project's CI status on Travis at : [http://travis-ci.org/#!/garindra/brick](http://travis-ci.org/#!/garindra/brick)###LicenseMIT 2.0###InspirationThis library is heavily inspired by the public description of Quora's webnode2 found [here](http://www.quora.com/Shreyes-Seshasai/Posts/Tech-Talk-webnode2-and-LiveNode).###Authors- Garindra Prahandono (garindraprahandono@gmail.com)