Saravanan666/pypi-org huggingface dataset:
Package: bubbleio
Bubbleio Python APIProject overviewThis python package is a toolset to query Bubble.io API. This package usesPandasDataFrame to returns results.Pandas.DataFrame lets you query the data, process it, save it (ant later on uptate changes directly to Bubble app with
this package).⚠ Warning: This project is quite new (october 2021), and breaking changes may appears until version 1.0Installationpython -m pip install -U pip
python -m pip install bubbleioPackage documentationhttps://vlebert.github.io/bubbleio/Bubble.io API documentationhttps://manual.bubble.io/core-resources/api/data-apiRoadmapGETfunction :80%TODO: Sorting optionsTODO:PATCHfunction :0%TODO: BulkPATCH...Example of usage :>>>frombubbleioimportBubbleio>>>API_KEY="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx">>>API_ROOT="https://appname.bubbleapps.io/api/1.1/obj">>>bbio=Bubbleio(API_KEY,API_ROOT)>>>bbio.get("fooType"){"cursor":0,"results":[{"foo_field_1":"value1","foo_field_2":"value2","_id":"item1_bubble_id"},{"foo_field_1":"value3","foo_field_2":"value4","_id":"item2_bubble_id"},...],"remaining":0,"count":31}>>>bbio.get("fooType",constraints=[...{"key":"foo_field_1","value":"value1","constraint_type":"equals"}...]){"cursor":0,"results":[{"foo_field_1":"value1","foo_field_2":"value2","_id":"item1_bubble_id"}],"remaining":0,"count":1}>>>frombubbleioimportBubbleio>>>bbio=Bubbleio(API_KEY,API_ROOT)>>>joins_=[...{..."field":"fooBar",..."typename":"barType",...}...]>>>bbio.get_results("fooType")_idfooField1fooField2fooBaridFoo1valuevalueidBar1idFoo2valuevalueidBar2>>>bbio.get_results("barType")_idbarField1barField2idBar1valuevalueidBar2valuevalue>>>bbio.get_all_results_as_df("fooType",joins=joins_)_idfooField1fooField2fooBarfooBar__idfooBar_barField1fooBar_barField2idFoo1valuevalueidBar1idBar1valuevalueidFoo2valuevalueidBar2idBar2valuevalue
Package: bubbleprint
💬 Bubble PrintGive your print statements personality. Print dialoge in speach bubbles.frombubbleprintimportbprintbprint("Hello World!")bprint('I have a whale of a tale for you.',messenger="🐳",color="blue",width=15,align='center')bprint("Here is a website:\nhttps://docs.python.org/3/library/textwrap.html",width=None)
Package: bubblepy
# bubblepyBubble Babble Binary Data Encoding - Python librarySee http://bohwaz.net/archives/web/Bubble_Babble.html for details.Original Copyright 2011 BohwaZ - http://bohwaz.net/Copyleft 2015 europa - https://github.com/eur0paCopyright 2016 zefciu - https://github.com/zefciuBased on :- Bubble Babble spec: http://wiki.yak.net/589/Bubble_Babble_Encoding.txt- Nitrxgen PHP script: http://www.nitrxgen.net/bubblebabble.php- Bubble Babble encoder for Go: http://codereview.appspot.com/181122- Bubble Babble class for PHP: https://github.com/bohwaz/bubblebabbleUse:```pyshell>>> from bubblepy import BubbleBabble>>>>>> # Encoding simple ASCII strings>>> bb = BubbleBabble()>>> bb.encode('Pineapple')'xigak-nyryk-humil-bosek-sonax'>>> bb.decode('xigak-nyryk-humil-bosek-sonax')b'Pineapple'>>>>>> # To encode non-ASCI data you must encode to bytestring>>> bb.encode('Pchnąć w tę łódź jeża lub ośm skrzyń fig')Traceback (most recent call last):(...)ValueError: Non-ASCII character found. Encode your data>>> bb.encode('Pchnąć w tę łódź jeża lub ośm skrzyń fig'.encode('utf-8'))xikik-cocor-subur-fucam-dycem-lymyk-lecyn-nacen-riras-gycud-bepak-cicur-pocym-gyxex>>> bb.decode('xikik-cocor-subur-fucam-dycem-lymyk-lecyn-nacen-riras-gycud-bepak-cicur-pocym-gyxex').decode('utf-8')'Zażółć gęślą jaźń'>>>>>> # You can use Bubble Babble to encode e.g. uuids>>> import uuid>>> u1 = uuid.uuid4()>>> bb.encode(u1.bytes)'xezeg-tetor-pybyt-vuboc-gapop-boceg-todup-banyk-voxux'>>> u2 = uuid.UUID(bytes=bb.decode('xezeg-tetor-pybyt-vuboc-gapop-boceg-todup-banyk-voxux'))>>> u1 == u2True>>>>>> # The default alphabet can be overridden>>> # Consonants should be 17-letter long and vowels 6-letter long>>> bb2 = BubbleBabble(consonants=u'бгджзклмнпрстфхцч', vowels=u'аиоуыэ')>>> bb2.encode(b'0123456789')'читаж-гатиж-жэфиж-кыфож-мухуж-почоч')```
Package: bubble-sdk
web3.pyA Python library for interacting with Ethereum.Python 3.7.2+ supportQuickstartGet started in 5 minutesortake a tourof the library.DocumentationFor additional guides, examples, and APIs, see thedocumentation.Want to help?Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our
guidelines forcontributing,
then check out issues that are labeledGood First Issue.Questions on implementation or usage? Join the conversation ondiscord.
Package: bubble-sorter
Bubble Sort PythonBubble Sort Python is a Python module for dealing with bubble sort needs in python. Although python already has an in-built sort mechanism —sort()I thought this would be a fun project!InstallationUse the package managerpipto install Bubble Sort Python.pipinstallbubble-sorterUsage##Basic Sortingfrombubble_sorterimport*sort(2,1,3,19,8,4)# returns [1, 2, 3, 4, 8, 19]sort('goose','duck','cow','chicken','horse')# returns ['chicken', 'cow', 'duck', 'goose', 'horse']rev_sort(2,1,3,19,8,4,order='desc')# returns [19, 8, 4, 3, 2, 1]##Using Speed Testfrombubble_sorterimport*speed_test(n)# n is a positional argument and is the number of values you want to sort in the speed test. The function tells you the amount of time it took to complete the test sort.More Options: type, range, order, verbosespeed_test(n,type='str')speed_test(n,type='int')# default# type is a keyword argument. You can make it equal to 'str' or 'int' which is the default. Using type = 'str' sorts random words from a collection of the 10,000 most common English words. type = 'int' sorts n numbers between 0 and 99 if no range is specified.speed_test(n,range=(1,10))# this sorts n numbers between 1 and 10 and returns the time taken# range is a keyword argument. You can make it equal to any tuple. The default is (0, 99). It defines the range of random numbers that will be generated for the speed test.speed_test(n,order='asc')# defaultspeed_test(n,order='desc')# order is a keyword argument. You can make it equal to 'asc' (ascending order) or 'desc' (descending order). The default is 'asc'. It defines the order in which the list will be sorted.speed_test(n,verbose=True)speed_test(n,verbose=False)# default# verbose is a keyword argument. You can make it equal to True or False. The default is False and does not print the sorted list. Use it to print or not pront the sorted list.Support/ContributionsRaise an issuehereLicenseMIT
Package: bubbletree
Bubble TreeBubbleTree generates a Cleveland dot plot or heatmap ordered by a corresponding phylogenetic tree. Required input: a tab separated frequency table (i.e., with taxa as rows and samples as columns), a newick, nexus, nexml, phyloxml, or cdao formated tree, and a tab separated file with sample metdata. See example files for formatting requirements.PrerequisitesBubble tree is written with python 3+ and relies on the following packages:BioPythonMatplotlibPandasNumpySeabornInstall with pippip install bubbletreeInstall with condaconda install -c aemann01 bubbletreeExamplesGenerate a heatmap figure ordered by the mapping.txt column Habitat2bubbletree.py -i examples/biom.txt -t examples/tree.tre -m examples/map.txt -c Habitat2 -d heatmap -s sampleID -a ASVIDGenerate a bubble chart figure colored and ordered by the mapping.txt column Species and view the tree structure in ASCII format to screenbubbletree.py -i examples/biom.txt -t examples/tree.tre -m examples/map.txt -c Species -d bubblechart -p True -s sampleID -a ASVIDGenerate a bubble chart figure colored and ordered by the mapping.txt column Genus on a remote cluster (Disables the automatic $DISPLAY environment varible used by matplotlib)bubbletree.py -i examples/biom.txt -t examples/tree.tre -m examples/map.txt -c Genus -d bubblechart -r True -s sampleID -a ASVIDHelp and parameter descriptionbubbletree.py -h
Package: bubblewrap-cli
BubblewrapA Python library that makes beautiful text bubbles in your terminal usingNerdFonticons.Installpipinstallbubblewrap-cliUsageThe easiest way to use bubblewrap is with theRichlibrary.frombubblewrapimportBubblesfromrich.consoleimportConsoleb=Bubbles()c=Console()print()c.print(b.get_rich_bubble("This is text",bg_color="purple"))print()c.print(b.get_rich_bubble("Bubblewrap!",bg_color="dark_green",fg_color="grey66"))print()You can also use your own ANSI codesfrombubblewrapimportBubblesb=Bubbles()print()# takes the text, circle style (an fg color), test style (the bg color same as fg color# foreground and optionally it's own fg color), reset (your ANSI reset sequence)print(b.get_ansi_bubbles("Ayo how are you?","\033[31m","\033[32;41m","\033[0m"))print()Alternatively, you can link bubbles together:frombubblewrapimportBubblesfromrich.consoleimportConsoleb=Bubbles()c=Console()print()# default divider is an arrowc.print(b.get_rich_chain("Fri 09:45","white","black").link("直 Wi-Fi","orange3","white").link(" Charging","bright_green","black").end())# semi-circle dividerc.print(b.get_rich_chain("Fri 09:45","white","black",divider="").link("直 Wi-Fi","orange3","white").link(" Charging","bright_green","black").end())print()print(b.get_ansi_chain("~/Projects","\033[37;45m","\033[0m").link("bubblewrap","\033[30;46m").link("שׂ main","\033[30;43m").end())ExampleContributors 🌟
Package: bubbly
Bubbly is a package for plotting interactive and animatedbubble chartsusingPlotly. The animated bubble charts can accommodate upto seven variables in total viz. X-axis, Y-axis, Z-axis, time, bubbles, their size and their color in a compact and captivating way. Bubbly is easy to use with plenty of customization, especially suited for use in Jupyter notebooks and is designed to work withplotly’s offline mode such as in Kaggle kernels.DependenciesPython 3.4+numpypandasplotlyInstallationpipinstallbubblyUsage in a Jupyter Notebookfrom__future__importdivisionfromplotly.offlineimportinit_notebook_mode,iplotinit_notebook_mode()frombubbly.bubblyimportbubbleplotfigure=bubbleplot(dataset=gapminder_indicators,x_column='gdpPercap',y_column='lifeExp',bubble_column='country',time_column='year',size_column='pop',color_column='continent',x_title="GDP per Capita",y_title="Life Expectancy",title='Gapminder Global Indicators',x_logscale=True,scale_bubble=3,height=650)iplot(figure,config={'scrollzoom':True})Please refer to theJupyter notebook herefor more examples and illustration of the plotting functionbubbleplot.
Package: buca
BucaBucais a small Python script to blank some words in a text. I feed it with
lyrics and it gives me a text with blanks I can then fill when listening to the
song. It’s very helpful for vocabulary when learning a new language.Installpip3 install bucaUsagebuca [--ratio RATIO] [--fixed-size] [--numbers] [--max-count COUNT] [<file>]--ratio RATIO: change the default blank-to-word ratio. The default is 0.12,
i.e. about 12% of the words are removed.--fixed-size: by default, missing words are replaced with a sequence of_of the length of the word. Using this option changes that to a fixed length
that doesn’t depend on the word.--numbers: prefix blanks with an index, starting at 1. If you don’t want to
print the text, you can report those numbers on a piece of paper.--max-count COUNT: limit the blanked words count.If<file>is not provided or if it’s-, the script reads onSTDIN.Because it relies on randomness, each invocation of the script on the same text
should have different results. The number of blanked words may also change.Note that a word is defined as a sequence of two or more alphanumerical
characters.ExamplesRaw text:Le cose che abbiamo in comune sono 4850
le conto da sempre, da quando mi hai detto
"ma dai, pure tu sei degli anno '60?"
abbiamo due braccia, due mani
due gambe, due piedi
due orecchie ed un solo cervelloDefault parameters$ buca example.txtLe cose che abbiamo in comune sono 4850
le conto da sempre, da ______ __ hai detto
"ma dai, pure tu sei degli anno '__?"
abbiamo due braccia, due mani
___ gambe, due piedi
due orecchie ed un solo cervelloIncreased ratio$ buca --ratio 0.2 example.txtLe cose che abbiamo __ comune sono ____
le conto da sempre, da quando __ hai detto
"ma dai, pure tu sei degli ____ '60?"
_______ due braccia, ___ ____
due gambe, due piedi
due ________ __ un solo cervelloFixed-size$ buca --fixed-size example.txtLe cose che abbiamo in comune sono 4850
_____ conto da sempre, da quando mi hai _____
"ma dai, pure tu sei degli anno '60?"
abbiamo due braccia, due _____
due gambe, due piedi
due orecchie ed un solo cervelloWith numbers$ buca --numbers example.txtLe (1) ____ che abbiamo in comune sono (2) ____
le conto da sempre, da quando mi hai detto
"ma dai, pure tu sei degli anno '60?"
abbiamo due braccia, due mani
(3) ___ gambe, due piedi
due orecchie (4) __ un solo cervello
Package: buchner
BüchnerA boilerplate for larger, modular Flask applications.code:https://github.com/rehandalal/buchner/issues:https://github.com/rehandalal/buchner/issueslicense:BSD 3-clausedocumentation:http://buchner.rtfd.org/InstallInstall it with pip:$ pip install buchnerInstall it from source:$ git clone git://github.com/rehandalal/buchner
$ cd buchner
$ python setup.py install
Package: bucho
buchois a package for exercises. Yes, we love bucho!Setup$ easy_install buchoPluginpugin entry point isbucho.commands.History0.1.2 (2012-06-13)bucho shows something graphically0.1.1 (2011-06-17)bucho becomes pluggable0.1.0 (2011-05-01)bucho now work with Python3.renamebucho.wsgi.wsgi_appintobucho.wsgi.application.fixed: all_status return only a single status.fixed: bucho.command cause exception when print unicode.0.0.5 (2011-02-27)addbuchoconsole script.addbucho.wsgi.wsgi_appwsgi application.addmainentry point for paste.app_factory.some functions show(),latest_status(),all_status() stop print text and
now return text. this is incompatible change.0.0.4 (2010-07-10)add latest_status, all_statusadd torumemo0.0.3 (2010-07-10)bucho can show !0.0.2 (2010-07-10)you can import bucho0.0.1 (2010-07-10)first release
Package: bucket3
Bucket3bucket3 is a simple, blog aware, static site generator written in python. It reads your content and spits out a complete, static website suitable for serving with Apache or your favorite web server.bucket3 would like to become a virtual “information bucket” where you throw
pieces of information (texts, images, audio, etc), and presents them in a nice
blog-like format.Quick intropip install bucket3mkdir myblogcd myblog; bucket3 initEdit .bucket3/conf.yamlcd posts; bucket3 new hello-world-1Edit the file generated, and add some text.bucket3 updateYou should now have your whole blog under “html” (as defined in your conf file).Upload the files under html/ to your server.ExamplesCheck out the source ofhttp://www.bucket3.com/athttps://github.com/vrypan/www.bucket3.comhttp://blog.vrypan.net/is also generated using bucket3.Licensebucket3 is distributed under the MIT LICENSE.CopyrightPanayotis Vryonis,http://www.vrypan.net/See alsoIf you are not familiar with the idea of a static HTML blog, visithttps://github.com/mojombo/jekyllthey’ve done a much better way at explaining it! (the intro is actually a copy from jekyll’s README file)
Package: bucketbrigade
Welcome to Bucket BrigadeBucket Brigade contains helper functions for using cloud storage as a simple data processing queueCloud providers such as AWS, GCP and Azure have excellent object/blob storage capabilities. Once data is in cloud storage, it is as safe from accidental deletion or corruption as anywhere but the best self-hosted solutions.Everything gets more complicated and more expensive once you start using the cloud providers to do more sophisticated activities such as hosting your databases and running your server instances.This library is aimed at making it easy for developers to store their data as objects in cloud storage but use other tools for processing the data - either self-hosted or hosted in the cloud.The key function isget_unprocessed_docswhich lists unprocessed documents in a cloud storage bucket and sends them to a queue for serverless functions to process. The initial target for the bucketbrigade is modal.com but the intent is to accommodate any serverless function provider.Key function:get_unprocessed_docsSupporting functions:list_docssave_docread_docmark_completedskip_docThis library has started with storage on AWS but will expand soon to GCP, Azure and others.Thanks tohttps://github.com/uhjishfor donating the name bucketbrigade!
Package: bucketcloner
BucketclonerSimple tool to list all your bitbucket workspaces and clone all repositories associated with these workspaces.RequirementsYou need to know your bitbucket username. Can be found athttps://bitbucket.org/account/settings/.You need to create an app password herehttps://bitbucket.org/account/settings/app-passwords/with read permissions foraccount,workspace membershipandrepositories.Install bucketcloner either by cloning this repository and runningpip install .or by installing it viapip install bucketcloner. Minimum required python version is 3.8.List all workspacesbucketcloner-u<username>-p<apppassword>workspaceThis lists all workspaces, including your personal workspace, where you have access.Clone workspace(s)You can clone all repositories of all workspaces by simply callingbucketcloner-u<username>-p<password>cloneThis clones all repositories of all workspaces into the foldersworkspace/repositoryrelative to the current directory.To select specific workspace(s), add the-woption with workspace slug names separated by commasbucketcloner-u<username>-p<password>-wworkspace1,workspace2cloneAll existing repositories in the folders will be deleted and cloned again. To just skip existing repositories, add--skip-existingflag.bucketcloner-u<username>-p<password>-wworkspace1,workspace2--skip-existingclonePython exampleTheexample.ipynbincludes an example how to read the workspaces and download the repositories from within python.
Package: bucketed-scene-flow-eval
Bucketed Scene Flow EvaluationThis repo provides:A speed and class aware evaluation protocol calledBucketed Scene Flow EvaluationA standardized interface for working with Scene Flow datasets.Currently supported datasets:Argoverse 2 (Human Labeled and NSFP Pseudolabeled)Waymo OpenTheBucketed Scene Flow EvaluationprotocolTheBucketed Scene Flow Evaluationprotocol is designed to quantitatively measure the failure of state-of-the-art scene flow methods to properly capture motion on smaller objects. In the Autononous Vehicle domain, SotA methods almost universially fail on important objects like Pedestrians and Bicyclists. As part of organizing the community around addressing these issues, theArgoverse 2 2024 Scene Flow Challengeuses this protocol to evaluate submissions. More details about the protocol can be foundin the challenge blogpost.Installationpip install bucketed-scene-flow-evalSetupFollow ourGetting Startedfor setup instructions.DemoWe provide a demo script which shows off the various features of the API.To run with Argoverse 2:python scripts/demo.py --dataset Argoverse2SceneFlow --root_dir /efs/argoverse2/val/To run with Waymo Open:python scripts/demo.py --dataset WaymoOpenSceneFlow --root_dir /efs/waymo_open_processed_flow/validation/Evaluating AV2 flow submissionsTo evaluate an AV2 Scene Flow challenge entry named./submission_val.zipagainst validation dataset masks/efs/argoverse2/val_official_masks.zip, runpython scripts/av2_eval.py /efs/argoverse2/val /efs/argoverse2/val_official_masks.zip ./submission_val.zipDocumentationSeedocs/for more documentation .
Package: bucket-filter
Bucket FilterA filtering library to present data that matches a series of conditional
expressionsBucket filter is a python library that allows creating multiple buckets
each linked to a condition and having various data, each identified by a
unique ID. It then allows for combining various buckets in a serious of
conditinal operators and filters out those IDs that match a given
expression.Currently supported operators is &(AND), ||(OR)The library currenly only supports Boolean expressionsExampleLets say there are 3 buckets with conditions c1, c2, c3 as defined belowc1 –> id1, id2, id3c2 –> id3, id4, id5c3 –> id2, id3, id6an expressionC = c1 & (c2 || c3)would result in==> C = (id1, id2, id3) & (id3, id4, id5 id2, id6)

==> C = (id2, id3)NOTEThe library does not evaluate individual conditions, only joins the
filters as defined by the expressionThe library does an exact expression match, so if while
registering one uses hasData=True, the library expects the same
expression when evaluatingStandard evaluation rules apply, left to right, expressions in braces
are done firstElements in the bucketMUSThave a accessible attributeidelse
will be evicted out of the bucketLicenseLicensed under the Apache License, Version 2.0 (the “License”); you may
not use this file except in compliance with the License. You may obtain
a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Package: bucketfinder
Bucket FinderFrom Original Author:Copyright(c) 2011, Robin Woodrobin@digininja.orgThis project goes alongside my blog post "Whats In Amazon's Buckets?"http://www.digininja.org/blog/whats_in_amazons_buckets.php, read through that
for more information on what is going on behind the scenes.This is a fairly simple tool to run, all it requires is a wordlist and it will
go off and check each word to see if that bucket name exists in the Amazon's
S3 system. Any that it finds it will check to see if the bucket is public,
private or a redirect.Public buckets are checked for directory indexing being enabled, if it is then
all files listed will be checked using HEAD to see if they are public or private.
Redirects are followed and the final destination checked. All this is reported
on so you can later go through and analyse what has been found.Version1.0 - Release
1.1 - Added logging to file
1.2 - Fixed and added support for installation via PyPi (phx)InstallationI don't think it needs anything more than the built in modules so you shouldn't
need to install any gems. Just grab the file, make it executable and run it.I've tested it in Ruby 1.8.7 and 1.9.1 so there should be no problems with versions.UsageBasic usage is simple, just start it with a wordlist:bucketfinder my_wordsand it will go off and do your bidding.You can specify which region you want to run the initial check against by using
the--regionparameter:bucketfinder --region ie my_wordsThe script will follow all redirects anyway so even if left at default, US Standard,
everything will be found that can be found but if most of the buckets you are
finding are in a different region then you'll be doing a lot of redirects so doubling
your network traffic.You can also specify the--downloadoption to download all public files found. Be
careful with this as there are a lot of large files out there. I'd personally do
the general search then only use this option with a select subset of bucket names:bucketfinder --download --region ie my_wordsThe files are downloaded into a folder with the bucket name and then the appropriate
structure from the bucket.As some people are having trouble piping the output to files or other apps I've added
a logging option to send all output to a file. To use this just use the--log-fileparameter:bucketfinder --log-file bucket.out my_wordsLicenceThis project released under the following license:Creative Commons Attribution-Share Alike 2.0 UK: England & Wales (CC BY-SA 2.0 UK)
Package: bucketize
What?A CLI tool to determine STDIN line rate at the interval of choice.Installation$pythonsetup.pyinstallExamplesSend to Graphite the number of close() calls a process does per 10 seconds:$strace-p2760-eclose|bucketize--time_bucket_size10--output_template"one.two.three {amount} {time}"one.two.three11476562447.65one.two.three01476562457.65one.two.three681476562467.65one.two.three11476562477.65one.two.three11476562487.65one.two.three01476562497.65^C$strace-p2760-eclose|bucketize--time_bucket_size10--output_template"one.two.three {amount} {time}"|ncgraphite-server2003