Saravanan666/pypi-org huggingface dataset:
Package: brokJSON
BrokJSONEver struggled with huge GeoJSON-Files? BrokJSON is your space-saving alternative! Depending on your data you can save up to 80%.Withouth losing any data!Why? Because it uses the same ideas as GeoJSON.The idea behind BrokJSON:RAM is mightier than the bandwidth- download the small BrokJSON and convert it on runtime to GeoJSON than loading a huge GeoJSON.ExampleThisGeoJSONwith just two Points...{"type":"FeatureCollection","features":[{"type":"Feature","properties":{"id":1,"title":"Datapoint 1","value":343},"geometry":{"type":"Point","coordinates":[8.5402,47.3782]}},{"type":"Feature","properties":{"id":1,"title":"Datapoint 2","value":14},"geometry":{"type":"Point","coordinates":[8.5637,47.4504]}}]}... looks as aBrokJSONlike this:{"properties":["id","title","value"],"geometries":[{"type":"Point","features":[[[8.5402,47.3782],[1,"Datapoint 1",343]],[[8.5637,47.4504],[1,"Datapoint 2",14]]]}]}No information lost, everything is there. Amazing!Installationpip install brokjsonUsage# import BrokJSONimportbrokjson# Load your GeoJSONgeojson={"type":"FeatureCollection","features":[{"type":"Feature","geometry":{"type":"Point","coordinates":[8.5402,47.3782]}}]}# Convert your Json-Object to BrokJsonbrok=brokjson.geo2brok(geojson);# "brok" is your BrokJSON as a dictionary objectprint(brok)# Convert it backgeojson=brokjson.brok2geo(brok)print(geojson)DocumentationBrokJSON is a lightweight library, there are only two functions.GeoJSON to BrokJSONbrokjson.geo2brok(geoJsonObject)ParametersGeoJSONas aDictionaryReturn valueBrokJSONas aDictionaryBrokJSON to GeoJSONbrokjson.brok2geo(brokJsonObject)ParametersBrokJSONas aDictionaryReturn valueGeoJSONas aDictionaryFull Spec and other languagesHave a look athttps://www.brokjson.dev
Package: brokkk
An h1 headerParagraphs are separated by a blank line.2nd paragraph.Italic,bold, andmonospace. Itemized lists
look like:this onethat onethe other oneNote that --- not considering the asterisk --- the actual text
content starts at 4-columns in.Block quotes are
written like so.They can span multiple paragraphs,
if you like.Use 3 dashes for an em-dash. Use 2 dashes for ranges (ex., "it's all
in chapters 12--14"). Three dots ... will be converted to an ellipsis.
Unicode is supported. â˜ºAn h2 headerHere's a numbered list:first itemsecond itemthird itemNote again how the actual text starts at 4 columns in (4 characters
from the left side). Here's a code sample:# Let me re-iterate ...
for i in 1 .. 10 { do-something(i) }As you probably guessed, indented 4 spaces. By the way, instead of
indenting the block, you can use delimited blocks, if you like:define foobar() {
    print "Welcome to flavor country!";
}(which makes copying & pasting easier). You can optionally mark the
delimited block for Pandoc to syntax highlight it:importtime# Quick, count to ten!foriinrange(10):# (but not *too* quick)time.sleep(0.5)printiAn h3 headerNow a nested list:First, get these ingredients:carrotscelerylentilsBoil some water.Dump everything in the pot and follow
this algorithm:find wooden spoon
uncover pot
stir
cover pot
balance wooden spoon precariously on pot handle
wait 10 minutes
goto first step (or shut off burner when done)Do not bump wooden spoon or it will fall.Notice again how text always lines up on 4-space indents (including
that last line which continues item 3 above).Here's a link toa website, to alocal
doc, and to asection heading in the current
doc. Here's a footnote [^1].[^1]: Footnote text goes here.Tables can look like this:size  material      color9     leather       brown
10    hemp canvas   natural
11    glass         transparentTable: Shoes, their sizes, and what they're made of(The above is the caption for the table.) Pandoc also supports
multi-line tables:keyword   textred       Sunsets, apples, and
other red or reddish
things.green     Leaves, grass, frogs
and other things it's
not easy being.A horizontal rule follows.Here's a definition list:apples
: Good for making applesauce.
oranges
: Citrus!
tomatoes
: There's no "e" in tomatoe.Again, text is indented 4 spaces. (Put a blank line between each
term/definition pair to spread things out more.)Here's a "line block":| Line one
|   Line too
| Line treeand images can be specified like so:Inline math equations go in like so: $\omega = d\phi / dt$. Display
math should get its own line and be put in in double-dollarsigns:$$I = \int \rho R^{2} dV$$And note that you can backslash-escape any punctuation characters
which you wish to be displayed literally, ex.: `foo`, *bar*, etc.
Package: brokkoly
Brokkoly is a framework for enqueuing messages via HTTP request for celery.CHANGELOGExampletasks.py:importbrokkolyb=brokkoly.Brokkoly('example','redis://localhost:6379/0')celery=b.celerydeftwo_times(text:str)->dict:return{'text':text*2}@b.task(two_times)defecho(text:str)->None:print(text)two_timesworks as pre processor. It works before enqueing. It means it can return BadRequest to your client. Brokkoly validate message with typehint. Also you can have extra validation and any other process here.Runcelery -A tasks worker --loglevel=infoproducer.py:importbrokkolyimporttasks# NOQAapplication=brokkoly.producer()produceris WSGI application. You need to import yourtasksfor put message into queue.Run with uWSGIuwsgi --http :8080 --wsgi-file producer.py --enable-threads --thunder-lock --masterSend Test Message!curl -X POST -d '{"message":{"text": "Hello"}}' http://localhost:8080/example/echoproducerreceives your requestproducervalidates your message havingtextand the type isstror not.text`(str)is from typehint oftwo_timesproducervalidatestwo_timesreturned value havingtextand the type isstror not.text`(str)is from typehint ofechoproducerput message{"message":{"text":"HelloHello"}}into queue.curlreceives response.CelerycallsechoExtrapreprocessor is optional. if you don’t need it, you can:@b.task()defecho(text:str)->None:print(text)Also you can give multiple preprocessor:@b.task(two_times,two_times)defecho(text:str)->None:print(text)
Package: bro-listen
bro, listen 🤖Tool that allows for voice interaction with OpenAI chat without need to type long, detailed requests.It's an terminal application that captures audio from microphone and queries chat with transcripted message.Note:Currentlytext-davinci-003model is used as a chat backend. Unfortunately API for chatGPT is not yet provided by OpenAI.InstallationVia PyPITo installbro_listenpackage via PyPI, execute following command:pipinstallbro-listenNote:Consider creating a separate virtual environment if you want to avoid polluting system with dependencies ofbro_listenpackage.From sourcepoetryis required to install the package from the source code. You can get ithereOncepoetryis enabled in the system, to install the project and its dependencies, execute following command:gitclonehttps://github.com/mikkac/bro_listen.git&&cdbro_listen&&poetryinstallConfigurationAfter installation, configuration file has to be provided.
Default location used by the application is$HOME/.config/bro_listen/config.toml.One can use the defaultconfiguration file. The only thing that needs to be provided is OpenAI API key that can be generatedhere.Configuration detailsApplication supports several configuration parameters.voice_api- Voice recognition API. Currently only"vosk"is supported, but it's planned to also enable usage ofGoogle Speech-To-TextandAzure Speech to text.language- language used byvoice_api. Currently available languages are listed inVosk's documentation.enable_audio_response- chat's responses are only written to console by default. However, it's possible to vocalize them by setting this parameter totrue.device_id- ID of recording device. It should be commented out or completely removed from configuration if default device shall be used.UsageIf package has been installed via PyPI, run following command:bro_listenIf it was installed from source, start the application with command:poetryrunbro_listenorpoetryshell
bro_listenLicenseThis project is licensed under the LICENSE file thatcan be found here
Package: b-roller
B-RollerDownload B-roll footage from YouTubefor fair use purposes.UsageDownload from YouTubebroll yt [OPTIONS] URL [START] [END]

  Download content from YouTube

Arguments:
  URL      A video id or a YouTube short/long url  [required]
  [START]  The desired start of the video in seconds or the format 00:00:00
  [END]    The desired end of the video in seconds or the format 00:00:00For example:brollyt"https://www.youtube.com/watch?v=QFLiIU8g-R0"00:1000:17
Package: broly
BrolySmall module for managing models with the AWS rds data-api from lambda. Should be set into a lambda layer.Usespypikato generate MySQL and boto3's rds-data client.To add to lambda layermkdirpython
pip3installbroly--targetpython/
zip-rpythonlayerThen just upload it to your lambda's layer.Usagefrombroly.modelimportModelfrombroly.columnimportIntColumn,VarCharclassExample(Model):table_name='example'secret_arn='secret-arn'resource_arn='resource-arn'database='db-name'id=IntColumn(primary_key=True)name=VarChar(nullable=False)description=VarChar(size=1000)e=Example(name="name")e.set_value('description','desc')print(e)e=e.save()print(e)
Package: brom
Бром-клиент для PythonBrom – это библиотека для Python, которая обеспечивает взаимодействие с расширением «Бром» для 1С:Предприятие.Библиотека позволяет:получать и редактировать данные объектов 1С (ссылочные объекты, константы, параметры сеанса);получать выборки из коллекций с учетом сложных условий отбора и сортировки;исполнять произвольные запросы на языке 1С, в том числе пакетные запросы и запросы с разметкой для построителя;вызывать процедуры и функции 1С с возможностью передачи параметров и получения результата в естественном виде (без необходимости преобразования типов);исполнять произвольные фрагменты кода на зыке 1С с возможностью передачи параметра и возврата результата вычисления;получать данные о метаданных конфигурации с возможностью их частичной (постраничной) загрузки;передавать в обоих направлениях данные как примитивных данных, так и сложные структурированные данные (ссылки, массивы, структуры, соответствия, таблицы значений, деревья, системные перечисления и многое другое).
Package: bromide.py
Bromide.pyA typed, sync/async wrapper for the SodiumDB API in Python.QuickstartfrombromideimportBromide,AsyncBromideimportasynciobr=Bromide(password="myAmazingPassword")br.create({"hello":"world"})print(br.read("hello"))# "world"# async client too!asyncdefmain():br=AsyncBromide(password="myAmazingPassword")awaitbr.create({"hello":"async"})print(awaitbr.read("hello"))# "async"asyncio.run(main())
Package: bromine
Bromine is a high-level web testing Python library based onSeleniumandPageObject Pattern.It's purpose is to provide a conceptual framework tomodelthe system under test.To write actual tests you'll keep using your testing framework of choice.Bromine focuses onend-to-end tests: it relies onSeleniumto exercise arealsystem, not to simulate it.While Selenium serves as the essential foundation enabling end-to-end testing,
WebDriver alone offers too low a level of abstraction.When wedescribesome behaviour that our system must exhibit, we usually think
about how users interact with the UI and how this one is expected to respond to
those interactions. We donotthink about the browser as the main actor, but
indeed as part of the application. In the context of Object-Oriented Programming,
as developers we tend to reason in terms of UI objects interacting with the user
or with other parts of the system.Given this perspective shift, Bromine adoptsPageObject Patternas its cornerstone.The three basic building blocks of Bromine's conceptual model areWebApplication,WebPageandWebElement.WebElementsare responsible for locating and automatically refreshing themselves relieving the programmer of the burden of explicitly handling Selenium'sStaleElementExceptions.
Package: bromo
# bromo-lib
This is the Bromo library repository for python. It is intended to make interaction with the browser easier and more fluid using selenium loading strategies.# Use:
For your use, run the command on the terminal~~~
pip install BromoORpip3 install Bromo
~~~~~~python
From bromo import Bromo
From Selenium Import Webdriverdriver = Webdriver.Chrome()br = Bromo(driver)example:br.click(xpath)
~~~# Contact:
email:leonardo_leal15@outlook.com
Package: bronkhorst-propar
Bronkhorst ProparThe Bronkhorst Propar module provides an implementation of a propar master for communication with Bronkhorst (Mass) Flow Meters and Controllers (such as the EL-Flow, ES-Flow, (mini) CORI-FLOW, IQ+FLOW, and others), Pressure Meters and Controllers (EL-PRESS), and others using the default RS232/RS485 interface.Using the Bronkhorst Propar module it is possible to directly communicate with a single instrument, or to multiple instruments when they are connected to a FLOW-BUS network. The Bronkhorst Propar module communicates directly with the instruments using Python, and does not require tools such as FlowDDE to be installed. Therefore the module is platform independent and has been tested on both Windows and Linux (the module depends on pyserial for serial communication and should work on all platforms that support it).Installationpip install bronkhorst-proparDocumentationbronkhorst-propar on Read the DocsContactIf you have any questions about this module, our other products or services you can contact us by:email:info@bronkhorst.comwebsite:www.bronkhorst.comphone: +31 573 45 88 00mail: Nijverheidsstraat 1A NL-7261 AK Ruurlo (The Netherlands)
Package: bronotes
BronotesBasically a wrapper to access notes in a directory on your system anywhere from the commandline. And keep it in sync with git.Functionality so far:Create a note directory on your system on first startAdd new notesRemove notesMove notes and directories aroundEdit notes with your $EDITORList notes dir in a treeGenerate autocompletions for zshExecute arbitrary commands in the notes directoryThe show and edit actions search for matching notes if no valid path is givenInstallation$pipinstallbronotesOn first command a folder to be used is asked.CompletionsFor now there's no built-in completions.
ZSH completions can be generated so you can place them where needed:$bnotecompletions|tee~/.oh-my-zsh/completions/_BRONOTESUsageBy default this wraps any shell command you feed it and executes it in your notes directory. When using any of the defined actions (see bnote -h) it will do that instead.
The default can be changed, and the regular shell alternatives for actions like 'rm' can be used by just using the 'exec' action manually.$bnote-h# For actions overview, actions have their own sub help-pages.$bnotelist
.notes/|--baewfweiogn|--testblaat.md|--blarpblarp.md$bnotemadness# madness is a great way to browse your markdown files in a local serverstartthemadnessenvproductionlisten0.0.0.0:3000Subcommands have their own help pages.When using the edit or show subcommand, it falls back on the -s option if the path to your note is not valid.If the first argument given is not recognized by bronotes, a default action will be taken and the first argument will be fed to that action instead. This is configurable with the 'set' action and defaults to 'exec'GitYou can use the sync command to keep a repo in sync with git. Using basic pull/push on master.
If you want to have more control simply don't use this.
If the repo isn't a git repo yet you will be asked to initialize an empty one and set up remotes.
When quit halfway through this process it's probably better to either start over or just fix it manually.Autosyncing is possible, but will do so after every edit or add action. So figure out if you want that yourself.
Package: bronski
A beat server for Django, with cron-like syntaxBronski allows you to configure periodic function calls using a Django model.It is ideally suited to being a task “beat” sever, akin to celery-beat.Install$pipinstallbronskiSetupAdd ‘bronski’ to yourINSTALLED_APPSThis is only needed to enable the management command.Create a model in your own app that inherits frombronski.models.CrontabBaseCreate and apply migrations:$manage.pymakemigrations$manage.pymigrateSpecify your model in settingsCRONTAB_MODEL="myapp.MyCronModel"Launch your beat server:$./manage.pybronskiEach minute thebronskiservice will scan the model for enabled jobs that
haven’t been run in the past 59 seconds. It will then check each to see if its
crontab definition matches the next minute.For job records that match, theirrunmethod will be called. The defaultrunmethod will:get the specified function by callingself.get_function()resolve thekwargsto use by callingself.get_kwargs()invoke the function with thekwargs.You can overriderunin your custom model to, for instance, enqueue jobs:classJobs(CrontabBase):defrun(self):func=self.get_function()kwargs=self.get_kwargs()# Celery task API:func.delay(**kwargs)# Dramatiq actor API:func.send(**kwargs)
Package: brontes
BrontesBrontes is your helping cyclops for pytorch models training.
It is based onpytorch_lightningand comes with an example script inexamples/mnist/run.pythat you can adapt for your needs.Additionally, there is an example inexamples/mlflowwhich describes how to use mlflow with Brontes.Just do thisDefine your dataset_loaders as a dictionary: usetrain,valand optionally atestsplit:dataset_loaders={'train':torch.utils.data.DataLoader(datasets.MNIST(root=DATA_PATH,train=True,download=True),batch_size=BATCH_SIZE,shuffle=True,num_workers=NUMBER_OF_WORKERS),'val':torch.utils.data.DataLoader(datasets.MNIST(root=DATA_PATH,train=False,download=True),batch_size=BATCH_SIZE,shuffle=True,num_workers=NUMBER_OF_WORKERS)}define your acrhitecture as atorch.nn.Module(or pick an existing architecture):base_model=brontes.examples.Net()and wrap it with Brontes:brontes_model=Brontes(model=base_model,loss=torch.nn.NLLLoss(),data_loaders=dataset_loaders,optimizers=optimizer)finally train the model usingpytorch_lighningtrainer=pl.Trainer(max_nb_epochs=EPOCHS)trainer.fit(brontes_model)Development setupSetup the conda environmentcondaenvcreate-fconda.ymlActivate it:condaactivatebrontes
Package: bronto-python
bronto-pythonbronto-python is a python query client which wraps the Bronto SOAP API in an
easy to use manner, using thesudslibrary.Getting Startedfrombronto.clientimportClientclient=Client('BRONTO_API_TOKEN')client.login()Simple as that!ContactsAdding a Contactcontact_data={'email':'me@domain.com','source':'api','customSource':'Using bronto-python to import my contact'}client.add_contact(contact_data)Retrieving a contactclient.get_contact('me@domain.com')Deleting a contactclient.delete_contact('me@domain.com')OrdersAdding an orderorder_data={'id':'xyz123','email':'me@domain.com','products':[{'id':1,'sku':'1111','name':'Test Product 1','description':'This is our first test product.','quantity':1,'price':3.50},{'id':2,'sku':'2222','name':'Second Test Product','description':'Here we have another product for testing.','quantity':12,'price':42.00}]}client.add_order(order_data)Deleting an orderclient.delete_order('xyz123')# Orders are deleted by their orderIdFIELDSAdding a fieldfield_data={'name':'my_field','label':'My Field','type':'text','visible':'private'}client.add_field(field_data)Retrieving a fieldclient.get_field('my_field')Deleting a fieldfield=client.get_field('my_field')client.delete_field(field.id)LISTSAdding a listlist_data={'name':'my_list','label':'My List'}client.add_list(list_data)Retrieving a listclient.get_list('my_list')Deleting a listlist_to_del=client.get_list('my_list')client.delete_field(list_to_del.id)NOTE:This client is not built with long-running processes in mind. The
Bronto API connection will time out after 20 minutes of inactivity, and this
client does NOT handle those timeouts.
Package: bronx
bronxbronxstands for "Bunch of Reusable Objects Not in vorteX". It is a collection
of basic utilities that can be used in various projects.Originally, it has been developed as part of theVortexproject. Recently
the  code has been extracted from theVortexcode base. It is now presented
as an independent Python package.ContributingPlease reviewCONTRIBUTING.mdfor details on our
development process.
Package: bronzebeard
Bronzebeard is a simple, standalone assembler for developing bare metalRISC-Vprograms.
It is designed for applications that stand on their own without relying onoperating systems, frameworks, SDKs, or pre-existing software of any kind.
This assembler supports the base 32-bit instruction set as well as the M, A, and C extensions (RV32IMAC).Bronzebeard and its tools are implemented purely in Python.
It has been written in order to be free from large, complex toolchains.
This keeps the project portable, minimal, and easy to understand.MotivationMuch of modern software has accrued vast amounts of bulk and complexity throughout the years.
Can useful software be developed without relying on any of it?
That’s the question that this project seeks to answer.
I believe that the rise of RISC-V provides a great opportunity to explore different methods of program development.
Installing a full operating system doesn’t have to be a prerequisite to building something useful.Check out theDerzForthproject for further elaboration of this idea.InstallationIf you are unfamiliar withvirtual environments, I suggest taking a brief moment to learn about them and set one up.
The Python docs provide a greattutorialfor getting started with virtual environments and packages.Bronzebeard can be installed via pip:pip install bronzebeardOr, if you’d rather clone this repo and play with the examples:git clone https://github.com/theandrew168/bronzebeard.git
cd bronzebeard/
# I'd still create and activate a virtual environment here
pip install -e .Assemble!First, create a text file with some RISC-V assembly source code in it:add x1, x2, x3
add x4, x5, x6Then, with Bronzebeard installed:bronzebeard my_asm_file.asmBy default, the assembled output binary will be placed in a file namedbb.out.TestingBronzebeard’s tests are written usingpytest:pip install pytestOnce installed, the tests can be run via:pytest
Package: brook
brookDocument:https://sh0416.gitlab.io/brook/index.html패키징 - gitlab에서 직접 배포 (wheel로 배포)python setup.py test
python setup.py bdist_wheelpackage:https://packaging.python.org/tutorials/packaging-projects/setup.cfg:https://packaging.python.org/guides/distributing-packages-using-setuptools/sample:https://github.com/pypa/sampleproject문서화 - read the docshttps://sphinx-rtd-tutorial.readthedocs.io/en/latest/build-the-docs.html타입 검사 - mypymypy:https://mypy.readthedocs.io/en/stable/config_file.html#테스트 - pytest포맷팅 - black, isort