Saravanan666/pypi-org huggingface dataset:
Package: brocade-tool
System RequirementsPython >= 2.6 and Python < 3Python modules are in requirements.txtInstallationFrom PyPINotesDon’t forget tomodify/etc/brocadetool.confafter installationsudo pip install netscaler-tool
sudo mkdir -p /var/log/brocade-tool
sudo touch /var/log/brocade-tool/brocade-tool.log
sudo chown <user>:<group> /var/log/brocade-tool/brocade-tool.log
sudo chmod <mode> /var/log/brocade-tool/brocade-tool.log
sudo wget -O /etc/brocadetool.conf https://github.com/tagged/brocade-tool/blob/master/brocadetool.conf.exampleFrom Sourcegit clonehttps://github.com/tagged/brocade-tool.gitcd brocade-toolsudo python setup.py installsudo mkdir -p /var/log/brocade-toolsudo touch /var/log/brocade-tool/brocade-tool.logsudo chown <user>:<group> /var/log/brocade-tool/brocade-tool.logsudo chmod <mode> /var/log/brocade-tool/brocade-tool.logsudo cp brocadetool.conf.example /etc/brocadetool.confModify /etc/brocadetool.confConfigurationAll changes should be made in /etc/brocadetool.confSet previous_data_path to the path where brocade-tool where store metric for any OIDs that have rate option set.Setpasswdwith the SNMP community passwordSetoidsIf you want to turn a counter into a gauge, specify ‘rate’(Optional)Set carbon values, if you plan to send metric to a carbonUsageCurrently, the brocade-tool is used for monitoring. Enter all the OIDs you want to monitor in the /etc/brocadetool.conf yaml file and that is it.brocade-tool --help
usage: brocade-tool [-h] [--passwd PASSWD] [--dryrun] [--debug] [--verbose]
                    [--carbon]
                    BROCADE {show} ...

positional arguments:
  BROCADE          IP or name of Brocade
  {show}
    show           sub-command for showing objects

optional arguments:
  -h, --help       show this help message and exit
  --passwd PASSWD  Community password for brocade user. Default is to fetch
                   from brocadetool.conf
  --dryrun         Dryrun
  --debug          Shows what's going on
  --verbose, -v    Shows more info
  --carbon         Send data to carbon?

brocade-tool brocade01 show --help
usage: brocade-tool BROCADE show [-h] {ports} ...

positional arguments:
  {ports}
    ports     sub-command for showing stats about all ports

optional arguments:
  -h, --help  show this help message and exitBy default, brocade-tool will query the brocade device for all specified
OIDs. If you wish to have it only query a sub set of OIDs, you can use–statbrocade-tool brocade01 show ports --stat swFCPortTxWords swFCPortRxWords
Package: brocc
BROCCGenerate consensus-based taxonomic assignments from BLAST results.Please cite the following paper when using BROCC:Dollive S, Peterfreund GL, Sherrill-Mix S, Bittinger K, Sinha R, Hoffmann C, Nabel CS, Hill DA, Artis D, Bachman MA, Custers-Allen R, Grunberg S, Wu GD, Lewis JD, Bushman FD.  A tool kit for quantifying eukaryotic rRNA gene sequences from human microbiome samples.  Genome Biol. 2012 Jul 3;13(7):R60. doi: 10.1186/gb-2012-13-7-r60.InstallionTo install BROCC, run this command in the current directory.pip install .BROCC has two methods of looking up taxon names: it can use a local
copy of the NCBI taxonomy, or it can use NCBI's E-utilities to ask for
names over the web.  Using a local copy of the NCBI taxonomy is much
faster and more reliable.  To prepare this taxonomy database, use the
command:create_local_taxonomy_db.pyYou will need about 5G for the taxonomy databaase, which is stored at~/.brocc/taxonomy.dbby default.RunningThe BROCC classifier takes BLAST results as input, using output format
7 (see BLAST documentation).  The following BLAST parameters are
found to work best for amplicon-based sequence sets:blastn -query <SEQUENCES (FASTA FORMAT)> -evalue 1e-5 -outfmt 7 -db nt -out <BLAST RESULTS> -num_threads 8 -max_target_seqs 100The BROCC program requires two input files and the name of an output directory:brocc.py -i <SEQUENCES (FASTA FORMAT)> -b <BLAST RESULTS> -o <OUTPUT DIRECTORY>brocc.pyoutputs a QIIME-formated taxonomy map and a couple of log
files, giving details on the voting.SettingsThe BROCC command has several options for consensus formation:minimum hit coverage (for consideration)minimum species identity (for consideration at the species level)minimum genus identity (for consideration at the genus level)The defaults are currently set for the ITS1 gene, because these
settings seem to work well over several different amplicons.  The
minimum identity defaults for ITS1 are 95.2% at the species level and
83.05% at the genus level (taken from Liggenstoffer et al).  For 18S,
settings of 99.0% at the species level and 96.0% at the genus level
seem to produce the most accurate and stable assignments.
Package: brocket
A command line tool for buildingAmazon Associateslinks with as few actions as possible.If you have a link in the clipboard, run this script, then the link on the clipboard becomes anAmazon Associateslink.OS X OnlyThis is only for Mac OS X 10.8 or higher but it could easily be enhanced to support other operating systems.SetupAfter youpip install brocketjust runbrocket. It will prompt you for your tracking-id. Enter it.Optional: Make sure it’s correct by runningbrocket--show-tracking-id.How to Make LinksOnce it’s setup, the easiest thing to do isBrowse to an Amazon URL you want an affiliate link for.Copy the URLRun thebrocketcommand. This will tag the URL with your tracking-id and put the new URL on the clipboard.Paste the URL where ever you want it to go.Upping Your GameI know what you’re thinking “4 steps?!? You mean I have to go to my browser and copy a URL, then run a terminal command, then go back…”. Yeah yeah I hear you.There are probably lots of ways to skin this cat but here’s what I did.Make an AppleScript calledBrocketand save it in~/Library/Scripts. It just needs to be 1 line:do shell script "/usr/local/bin/brocket"Then, if you haven’t already install the wonderfulFastScripts. YourBrocketscript should show up in the menu.Finally assignBrocketa keyboard shortcut and you can skip switching to the Terminal to run the Brocket command.Brocket DeerThis little utility is named for theBrocket Deerwhich lives around the Amazon river. It also sounds like Rocket, but with a ‘B’ and I was looking for something with a fast sounding name.
Package: brocolli
brocollitorch fx based pytorch model converter, including pytorch2caffe, pytorch2onnx.torch fx based pytorch model quantizier.Installationpip install brocolliHow to usetorch2caffecaffe installationpipinstallbrocolli-caffeimport torchvision.models as models
from brocolli.converter.pytorch_caffe_parser import PytorchCaffeParser

net = models.alexnet(pretrained=False)
x = torch.rand(1, 3, 224, 224)
pytorch_parser = PytorchCaffeParser(net, x)
pytorch_parser.convert()
pytorch_parser.save('alexnet')run this script until you see "accuracy test passed" on screen, then you can get alexnet.caffemodel and alexnet.prototxt under under current folder.torch2onnximport torchvision.models as models
from brocolli.converter.pytorch_onnx_parser import PytorchOnnxParser

net = models.alexnet(pretrained=False)
x = torch.rand(1, 3, 224, 224)
pytorch_parser = PytorchOnnxParser(net, x)
pytorch_parser.convert()
pytorch_parser.save('alexnet.onnx')run this script until you see "accuracy test passed" on screen, then you can get alexnet.onnx under current folder.ContactQQ Group: 597059928Show your supportGive a 🌟 if this project helpes~
Package: brodul.recipe.template
brodul.recipe.template is a fork of amplecode.recipe.template, a Buildout recipe for generating files using Jinja2 templates. The recipe configures a Jinja2 environment, by default relative to the Buildout directory, allowing templates to extend and include other templates relative to the environment.Downloads are available from pypi:http://pypi.python.org/pypi/brodul.recipe.template/Buildout Optionstemplate-file or input (required): One or more Jinja2 template file paths.target-file or output (required): One of more target file paths. The number of files must match the number of template files.base-dir: Base directory of the Jinja2 environment. Template file paths are relative to this directory. Default is the Buildout directory.target-executable: One or more boolean flags (yes|no|true|false|1|0) indicating the executability of the target files. If only one flag is given it is applied to all target files.eggs: Reserved for a list of eggs, conveniently converted into a pkg_resources.WorkingSet when specifiedjinja2_filters: custom filter functions separated by white-spaceAdditional options are simply forwarded to the templates, and options from all the other parts are made available throughparts.<part-name>.<option-name>andparts[<part-name>][<option-name>].Lists of ValuesIt is possible for a recipe option to contain one or more values, separated by whitespace. A split filter is available for when you want to iterate over the whitespace separated values in your Jinja2 template:#!/bin/sh
{% for cmd in cmds|split %}
   echo "{{ cmd }}"
{% endfor %}Minimal Examplefoo.txt is created from foo.txt.jinja2 without any extra options:[buildout]
parts = foo

[foo]
recipe = brodul.recipe.template
template-file = foo.txt.jinja2
target-file = foo.txtLarger Examplefoo.txt is created from myapp/foo.txt.jinja2, bar.sh is created from myapp/bar.sh.jinja2, the second will be executable, and both templates can utilize the additional options specified:[buildout]
parts = foo

[foo]
recipe = brodul.recipe.template
base-dir = myapp
template-file =
    foo.txt.jinja2
    bar.sh.jinja2
input =
    foo.txt
    bar.sh
output =
    false
    true
project_name = Another Example
author = Me

[bar]
dashed-value = borg
value = cashfoo.txt.jinja2:{{ parts.bar['dashed-value'] }}
{{ parts.bar.value }}
{{ author }}Note{{ parts.bar.dashed-value }}won’t work, but you can access it as a dict key.Dashed value in the same partIf there is a dashed-value in brodul.recipe.template part and you would like to reference it, use:{{context['dashed-value']}}Custom filtersThe filter function is located in the same directory as the buildout.cfg in a filter.py file. If you want to use more filters separate them with a white space.[buildout]
parts = foo

[foo]
recipe = brodul.recipe.template
input = foo.txt.jinja2
output = foo.txt
jinja2_filters = filter.barChangelogSee the CHANGELOG fileLicenseSee the LICENSE fileTodoWhy this forkthere should be an input and output option in buildout (since the ‘-’ in ‘target-file’ char is parsed by jinja2)custom filters support
Package: brofser
Usage:from brofser import Browser
b = Browser('Firefox')
b.get('http://www.example.com')
assert b.title == 'Example'
b['#q'] = 'word'
b('#cse-search-box input[name=sa]').click()
b.close()Installing from PyPIThis is what you want if you just want to use brofser:pip install brofserAs a source packageThis is what you want if you are developing brofser or want
to make local changes to the source code.pip install -e <path>See docs/ folder for documentation.
Package: broken2merge
Broken2mergeDescriptionThebroken2mergesoftware is designed to concatenate the genes that belong to the same species but appear to be broken due to assembly issues. It provides a solution for merging fragmented gene sequences into a single, complete sequence.FeaturesGene concatenation:broken2mergeidentify and merge fragmented gene sequences into a single, continuous sequence.Assembly error detection:broken2mergeincludes error detection mechanisms to identify and handle assembly errors, ensuring accurate gene concatenation.InstallationTo installbroken2merge, follow these steps:Install with pipy:pipinstallbroken2mergeInstall in a conda/mamba env:mambacreate-nbroken2mergepython=3.12tqdmbiopythonnumpy
pipinstallbroken2mergeUsageTo usebroken2merge:usage:broken_merge[-h][-v][-V]-iFASTA_FILE[-oOUTPUT][-sSEPARATOR]Takesaalignementandfindgenesthatseemsbrokenandmergethemtogether

options:-h,--helpshowthishelpmessageandexitGeneralinputdatasetoptions:-v,--verboseShowverboseoutput.(Fordebuggingpurposes)-V,--versionShowtheversionnumberandexit.-iFASTA_FILE,--inputFASTA_FILEPathtoaninputfastafile(Required)-oOUTPUT,--outputOUTPUTPathoftheoutputfolder(Default:merge_broken_res)-sSEPARATOR,--separatorSEPARATORSeparatortousetosplitthegenename(Default:'_')ExampleHere's an example of how to usebroken2mergeto merge gene sequences:broken2merge-iftsK.aln.fas-otest-s';'Here for an input file namedftsK.aln.fasand output folder namedtestand the separator is;in the gene name (species_name;gene_name).
Package: broken-display-simulator
Broken Display SimulatorSimulates broken display.InstallationInstall this via pip (or your favourite package manager):pipinstallbroken-display-simulatorUsageThebdsimcommand below will cause annoying vertical lines to appear on the screen.bdsimColor and orientation/type can also be specified.bdsimhorizontalgreenbdsimdotred-x100-y100>bdsim-h
Usage:bdsim[OPTIONS][[vertical|horizontal|dot|v|h|d]][COLOR]Options:-h,--helpShowthismessageandexit.-x,--xINTEGERXcoordinate-y,--yINTEGERYcoordinateContributors ✨Thanks goes to these wonderful people (emoji key):34j💻🤔📖This project follows theall-contributorsspecification. Contributions of any kind welcome!
Package: broken-dotmap
🍁 BrokenDotmap 🍁👆 Out of the manyExplorers, you can be among theShiningstars who support us! ⭐️Adatabase-less, smartdotmapwith optionaldisk-synced plain dataandmany loaders🚧 This project is under active development, not every branded item is available yet 🚧🔥 Problem🚧 Under construction, still under debug mode 👷‍♂️🚀 Examples🚧 Under construction, still under debug mode 👷‍♂️📦 InstallationPip:pipinstallbroken-enumPoetry:poetryaddbroken-enum⚖️ LicenseCheck/BrokenSourcefor the License of the Code, Assets, Projects and User Generated Content.
Package: broken-down-models
Break a large model down, transparentlyIn a project that goes on for several years, models tend to grow and
accumulate fields. If you aren’t very disciplined about this, you wake up
one day, and find that one of your central tables, one with millions of
rows, has 43 columns, including some TextFields. Most of them are not
required most of the time, but the default (and common) use is to fetch all
of them; also, since this table is queried a lot, the mere fact that it has
so many columns makes some of the access slower.When you realize that, you want to break it into components, such that
only a few, most-important columns will participate in the large searches,
while further details will be searched and fetched only when needed.But that is a scary proposition – it might involve subtle code changes,
break not just field access but also ORM queries… and this is a central
model. The change imagined is open-heart surgery on a large project.
Maybe, if we look the other way, it won’t bother us too much…broken-down-modelsis here to help you. This is a library which can
help you refactor your large model into a set of smaller ones, each with
its own database table, while most of your project code remains unchanged.How?Django already includes a mechanism where fields for one model are stored
in more than one table: Multi Table Inheritance (also known as MTI).
That’s what happens when we do “normal” inheritance of models, without
specifying anything special in the Meta of either of the models.Python also supports Multiple Inheritance – one class can have many parent
classes. And this also works with Django’s MTI – we can have multiple MTI.Usually, when we think of a “core” set of attributes with different extensions,
and we decide to implement it with MTI, we put this core set in a parent
model, and make the extensions subclass it. But in the situation where we
try to break down an existing model, this would mean that code which currently
uses the large model will have to change, to recognize the new parts.broken-down-modelsputs this idea on its head: The extensions become
parent models, and the core set is defined in a model which inherits them all.
This way, all the fields are still fields of of the model we started with,
for all purposes – including not just attribute access, but also ORM queries.
For this to really work well, though, some further modifications are required;
this is why the library exists, and it is explained in its documentation.
Package: broken-enum
♻️ BrokenEnum ♻️👆 Out of the manyExplorers, you can be among theShiningstars who support us! ⭐️SmarterPythonEnum classeswith builtinAutomationandSafety🔥 DescriptionThis package adds lots of utilities to the standardEnumclass in PythonConvenient: Find members by name or value (or both)Cycling: You can cycle through the options of an enumFast: Functions are cached withfunctools.lru_cache🚀 Examples# Import packagefromBrokenEnumimportBrokenEnum# Define a render quality enumclassQuality(BrokenEnum):Low=0Medium=1High=2# Get values from key or nameassertQuality.get(0)==Quality.LowassertQuality.get("Low")==Quality.LowassertQuality.get("low")==Quality.LowassertQuality(2)==Quality.High# It is safe to .get(member) themselvesassertQuality.get(Quality.Low)==Quality.Low# If you want to search only by value or nameassertQuality.from_value(0)==Quality.LowassertQuality.from_value("low")==NoneassertQuality.from_name("medium")==Quality.MediumQuality.from_name(2)# Raises ValueError# Cycling through the optionsassertQuality.Low.next()==Quality.MediumassertQuality.High.next()==Quality.LowassertQuality.Low.next(offset=2)==Quality.High# Can cycle through the options in reverse and from membervalue=Quality.Lowassertvalue.previous()==Quality.Highassert(value:=value.previous(2))==Quality.Medium# Getting list of members or names, keysassertQuality.values==(0,1,2)assertQuality.names==("Low","Medium","High")assertQuality.keys==("Low","Medium","High")assertQuality.options==(Quality.Low,Quality.Medium,Quality.High,)# Get tuples or key, valueassertQuality.items==(("Low",0),("Medium",1),("High",2),)# Get options as a dictionaryassertQuality.dict==dict(Low=0,Medium=1,High=2)📦 InstallationCurrently, we use this package internally on ourMonorepoUntil we publish this package toPyPI, you can install it fromGitHub:pipinstallgit+https://github.com/BrokenSource/BrokenEnum.git⚖️ LicenseCheck/BrokenSourcefor the License of the Code Assets, Projects and User Generated Content.
Package: broken-ffmpeg
💎 BrokenFFmpeg 💎👆 Out of the manyExplorers, you can be among theShiningstars who support us! ⭐️YourPremiumFluent FFmpegclass. Safelybundle, build and run FFmpegcommands🔥 Description🚀 Examples📦 InstallationPip:pipinstallbroken-ffmpegPoetry:poetryaddbroken-ffmpeg⚖️ LicenseCheck/BrokenSourcefor the License of the Code, Assets, Projects and User Generated Content.
Package: brokermint
Python interface to the Brokermint APIDocumentation:https://brokermint.dpguthrie.comSource Code:https://github.com/dpguthrie/brokermintBrokermint API Documentation:https://brokermint.com/api/Overviewbrokermintis a python interface to data stored in Brokermint.The interface allows access to data on Brokermint through theClientclass:However, the usermustsupply anapi_keyto access or manipulate any data.  The user can supply theapi_keywhen instantiating theClientclass:importbrokermintasbmbmc=bm.Client("my_fake_api_key")Or, you can set the environment variableBM_API_KEYand call theClientclass with no arguments:bm.Client()Linux / MacOSexportBM_API_KEY=my_fake_api_keyWindowssetBM_API_KEY=my_fake_api_keyNote: This environment variable is only available in the current process.See this link for adding an environment variable that exists outside of this process:https://docs.oracle.com/en/database/oracle/r-enterprise/1.5.1/oread/creating-and-modifying-environment-variables-on-windows.html*RequirementsPython 3.6+Requests- The elegant and simple HTTP library for Python, built for human beings.Installationpip install brokermintExampleimportbrokermintasbmbmc=bm.Client(api_key="my_fake_api_key")# Get Transactions - defaults to 1,000data=bmc.list_transactions()# Get Transactions, limit to 5data=bmc.list_transactions(count=5)LicenseThis project is licensed under the terms of the MIT license.
Package: brokersystem
Broker SystemPython module for connecting to a broker server as an agent. The broker server must have the following REST interfaces./api/v1/agent/msgboxMessage box for receiving requests from clients. Messages must be returned as a list./api/v1/agent/reportAn interface to return results to the client, receiving results as JSON and interpreting the results with keys starting with @ as properties./api/v1/agent/configInterface for receiving agent settings./uploadInterface for uploading a file.Version history0.2.0 Add file transfer functionality. Still $\alpha$ version.0.1.0 $\alpha$ version
Package: broker-trade-client
Welcome to Broker-PythonAn official Python implementation of the lastest Open API for Broker.Installpipinstallbroker-trade-clientor download from githubNote: pip install may be fail. We are working on fix this. if so, just download from githubUsageREST APIInit broker client:b=BrokerClient(entry_point='',api_key='',secret='')Init broker options client:b=BrokerOptionClient(entry_point='',api_key='',secret='')Init broker contract client:b=BrokerContractClient(entry_point='',api_key='',secret='')Request with proxies:proxies={"http":"http://ip:port","https":"http://ip:port",}b=BrokerClient(entry_point='',api_key='',secret='',proxies=proxies)Web SocketInitInit broker websocket client:client=BrokerWss(entry_point='',rest_entry_point='',api_key='',secret='')SubscribeSubscribe trades:client.subscribe_to_trades(symbol='BTCUSDT',callback=handler)Subscribe Kline/Candlestick:client.subscribe_to_kline(symbol='BTCUSDT',interval='5m',callback=handler)Subscribe market tickers:client.subscribe_to_realtimes(symbol='BTCUSDT,ETHUSDT',callback=handler)Subscribe book depth tickers:client.subscribe_to_depth(symbol='BTCUSDT',callback=handler)Subscribe user data:client.user_data_stream(callback=handler)StartStart websocket threadclient.start()API ListPublic APIpingb.ping()timeb.time()broker infob.broker_info()depthb.depth('BTCUSDT')tradesb.trades('BTCUSDT')klinesb.klines('BTCUSDT')ticker 24hrb.ticker_24hr('BTCUSDT')Private APInew orderb.order_new(symbol='BTCUSDT',side='BUY',type='LIMIT',quantity='0.01',price='1000',timeInForce='GTC')get orderb.order_get(order_id='')cancel orderb.order_cancel(order_id='')open ordersb.open_orders()history ordersb.history_orders()accountb.account()my tradesb.my_trades()deposit ordersb.deposit_orders()Examplesexamples.pyoption-examples.pycontract-examples.pyws-examples.py
Package: broke-students-package
This is a test Package for Broke Student Broker’s Amazing Alogirithm (Much Money, Such Wow)To use,>>> from broke_students_package import functions as bs
>>> bs.run()Change Log0.1.0 (2/12/2020)First Release0.1.1 (2/12/2020)Added Description0.1.2 (2/12/2020)Fixed Description0.1.3 (2/12/2020)Finally Fixed Description0.1.4 (2/12/2020)Fixed Changelog0.1.5 (2/12/2020)CI/CD test0.1.6 (2/12/2020)Docker Build Test0.1.7 (2/12/2020)Testing Successful0.1.8 (2/12/2020)Testing0.1.9 (2/12/2020)Still Testing