Saravanan666/pypi-org huggingface dataset:
Package: pa-bin-checker
Prompt API - BIN Checker - Python Packagepa-bin-checkeris a simple python wrapper forbincheck-api.RequirementsYou need to signup forPrompt APIYou need to subscribebincheck-api, test drive isfree!!!You need to setPROMPTAPI_TOKENenvironment variable after subscription.then;$pipinstallpa-bin-checkerExample Usagefrombin_checkerimportget_binbin_information=get_bin('302596')# example BINifbin_information.get('error',False):print(bin_information['bank_name'])# you have a dict!You’ll have a dict of data:{'bank_name':'Diners Club International','country':'United States Of America','url':'www.dinersclub.com','type':'Credit','scheme':'Discover','bin':'302596',}If you receive an error, payload will containerrorkey. Example error
response:{'error':'You need to set PROMPTAPI_TOKEN environment variable',}DevelopmentCreate your virtual environment, then useraketasks:$rake-T

rakebuild# Build packagerakebump[revision]# Bump versionrakeclean# Remove/Delete build..rakedefault# Default task => :installrakeinstall# Install package for local development purposeraketest# Run testrakeupload:main# Upload package to main distro (release)rakeupload:test# Upload package to test distroYou needrubyto run rake tasks. Rake tasks are just helper functions for
automation. You don’t need to install anything to proceed. If you are on
macOS, you’ll already have ruby installed.If you are on Ubuntu:# install ruby on Ubuntu$sudoapt-getupdate-y
$sudoapt-getinstall-yruby-fullYou needbumpversionto manage package versioning. If you are on
macOS:$brewinstallbumpversionIf you are on Ubuntu:# install bumpversion on Ubuntu$sudoapt-getupdate-y
$sudoapt-get-ybumpversionTo install and test package locally, just callrakeorrake install.
Tests are available undertests/folder. Runrake testto run tests.To continue withoutrubyorrake:Install package locally:pip install -e .[development]Build package:python setup.py sdist bdist_wheelInstallbumpversion:pip install bumpversionFor uploading package topypiregistry you need to install:$pipinstall-UwheelsetuptoolsYou need to put pypi credentials to~/.pypirc:[distutils]
index-servers=
    pypi-promptapi
    testpypi-promptapi

[pypi-promptapi]
repository = https://upload.pypi.org/legacy/
username: __token__
password: TOKEN

[testpypi-promptapi]
repository: https://test.pypi.org/legacy/
username: __token__
password: TOKENUpload to main registry:twine upload --repository pypi-promptapi dist/*Upload to test repository:twine upload --repository testpypi-promptapi dist/*LicenseThis project is licensed under MITContributer(s)Prompt API- Creator, maintainerContributeAll PR’s are welcome!fork(https://github.com/promptapi/bin-checker-py/fork)Create yourbranch(git checkout -b my-feature)commityours (git commit -am 'Add awesome features...')pushyourbranch(git push origin my-feature)Than create a newPull Request!This project is intended to be a safe,
welcoming space for collaboration, and contributors are expected to adhere to
thecode of conduct.
Package: pabo
What is this?Parsing binary data from Python has always been a bit of a pain, thanks to the
weirdly designedstructmodule in Python's standard library.structuses format strings to specify the layout of binary data, where each
character specifies the type of data being packed/unpacked. But no can remember
the format characters to begin with! This has led to numerous packages cropping
in an attempt to solve the problem, such as:breadconstructstructuresand many others.pabois my response to such packages. It makes
parsing binary data so easy, anyone could do it! For example, here is how you
would parse the beginning of a PNG file to get the width and height of the
image:importpaboaspbpng=pb.Spec({"magic":pb.Const(b"\x89PNG\x0d\x0a\x1a\x0a",pb.Bytes(8),),"ihdr_size":pb.Int(4,endian="big"),"ihdr_id":pb.Const(b"IHDR",pb.Bytes(4)),"width":pb.Int(4,endian="big"),"height":pb.Int(4,endian="big"),})data=png.parse("example.png")which would return a dictionary with the parsed data, like so:{'magic':b'\x89PNG\r\n\x1a\n','ihdr_size':13,'ihdr_id':b'IHDR','width':602,'height':172,}For more real examples, check out thepriwopackage, which usespaboto parse pulsar data from binary files (in fact, many ofpabo's
features are directly motivated by their need inpriwo!). Documentation is in
development, so stay tuned!InstallationInstallingpabois as easy as:pipinstallpaboPhilosophyThe philosophy behindpabois: be simple, yet be fast and full of features.
This implies that I deliberately avoid coding in features that are too magical
or obscure, in contrast to other packages, such asconstruct. This allows
users ofpaboto also become contributors, since the internals ofpaboare
clean and easy-to-understand.
Package: pabui
PAB UIA Web-based GUI for PAB development. Check outPAB here!FeaturesLoad project from host filesystemRead and edit configsRead, edit and create tasksList strategies and parametersList, add and remove contractsCreate/Restore private keyRunning the UI$pipinstallpabui$pabuiThe UI loads the PAB project in the current working directory, so you have to runpabuifrom the directory with yourconfig.json,tasks.jsonand such.DevelopmentAfter cloning the repo and installing all dependencies, make sure to install the pre-commit hooks for the
automatic formatter (see black):$sourcevenv/bin/activate$pipinstall-rrequirements-dev.txt$pre-commitinstallFor UI development checkthe frontend READMERunning tests$ . venv/bin/activate
	$ pip install -r requirements-dev.txt
	$ pytest --cov=pabui
Package: pabutools
Pabutools: PB as easy asABCOverviewThe pabutools are a complete set of tools work with
participatory budgeting instances.Participatory budgeting (PB) is a democratic tool used to allocate
a given amount of money to a collection of projects based on a
group of individuals' preferences over the projects. It has been invented
in Brazil in the late 80's and is now a widely implemented. See theWikipedia pagefor more details.In this library, we provide tools thathandle PB instances of different kinds,compute voting rules to determine the outcome of the elections,analyse outcomes, andprovide full support for the instances taken from thepabuliblibrary of PB data.InstallationThe package can be installedfrom PyPIusing:pip3installpabutoolsDocumentationThe complete documentation is availablehere.
It includesinstallation instructions,ashort guidefor a quick start,acomplete guidefor more advanced usage, andareference guideto get all the details.DevelopmentWe are more than happy to receive help with the development of the package.
If you want to contribute, here are some elements to take into account.First, install the development dependencies by running the following command:pipinstall-e".[dev]"You can run the unit tests with the following:python-munittestThe doc is generated using sphinx. We use thenumpy style guide.
Thenapoleonextension for Sphinx is used
and the HTML style is defined by theBook Sphinx Theme.To generate the doc, first move inside thedocs-sourcefolder and run the following:makecleanmakehtmlThis will generate the documentation locally (in the folderdocs-source/build). If you want the documentation
to also be updated when pushing, run:makegithubAfter having pushed, the documentation will automatically be updated.Note that a large part of the documentation is done by hand (to ensure proper display and correct ordering).
This means that if you create new class of functions that should appear in the documentation, you may have
to add they yourself using to autodoc directives (take inspiration from the files indocs-source/source).If you want to help, check thetodos.txtfile, several todos are described there.
Package: paca
pacaCheck asset status usingAlpaca Broker APIRequirementsPython 3alpaca_trade_apicoloramaSetupInstall paca using pip:pip install pacaCreate API keys using theAlpaca dashboard. Refer to Alpaca'sAPI v2andAPI Documentationfor more details.Set environment variables APCA_API_KEY_ID and APCA_API_SECRET_KEY.
paca can be used with Alpaca paper accounts by setting APCA_API_BASE_URL=https://paper-api.alpaca.markets. Refer toAlpaca Environment Variables.Usageusage: paca [-h] [-a] [-e] [-ex] [-f] [-i] [-m] [-n] [-s] [-st] [-sy] [-t] [-v] ASSET

Check asset status using Alpaca Broker API

positional arguments:
  ASSET                 Ticker of asset to check

optional arguments:
  -h, --help            show this help message and exit
  -a, --asset-class     Class of asset: us_equity or crypto
  -e, --easy-to-borrow  Easy-to-Borrow or Hard-to-Borrow status
  -ex, --exchange       Exchange asset is available on
  -f, --fractionable    Fractionable status
  -i, --id              ID of asset
  -m, --marginable      Marginable status
  -n, --name            Full name of asset
  -s, --shortable       Shortable status
  -st, --status         Status of asset: active or inactive
  -sy, --symbol         Symbol/ticker
  -t, --tradable        Tradable status
  -v, --version         show program's version number and exit

Examples

> paca AAPL
Class: us_equity
Easy-to-Borrow: True
Exchange: NASDAQ
Fractionable: True
ID: b0b6dd9d-8b9b-48a9-ba46-b9d54906e415
Marginable: True
Name: Apple Inc. Common Stock
Shortable: True
Status: active
Symbol: AAPL
Tradable: True

> paca -est DNUT
Easy-to-Borrow: False
Shortable: False
Tradable: TrueRelatedshortable- Receive an alert if an asset becomes shortable, e.g. from HTB to ETB, or vice versaSupportIf you find an issue or have any feedback please submit an issue onGitHub.If you would like to show your support donations are greatly appeciated via:GitHub SponsorsPayPalVenmoCash appStrikePayNym:+orangesmoke693Bitcoin:bc1qh46qmztl77d9dl8f6ezswvqdqxcaurrqegca2pEthereum:0xAB443e578c9eA629088e26A9009e44Ed40f68678AuthorRobert Gomez, Jr.Source codehttps://github.com/rgomezjnr/pacaLicenseMIT
Package: pac-bayes-toolbox
pac_bayes_toolboxA toolbox algorithm for PAC-Bayesian theoryInstallation$pipinstallpac_bayes_toolboxUsageTODOContributingInterested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.Licensepac_bayes_toolboxwas created by Mehdi Hennequin. It is licensed under the terms of the MIT license.Credits
Package: pacbum
PAC BUM!--------Lucas Soares Souza 14/0151257O Jogo é sobre a história de PacBum, o Senhor do Tempo, que foi traídopelos seres da 5ª Dimensão que queriam seus poderes. PacBum agora vaga peridona linha temporal de um planeta chamado Terra.A primeira fase implementada possui duas bases com um certo coeficientede atrito. Para que a força de atrito não fique tão grande utilizou-se uma forçamaxima de atrito. No caso "4".As telas de batalha possuem valores físicos variados pois é uma Zona Fan-tasma. Então em cada uma delas a jogabilidade mudará.O jogo ainda não tem fim. Quando o fim for implementado, PacBum derrotaráde uma vez Zielo Flu, o comandante da quinta dimensão, e voltará para casa.
Package: pacc
该Python模块用于通过USB或WiFi对Android集群（包含模拟器，目前正在适配雷电模拟器LDConsole）进行控制，集成了ADB、UIAutomator、数据库、中央控制系统、计算机视觉（图像识别）、验证码破解、
人工智能（自然语言处理）等功能。目前最新版已集成的功能如下：ADB（安卓调试桥）及UIAutomator（用户界面自动化器）LDConsole（雷电控制台）及雷电模拟器安卓调试桥及用户自动化器MySQL数据库的增删改查WebSocket双端互通待集成的功能如下：夜神模拟器（Nox.exe、NoxConsole.exe、nox_adb.exe）已实现的中央监控系统如下：淘宝/拼多多全自动远程刷单APP中央监控系统脚本待实现的中央监控系统如下：欢友全自动聊天、评论、接打视频脚本app中央监控系统脚本汉字大英雄全自动看广告脚本app中央监控系统脚本已实现的中央控制脚本如下：快手极速版全自动刷金币（刷视频、刷广告、刷直播）中央控制系统脚本正在实现中的中央控制脚本如下：趣头条全自动刷金币中央控制系统脚本待实现的中央控制脚本如下：刷咸鱼币中央控制脚本陶特红包中央控制脚本美团浏览中央控制脚本点淘全自动刷金币中央控制脚本抖音全自动抢福袋脚本app中央控制脚本淘礼金全自动抢单（淘宝0元购）中央控制脚本他趣全自动拉黑女粉、聊天、接视频中央控制脚本拼多多自动连接人工客服抖音极速版全自动刷金币中央控制脚本拼多多批发版一折商品全自动采集并发送至QQ群的中央控制脚本含羞草传媒拉新（全自动拉人头）中央控制系统源码可通过如下渠道获取：Gitee：https://gitee.com/coco56/paccGithub：https://github.com/cocos56/pacc
Package: pace2024-verifier
PACE 2024 VerifierThis package can be used to verify a given solution against a set of crossing counting algorithms. For more information check the pacewebsite.InstallationInstall the verifier from pip:$pipinstallpace2024-verifierUsageVerifierTo verify a solution use the following command:$pace2024verify<path/to/graph.gr><path/to/solution.sol>The verifiery has three different methods for verification usable via the switches:--segtree = Use a segment tree to count the crossings.[default]--interleave = Count the crossings by checking for each pair of edges if they interleave.--stacklike = Count the crossings by checking how many pairs are out of order in a one-sided book embedding.There is also the option to only print the number of crossings via-c/--only-crossings.TesterTo test a solver against a set of tests use:$pace2024tester<solver>where<solver>has to be an executable. So if for example you run your solver via a shell-scriptsolver.shrun the command$ pace2024tester solver.sh. The solver will then be run using thetiny test set. The instances and solutions of this set are included with the verifier. To add your own tests create a foldermytestscontaining a subfolderinstancesand a subfolder<solutions>. You can then run$pace2024tester--test<path/to/mytests><solver>and the tester will check the solver against this test set. You can also suppply multiple test sets via$pace2024tester--test<path/to/mytests1>--test<path/to/mytests2><solver>For each instance in aninstancesfolder we match it to the same-named file in the solutions folder. The provided solver is then executed on each instance and thepace2024verifieris used to check the results. If you do not want to use the tiny test set you can switch it off using:$pace2024tester--no-tiny--test<path/to/mytests1>--test<path/to/mytests2><solver>By default the tester assumes that the solver uses files for input and output and calls it as:$<solver>path/to/inputpath/to/outputIf you prefer usingstdinorstdoutuse the following switches:--instanceas file/stdin = provide the input file as a path to thefileor onstdin--solutionas file/stdout = expect the output to be written to afileor onstdoutFor solution files the tester creates temporary file using thetempdirlibrary ofpython. All created files are deleted by this library after execution.Finally, for easier parsable output you can use the flag:--only-compare/-c which prints only the lineTesting now <instancename>...followed by the string<crossingssolver>,<crossingssolution>.
Package: pace-calc
pace-calcКалькулятор темпа бегаРассчитывает по имеющимся данным темп бега, скорость или итоговое время, необходимое для преодоления определенной дистанции.ИспользованиеГлавный входной параметр -distance(пройденное расстояние, указанное в метрах) Указывается при создании объектов классаPaceCalculator. Используется в функциях расчета темпа, времени, скорости.ПримерНеобходимо рассчитать темп по имеющимся расстоянию и времениfrompace_calcimportPaceCalculator,get_formating_time_by_secondsdistance=5000# в метрахtime_sec=1500# 25 мин.calc=PaceCalculator(distance)temp_sec=calc.calc_temp(time_sec)# 300 сек.temp=get_formating_time_by_seconds(temp_sec)# 5:00
Package: pacemaker
Pace MakerThere are times in your life when you have to call legacy api's that can handle like 2 reqs/sec. There is no point hammering the old man and killing him.This library will help you pace calls to the old man, so his heart keeps ticking.Combining this library with backoff(https://github.com/litl/backoff) can do wonders.Installpython3 -m pip install pacemakerUsagefrom pacemaker import pace_me

    # Function that will yield data that the process function needs
    def data_gen(n=3):
        for i in range(n):
            yield [x for x in range(n)]

    # Will make 3 requests to that url/sec using 1 token everytime process method is called. What data_gen function yields should be the first argument
    @pace_me(data_gen, rate_per_second=3, n=6)
    def process(data, url):
        r = requests.post(url, data=data)Run testsAll tests (docker-compose run --rm test)ReleaseAdd PYPI_API_TOKEN env variable in circleTWINE_PASSWORD used pypi login password which is bad
Package: pace-neutrons
PACE-neutronsPACE is a suite of programs for data analysis of inelastic neutron scattering spectra, written in both Python and Matlab.The packages included in PACE are:Horace-
A Matlab program for the visualisation and analysis of large datasets from time-of-flight neutron inelastic scattering spectrometers.Euphonic-
A Python program for simulating phonon spectra from DFT output (CASTEP or Phonopy).Brille- A C++/Python program for Brillouin zone interpolation.SpinW- A Matlab program for simulating spin wave (magnon) spectra.The Python programs have separate PyPI packages
(EuphonicandBrille),
whilst this package provides a Python module for the Matlab codes using a compiled Matlab library, which does not require a Matlab license.Getting StartedYou can install and run the package using:pip install pace_neutrons
pace_neutronsWhen you first runpace_neutronsthe module will check to see if you have theMatlab Compiler Runtime (MCR)installed.
If you do not have the version required by PACE (currently R2020a)
then the program will prompt you to accept the Matlab license and
it will download and install the required MCR components
(approximately 500MB download, 2GB installed).
Note that the installation is silent and may take some time to download and install (~15-30min).
You can also manually install the MCR at the above link,
but note that the distributions linked there is for the full Matlab installation including all toolboxes,
which is approximately 2.5GB to download and 15GB installed.After installing the MCR, the program will start a Python command line.
To use PACE you must first import and initialise theMatlabmodule as follows:frompace_neutronsimportMatlabm=Matlab()Thereafter, you can use the Matlab-based commands of Horace or SpinW by prefixing them withm., e.g.:proj=m.projaxes([-0.5,1,0],[0,0,1],'type','rrr')w1=m.cut_sqw('ei30_10K.sqw',proj,[0.1,0.02,0.5],[1.5,2.5],[0.4,0.5],[3,0.5,20])hf=m.plot(w1)You can get further help from theHoraceorSpinWwebpages.Finally if you have Jupyter or Spyder installed you can start a PACE session in either with:pace_neutrons --jupyterorpace_neutrons --spyderDeveloper notesDeveloper documentation ishere
Package: pacer-builder
Asynchronous Backend FrameworkInitial code pull and local environment deployment:git clonehttps://github.com/YSH0313/pacer.gitChange the MYSQL address in settings.py to your own.Operating environmentPython3.7.2 and aboveInstall dependencies in requirements.txtUsageUse the pacer -p <project_name> command to create a project.Use production.py to create an app.The application directory contains the created app project.Write view functions in the created app.The urls.py under the app project is used to store corresponding views and routes.Start the serviceExecute runner.py to start the service.Start the service in production environmentDocker can be used to start or other methods, docker startup is recommended.You can execute docker-compose up -d in the project root directory.The service can be restarted directly by executing reload_server.sh.Dockerfile and docker-compose.yml parameters can be adjusted as needed.
Package: pacha
Pacha was designed from the ground up to be a simple way to backup and
manage software configuration files from single or multiple server
instances across the network.Pacha’s approach is to easily deploy an instance and capture any changes
via a version control, giving the System Administrator the ability
to rollback and safe guard valid, working configurations and rebuild a
host from those same configurations.Don’t learn another languageOther configuration frameworks tell you this, but are written in a language like Ruby and require you to extend,modify or adapt this writing Ruby. We don’t! It doesn’t matter that Pacha is written in Python. You do not need to know Python to make any changes to the software you want to deploy.Easy learn curveOne main configuration file to manage the package to be installed and one directory where you can place any number of executable shell scripts to extend and modify your deployment according to your needs.Versioned ConfigurationsKeep track of any changes done to a configuration file and rollback easily. We support Mercurial, GIT and SVN to version your configurations.LightDeploy Pacha as a client, server, or standalone version. Either way, you get an extremely light, low memory tool that can communicate with your configuration files almost instantly.Extend and ConquerForget about the “but this tool doesn’t do this”. We provide a full hook environment to plug in directly into Pacha so you can extend whatever need you have for your deployment.SecurityTransferring system configuration files, even across a trusted private network is a security risk. Pacha tackles this problem using SSH as the transport protocol. Although this may add a slight complexity to the framework, we encourage security and think this is the best shot for dealing with critical data related to your systems.
Package: pacheco-core
retico-coreThis project includes the core functionality of the retico framework. This includes the
abstract, general definitions of incremental modules and incremental units (IUs), as
well as modules and IUs for audio input/output, debugging, dialogue, and text
processing. Also, some tools for saving and loading modules to and from file are
available.For the main repository that includes a variety of useful modules and IU definitions,
go togithub.com/retico-team/retico.How to installFor installing retico-core, you need to haveportaudioinstalled. See the
documentation for a detailed description of how to install it. Then, you can install it
via pip:$pipinstallretico-coreDocumentationThe documentation of retico-core can be found athttps://retico-core.readthedocs.io/
Package: pachelm
activate envconda activate python-pacyhdermto install python-pachydermconda install -y conda-build click setuptools-gitWork aroundRecommended way but not work.conda skeleton pypi python-pachydermconda build python-pachydermNext thingsBuild pachydelm, dev examples workflow for both contribute & own work.python-pachyderm get version mismatch for some method like pfs_client.provenances_for_repo('test-pipeline').pip install -e .build commandpython setup.py bdist_wheel
twine upload dist/*
Package: pachisi-render
Pachisi RenderEasily render a simple, yet customizable pachisi board as an svg.UsageAfter installation, start the tool via thepachisi-rendercommand.
This starts a webserver, which provides a single REST API endpoint at/board.
Send an HTTP request containing a json-encoded description of the state of a
pachisi board to this endpoint and it will return an SVG image showing a pachisi
board in the provided state.Details on the API are provided in the documentation, which is included with the
tool and can be found at the/docsurl.MaintenanceThis tool was developed and is being maintained by the Institute of Telematics
at the Karlsruhe Institute of Technology for use in it's protocol engineering
course.LicenseCopyright Karlsruhe Institute of Technology, Institute of Telematics, 2023Distributed under the terms of the MIT license.