Saravanan666/pypi-org huggingface dataset:
Package: boardutils
BoardUtilsBoardUtils is a set of utilities to integrate custom Python scripts / application with Board toolkit (https://www.board.com)
This is an example package and should not be used to build production-grade integrations, it is intented to just showcase the functionalities of Board APIsInstallationpipinstallboardutilsUsageAPI Functionalitiesfromboardutilsimportapibclient=api.Client("http://your-endpoint.board.com","client_id","client_secret")# create a new api client instancelayout_data=bclient.query("datamodel","query-name","query-parameters")# return a dictionary with layout query resultscubes=bclient.cubes("datamodel")# return list of cubes for specified datamodelentities=bclient.entities("datamodel")# return list of entities for specified datamodelentity=bclient.entity("datamodel","entity")# return list of members of a specific entityAPI Functionalitiesfromboardutilsimportsharedstoragebss=sharedstorage.client("https://your-board-shared-storage-sas-uri-token.itsaverylongtoken.withlotsofsymbols")# new board shared storage clientbss.delete_file("azure_file","azure_directory")# Delete a file - if azure_directory parameter is missing, file deleted from rootbss.upload_file("azure_file","local_path","azure_directory")# Upload a file - if azure_directory parameter is missing, file upload to rootbss.download_file("azure_file","local_path","azure_directory")# Download a file - if azure_directory parameter is missing, file download from rootbss.download_file("azure_file","local_path","azure_directory")# Download a file - if azure_directory parameter is missing, file download from rootfiles=bss.list_directories_and_files("azure_directory")# list files and folders in a specified directory (if no path specified, root level). Return list of Azure file objectsforfileinfiles:file.name#  to return the name of azure file from the azure file classbss.get_file_size("azure_file","azure_directory")# return file size for specified azure file ((if no path specified, root level).LicenseThe usage of Board API Query engine is subject to licensing from Board (https://www.board.com)
Please contact your account manager for more information
Package: boario
BoARIO: The Adaptative Regional Input Output model in python.DisclaimerIndirect impact modeling is tied to a lot of uncertainties and complex dynamics.
Any results produced withBoARIOshould be interpreted with great care. Do not
hesitate to contact the author when using the model !What is BoARIO ?BoARIO, is a python implementation project of the Adaptative Regional Input Output (ARIO) model [Hallegatte 2013].Its objectives are to give an accessible and inter-operable implementation of ARIO, as well as tools to visualize and analyze simulation outputs and to
evaluate the effects of many parameters of the model.This implementation would not have been possible without thePymriomodule and amazing work of [Stadler 2021] !It is still an ongoing project (in parallel of a PhD project).You can find most academic literature using ARIO or related modelshereWhat is ARIO ?ARIO stands for Adaptive Regional Input-Output. It is an hybrid input-output / agent-based economic model,
designed to compute indirect costs from economic shocks. Its first version dates back to 2008 and has originally
been developed to assess the indirect costs of natural disasters (Hallegatte 2008).In ARIO, the economy is modelled as a set of economic sectors and a set of regions.
Each economic sector produces its generic product and draws inputs from an inventory.
Each sector answers to a total demand consisting of a final demand (household consumption,
public spending and private investments) of all regions (local demand and exports) and
intermediate demand (through inputs inventory resupply). An initial equilibrium state of
the economy is built based on multi-regional input-output tables (MRIO tables).Where to get BoARIO ?You can install BoARIO frompipwith:pip install boarioThe full source code is also available on Github at:https://github.com/spjuhel/BoARIOMore info in theinstallationpage of the documentation.How does BoARIO work?In a nutshell, BoARIO takes the following inputs :an IO table (such as EXIOBASE3 or EORA26) in the form of anpymrio.IOSystemobject, using thePymriopython package.multiple parameters which govern the simulation,event(s) description(s), which are used as the perturbation to analyse during the simulationAnd produce the following outputs:the step by step, sector by sector, region by region evolution of most of the variables involved in the simulation (production,demand,stocks, …)aggregated indicators for the whole simulation (shortages duration,aggregated impacts, …)Example of useSeeBoario quickstart.CreditsAssociated PhD projectThis model is part of my PhD on the indirect impact of extreme events.
This work was supported by the French Environment and Energy Management Agency
(ADEME).DevelopmentSamuel Juhel (pro@sjuhel.org)ContributionsAllcontributionsto the project are welcome !AcknowledgementsI would like to thank Vincent Viguie, Fabio D’Andrea my PhD supervisors as well as Célian Colon, Alessio Ciulo and Adrien Delahais
for their inputs during the model implementation.
Package: boarml
Boar MLBOAR (Build Once And Run) ML is a library that allows you to build abstract machine
learning models and then compile them with popular ML platforms.The library also implements additional modules for applying mutations to an architecture, support  for  writingarchitectures to a file and reading architectures from a file in a user readable format.https://pypi.org/project/boarml/Installationpip install boarmlBuilding instructionsBuilding the package:python setup.py sdist bdist_wheelUploading to PyPi:python -m twine upload  dist/*Uploading new versions:twine upload --skip-existing dist/*
Package: boas
BankofAmerica-Web-ScraperSelenium web scraper used to pull personal financial data from bankofamerica.comAboutThis web scraper will pull account balances and all transactions from credit and checking accounts. This is meant to be
used with anode.js serverwhich will re-categorize and
insert into agoogle sheet.InstallingTo install dependencies, runpip install python-dotenv
pip install knack
pip install boasUsageTo run the program in a multi-threaded way, using account details fromaccounts.jsonrunboas parse run --threaded=yes --file=accounts.jsonEnvironment variablesThis project require a.envfile or environment variables. The only value required is the sheet api endpoint of thenode.js server.Here is an example file:SHEET_API=Account FileThe account credentials are stored in a json file. If you would like to login even with the security v2 security,
you can provide the security answers in the file.[{
  "name": "",
  "username": "",
  "password": "",
  "security_questions": {
    "What is the name of your first employer?": "",
    "What is the street you grew up on": "",
    "What is the name of your best friend": ""
  }
}]How it worksThis service first logs in, and then start to collect the account balances and overview from the my accounts page. Next,
it will visit all checking and credit cards and start collecting the transaction info. This is the following information
that the program collects:merchant_name
category
date
description
amountOnly the transactions from the current month are collected. Currently, the savings scraper isn't implemented. For my use
case I did not have many important transactions in savings. The amounts are still collected in the overview and displayed
in the sheet. If you would like to implement savings, just create another entry inpage.pyand locators inlocator.py.
To learn more about the page object design pattern, look atthe selenium docsImportant Notes / Future workI have not found a way to run selenium in headless mode. It seems bank of america detects this and asks for a capcha,
which block logging in. I have not explored what options chrome driver might have to mask the headless mode.DevelopmentTestingThere is a few tests located in the test directory. These will test basic login functionality, account summary recording,
and a full functional test of the scraper. Please replace the empty strings with your account information to run these tests.Here is an example run of a full functional test run:python src/FullTests.py
Package: boas-game
A game I made years ago but didn't publish.0_0______  ______ \_/     ____         _____      >_<           _____\     \|\     \  s ____\_  \__    /      |_    \_/s     _____\    \|     |\|     |s /     /     \  /         \    ^  s   /    / \    ||     |/____ /  /     /\      ||     /\    \    ss   |    |  /___/||     |\     \ |     |  |     ||    |  |    \sss  ____\    \ |   |||     | |     ||     |  |     ||     \/      \   /    /\    \|___|/|     | |     ||     | /     /||\      /\     \ |    |  \    \ss/_____/|/_____/||\     \_____/ || \_____\ \_____\|\____\ /____/| ss|    |||     | || \_____\   | / | |     | |     || |   ||    | | ^_^|____|/|_____|/  \ |    |___|/   \|_____|\|_____| \|___||____|/  \_/\|____|*-. Game Play .-*You are gather money and some boa snakes chase you, they get more willing to eat you the more you get rich.If you get enough money, you could buy rats who distract boas.Despite it being harder than snake(6), you can theoretically attain any score by making a large enough rat army, which is not an easy task.The main attraction of the gameplay is that unlike snake(6), you could play it for hours, or even days! It was popular among friends and little children of relatives, so i thought it would be nice if I share it on the web.*-. Installation .-*You can install it by this command:sudo pip install boas-gameboasHave fun!*-. It's in Python2!? .-*Yes. It's also so dirty that I get headache surfing through its code.If I wanted to modify it so much I would rather rewrite it in C from scratch.*-. Don't use pycurses .-*Unlike curses, which is (like many other old libs) a testament that using a library made by C people for C could be actually a nice expreince; pycurses is the absolute opposite of that with it's combinations of an OO pythonic inteface for a bitmask-intensive trivially non-OO API and FREAKING EXCEPTIONS that throw you into a corrupted console, many times for nonsensical reasons. It was such a pain silencing them all and sometimes even exceptpass didn't suffice.It's also tied to ncurses, limiting you to unix-like platforms.If you want to do something similar, i recommend using unicurses.
Package: boa-str
Boa is a Python package for normalizing and converting strings to snakecase.For example, it translates the user-defined event'User Buys Item'to'user_buys_item'which can then be used in a file path in S3, or as the name of a schema or table in Redshift.It also handles the more complex cases such as stripping punctuation and converting words from camelCase or PascalCase to snake_case (see examples below).InstallationInstall in your virtual environment:$pipinstallboa-strQuickstart>>>importboa>>>my_str='Hello Boa'>>>boa.constrict(my_str)'hello_boa'Examples>>>importboa>>>boa.constrict('toInfinityAndBeyond')'to_infinity_and_beyond'>>>boa.constrict('Welcome-to-planet-Earth!')'welcome_to_planet_earth'TestsWe usenose2andcoveragefor unit tests.Install with test requirements:$pipinstallboa-str[test]Then run:$invoketestStyle$invokelintContributeClone the repo, then install with dev requirements which also includes test requirements:$gitclonehttps://github.com/astronomerio/boa/$cdboa$pipinstall.[dev]🐍️🐍️🐍️
Package: boat
# boatBoat lets you instantly share any file over HTTP from command line. You can use boat to share files over local network, or transfer to mobile devices if they are on same WiFi network!![](https://github.com/ashisha/boat/blob/master/screenshot/craft.png)# Usage* To share a file called file.txt, run ```boat file.txt```* boat will spawn a HTTP server and tell you the corresponding URL* You can now download file.txt on the local network by going to URL via any client (browser, curl, wget)* Additionally you can ask boat to generate a QR code: ```boat --qr file.txt```* boat will then generate a QR code for you which can be scanned easily on mobile devices* For more help, run ```boat --help```# Features* Spawns a HTTP server per file, you don't need to worry about port numbers* The spawned HTTP servers are auto-managed, they kill themselves after a certain timeout or maximum number of requests* Support for QR code generation to assist mobile devices# Requirements* Python 2.x* Python Imaging and QR libraries (optional):```pip install Pillowpip install pyqrcode```# InstallationInstalling boat is easy, fire up your terminal, and execute the following commands in order:```sudo wget https://raw.github.com/ashisha/boat/master/boat -O /usr/local/bin/boatsudo chmod +x /usr/local/bin/boat```# PS* Tested on Mac and Linux (ArchLinux) with Python2.7 (pulls welcome)* Thank you!
Package: boatd
Documentation is located athttp://boatd.readthedocs.io/.LicenseCopyright (c) 2013-2016 Louis Taylor <louis@kragniz.eu>Boatd is free software: you can redistribute it and/or modify it under the
terms of the GNU Lesser General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.See [COPYING](COPYING) for more information.
Package: boatd_client
Python module for writingboatdbehavior
scripts.Installing$ pip install boatd_clientclassBoatA boat controlled by boatdAttributesheading:
Return the current heading of the boat in degreesposition:
Return a tuple in the form(latitude, longitude)version:
Return the version of boatdwind:
Return the direction of the wind in degreesmethodsdef __init__(self,host='localhost',port=2222)Create a boat instance, connecting to boatd athoston portportdef __rudder__(self, angle)Set the angle of the rudder to beangledegreesdef __sail__(self, angle)Set the angle of the sail toangledegrees
Package: boatface
Maritime Labs BoatfaceAboutAn instrumentation panel for displaying NMEA and SignalK telemetry data,
specifically onelectronic inkdisplays.NMEA-0183 telemetry data is received on UDP port 10110.NotePlease note this is ALPHA quality software.Essentially, the program currently only demonstrates two features
separately: Telemetry receiver vs. Rendering and display.Many details will still need to be implemented.There might be dragons.ScreenshotFeaturesReceive and parse NMEA sentencesRender user interface as PIL imageDisplay user interface on different backends:PNG,pyglet,PySDL2,eipsDevice supportDesktop: Linux, macOS, WindowsE-book devices usingelectronic inkdisplays:Amazon Kindle,Kobo eReader,Tolino eReaderSetuppip install --upgrade boatface[ui]To install the latest development version from the repository, invoke:pip install --upgrade git+https://github.com/maritime-labs/boatface#egg=boatface[ui]UsageTerminal:# Submit telemetry messages in NMEA-0183 format to UDP broadcast.
pip install calypso-anemometer
calypso-anemometer fake --subscribe --rate=hz_8 --target=udp+broadcast+nmea0183://255.255.255.255:10110

# Listen on the network for NMEA-0183 messages and display them on the terminal.
boatface log --source=udp+broadcast+nmea0183://0.0.0.0:10110GUI:# Display demo data in preview application, single-shot.
boatface ui --source=demo:// --display=viewer

# Display demo data on the screen, using the `eips` program, in landscape orientation.
boatface ui --source=demo:// --display=eips --landscape

# Display demo data on the user interface, using Pyglet.
boatface ui --source=demo:// --display=pyglet

# Display demo data on the user interface, using SDL.
boatface ui --source=demo:// --display=sdlAn example NMEA-0183 sentence emitted bycalypso-anemometeris:$IIVWR,154.0,L,11.06,N,5.69,M,20.48,K*65More options:# Enable verbose output.
boatface --verbose ui --source=demo:// --display=pygletOther projectsSignalK Instrument package:https://github.com/mxtommy/KipKindle eink UI for SignalK data:https://github.com/ieb/signalk-einkiKommunicate-Kindle:https://github.com/tkurki/sk-on-kindleUsing Tolino eBook reader as display for SignalK:https://github.com/koileLab/SignalkTolinoProject informationEtymologyIn honour ofBoaty McBoatface.ContributionsAny kind of contribution, feedback or patches are very much welcome! Justcreate
an issueor submit a patch if you think we should include a new feature, or to
report or fix a bug.DevelopmentIn order to setup a development environment on your workstation, please head over
to thedevelopment sandboxdocumentation. When you see the software tests succeed,
you should be ready to start hacking.ResourcesSource code repositoryDocumentationPython Package Index (PyPI)LicenseThe project is licensed under the terms of the GNU AGPL license.
Package: boatman
A simple logic game.PortugueseUm jogo de lógica simples.Description, features and To doDescriptionA simple logic game.
A boatman is comissioned to take a Wolf, a Goat and some Pasture to the other margin.
He can only take one at the time.
While he is on the dock, nothing happens.
As soon as he leaves, the animals will try to eat.
The order of transportation is important because the Wolf eats the Goat and the Goat eats the Pasture, but the Wolf doesn’t eat the Pasture.PortugueseUm jogo de lógica simples.
Um barqueiro é contratado para levar um Lobo, uma Cabra e Pasto para a outra margem.
Só pode levar um de cada vez.
Enquanto está na doca nada acontece.
Assim que sai, os animais tentam comer.
A ordem de transporte é importante porque o Lobo come a Cabra e a Cabra come o Pasto, mas o Lobo não come o Pasto.Features:Easy to play.Simple game.To doboatman.py: check for unicode and clear
boatman.py: add sound
boatman.py: gui versionInstallation and usageInstallation$pipinstallboatmanUsage$boatmanResources and contributingResourcesRepository PyPIDocumentation PyPIRepository GithubDocumentation Read the DocsContributingIf Other repository above is Github or compatible, follow these guidelines for contributing:Fork therepository.Make a branch of master and commit your changes to it.Ensure that your name is added to the end of the AUTHORS.rst file using the format:Name <email@domain.com>Submit a Pull Request to the master branch.Copyright 2009-2015 Joao Carlos Roseta Matos. Licensed under the GNU General Public License v2 or later (GPLv2+).
Package: boaviztapi-test
BOAVIZTAPIGiving access to BOAVIZTA referenced datas and methodologies trought a RESTful API:dart: ObjectiveAs part of Boavizta's desire to improve the quality of the measurement of the environmental impacts of ICTs in organizations, this project aims at giving access to the group's work to as many people as possible in an automated and industrialized way.The various data and methodologies integrated by Boavizta are aggregated and made available via an API.In the interest of transparency and scientific popularization, the opening of the code, the versioning of the impact factors and the documentation of the project are critical points.The system is developed in layers according to a bottom-up principle. The first layer implemented is equipment, starting with the servers (MVP). The second layer is the measurement of the impact of digital services or systems. The measurement of the global impact is currently outside the scope.:fast_forward: Test it yourselfTest the API :http://149.202.161.61:5000/docsDev documentation server :http://149.202.161.61/Dev API server:http://149.202.161.61:5000:computer: Setup project locally with pipenvSetup pipenvInstall pipenv globally$sudopip3installpipenvInstall dependencies and create a python virtual environment.$pipenvinstall-d$pipenvshellLaunch a development serverOnce in the pipenv environmentDevelopment server usesuvicornandfastapi, you can launch development server with theuvicornCLI.$uvicornboaviztapi.main:app--host=localhost--port5000You can run the tests withpytest.API SwaggerOnce API server is launched API swagger is available athttp://localhost:5000/docs.:whale: Install using docker container$dockerrunghcr.io/boavizta/boaviztapi:latest📦 Install using pip package$pip3installboaviztapi:woman: ContributingSeecontributing.mdYou can build a source distribution (installable with pip) withpython setup.py sdist.:one: VersionningWe useSemantic Versioning 2.0.0TypeDescriptionCommandMAJORversion when you make incompatible API changesmake majorMINORversion when you add functionality in a backwards compatible mannermake minorPATCHversion when you make backwards compatible bug fixesmake patch:scroll: LicenseTODO
Package: boaw
boawDescription:This library is used to keep us online at work.
Note: This is just for educational purpose. We are not responsible if you get in conflicts because of this library. Please use this library
only if you agree with the above NoteUsage:To Stay in online:Import the boaw library:import boawUsing the boaw library:boaw.stay_online()Now just hover your mouse on start button and it keeps clicking it every 5 seconds, thereby helping you to stay online.
Package: bob
BobBobis a free signal-processing and machine
learning toolbox originally developed by the Biometrics group at theIdiap Research Institute, Switzerland.The toolbox is written inPythonand is designed to be
both efficient and reduce development time. It is composed of a reasonably large
number ofpackagesthat implement
tools for image, audio & video processing, machine learning & pattern
recognition, and a lot more task specific packages.Please visit ourwebsitefor moreinformation.InstallationThis package does nothing by itself. You should not need to install it, it will
be installed as dependency of the utility package you use likebob.bio.face.For the maintainersThe bob packages are developed usingidiap-devtools. Please refer
to their documentation for release procedures.