Saravanan666/pypi-org huggingface dataset:
Package: bocadillo
NOTICEBocadillo is nowUNMAINTAINED. This repository will be archived by November 2019. We recommend users to migrate to other well-supported alternatives, such asStarletteorFastAPI. Please see#334for more information.Documentation:https://bocadilloproject.github.ioBocadillo is aPython async web frameworkthat makes building performant and highly concurrent web APIs fun and accessible to everyone.RequirementsPython 3.6+InstallationpipinstallbocadilloExamplefrombocadilloimportApp,configureapp=App()configure(app)@app.route("/")asyncdefindex(req,res):res.json={"hello":"world"}Save this asapp.py, then start auvicornserver (hot reload enabled!):uvicornapp:app--reloadSay hello!$curlhttp://localhost:8000{"hello":"world"}Ready to dive in?Visit the documentation site.ChangelogAll changes to Bocadillo are recorded in thechangelog. To see what's coming in the next release, read theUnreleasedsection.Release notes may also be published as blog posts onBocadillo News.ContributingFound a bug? A typo? Want to help build a new feature? We'd love to see your contributions! There are also many ways to contribute that don't include code: helping with issues, laying out new ideas, improving docs, etc.Check out theContributing guideto get started.By the way, here is the Bocadillo Contributor Hall of Fame. 👨‍💻👩‍💻CreditsLogo designed by Florimond Manca. Sandwich icon designed bymacrovector.
Package: bocadillo-cli
Bocadillo CLIBocadillo CLI provides standard development tooling forBocadillo.Installpipinstallbocadillo-cliUsageOverview$ bocadillo --help
Usage: bocadillo [OPTIONS] COMMAND [ARGS]...

Options:
  -V, --version  Show the version and exit.
  --help         Show this message and exit.

Commands:
  create  Initialize a Bocadillo project.Create a project$ bocadillo create --help
Usage: bocadillo create [OPTIONS] NAME

  Initialize a Bocadillo project.

Options:
  -d, --directory DIRECTORY  Directory where the project should be created.
                             Created if does not exist. Defaults to `NAME`.
  --dry                      Dry mode: does not write anything.
  --help                     Show this message and exit.ContributingWant to contribute code or documentation? Great to hear! OurContributing Guidelinesare here to help.LicenseMIT
Package: bocco
コミュニケーションロボット BOCCO を操作するためのBOCCO APIを Python から操作するためのライブラリです。ドキュメント:https://yukai.github.io/bocco-api-python/セットアップpip の場合:$ pip install boccosetup.py の場合:$ git clone https://github.com/YUKAI/bocco-api-python.git
$ cd bocco-api-python
$ python setup.py installサンプルapi = bocco.api.Client('ACCESS TOKEN')
# 新しいセッションを開始する場合
#api = bocco.api.Client.signin('API KEY', 'test@example.com', 'pass')
#print(api.access_token)

# 全ての部屋にメッセージを送る
for room in api.get_rooms()
    api.post_text_message(room['uuid'], 'hello')コマンドラインツールUsage: boccotools.py [OPTIONS] COMMAND [ARGS]...

  BOCCO API http://api-docs.bocco.me/ を CLI で操作するツール

Options:
  --config PATH
  --access-token TEXT
  --help               Show this message and exit.

Commands:
  messages  指定した部屋のメッセージを表示
  rooms     部屋一覧を表示
  send      テキストメッセージを送信.
  web       Web サーバ上で API クライアントを起バージョンアップ/bocco/__init__.py,/bocco/__init__.pyのバージョンを更新する。
Package: bochscpu-python
bochscpu-pythonPython bindings for@yrp'sBochsCPUusingFFIto easily and accurately emulate x86 code.Installbochscpu-pythonrequires a Python environment of 3.8 or more recent only.Via PyPI (preferred)By far the simplest way to get things up and running is using thestable packaged versiononPyPIpython-mpipinstallbochscpu-pythonVia the generated buildsDownload the latest working artifact fromthe repository Github Actions tab. Extract the ZIP file, install the.whlfile you'll find inside thewheelfolder.python-mpipinstallwheel/bochscpu-$version-$os-$arch.whlFrom the source repositoryFairly straight forward:python-mpipinstall.Or without cloningpython-mpipinstallgit+https://github.com/hugsy/bochscpu-python.git#egg=bochscpu-pythonNote that this approach will require you to have all the building tools necessary installed (as described below)BuildRequirementsPython 3.8+ (with development kit)cmakepipa C++20 compatible compiler (testedclfor Windows,clang++for MacOS andg++Linux)StepsBuild BochsCPU, BochsCPU-FFI, and BochsCPU-Build following the instructions on their respective pages... Alternatively BochsCPU-FFI for Windows & Linux libraries object files can be downloaded from thebuildGithub ActionsMove the*.libinbochscpu/lib/<BuildType>(whereBuildTypecan beDebug,Release,RelWithDebInfo, etc.)Install the requirements:python -m pip install -r requirements.txtBuild withcmakeThis will generate the bochscpupydfile (and its PDB) which you can import from a Python session withimport bochscpu.... Alternatively you can also generate a.whlfrom the root of the project:python-mpipwheel.UsageJust import thebochscpumodule and let the fun begin! Installing the package will also install interface files, allowing modern IDEs (VSCode, PyCharm, etc.) to offer useful completion.Some ExamplesEmulate a Fibonascii sequence in x64 long modehttps://github.com/hugsy/bochscpu-python/assets/590234/adc5ac5a-a8eb-4982-9537-5ece3f32f8f8CodeEmulate code from a Windows 11 x64 memory dumpCodeEmulate aprint("hello world")-like assembly code in 16 bit real modehttps://github.com/hugsy/bochscpu-python/assets/590234/eb06af06-4b10-490e-ae40-a1d0aed333caCodeEmulate Linux Glibc'srand()function on x64https://github.com/hugsy/bochscpu-python/assets/590234/2486adbc-0878-46f5-83ed-3bcf9774fd26CodeEnjoy 🍻
Package: bock
bockVery basic cli-tool to support local (GAMS4+)[http://gams.uni-graz.at/] project development.Quick Start# 1. make sure python3 + pip are installedpipinstallbock# 2. restart shell / wsl etc.# run bockbockRequirementspython 3.10.0?pip installedBock developmentWindows# cd to clone of repocd/to/the/clone# install via pip locallypipinstall.# logout / login from wsl afterwards# launch bock commandsbock[cmd]# launch demo sub-command (inside commands/demo.py)bockdemotestmeWSL / Linux# cd to clone of repocd/to/the/clone# activate venv (needs virtualenv installed)sourcevenv/Scripts/activate# if there is an error (like command not found -> use dos2Unix command on venv/Scripts/activate )# install via pip locallypipinstall.# logout / login from wsl afterwards# launch bock commandsbock[cmd]# launch demo sub-command (inside commands/demo.py)bockdemotestmeIdols / Sourceshttps://github.com/IVIURRAY/yt-evehttps://www.youtube.com/watch?v=Jr4QDJwwj60&ab_channel=SoftwareEngineerHaydn1. Install pip (WSL + Ubuntu 20.x LTS)# pip wsl ubuntu installation# update / upgrade ubuntu firstsudoaptupdate&&sudoaptupgrade# install pip on ubuntusudoaptinstallpython3-pip# then install bockInstallcreate venvinstall requirements specified in requirements.txtcode along!Update bock# update bockpy-mpipinstall--upgradebockAimsSimplifysetting up the dev assets shpuld beCentralizeavoid copying of old code. Make sure to spread best practices / bug fixes etc.Abstract away:knowledge about different repositories and other implementation details.Validate:integrate frontend test possiblity into the toolExample cli callsProduction / Packagingaccording to official doc here:https://packaging.python.org/guides/distributing-packages-using-setuptools/#packaging-your-projectbased on windows machinespackaged as "wheel" (check doc link from before)# on windows!# launch venv first# cd into clone./venv/Scripts/activate.bat# then increment version in setup.py according to semantic versioning!# build python wheelpy-mbuild--wheel# OPTIONAL: check if description is validtwinecheckdist/*Deployment (on pypi)on pypihttps://packaging.python.org/guides/distributing-packages-using-setuptools/#uploading-your-project-to-pypicheck docu for api token (test out on testpypi)Pypi# First build files + create pypi account (if not existing)# username: __token__# pw: MYTOKENtwineuploaddist/*# install from pypipipinstallbockTestpypi# test on testpypi# need to specify testpypi repo# username: __token__# pw: MYTOKENtwineuploaddist/*--repositorytestpypi# install from testpypi# needs to be done this way -> deps need to be installed from pypi and not the test instance.pipinstallbock--extra-index-urlhttps://test.pypi.org/simpleTestingManual DeploymentInstallation from TestPypi# first update ubuntu stuffsudoapt-getupdate&&apt-getupgrade# install pip firstsudoapt-getpython3-pip# install from testpypi# needs to be done this way -> deps need to be installed from pypi and not the test instance.pipinstallbock--extra-index-urlhttps://test.pypi.org/simple# (when on wsl -> restart wsl )# use bockbockprojectsetup"templates"
Package: bodas
bodasAsymptotic Bode plots in Python.Installationpip install bodasSimple usage exampleIn[1]:importbodasIn[2]:importsympy# import [SymPy](https://www.sympy.org) the Python# library for symbolic mathematicsIn[3]:s=sympy.Symbol('s')# define `s` as symbolIn[4]:H=(1+s/23)/(1+s/123)**2# assign to `H` the function you want to plotIn[5]:sympy.pretty_print(H)s──+123──────────2⎛s⎞⎜───+1⎟⎝123⎠In[6]:bodas.plot(H)# call the `plot` function defined in the bodas library
Package: bodatools
bodatoolsis a collection of Python code with tools for use with
born-digital archival materials.  Currently, this consist of:bodatools.binfile: provides the capability to map arbitrary
binary data into a read-only Python objectincludes BinaryStructure definitions for Eudora and Outlook
Express 4.5 (Macintosh) email formatsA command-line script:export-email- export Outlook Express 4.5 (Macintosh)
messages to individual files per email/attachmentbodatoolswas created by the Digital Programs and Systems Software
Team ofEmory University Libraries.
Package: boddle
imageBoddleA unit testing tool for Python’s bottle library. We wrote this for our
own testing purposes athttps://www.hvst.com. Thanksbrenguyen711for the great name!Installsudo pip install boddleUsageAssuming you have a bottle route like this:@bottle.get('/woot')defwoot():returnbottle.request.params['name']You can unit test it like:importunittestfromboddleimportboddleclassTestIt(unittest.TestCase):deftestWoot(self):withboddle(params={'name':'derek'}):self.assertEqual(woot(),'derek')See`example.py<example.py>`__.OptionsThe Bottle-specific params that are supported are:ArgumentNotesparamsPopulatesrequest.params. Takes
adictor list of
pairs. Useful for both
POST and GET params.pathThe path component of the
url. Populatesrequest.path, which
always has a preceeding/.methodPOST, GET, etc. Bottle
will uppercase the value.headersAny HTTP headers. Takes adict.jsonTakes anything that can be
consumed byjson.dumps(). Also
sets the content type of
the request.urlThe full URL, protocol,
domain, port, path, etc.
Will be parsed until itsurlpartsbefore
populatingrequest.url.bodyThe raw body of the
request. Takes either astror a file-like
object.strs will be
converted into file-like
objects. Populatedrequest.body.queryPopulatesrequest.query. Takes adict.All other keyword arguments will be assigned to the request object. For
instance, we often do:withboddle(current_user=someone):# code that accesses bottle.request.current_userYou can also nestboddlecalls. For instance:withboddle(path='/woot'):withboddle(params={'name':'derek'}):# both path and params are set here# only path is set hereALL CHANGES TO ``bottle.request`` ARE REVERTED WHEN THE WITH BLOCK
ENDS.Testingimage$ git clone https://github.com/keredson/boddle.git
$ cd boddle
$ python tests.py
............
----------------------------------------------------------------------
Ran 12 tests in 0.001s

OK
Package: bode-django-error-pages
ObjectiveThis is a simple django app to handle error pages on a Django Project. Obvious, with some Bode flavor.How to useYou must configure your root urls.py to handle errors.In settings.py, add the ‘bode_error_pages’ to INSTALLED_APPS;In your root urls.py file, add:frombode_error_pages.viewsimportError403View,Error404View,Error500Viewhandler403=Error403View.as_view()handler404=Error404View.as_view()handler500=Error500View.as_view()
Package: bodega-bot
Bodega BotBodega-Bot is a Discord bot that can be configured to monitor and produce humorous analytics for Discord channels.Installationpip install bodega-botUsageCLITo spin up a simple bodega-bot:$ bodega-bot -b <your bot token>Refer to theOptionssection below for all the different optional arguments that bodega-bot supports.Configuration fileIt is possible to pass the inputs to bodega-bot through a .json configuration file. If done this way, the path to the config file needs to be passed as an input:$ bodega-bot -c /path_to_config_file/config.jsonOptionsArgumentDescription--help, -hShow help message and exit.-bot_token, -bDiscord Bot token.--db_url, -dDatabase url or connection string.--config-path, --config_path, -cFilepath to configuration file.--giphy-key, --giphy_key, -gkGiphy API Key.Discord Bot CommandsCommandDescription.statsRanks users in descending order by total number of chars typed..trend <number of weeks>Uploads a trend plot of user's statistics over the pastnumber of weeks..keyword <user keyword>Automatically posts a gif for a particular user based onuser keyword. This action is on a 12 hour cooldown.ScreenshotsUsing MySQL (Optional)While sqllite is supported out of the box, we recommend installing MySQL and the required drivers:sudo apt-get install libmysqlclient-dev
sudo apt-get install python3-dev
sudo apt-get install python3.7-dev
pip install mysqlclientLicenseMIT LicenseCopyright (c) 2020 Ultimo BodegaPermission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Package: bodger
The bodger tool is a very simple wrapper that reads a config, matches grainss,
and determines what command to run, and runs it. This makes it easy to set
what commands to run for test, build, docs etc in a CI/CD pipeline. You can
kind of think of it like a platform specific Make command with a better config.ConfigThe default config is “bodger.conf” and should be located inside of the root of
a project.This config looks like this:bodger:
  test:
    kernel:Linux: pytest
  pkg:
    os:Arch: tiamat -c build.conf --pkg-tgt Arch
    os_family:RedHat: tiamat -c build.conf --pkg-tgt rhel7
  bin:
    kernel:Linux: tiamat -c build.confThen the system can by run by calling bodger <cmd>:bodger test
bodger pkg
bodger bin
Package: bodhi
Welcome to Bodhi, Fedora’s update gating system.Bodhi is designed to democratize the package update testing and release process for RPM based Linux
distributions. It provides an interface for developers to propose updates to a distribution, and an
interface for testers to leave feedback about updates through a +1/-1 karma system.Bodhi’s main features are:Provides an interface for developers and release engineers to manage pushing out package updates
for multiple distribution versions.Generates pre-release test repositories for end users and testers to install proposed updates.Gives testers an interface to leave feedback about package updates, leading to higher quality
package updates.Announces the arrival of new packages entering the collection.Publishes end-user release notes known as errata.Generates yum repositories.Queries ResultsDB for automated test results and displays them on updates.DocumentationYou can read Bodhi’srelease notesand documentationonline, or by installing it on your
Fedora system and pointing your browser at/usr/share/doc/bodhi-docs/html/index.html:$ sudo dnf install bodhi-docs && firefox /usr/share/doc/bodhi-docs/html/index.htmlIf you are interested in contributing to Bodhi, you can read thedeveloper documentation.IRCCome join us onLibera! We’ve got two channels:#bodhi - We use this channel to discuss upstream bodhi development#fedora-apps - We use this channel to discuss Fedora’s Bodhi deployment (it is more generally
about all of Fedora’s infrastructure applications.)
Package: bodhiext.cohere
Bodhilib Cohere PluginBohilib plugin for Cohere by bodhiextFree software: MIT licenseDocumentation:https://bodhiext.cohere.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageforked and modified atBodhiSearch/cookiecutter-plugin-template.
Package: bodhiext.openai
Bodhilib OpenAI pluginBodhilib plugin for OpenAI APIsFree software: MIT licenseDocumentation:https://bodhiext.openai.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageforked and modified atBodhiSearch/cookiecutter-plugin-template.
Package: bodhiext.qdrant
Bodhilib plugin for Qdrant Vector DBBodhilib plugin for Qdrant Vector DB by bodhiextFree software: MIT licenseDocumentation:https://bodhiext.qdrant.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageforked and modified atBodhiSearch/cookiecutter-plugin-template.
Package: bodhiext.sentence-transformers
SentenceTransformers Bodhilib pluginBodhilib plugin for Sentence Transformer EmbedderFree software: MIT licenseDocumentation:https://bodhiext.sentence_transformers.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageforked and modified atBodhiSearch/cookiecutter-plugin-template.
Package: bodhi-server
Welcome to Bodhi, Fedora’s update gating system.Bodhi is designed to democratize the package update testing and release process for RPM based Linux
distributions. It provides an interface for developers to propose updates to a distribution, and an
interface for testers to leave feedback about updates through a +1/-1 karma system.Bodhi’s main features are:Provides an interface for developers and release engineers to manage pushing out package updates
for multiple distribution versions.Generates pre-release test repositories for end users and testers to install proposed updates.Gives testers an interface to leave feedback about package updates, leading to higher quality
package updates.Announces the arrival of new packages entering the collection.Publishes end-user release notes known as errata.Generates yum repositories.Queries ResultsDB for automated test results and displays them on updates.DocumentationYou can read Bodhi’srelease notesand documentationonline.If you are interested in contributing to Bodhi, you can read thedeveloper documentation.IRCCome join us onLibera! We’ve got two channels:#bodhi - We use this channel to discuss upstream bodhi development#fedora-apps - We use this channel to discuss Fedora’s Bodhi deployment (it is more generally
about all of Fedora’s infrastructure applications.)
Package: bodkin
Bodkin is a Python library to create, evaluate, and visualize computation graphs.Usage / terminologybodkin.Node- an abstract base class for for a black box that updates its outputs based on its inputsbodkin.Atom- a Node that is a fundamental building block. An Atom provides a function to update its outputs from its inputs. An Atom is what we would conventionally refer to as a node in a graph.bodkin.DAG- a directed acyclic graph that encapsulates a set of Nodes and evaluates them in order of dependency. A DAG consists of Node objects, so it may contain Atoms and/or other embedded DAGs.Any Node's inputs and outputs may be accessed through its propertiesiando, resepectively. These properties behave like dictionaries but can be linked together so that setting a output on one Node also sets an input on some other Node.To learn more see theexamples/basic.pyscript for a basic usage example or pass an object intohelp(). Feel free to open an issue for further questions.InstallationDependenciesBasic functionality only relies on the standard library, but visualizing objects via theirshowmethod requires thedotcommand fromgraphviz.FromPyPIInstall using pippython3-mpipinstallbodkin
Package: bodleian.recipe.fedora
bodleian.recipe.fedorainstance==========================================================.. image:: https://travis-ci.org/bodleian/bodleian.recipe.fedorainstance.svg?branch=master:target: https://travis-ci.org/bodleian/bodleian.recipe.fedorainstance.. image:: https://coveralls.io/repos/bodleian/bodleian.recipe.fedorainstance/badge.svg:target: https://coveralls.io/r/bodleian/bodleian.recipe.fedorainstance.. image:: http://img.shields.io/badge/license-MIT-brightgreen.svg:target: https://github.com/bodleian/bodleian.recipe.fedorainstance/blob/master/LICENSEbodleian.recipe.fedorainstance is a `Buildout <http://buildout.org/>`_ recipeto install an unpacked fedora webapp to your existing Tomcat container.Usage-----------You must mention the recipe in your build out section::[your-build-target]recipe = bodleian.recipe.fedorainstanceSupported options++++++++++++++++++++++++++the recipe supports the following options:``version``fedora version. Valid values are: 4, 3, 3.8, 3.7, 2.2.4 And version 3.7 isa default for ``version`` = 3.  Default configurations can be found in*bodleian/recipe/fedorainstance/recipe_config.ini*``tomcat-home``tomcat installation directory.``fedora-url-suffix``the url suffix that should lead to your fedora instance under tomcat. Itshould be only a single word. This is not applicable when ``version`` is setto 2.Optional options*********************``url``the url to your fedora package. You may want to override the defaultdownload url in *bodleian/recipe/fedorainstance/recipe_config.ini*.``unpack-war-file``set 'false' will prevent the recipe from unpacking the fedora war file totomcat webapps. In other words, it instructs this recipe to copy the warto tomcat webapps directory only.``java-bin``override '/usr/bin/java' if your java is found somewhere elseFedora 2 and 3 specific options******************************``overwrite-existing``a signal to the reciepe to clear the destination directory with thenew content. The previous content is backed up in /tmp. Pleasecheck your build log when you have put the stone on your toe, forexample, your fedora buldout got important data that you regrettedto use overwrite-existing==true.``install-properties``a key-value dictionary that you will need to supply to call**java -jar fcrepo-installer-3.x.jar** from command line.An example is::[your-build-target]recipe = bodleian.recipe.fedorainstanceversion = 3tomcat-home = /tmp/tomcatfedora-url-suffix = fedoraunpack-war-file = trueinstall-properties =keystore.file=includedri.enabled=truemessaging.enabled=falseapia.auth.required=false...fedora.serverContext=${your-build-target:fedora-url-suffix}.. note::For feodra 3, please set**fedora.serverContext=${your-build-target:fedora-url-suffix}** in install-properties.Otherwise, this recipe cannot find the fedora war file for deploying it to tomcatDevelopment-------------------Please fork it to your repo and then submit merge requests.Here is how you do tests::$ python setup.py install$ pip install -r tests/requirements.txt$ make