Saravanan666/pypi-org huggingface dataset:
Package: bresenham
The bresenham moduleA simple implementation of Bresenham’s line drawing algorithm.Seethe Wikipedia entryfor details on what that is.Note that this is a simple implementation.
It is written in Pure Python (without e.g.numpy), so it is relatively slow.I found some beauty in combining the classic algorithm (whose ingenuity lies in
using only integers – a constraint that isn’t really as relevant now)
with a Python generator (a modern device that follows the spirit of
“executable pseudocode”, abstracting away the output subroutine).
I hope others can appreciate the code as well.For serious use, look at these:skimage.draw.line, which solves the same problemfast.ANumpy-based recipethat generalizes the solution to <var>N</var>
dimensions.InstallationIn a Python virtual environment, do:python -m pip install bresenhamTo install from a Git checkout (in editable mode):python -m pip install -e.To install without a virtual envitonment, add the--useroption.UsageThebresenham(x0, y0, x1, y1)function returns a generator of
the coordinates of the line from(x0, y0)to(x1, y1).For example, the coordinates of a line from (-1, -4) to (3, 2), are:>>> from bresenham import bresenham

>>> list(bresenham(-1, -4, 3, 2))
[(-1, -4), (0, -3), (0, -2), (1, -1), (2, 0), (2, 1), (3, 2)]DevelopmentYou’re welcome to join this project!If you spot an issue, please report it at theIssues pageon Github.If you’d like to start changing the code or documentation, check out the code
locally using:git clone https://github.com/encukou/bresenhamIf you’re new to this, please read thethis guideabout collaborating
on Github-hosted projects like this one.If that doesn’t make sense, pleasee-mail the authorfor clarification. I’d be happy to help you get started.
Package: brestclient
brestclientin terminal rest client, super simple and super usefulhow to installinstallpython3install with pippython3 -m pip install brestclienthow to useoverviewfirst of all create a file with requestssyntax similar to other rest clients:emacs restclient-modevscode restclientthen perform requests withpython3 -m brestclient ./path/po/filefile syntax### request name
# name REQUIRED to be UNIQUE in entire file
# there should not be any two requests with same name
# it's matter to have no spaces before ###
# all next lines started with # is a comments, will be ignored
# it's matter to use ### only in the begining of request
# cuz ### means a request start, for comments use # or ##
# METHOD - can be any html method, case does not matter
# URL - any valid http url, if protocol is not specified (google.com for example)
# request will be performed with https protocol
# headers - all what is left of : is a header key,
# all is right of : is a header value
# both will be striped
# body will be striped as one big line
METHOD URL?a={{in_url_variable}}
HEADER_KEY: HEADER_VALUE
HEADER_KEY: HEADER_VALUE
HEADER_{{var1}}: HEADER_{{var2}}

{
    "all lines till the end are {{variables_can_be_everywhere}} lines of a request body",
    "there can be anything, json or plane text, or nothing if it's GET request"
}file example### yandex request
# it's just a search get request, no headers or body requeired
GET https://ya.ru?q=coala


### ask google fo no reason
POST google.com?q=weffwe
Authorization: Bearer foj23fjjf03jf3029jf30jf3029j23f09
content-type: application/json

{
    "something": [1, 2, 3],
    "please_collect_all_my_data": true
}perform requestsrunbrestclientwith requests file specifiedpython3-mbrestclient./path/to/filethen pick a request by numberwhen request will be done, it will print to you status code,response headers and body. if body in json format - it will be pretty printedalso you can run it without interactive menu, for it specify --query or -q paramin this case request will be finded by it's namepython3-mbrestclient./path/to/file-qgoogleor you can run it with -l or --list argument to print list of requests with their order numberand then run program with -n NUMBER or --request-number NUMBER to perform requestexample:python3-mbrestclient./path/to/file-l1:firstrequest2:secondrequest
...

python3-mbrestclient./path/to/file-n2development plansjust requestsjson output parsing, pretty printmake it a python packagecreate documentation how to usepublish packagesave output to variables, and ability to use them laterif response in html format - ask for open it in browserflag -r to get raw response in http formatjson output syntax coloringhtml output parsing, pretty print and syntax coloring
Package: brevettiai
Brevetti AI core libraryThe brevettiai library enables integration with thebrevetti.aiplatform for development of training packagesThe library is used as an API through the Job class with a number of utility functions for easy development of models.
The tools support both local development on linux and windows as well as hosted training on e.g. Amazon Web Services sagemaker platform.ContentsDeveloper documentation can be found atdocs.brevetti.aiand generatedpackage documentationis also available.
Package: breviar
URL shortener cli.Installationpip3installbreviarUsageUsage: breviar [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  configure  Configure a service
  shorten    Shorten a linkUsage examplesConfigure servicebreviarconfigureShorten a linkbreviarcuthttps://russkie_vpered.com
Package: brevitas
BrevitasBrevitas is a PyTorch library for neural network quantization, with support for bothpost-training quantization (PTQ)andquantization-aware training (QAT).Please note that Brevitas is a research project and not an official Xilinx product.If you like this project please consider ⭐ this repo, as it is the simplest and best way to support it.RequirementsPython >= 3.8.Pytorch>= 1.9.1, <= 2.1 (more recent versions would be untested).Windows, Linux or macOS.GPU training-time acceleration (Optionalbut recommended).InstallationYou can install the latest release from PyPI:pipinstallbrevitasGetting StartedBrevitas currently offers quantized implementations of the most common PyTorch layers used in DNN underbrevitas.nn, such asQuantConv1d,QuantConv2d,QuantConvTranspose1d,QuantConvTranspose2d,QuantMultiheadAttention,QuantRNN,QuantLSTMetc., for adoption within PTQ and/or QAT.
For each one of these layers, quantization of different tensors (inputs, weights, bias, outputs, etc) can be individually tuned according to a wide range of quantization settings.As a reference for PTQ, Brevitas provides an example user flow for ImageNet classification models underbrevitas_examples.imagenet_classification.ptqthat quantizes an input torchvision model using PTQ under different quantization configurations (e.g. bit-width, granularity of scale, etc).For more info, checkout ourgetting started guide.Cite asIf you adopt Brevitas in your work, please cite it as:@software{brevitas,
  author       = {Alessandro Pappalardo},
  title        = {Xilinx/brevitas},
  year         = {2023},
  publisher    = {Zenodo},
  doi          = {10.5281/zenodo.3333552},
  url          = {https://doi.org/10.5281/zenodo.3333552}
}History2024/02/19- Minor release version 0.10.2, see therelease notes.2024/02/15- Minor release version 0.10.1, see therelease notes.2023/12/08- Release version 0.10.0, see therelease notes.2023/04/28- Minor release version 0.9.1, see therelease notes.2023/04/21- Release version 0.9.0, see therelease notes.2023/01/10- Release version 0.8.0, see therelease notes.2021/12/13- Release version 0.7.1, fix a bunch of issues. Added TVMCon 2021 tutorial notebook.2021/11/03- Re-release version 0.7.0 (build 1) on PyPI to fix a packaging issue.2021/10/29- Release version 0.7.0, see therelease notes.2021/06/04- Release version 0.6.0, see therelease notes.2021/05/24- Release version 0.5.1, fix a bunch of minor issues. Seerelease notes.2021/05/06- Release version 0.5.0, see therelease notes.2021/03/15- Release version 0.4.0, add support for __torch_function__ to QuantTensor.2021/03/04- Release version 0.3.1, fix bug w/ act initialization from statistics w/ IGNORE_MISSING_KEYS=1.2021/03/01- Release version 0.3.0, implements enum and shape solvers within extended dependency injectors. This allows declarative quantizers to be self-contained.2021/02/04- Release version 0.2.1, includes various bugfixes of QuantTensor w/ zero-point.2021/01/30- First release version 0.2.0 on PyPI.
Package: brevity
A small utility to shortenhttps://indiewebcamp.com/noteposts to an
acceptable tweet-length summary. Appends an optional permalink or
citation.Also supports autolinking web addresses in text.Brevity checks URLs against the full list of ICANN TLDs, to avoid
linking things that look like web addresses but aren’t.Documentation and source on GitHub:https://github.com/kylewm/brevity
Package: brevo-python
Brevo provide a RESTFul API that can be used with any languages. With this API, you will be able to :   - Manage your campaigns and get the statistics   - Manage your contacts   - Send transactional Emails and SMS   - and much more…  You can download our wrappers athttps://github.com/orgs/brevoPossible responses| Code | Message |   | :————-: | ————- |   | 200  | OK. Successful Request  |   | 201  | OK. Successful Creation |   | 202  | OK. Request accepted |   | 204  | OK. Successful Update/Deletion  |   | 400  | Error. Bad Request  |   | 401  | Error. Authentication Needed  |   | 402  | Error. Not enough credit, plan upgrade needed  |   | 403  | Error. Permission denied  |   | 404  | Error. Object does not exist |   | 405  | Error. Method not allowed  |   | 406  | Error. Not Acceptable  |   # noqa: E501
Package: brew
brew: A Multiple Classifier Systems APIThis project was started in 2014 byDayvid VictorandThyago Porpinofor the Multiple Classifier Systems class at Federal University of Pernambuco.The aim of this project is to provide an easy API for Ensembling, Stacking,Blending, Ensemble Generation, Ensemble Pruning, Dynamic Classifier Selection,and Dynamic Ensemble Selection.FeaturesGeneral: Ensembling, Stacking and Blending.Ensemble Classifier Generators: Bagging, Random Subspace, SMOTE-Bagging, ICS-Bagging, SMOTE-ICS-Bagging.Dynamic Selection: Overall Local Accuracy (OLA), Local Class Accuracy (LCA), Multiple Classifier Behavior (MCB), K-Nearest Oracles Eliminate (KNORA-E), K-Nearest Oracles Union (KNORA-U), A Priori Dynamic Selection, A Posteriori Dynamic Selection, Dynamic Selection KNN (DSKNN).Ensemble Combination Rules: majority vote, min, max, mean and median.Ensemble Diversity Metrics: Entropy Measure E, Kohavi Wolpert Variance, Q Statistics, Correlation Coefficient p, Disagreement Measure, Agreement Measure, Double Fault Measure.Ensemble Pruning: Ensemble Pruning via Individual Contribution (EPIC).Exampleimportnumpyasnpimportmatplotlib.pyplotaspltimportmatplotlib.gridspecasgridspecimportitertoolsimportsklearnfromsklearn.linear_modelimportLogisticRegressionfromsklearn.svmimportSVCfromsklearn.ensembleimportRandomForestClassifierfrombrew.baseimportEnsemble,EnsembleClassifierfrombrew.stacking.stackerimportEnsembleStack,EnsembleStackClassifierfrombrew.combination.combinerimportCombinerfrommlxtend.dataimportiris_datafrommlxtend.evaluateimportplot_decision_regions# Initializing Classifiersclf1=LogisticRegression(random_state=0)clf2=RandomForestClassifier(random_state=0)clf3=SVC(random_state=0,probability=True)# Creating Ensembleensemble=Ensemble([clf1,clf2,clf3])eclf=EnsembleClassifier(ensemble=ensemble,combiner=Combiner('mean'))# Creating Stackinglayer_1=Ensemble([clf1,clf2,clf3])layer_2=Ensemble([sklearn.clone(clf1)])stack=EnsembleStack(cv=3)stack.add_layer(layer_1)stack.add_layer(layer_2)sclf=EnsembleStackClassifier(stack)clf_list=[clf1,clf2,clf3,eclf,sclf]lbl_list=['Logistic Regression','Random Forest','RBF kernel SVM','Ensemble','Stacking']# Loading some example dataX,y=iris_data()X=X[:,[0,2]]# Plotting Decision Regionsgs=gridspec.GridSpec(2,3)fig=plt.figure(figsize=(10,8))itt=itertools.product([0,1,2],repeat=2)forclf,lab,grdinzip(clf_list,lbl_list,itt):clf.fit(X,y)ax=plt.subplot(gs[grd[0],grd[1]])fig=plot_decision_regions(X=X,y=y,clf=clf,legend=2)plt.title(lab)plt.show()DependenciesPython 2.7+scikit-learn >= 0.15.2Numpy >= 1.6.1SciPy >= 0.9Matplotlib >= 0.99.1 (examples, only)mlxtend (examples, only)InstallingYou can easily install brew usingpip:pip install brewor, if you prefer an up-to-date version, get it from here:pip install git+https://github.com/viisar/brew.gitImportant ReferencesKuncheva, Ludmila I. Combining pattern classifiers: methods and algorithms. John Wiley & Sons, 2014.Zhou, Zhi-Hua. Ensemble methods: foundations and algorithms. CRC Press, 2012.DocumentationThe full documentation is athttp://brew.rtfd.org.History0.1.0 (2014-11-12)First release on PyPI.
Package: brewblox-history
# History ServiceThe history service is the gatekeeper for the InfluxDB database. It writes broadcasted data, and offers a REST interface for querying the database.## Features### QueryClient ([influx.py](./brewblox_history/influx.py))Handles directly querying InfluxDB. API functions eventually call this.### InfluxWriter ([influx.py](./brewblox_history/influx.py))Periodically writes scheduled data points to InfluxDB.Publicly offers thewrite_soon()function, where data can be scheduled for writing.### DataRelay ([relays.py](./brewblox_history/relays.py))Subscribes to the broadcast exchange on the event bus, and schedules all received data for writing to the database.By default, it is subscribed to the broadcast exchange specified with the–broadcast-exchangecommandline argument. Additional subscriptions can be added.## REST API### subscribe ([influx.py](./brewblox_history/influx.py))Adds another broadcast subscription. All data received with this subscription is written to InfluxDB.### queries ([sse.py](./brewblox_history/sse.py))Public query API for external clients. Input is sanitized before being passed on to InfluxDB.### sse ([sse.py](./brewblox_history/sse.py))Subscribe to regular updates of database values. The endpoint arguments are comparable to the ones used to get values fromqueries. It will periodically yield newly received data as SSE data.
Package: brew-compat
brew-compatCLI tool to check homebrew formula compatibility for different macOS versions.Supports core bottles and casks. Does not support taps (third-party repositories).InstallationThis tool has been built with python3. You need to install Python3.x for this utility.
Install this tool from PyPI (The Python Package Index) using pip:❯ pip install brew-compatRunningUsebrew bundle dumpto generate the BrewfileRunbrew-compatto check the compatibility statusOptionsBy default, compatibility is checked for Big Sur. Use--macos-versionto change the macOS version to check against.You can use--exportto export the results to CSV. It is written to a file calledcompatibility.csvUse--verboseto use verbose logging.❯ brew-compat --help
usage: brew-compat [-h] [--macos-version {arm64_big_sur,big_sur,catalina,mojave,high_sierra,sierra,el_capitan}] [--verbose] [--export] [brewfile]

Check compatibility of brew formula against macOS versions

positional arguments:
  brewfile              Path to Brewfile

optional arguments:
  -h, --help            show this help message and exit
  --macos-version {arm64_big_sur,big_sur,catalina,mojave,high_sierra,sierra,el_capitan}
                        macOS version
  --verbose             Use verbose logging
  --export              Export results in CSV format
Package: brewer2mpl
NOTICEbrewer2mpl is nowPalettable!
brewer2mpl will no longer be updated, but will stay available here
for the foreseeable future.brewer2mpl is a pure Python package for accessingcolorbrewer2.orgcolor maps from Python.
With brewer2mpl you can get the raw RGB colors of all 165colorbrewer2.orgcolor maps. The color map data
ships with brewer2mpl so no internet connection is required.For more information and to view some of the color maps see the wiki athttps://github.com/jiffyclub/brewer2mpl/wiki.Color Mapscolorbrewer2.org has 3 map types: sequential, diverging, and qualitative.
Each color map has between 3 and 12 defined colors.ExamplesListing Color MapsList all of the available color maps:brewer2mpl.print_maps()List maps by type:brewer2mpl.print_maps('sequential')Filter by number of colors defined:brewer2mpl.print_maps('qualitative', 6)Get a Color MapColor maps are accessed by name, type, and number:bmap = brewer2mpl.get_map('Paired', 'Qualitative', 5)If you want a color map reversed from how it is given by colorbrewer2.org
set thereversekeyword toTrue:bmap = brewer2mpl.get_map('Paired', 'Qualitative', 5, reverse=True)BrewerMapObjectsColor maps are represented byBrewerMapobjects. They have a few useful
attributes:# colorbrewer2.org url.
bmap.colorbrewer2_url

# colorbrewer2.org name
bmap.name

# number of defined colors
bmap.number

# colors as a list of RGB 0-255 triplets
bmap.colors

# colors as a list of hex strings
bmap.hex_colors

# colors as a list of RGB 0-1 triplets (as used by matplotlib)
bmap.mpl_colors

# matplotlib color map
bmap.mpl_colormapTo launch your browser and see a color map at colorbrewer2.org use thecolorbrewer2method:bmap.colorbrewer2()The matplotlib color maps are created usingmatplotlib.colors.LinearSegmentedColormap.from_list. If you want to pass
options to that method use theBrewerMap.get_mpl_colormapmethod:cmap = bmap.get_mpl_colormap(N=1000, gamma=2.0)Direct AccessIf you know the color map you want there is a shortcut for direct access.
You can import thesequential,diverging, orqualitativemodules
frombrewer2mpl. On the module namespace are dictionaries containingBrewerMapobjects keyed by number of defined colors.Say you want the Dark2 qualitative color map with 7 colors. To get it
directly you can do:from brewer2mpl import qualitative
bmap = qualitative.Dark2[7]There is also a special key‘max’for each name that points to the
color map with the most defined colors:from brewer2mpl import sequential
bmap = sequential.YlGnBu['max']
Package: brewerwall
brewerwallA collection of tools, data and programming resources for all of your beer needs!Free software: GNU General Public License v3Documentation:https://brewerwall.readthedocs.io.FeaturesTODOCreditsThis package is a python port of the original Brewerwall PHP library by Ben Griffith.https://github.com/brewerwall/beercalc_phpHistory0.3.1 (2019-05-17)Fix Travis.0.3 (2019-05-17)Clean up code formating with Black.0.2.1 (2019-04-25)Update urllib3 for CVE-2019-11324.0.2.0 (2019-04-09)Updates to module name and tests.0.1.0 (2019-04-08)First release on PyPI.
Package: brewflasher-cli
BrewFlasher CLI EditionBrewFlasher CLI edition is a command-line port of theBrewFlasherfirmware flashing
application. It is designed to allow flashing brewing-related firmware from command line environments -- such as a
Raspberry Pi. It also adds support for Arduino-based brewing-related firmware (similar to that provided
inFermentrack'sfirmware flashing workflow).Choosing the right BrewFlasher EditionThere are currently three editions of BrewFlasher to choose from:BrewFlasher Desktop- Designed to be run from Windows or MacOS, this allows you to flash an ESP8266, ESP32, ESP32-S2, or ESP32-C3-based microcontroller from yourdesktop or laptop. It is a downloadable application with a GUI interface, and is the easiest way to flash these architectures. It is accessiblehere.BrewFlasher Web Edition- Designed to be run from a web browser, this allows you to flash an ESP8266, ESP32, ESP32-S2, or ESP32-C3-based microcontroller from yourdesktop or laptop. It is a web application, and is the easiest way to flash these architectures when you would prefer not to download a full Desktop application. It is accessiblehere.BrewFlasher CLI Edition- Designed to be run from a command line, this allows you to flash an Arduino (Atmel), ESP8266, ESP32, ESP32-S2, or ESP32-C3-based microcontroller from acommand line environmentsuch as a Raspberry Pi. If you are looking to flash an Arduino-based controller, this is the easiest way to do so.InstallationBrewFlasher CLI is available on PyPi and can be installed using pip:pip install brewflasher_cliUsageOnce installed, you can run the application using the following command:brewflasherThe script will prompt you for the information it needs to complete the flashing process. If you already know some of
the options you want to specify, you can pass them in as command line arguments. For example, if you want to flash a
device using the serial port/dev/ttyUSB0at the speed460800bps without erasing the flash before installing, you
can run the following command:brewflasher --serial-port /dev/ttyUSB0 --baud 460800 --dont-erase-flashA full list of command line options can be seen by runningbrewflasher --helpUninstallationIf you want to uninstall BrewFlasher CLI, you can do so using the following command:pip uninstall brewflasher_cliBuilding from sourceIf you want to build BrewFlasher CLI from source, you can do so using the following commands in the root directory of
this package:python3 -m build
pip install .Make sure that you have runpip uninstall brewflasher_clifirst or you risk having the PyPi version of BrewFlasher CLI
installed alongside your local version.
Package: brewkit
<meta http-equiv=”refresh” content=”0; url=https://navasotabrewing.github.io/brewkit/brewkit/interface/configure.html” /># Brewkit
This contains 3 smaller packages. See the PDF in thedocs/folder# Dev notes:
## Current version: 0.0.3
* Omega driver is now stable and tested
* STR116 driver is now stable and tested
Package: brew-search
brew-searchCLI tool allowing search Homebrew packages with sorting by popularity.Installpipinstallbrew-searchExample❯brew-searchgit-n10342760git-Distributedrevisioncontrolsystem164064gh-GitHubcommand-linetool68467git-lfs-Gitextensionforversioninglargefiles30214argocd-GitOpsContinuousDeliveryforKubernetes26539hub-AddGitHubsupporttogitonthecommand-line17324act-RunyourGitHubActionslocally16758git-gui-Tcl/TkUIforthegitrevisioncontrolsystem15484lazygit-SimpleterminalUIforgitcommands12205bat-Cloneofcat(1)withsyntaxhighlightingandGitintegration11678gitleaks-Auditgitreposforsecrets

❯brew-searchgame-n10-c7395steam-Videogamedigitaldistributionservice1140godot-Gamedevelopmentengine1007minecraft-Sandboxconstructionvideogame920epic-games-Launcherfor*EpicGames*games913heroic-Gamelauncher798openemu-Retrovideogameemulation672openra-Real-timestrategygameengineforWestwoodgames531playcover-community-SideloadiOSappsandgames5130-ad-Real-timestrategygame478moonlight-GameStreamclientUsageusage: brew-search [-h] [--number NUMBER] [--cask] [--formula] [--update] term

CLI tool for search packages on Homebrew repository by provided keyword.

positional arguments:
  term                  search term

options:
  -h, --help            show this help message and exit
  --number NUMBER, -n NUMBER
                        number of results
  --cask, -c            search casks only
  --formula, -f         search formulas only
  --update              force update statistics