Saravanan666/pypi-org huggingface dataset:
Package: bapiparkinglot
Parking Lot APIParking Lot API dibuat untuk memenuhi syarat dalam pengerjaan soal DTO Kemenkes - Backend Engineer.Latest Version :Dockerhub -v1.0Github -v1.0API DocumentationDocumented via Postman, can accessed through thislinkApplication Work FlowFrom Client PerspectiveFrom Admin PerspectiveInstallationUsing Github (pip/.git)pip install bapiparkinglotUsing Dockerdocker pull bearaujus/parking-lot:1.0docker container create --name api-parking-lot -p 25565:25565 bearaujus/parking-lot:1.0Usingscript.sh(Docker)sh script.shHow To UseUsing Dockerdocker start api-parking-lotUsing Pythonimport bapiparkinglot

bapiparkinglot.run()Example RequestParking Lot API example request was wroted well at Jupyter Notebook, can accessed through thislinkTest UnitParking Lot API test unit, can accessed through thislinkLatest ChangelogPublication Date : 08/14/2021v1.0Initial CommitCreditMain Github Page :https://github.com/bearaujus/Linkedin :Haryo Bagas AssyafahBear Au Jus - ジュースとくま@2021
Package: bapsflib
bapsflibThebapsflibpackage is developed on Python 3.5+ and is intend to
be a toolkit for reading, manipulating, and analyzing data collected at
the Basic Plasma Science Facility
(BaPSF) at UCLA.The current development cycle is focused on providing a high-level,
structured interface between the user and the HDF5 files generated from
experiments on the Large Plasma Device (LaPD).  This interface
leveragesh5py.Installationbapsflibis registered withPyPIand can be
installed withpipviapip install bapsflibTo install from source look to installation instructions in
documentation,here.DocumentationThe documentation is hosted on Read the Docs athttps://bapsflib.readthedocs.io/en/latestLicensebapsflibis licensed under a 3-clause BSD license, seeLICENSE.txt.
Package: bapsf-motion
bapsf_motionbapsf_motionis a module developed for theBasic Plasma Facility (BaPSF)at the
University of California, Los Angeles to integrate with its DAQ system
and control motion devices, such as probe drives.GUI DevelopmentThis package usesPySide6to develop its GUI interface.  In attempts
to keep the code pythonic, we are using the featurefrom __feature__ import snake_case.
This will allow us to write code likeQMainWindow.set_window_title()instead ofQMainWindow.setWindowTitle().  To get a module set up the__feature__import must occur after the firstPySide6import, for
example:fromPySide6.QtWidgetsimportQMainWindowfrom__feature__importsnake_case# noqaNote the# noqa, this is needed to prevent linters and code inspection
from complaining about the import order.When this is first implement your linters and code inspection will
likely complain with unresolved instances.  This is because thePython stub files(i.e..pyifiles) were generated without this feature enabled.  To
update your stub files follow the procedure below:Determine wherePySide6is installed.  This can be done by
executingpython -m pip show pyside6in the command prompt.  This
show be thesite-packagesdirectory for you Python distribution.Navigate to the directory indicated by step 1.Navigate into thePySide6/directory.Now execute the following command in your command prompt:pyside6-genpyiall--featuresnake_caseThis will update all the stub files accordingly, and should only take
a few seconds.
Package: bar4py
# BAR4Py (BXT-AR-For-Python) - V0.1.1.2**BXT** Augmented Reality For **Python**「**百晓通客栈** `Python`增强现实开发库」![](imgs/webplayer.gif)## 依赖:- Python3/Python3+- Numpy- Flask- OpenCV-3+ for Python3## 安装:**不管用什么安装方法必须要先安装支持 Python3 的 OpenCV-3+**#### 方法一、下载源码编译安装```git clone https://github.com/bxtkezhan/BAR4Py.gitcd BAR4Pypython3 setup.py buildpython3 setup.py install```#### 方法二、使用`pip`工具（不适用于安装最新版）```pip3 install bar4py```## 测试```cd BAR4Py/samples/core # 进入项目目录中的 sample/corepython3 preview_core.py```
Package: baraag
Baraag is a small server to preview Markdown-formatted note in Evernote
with browser.Installation$ pip install baraagBaraag is tested with Python 2.7 on Mac OS X 10.7+ (Lion and Mountain
Lion).Usage$ baraagThen, write and save a note in Markdown with Evernote app. You will see
a formatted note in your browser. The preview is automatically reloaded
when you save a note.DependencyI appreciate these libraries:moomacfseventsdocopt
Package: baratine
This is a Python client forBaratine.import baratine

# Python interface for your Baratine service
class CounterService:
    def addAndGet(value):
        pass
    def incrementAndGet():
        pass
    def get():
        pass

client = baratine.BaratineClient('http://127.0.0.1:8085/s/pod')

# create a proxy for the remote service
counter = client._lookup('/counter/123')._as(CounterService)

# now call your service using your API
# the library supports all the good python features like default args and named args
result = counter.addAndGet(2222)

print(result)
Package: baratron
baratronPython driver and command line tool for ToolWeb-enabledMKS eBaratron capacitance manometers.Installationpip install baratronIf you want to use the older python2/tornado implementation, usepip install baratron==0.1.2.UsageCommand LineTo test your connection and stream real-time data, use the command-line
interface. You can read the device with:$ baratron 192.168.1.100
{
    "drift": 0.00164,
    "full-scale pressure": 1000.0,
    "led color": "green",
    "pressure": 3.78864,
    "pressure units": "torr",
    "run hours": 17517.763055555555,
    "system status": "e-Baratron Zeroing Recommended",
    "wait hours": 0.0
}PythonThis uses Python ≥3.5's async/await syntax to asynchronously communicate with
the device. For example:importasyncioimportbaratronasyncdefget():asyncwithbaratron.CapacitanceManometer('the-baratron-ip-address')assensor:print(awaitsensor.get())asyncio.run(get())
Package: barb
barbHassle-free, cross-platform git hooks for python projectsInstallationpip install barbInitializing a new projectbarb initRunning this command both initializes the.barbdirectory as well as runs thebarb installcommand.Installing barbTo register the hooks under the.barbdirectory with git, runbarb installCreating a hookCreate a script under the.barbdirectory with the same name as the git hook you are attempting to create.You can create two types of scripts to work as hooks:The standard shell script, which will be executed by the operating system's default cli.ex../.barb/pre-commit
---#!/bin/shecho"Hello, World!"A python script. The script will enter at thehook()function. Not all hooks pass arguments, but those that provide
them do so via the args parameter../.barb/pre-push.py
---
defhook(*args):print('Hello, World!')Exceptions and False return values from this function will be considered hook failures.Hooks can be organized in one of two ways. Top level files will be run on each os, without consideration:.barb
â”œâ”€â”€ pre-commit
â””â”€â”€ post-rewrite.pyAlternatively, when organized in folders, different scripts can be set to run depending on the operating system:.barb
â””â”€â”€ post-rewrite
    â”œâ”€â”€ linux.py
    â”œâ”€â”€ darwin
    â””â”€â”€ windows.ps1.barbrc.tomlA configuration file is automatically created when the commandbarb initis run. The following are valid configurationsos-lockIf enabled, git hooks will only attempt to execute on the specified operating system. Otherwise, they will be skipped.ex.os-lock = windows[os.$OS$.$FILE_EXT$]interpreterThe name (or path) of the interpreter to use for the file extension.argsA list of arguments for the interpreter.Note: the arguments are placed before the git hook path.# Special Case: default interpreter for file ext with no interpreter specified[os.linux.default]interpreter='bash'# executes ps1 files as "powershell -ExecutionPolicy Unrestricted -File ./.barb/git-hook-name.ps1"[os.windows.ps1]interpreter='powershell'args=['-ExecutionPolicy','Unrestricted','-File']TODO:line endings,barb sanitizeto sanitize the hooks?
Package: barbara
Environment variable managementNew in 2.0!Features have been dropped:
- Legacy templates aren’t supported anymore
- Subvariables aren’t supported anymore
- SSM support has been dropped, as there are better ways to do thisSchema-version has been added to document schema to make it easier for me to deprecate and change the schema if necessaryInstallation$pipinstallbarbaraUsageYAML Format (.env.yml)Create an.env.ymlfor your projectschema-version:2project:name:your_projectoutput:env-fileenvironment:ENVIRONMENT_NAME:developmentDATABASE_URL:postgres://root@db:5432/mydbDEBUG:1MEDIA_DIRS:media,staticCSRF_COOKIE_SECURE:0Runbarband you’ll be prompted for the values$barbenv-filedoesnotexist.Createit?[y/N]:yCreatingenvironment:env-fileSkipExisting:TrueDATABASE_URL[postgres://root@db:5432/mydb]:root:wordpass@127.0.0.1:5432/sampleENVIRONMENT_NAME[development]:Environmentready!Inspect the generated file, see your values!$cat.envDATABASE_URL=root:wordpass@127.0.0.1:5432/sampleENVIRONMENT_NAME=developmentWhybarbara?BecauseBarbara Liskovcreated theLiskov Substitution
Principleand is a prolific contributor to
computer science and software engineering. Barbara is one of the Newton’s metaphorical giants that enables us
to see further. I humbly dedicate my project to her and her contributions and offer this project to its
consumers with a license befitting that dedication.
Package: barbell2light
barbell2lightPython Boilerplate contains all the boilerplate you need to create a Python package.Free software: MIT licenseDocumentation:https://barbell2light.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2021-03-12)First release on PyPI.
Package: barbell2-light
barbell2-lightPython Boilerplate contains all the boilerplate you need to create a Python package.Free software: MIT licenseDocumentation:https://barbell2-light.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2021-03-12)First release on PyPI.
Package: barbell2pipelines
barbell2pipelinesPython Boilerplate contains all the boilerplate you need to create a Python package.Free software: MIT licenseDocumentation:https://barbell2pipelines.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2021-05-02)First release on PyPI.
Package: barbican-tempest-plugin
This project defines a tempest plugin containing tests used to verify the
functionality of a barbican installation. The plugin will automatically load
these tests into tempest.DependenciesThe barbican_tempest_plugin tests the barbican quota API, which requires the
existence of the ‘key-manager:service-admin’ role in barbican. The quota API
tests will fail if this role is not defined.DevelopersFor more information on barbican, refer to:https://docs.openstack.org/barbican/latest/For more information on tempest plugins, refer to:https://docs.openstack.org/tempest/latest/#using-pluginsBugsPlease report bugs to:http://bugs.launchpad.net/barbican
Package: barbucket
Barbucket 🪣A database for financial contracts and pricing dataFeaturesSyncing contracts of IB's exchange listings to a local databaseAdding fundamental data from Tradringview's screenerCreating groups of contracts (universes)Downloading daily historical quotes using IB's TWS API (paid market data subscriptions on IB are necessary)Storage of downloaded quotes into a local database for fast accessSupported contract typesStocksETFsCrypto currencies (planned)Supported DBMSPostgreSQLSQLiteMySQL / MariaDBMS SQL ServerOracleand even moreSupported APIsIntercative BrokersTWS APITradingview-Screener .csv filesEOD Historical Data(planned)CCXT(planned)Tech stackFor an overview of how this project is realized, please see thecontributingdocument.Full documentationhttps://barbucket.readthedocs.ioQuickstartInstallation:$pipinstallbarbucketSync contracts:$barbucketcontractssync-listing--typestock--exchangenasdaqSee results at:~/.barbucket/database.sqliteRequirementsLinux or macOS; Windows is not tested yetPython >= 3.7StatusEarly beta stage. Expect code- and data-breaking modificationsAimed at software developers. Knowlede about how to handle a database is necessary to use this software
Package: barbudor-circuitpython-ina3221
IntroductionCircuitPython driver for the Texas Instruments’ INA3221 3 channels current sensor.
Product page atti.com.2 version are available:barbudor_ina3221.fullincludes all constants for low-level register access + API for alarmsbarbudor_ina3221.liteonly basic API and no constants - use less memoryPick only one depending your needs. On processors with limited amount of memory (SAMD21), the
lite version is recommended. You may want to usempy-crossto precompile the library to an.mpyfile for lower memory footprint.DependenciesThis driver depends on:Adafruit CircuitPythonBus DevicePlease ensure all dependencies are available on the CircuitPython filesystem.
This is easily achieved by downloadingthe Adafruit library and driver bundle.For versions of CircuitPython before v6.0, please use ina3221 library v1.2.0.
Version 2.0.0 of the lib as been changed to follow the breaking changes inbusdevice.i2c_device.Installing from PyPIOn supported GNU/Linux systems like the Raspberry Pi, you can install the driver locallyfrom
PyPI. To install for current user:pip3install--userbarbudor-circuitpython-ina3221To install system-wide (this may be required in some cases):sudopip3installbarbudor-circuitpython-ina3221To install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.envsource.env/bin/activatepip3installbarbudor-circuitpython-ina3221Usage Exampleseeexample.ContributingContributions welcomed. My goal is to keep the library simple and as low on memory as possible.
Package: barchart
barchartThe Unofficial API for barchart.comInstallationpip install barchartUnusual Options Activityfrom barchart import UOA

uoa = UOA()
uoa.data 

[
  {'Symbol': 'TGT', 'Price': '153.78', 'Type': 'Call', 'Strike': '160.00', 'Exp Date': '08/28/20', 'DTE': '9', 'Bid': '1.53', 'Midpoint': '1.55', 'Ask': '1.56', 'Last': '1.40', 'Volume': '7,382', 'Open Int': '165', 'Vol/OI': '44.74', 'IV': '38.08%', 'Delta': '50', 'Last Trade': '13:19 ET'},
]

#Create CSV file

uoa.to_csv()

#Options

uoa = UOA(timeout=100, user_agent='whatever user agent you want to use')ConcernsThe first time you ever run the render() method, it will download Chromium into your home directory (e.g. ~/.pyppeteer/). This only happens once.
Additional necessarylinux packagesmay need to be installed.You have the option to pass in your own user inUOA(user_agent='Chrome...')Sometimes barchart will limit the amount of results based on what type of user agent you are using.Timeout issues do sometimes occur when fetching  withasycncsince data is loaded onto the DOM asynchronous.
A Timeout Exception will be raisedbarchart.helpers.errors.TimeoutErrorAt the moment, it takes about 1 minute to fetch and parse 10-12 pages.If a parsing exception is raised, look at the above exception which ouputs the html in text. If the html response looks correct and the exception is still
persisting, please create a issue ticket.
Parsing exceptionsbarchart.helpers.errors.ParsingError: Parsing error: Index error on table headers, check html response aboveSometimes barchart likes to suppress most of their data at different times of day.
Package: barchart-api
Barchart APIVersion: 0.12.0API forBarchartAPI Calls:Top Stocks to OwnTop ETFs to OwnThis repository is actively maintained - Contributions are welcome!Contribution Opportunities:Support more endpoints!Usage:#!/usr/bin/python# coding: utf-8importbarchart_apibarchart_client=barchart_api.Api(url="https://www.barchart.com/")top_stocks_responses=barchart_client.get_top_stocks_top_own(max_pages=1)top_stocks=[]fortop_stocks_responseintop_stocks_responses:try:top_stocks.append(top_stocks_response.json())exceptExceptionase:print(f"Top Stocks ERROR:{top_stocks_response}")print(f"Top Stocks:{top_stocks}")Installation Instructions:Install Python Packagepython-mpipinstallbarchart-apiRepository Owners:
Package: barchart-ondemand-client-python
Get a free API key at:http://freemarketdataapi.barchartondemand.com/Currently supportsgetHistorygetQuotegetFinancialHighlights (requires paid license key)Example CodeSee how to use the client in your project
here.To set the API_KEY for these applications, set an environment variable
as follows:export BARCHART_API_KEY="xxxxxxxxxxxxxxxxxxxx"To set the URL_BASE (ondemand or marketdata) for these applications,
set an environment variable as follows:export BARCHART_URL_BASE="marketdata.websol.barchartondemand.com"To enable the Financial Highlights (paid key required):export BARCHART_USE_HIGHLIGHTS=TrueAdditional remarksThis project is not aBarchartproject. This project was forked fromfemtotrader’sproject and
extended/modified.Use it at your own risk.Some Barchart projects are available athttps://github.com/barchart/
Package: bar-chart-race
Bar Chart RaceMake animated bar chart races in Python with matplotlib.Official DocumentationVisit thebar_chart_race official documentationfor detailed usage instructions.InstallationInstall with either:pip install bar_chart_raceconda install -c conda-forge bar_chart_raceQuickstartMust begin with a pandas DataFrame containing 'wide' data where:Every row represents a single period of timeEach column holds the value for a particular categoryThe index contains the time component (optional)The data below is an example of properly formatted data. It shows total deaths from COVID-19 for several countries by date.Main function -bar_chart_raceThere is one main function,bar_chart_race, which we use to recreate the above video. All parameters are shown with their default value except forfilenameandtitle.importbar_chart_raceasbcrdf=bcr.load_dataset('covid19_tutorial')bcr.bar_chart_race(df=df,filename='covid19_horiz.mp4',orientation='h',sort='desc',n_bars=6,fixed_order=False,fixed_max=True,steps_per_period=10,interpolate_period=False,label_bars=True,bar_size=.95,period_label={'x':.99,'y':.25,'ha':'right','va':'center'},period_fmt='%B%d, %Y',period_summary_func=lambdav,r:{'x':.99,'y':.18,'s':f'Total deaths:{v.nlargest(6).sum():,.0f}','ha':'right','size':8,'family':'Courier New'},perpendicular_bar_func='median',period_length=500,figsize=(5,3),dpi=144,cmap='dark12',title='COVID-19 Deaths by Country',title_size='',bar_label_size=7,tick_label_size=7,shared_fontdict={'family':'Helvetica','color':'.1'},scale='linear',writer=None,fig=None,bar_kwargs={'alpha':.7},filter_column_colors=False)Save animation to disk or return HTMLLeave thefilenameparameter asNoneto return the animation as HTML. If you are running a Jupyter Notebook, it will automatically be embedded into it.bcr.bar_chart_race(df=df,filename=None)CustomizationThere are many options to customize the bar chart race to get the animation you desire. Below, we have an animation where the maximum x-value and order of the bars are set for the entire duration. A custom summary label and perpendicular bar of median is also added.defperiod_summary(values,ranks):top2=values.nlargest(2)leader=top2.index[0]lead=top2.iloc[0]-top2.iloc[1]s=f'{leader}by{lead:.0f}'return{'s':s,'x':.95,'y':.07,'ha':'right','size':8}bcr.bar_chart_race(df_baseball,period_length=1000,fixed_max=True,fixed_order=True,n_bars=10,figsize=(5,3),period_fmt='Season{x:,.0f}',title='Top 10 Home Run Hitters by Season Played')
Package: bar-chart-race-cn
bar_char_race_cn库解决bar_chart_race库不支持中文的问题安装pip install bar_char_race_cn注意:使用前需提前安装ffmpeg使用请到github下载测试数据import pandas as pd

df = pd.read_csv('data/财政收入.csv')

def year2timestamp(year):
    #转为可比较大小的日期格式
    return pd.Timestamp(str(year))

df['year'] = df['year'].apply(year2timestamp)
df.set_index('year', inplace=True)
df.sort_index(inplace=True) #日期从小到大排序importbar_chart_race_cnasbcrbcr.bar_chart_race(df=df,filename='近20年各省财政收入.mp4',title='近20年各省财政收入(单位: 亿元)')更多B站:大邓和他的python公众号：大邓和他的python知乎专栏：数据科学家​支持一下
Package: bar-chooser
The script (web-version) that helps you to choose a bar to drink with someone.Why?I spent too much time to choose a bar to go with different people:One need vegan food.Second wants to drink nice beer.Third wants perfect steak.Fourth has little money but want to drink a lot.I want to drink near my home.Sometimes we need to meet somewhere at the city center.And all these metrics should be combined to find a perfect place for a given booze.Installationpipinstallbar-chooserUsage$bar-chooser--meat=2--beer=1--cheap=1--at-work=1--at-home=1pan-smetan:48500:4ratskeller:3new-bar:3peperonni:3yankee-bar:3jawsspot:2marusya:2misantrop:2CustomizingCreate your own utility based on BarChooser.frombar_chooserimportBarChooserMY_KEYS=['vodka','seledka']MY_BARS={'bar1':[2,1],'bar2':[0,2],}defmain():BarChooser(MY_KEYS,MY_BARS)if__name__=='__main__':main()TODO[x] prototype[x] argparse[x] submit a package in PYPI[x]web-version[ ] tests[ ] badges[ ] config support[ ] testing on linux[ ] android app[ ] iOS app[ ] pr
Package: barch-py
barch.pyWhat is this?An asynchronous wrapper for the fanmadeBlue Archive API.Why and what's the use?Idk.... built it coz I don't have anything better to do.InstallationPython version 3.10 or greater is required to use barch.py.pipinstallbarch-pyFeaturesGet all the characters - EN and JP versionGet a character details by id or name - EN and JP versionGet characters based on different parameters like position, role etcGet current, ongoing and upcoming raids - EN and JP versionsUsageExample of getting all the characters - EN and JP versionsfrombarchimportClientclient=Client()characters_result=awaitclient.character.get_all_characters()characters_result_jp=awaitclient.character.get_all_characters_jp()ifcharacters_result.is_success:characters=characters_result.valueifcharacters_result.is_error:error=characters_result.errorifcharacters_result_jp.is_success:characters_jp=characters_result_jp.valueifcharacters_result_jp.is_error:error_jp=characters_result_jp.errorawaitclient.close()Example of getting raid details - EN and JP versionsfrombarchimportClientclient=Client()raids_result=awaitclient.raid.get_raids()raids_result_jp=awaitclient.raid.get_raids_jp()ifraids_result.is_success:raids=raids_result.valueifraids_result.is_error:error=raids_result.errorifraids_result_jp.is_success:raids_jp=raids_result_jp.valueifraids_result_jp.is_error:error_jp=raids_result_jp.errorawaitclient.close()
Package: barcode-battler-engine
# Barcode Battler EngineSet of tools to simulate Barcode Battler II functionality.This is mainly a translation and revision fromhttps://github.com/finalfighter/BarcodeBattler2-Simulatorold flash application and info compiled fromhttp://barcodebattler.net/andhttp://barcodebattler.co.uk/## RequirementsCurrently there is no more requirements only than a Python >= 3.9 version, and you are ready to go.## Installation` pip installbarcode-battler-engine`## DemoThis site generates on-the-fly the card information using this package, check it outhttps://cards.bimbiribase.xyz/barcodebattler/ac1d5f5c-89bf-48c8-ac09-3e474a566847/## Import the module to read your barcodes` from barcodebattler.bb2.builder import BarcodeBattler2Builder barcode_data =BarcodeBattler2Builder().build(barcode)print(barcode_data) barcode: 0451508035504, hp: 4500, st: 1500, df: 800, speed: 5, race: 0, job: 3, pp:5, mp:0, special: 50, post_read: False `## Reading barcodes using promptTest your cards using theprompt_reader.pytool` ./prompt_reader.py Enter barcode (type exit to finish): 0371110125502+-----------+-----------------+| Barcode   |   0371110125502 | | Race      |          ANIMAL | | Job       |       SOLDIER_2 |+-----------+-----------------+| HP        |            3700 | | ST        |            1100 | | DF        |            1000 |+-----------+-----------------+| MP        |               0 | | PP        |               5 | | Special   |              50 |+-----------+-----------------+| Read Mode |        PRE_READ |+-----------+-----------------+`## How to testInstall the dev dependencies` pip install-rrequirements/dev.pip `And execute the test like` python-munittest `