Saravanan666/pypi-org huggingface dataset:
Package: pnutpy
PNUTpy aims to be an easy-to-use Python library for interacting with thepnut.io API.InstallationTo install, simply:$pipinstallpnutpyQuick StartIn order to use PNUTpy, You’ll need an access token. If you don’t already have one, firstcreate an app, and then generate an access token for your app.importpnutpypnutpy.api.add_authorization_token(<AccessTokenHere>)# Create a postpost,meta=pnutpy.api.create_post(data={'text':'Hello pnut.io from pnutpy!'})
Package: pnu-true
Installationpip installpnu-trueTRUE(1)NAMEtrue - return true valueSYNOPSIStrue[--debug]
[--help|-?]
[--version]
[--]DESCRIPTIONThetrueutility returns with an exit code of zero.Some shells may provide a builtin true command which is identical to this utility.
Consult thebuiltin(1)manual page.OPTIONSOptionsUse--debugEnable debug mode--help|-?Print usage and a short help message and exit--versionPrint version and exit--Options processing terminatorEXIT STATUSThetrueutility exits 0 on success, and >0 if an error occurs.SEE ALSObuiltin(1),csh(1),false(1),sh(1)STANDARDSThetrueutility is a standard UNIX/POSIX command.
It is expected to be IEEE Std 1003.2 (“POSIX.2”) compatible.It tries to follow thePEP 8style guide forPythoncode.PORTABILITYTested OK under Windows.HISTORYThis version was made for thePNU project.LICENSEThis utility is available under the3-clause BSD license.AUTHORSThis version was written byThomas TournierThe man page is derived from theFreeBSD project's one.
Package: pnu-vuxml
InstallationOnce you have installedPythonand its packages managerpip,
use one of the following commands, depending on if you want only this tool, the full set of PNU tools, or PNU plus a selection of additional third-parties tools:pip install pnu-vuxml
pip install PNU
pip install pytnixVUXML(1), VUXML(3)This repository includes a command-line utility:vuxml(1)- FreeBSD VuXML query toolAnd a Python library:vuxml(3)- FreeBSD VuXML library
Package: pnu-what
Installationpip installpnu-whatWHAT(1)NAMEwhat - identify SCCS keyword strings in filesSYNOPSISwhat[-qs]
[--debug]
[--help|-?]
[--version]
[--]
[file ...]DESCRIPTIONThewhatutility searches each specified file for sequences of the form "@(#)" as inserted by the SCCS source code control system.
It prints the remainder of the string following this marker, up to a NUL character, newline, double quote, ‘>’ character, or backslash.OPTIONSThe following options are available:OptionsUse-qOnly output the match text, rather than formatting it-sStop searching each file after the first match--debugEnable debug mode--help|-?Print usage and a short help message and exit--versionPrint version and exit--Options processing terminatorENVIRONMENTTheWHAT_DEBUGenvironment variable can be set to any value to enable debug mode.TheFLAVOURorWHAT_FLAVOURenvironment variables can be set to one of the following values, to implement only the corresponding options and behaviours.posix : POSIXwhatbsd | bsd:freebsd : FreeBSDwhat(1)linux : Linuxwhat(1P)However, if thePOSIXLY_CORRECTenvironment variable is set to any value, then the POSIX flavour will be selected.EXIT STATUSExit status is 0 if any matches were found, otherwise 1.SEE ALSOident(1),strings(1)STANDARDSThewhatutility is a standard UNIX/POSIX command.It conforms to IEEE Std 1003.1-2001 (“POSIX.1”).
The-qoption is a non-standardFreeBSDextension which may not be available on other operating systems.This re-implementation tries to follow thePEP 8style guide forPythoncode.PORTABILITYTested OK under Windows.HISTORYThewhatcommand appeared inUNIX Programmer's Workbench (PWB/UNIX)1.0 in 1977,
and was probably written byMarc J. Rochkindalong with the rest of theSource Code Control System (SCCS).TheBSDversion appeared in4.0BSDin October 1980 and was rewritten because SCCS was not licensed withVersion 32V AT&T UNIX.This re-implementation was made for thePNU project.LICENSEIt is available under the3-clause BSD license.AUTHORSHubert TournierThis manual page is based on the one written forFreeBSD.
Package: pnwapi
pnwapiPnwapi is a Python library for accessing the Politics and War API. It uses a simple, object-oriented approach to accessing the API, caching data, and handling errors. Pnwapi is designed around the concept of keeping a local copy of important data in a database, allowing for faster access, less reliance on the API and more advanced queries.InstallationPython 3.10 or higher is required. Pnwapi is available on PyPI and can be installed with pip:pipinstallpnwapiUsageimportpnwapipnw=pnwapi.init("YOUR_API_KEY","YOUR_BOT_KEY","DB_CONNECTION_STRING")DocumentationDocumentation can be found atpnwapi.readthedocs.io.ContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.Please make sure to update tests as appropriate.LicenseMIT
Package: pnwkit
pnwkit-pySeparate install to prevent name squatting and allow pnwkit as a valid install name.pnwkit-pyPolitics & War V3 API LibraryExplore the docsJavaScript/TypeScript Version-Report Bug-Request FeaturePnWKit is here to make interacting with the V3 Politics and War API easy. All you have to do is import the library, add your key, and make a query.Getting StartedTo get started using pnwkit-py you must first have Python and PIP installed.InstallingPython 3.9 or higher is required.Install the library using PIP.# Linux/MacOSpython3-mpipinstall-Upnwkit# Windowspy-3-mpipinstall-UpnwkitUsageTo use pnwkit-py just import the library and add your key, then you can make synchronous or asynchronous queries.importpnwkitpnwkit.set_key("xxxxx");nations=pnwkit.nation_query({"id":100541,"first":1},"nation_name")print(f"Nation name:{nations[0].nation_name}")If you want to paginate your query for more results, just enable pagination after your query.nations=pnwkit.nation_query({"id":100541,"first":1},"nation_name",paginator=True)print(f"Nation name:{nations.data[0].nation_name}, current page:{nations.paginator_info.currentPage}")The queries are written in normal GraphQL, so you can get all the cities in a nation like thisnations=pnwkit.nation_query({"id":100541,"first":1},"""nation_namecities {name}""")print(f"First city of ${nations[0].nation_name}: ${nations[0].cities[0].name}");If you want to have multiple copies of pnwkit-py running at the same time, you can use the Kit class export.importKitfrompnwkit;other_kit=Kit(api_key="xxxx");//queries...Unlike the JavaScript/TypeScript library, the Python library has a few additional features.To use the asynchronous client (aiohttp as opposed to requests) append async_ to your queries on the pnwkit module, or import async_pnwkit from pnwkit and run queries as normal, with the addition of an await statement.If the params argument is falsy in a query (i.e. None or an empty dict) then any additional kwargs on the query will be interpreted as params.Additional arguments on a query will be concatenated with the first to form the query.You can also do the following queries in pnwkit-py:nation_queryalliance_querytrade_prices_querytrade_querywar_querytreasure_querycolor_queryYou can look at the arguments and possible data to collect here at thedocs.
Package: po2strings
po2strings is useful to convert PO/POT gettext files into Apple .strings or Android/Java .xml files.Installationpip install po2stringsCommand line usageroot@host$ po2strings <PO_FILE> <STRINGS_FILE>e.g.root@host$ po2strings en.po Localizable.strings

root@host$ po2strings en.po values.xmlCode usagefrom po2strings import po2strings

executed, error_message = po2strings.run("en.po", "Localizable.strings")
Package: poa
POAfrompoaimportGraph,read_filematch=2mismatch=-1gap=-2g=Graph()sequence,alignment=read_file('test.fa','fasta')g.init_graph_by_seq(sequence[0])forseqinsequence[1:]:g.add_seq_to_align(alignment(g,seq,match=match,mismatch=mismatch,gap=gap))g.to_msa(open('msa.txt','w'))
Package: poacher
Poacher polls github.com for newly created repositories, allowing you to obtain
the URLs (or any other information provided by the Github API) for all new
public repositories as they are created.InstallationInstall using pip:pip install poacherDocumentationFull documentation for poacher Python API is herehttps://poacher.readthedocs.ioWhy?For fun. It’s not something the Github API explicitly provides, and it’s a bit
of a hack.How does it work?The Github API only allows you to fetch information about a specific repository
by passing the repository ID, or of course the repository URL, however we’re
interested in the ID in this case. There’s nothing really special about the
repo ID, it’s just a number that gets incremented each time a repo is created.
So the first ever repo has the ID “1”, and the 4,000th repo has the ID “4000”,
etc.This means we can determine the latest repo ID with a little brute force.
Requests for a non-existent ID (or a private repo that your account cannot
access) will fail, so with a simple binary search we can determine the highest
repo ID currently in use, with a fairly small number of steps. Once we have this
reference point, we can poll continuously for the next repo ID to be in use, and
in this way “watch” the stream of new repos as they are being created.Casual command-line usageAn example command-line program using poacher,poacher-monitoris provided
with this package.poacher-monitorwill print the clone URLs of new public
repositories on github.com as they are created. Basic usage looks like this;$> poacher-monitor

Github username: eriknyquist
Github password:

https://github.com/chungbinkley/ch09-builderimage.git
https://github.com/zhonghuihuo/JavaCardAppletBasics.git
https://github.com/hlp2002/BaiduyunSpider.git
https://github.com/Alex-X-W/Misc-Projects.git
https://github.com/haimli/javacsv.git
https://github.com/NazarMykhailechko/crm_corporate.git
https://github.com/DEVHARAM/blockchain.git
https://github.com/meitesi/get-docker.git
https://github.com/criverso/Resumeportfolio.git
https://github.com/macman178/binance-api-node.gitOr, pass your username and password as arguments instead:$> poacher-monitor -u github-username -p github-passwordpoacher-monitorhas several command-line options. To see a full
description of all options, runpoacher-monitor-h
Package: poai
👉项目官网：https://www.python-office.com/👈👉本开源项目的交流群👈📚简介poai是python+人工智能的小工具。📦安装🍊pip 自动下载&更新pip install -i https://mirrors.aliyun.com/pypi/simple/ poai -U📝功能1行Python代码，对话ChatGPT，网友：太方便了！🐞提供bug反馈或建议提交问题反馈时，请务必填写和python-office代码本身有关的问题，不进行有关python学习，甚至是个人练习的知识答疑和讨论。Github issue📌进交流群
Package: poaster
poasterMinimal, libre bulletin board for posts.QuickstartInstall package:pip install poasterInitialize application:poaster initAdd a user:poaster users addLaunch application server:poaster runNavigate to/api/docsto see API documentation.DevelopmentThe easiest way to develop locally withpoasteris to usehatch. Withhatch, you will have access to important helper scripts for running locally, linting, type-checks, testing, etc.TestingLint and check types with:hatch run types:checkRun test suite and report coverage with:hatch run covDatabase ManagementTo upgrade the local database to latest schema, run:hatch run db:upgradeNow that the tables are created, you can add fixtures:hatch run db:fixturesIf you add or update a table, you can generate a migration script by running:hatch run db:migrationIf the migration script wasn't generated, check to see if you imported the model tomigrations/env.py.Local ServerRun the application server locally with:hatch run devThe server should reload on changes to the source code.Licensepoasteris distributed under the terms of theAGPLv3license.
Package: poaurk
poaurkPlurk + Oauth Library modify from the work byclsung's version.Replace python-oauth library to requests-oauthlib.Installationpip install poaurkExampleAuthorize and get profile# import packagefrompoaurkimport(PlurkAPI,PlurkOAuth)# Init a new plurk objectplurk=PlurkAPI("<consumer key>","<consumer secret>")# Authorize if no tokenstatus,data=plurk.authorize()ifnotstatus:# Failedprint(data)# Call apistatus,data=plurk.callAPI('/APP/Profile/getOwnProfile')# status = True if successfulprint(data)Init from json fileCopyapi.keys.exampleto yout project, modified it.frompoaurkimportPlurkAPI# Initplurk=PlurkAPI.fromfile("api.keys")# Get own profile_,data=plurk.callAPI('/APP/Profile/getOwnProfile')print(data)# Get Public Profile from user_id# User id can obtain from other api_,data=plurk.callAPI('/APP/Profile/getPublicProfile',options={'user_id':'<user id>'})print(data)# Upload picture_,data=plurk.callAPI('/APP/Timeline/uploadPicture',files={'image':'<image path>'})print(data)
Package: poautofill
Script to automatically translate a given po file. It currently only
useshttps://deepl.combut should be extended to use other sources.It only translates empty translations, and mark them asfuzzyso
you can easily spot them for mandatory review.This project isnotaimed to automatically translate files for use
in production, more to give some material for translators while
translating offline, like missing vocabulary.Usage:poautofill any_file.po
# processes any_file.po

poautofill -h
# displays helpFree software: MIT licenseContributingDon’t forget to test locally:$ pip install -e .[dev]
$ detox
Package: pobaidu
👉项目官网：https://www.python-office.com/👈👉本开源项目的交流群👈📚简介pobaidu是调用百度AI平台功能的接口合集。📦安装🍊pip 自动下载&更新pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pobaidu -U📝功能📘官网：https://www.python-office.com/🏗️添砖加瓦📐PR的建议python-office欢迎任何人来添砖加瓦，贡献代码，建议提交的pr（pull request）符合一些规范，规范如下：参与项目建设的步骤：例如：你需要给python-office添加一个add方法。你的Github账户名为：demo于是你在./contributors新建了文件夹./demo新建了add.py文件，编辑你的代码编辑完成，提交pr到master分支（gitee或者GitHub，都可以）。可以注明你对自己功能的取名建议晚枫收到后，会对各位的代码进行测试后，合并后打包上传到python官方库📐代码规范注释完备，尤其每个新增的方法应按照Google Python文档规范标明方法说明、参数说明、返回值说明等信息，必要时请添加单元测试，如果愿意，也可以加上你的大名。python-office的文档，需要进行格式化。注意：只能格式化你自己的代码请直接pull request到master分支。master是主分支，表示已经发布pypi库的版本。未来参与人数增多，会开辟新的分支，请留意本文档的更新。我们如果关闭了你的issue或pr，请不要诧异，这是我们保持问题处理整洁的一种方式，你依旧可以继续讨论，当有讨论结果时我们会重新打开。🧬贡献代码的步骤在Gitee或者Github上fork项目到自己的repo把fork过去的项目也就是你的项目clone到你的本地修改代码commit后push到自己的库登录Gitee或Github在你首页可以看到一个 pull request 按钮，点击它，填写一些说明信息，然后提交到master分支即可。等待维护者合并🐞提供bug反馈或建议提交问题反馈时，请务必填写和python-office代码本身有关的问题，不进行有关python学习，甚至是个人练习的知识答疑和讨论。Github issue📌联系作者
Package: pobapi
Pre-release Software WarningThis library is currently in pre-release status and may change in the near future.Meanwhile I am looking forward to community feedback to accommodate most use cases.Pull requests are gladly accepted and much appreciated!IntroductionPath Of Building API provides a comprehensive toolbox for processingPath of Buildingpastebins.It is aimed at community developers:looking to add Path of Building functionality to their apps.upgrading from existing solutions.Benefits from using this library:Focus on your app’s core competencesSpend your free time on unique featuresBackwards-compatibility as PoB’s export format changesTested and secure codebaseFeaturesLook up and process:Character stats (DPS, life, etc.)Skill treesSkills, skill groups and linksGear and item setsPath of Building configuration settingsBuild author’s notesExposes all of Path of Building’s relevant stats and attributes in a simple and pythonic way.Automatically calculates mod values on theorycrafted items.Low memory footprint through slots and dynamically generated attributes.RequirementsPython 3.7+dataslotslxmlrequestsunstdlibSetup Instructionspip install pobapiSetup Instructions For DevelopersSetup virtual environment:pip install virtualenv
cd my_project_folder
virtualenv venvTo activate on Microsoft Windows:\venv\Scripts\activateTo activate on GNU/Linux:source venv/bin/activateSetup repository:git clone https://github.com/ppoelzl/PathOfBuildingAPI.git
pip install -r requirements.txtBasic Usage>>> import pobapi
>>> url = "https://pastebin.com/bQRjfedq"
>>> build = pobapi.from_url(url)
>>> print(build.ascendancy_name)
Elementalist
>>> print(build.bandit)
None
>>> print(build.stats.life)
6911
>>> if  build.active_skill.name in ["Blade Vortex", "Vaal Blade Vortex"]:
...     if "Storm Brand" in build.skill_names:
...         print(build.config.brand_attached)
...
True
>>> for item in build.items:
...    if item.name == "Inpulsa's Broken Heart":
...        print(item)
...        break
...
Rarity: Unique
Name: Inpulsa's Broken Heart
Base: Sadist Garb
Quality: 20
Sockets: (('G', 'G', 'G', 'B', 'B', 'B'),)
LevelReq: 68
ItemLvl: 71
+64 to maximum Life
26% increased Damage if you have Shocked an Enemy Recently
33% increased Effect of Shock
Shocked Enemies you Kill Explode, dealing 5% of
their Maximum Life as Lightning Damage which cannot Shock
Unaffected by ShockDocumentationAvailable atRead the Docs.FeedbackPlease file aGitHub issuein this repository for any feedback you may have.ContributionPull requests are gladly accepted. Check out theDeveloper Guide.To-DoSupport corruptionsSupport enchantmentsLicenseMIT
Package: pobfuscatory
PObfuscatorypython code obfuscator, you can obfuscate a file or an entire project.InstallpipinstallpobfuscatoryUsageNote:If your project use not built-in library, you need to install it first.
The obfuscator needs to scan all modules and functions from third-party libraries to exclude the keywords.# single file$python-mpobfuscatory-s./single_file/raw/hello_world.py-t./obfuscated# whole project$python-mpobfuscatory-s./src/pobfuscatory-t./examples/project/obfuscated# preserve some key (obfuscator, Keys)$python-mpobfuscatory-s./src/pobfuscatory-t./examples/project/obfuscated-eobfuscatorKeys# adjust confuse line insertion, probability (0.0~1.0), repeat number(1~)$python-mpobfuscatory-s./src/pobfuscatory-t./examples/project/obfuscated-p0.5-r5# close confuse line$python-mpobfuscatory-s./src/pobfuscatory-t./examples/project/obfuscated-p0# open debug log$python-mpobfuscatory-s./src/pobfuscatory-t./examples/project/obfuscated-v1ExamplesSingle file:[raw]
[obfuscated]Whole project:[raw]
[obfuscated]
Package: pobj
Print Object in Python3.xPrint your variable/object in beautiful wayIt's easier way to print variable name & it's valuepobj print any type of value. Like int, str, bool, list, dict, django request, dataframe, ... few moreInstall with pippip install pobjUpgrade with pippip install pobj --upgradeI) How to implement pobjinstall package bypip install pobjimport pobj byfrom pobj import pobjin class.pyuse pobj in your code as bellow standards...pobj(your_variable)How to use pobjSource Code:from pobj import pobj


class Fruits:

    def get_apple_detail(self, price: float = 0.0):
        result = {
            'fruit': 'Apple',
            'price': price or 120,
            'quantity': 2,
            'available': True
        }
        pobj(result)
        return resultOutPut:---result---type:dict---size:0.24-KB---
{
  "available": true,
  "fruit": "Apple",
  "price": 120,
  "quantity": 2
}How to implement pobjlinstall package bypip install pobjimport pobjl byfrom pobj import pobjlin class.pyuse pobjl in your code as bellow standards...logger = pobjl('logger_name', 'logger_level')
logger.info(your_variable)II) How to use pobjlSource Code:from pobj import pobjl

logger = pobjl('demo', 'info')

class Fruits:

    def get_apple_detail(self, price: float = 0.0):
        result = {
            'fruit': 'Apple',
            'price': price or 120,
            'quantity': 2,
            'available': True
        }
        logger.info(result)
        return result


fruit_obj = Fruits()
fruit_obj.get_apple_detail()OutPut:[2021-01-31 21:55:41,000] INFO - demo - file: demo1 - fun: get_apple_detail() - LN: 14 
{'fruit': 'Apple', 'price': 120, 'quantity': 2, 'available': True}ChangeLog Versionv1.2.3 | 2021-01-31Print object with logger | Added | Doneby using pobjl, User also used the feature of logger, Credit goes to logging author also ;)we use the existinglogging, We just addon on layer on itv1.2.2 | 2020-11-30Show size in KB | Added | Donedisplay size in KB instead of bytesbasically we convert size of object/variable bytes into KB unitNote: 1000 bytes = 1 KBv1.2.1 | 2020-11-30Also show type & size of object | Added | Doneadditionally we also print type & size of object/variabletype it's print the which type of variable it's. Like int/str/list/...size it's shows the how much memory is occupy by this variablev1.1.1 | 2020-11-29Print Object | Added | Doneprint your object/variableby using simplypobjkeywordlike: pobj(your_obj)
Package: pobm
PhysioZoo OBM documentationOximetry digital biomarkers for the analysis of continuous oximetry (SpO2) time series.Based on the paper
Jeremy Levy, Daniel ́Alvarez, Aviv A Rosenberg, Alexandra Alexandrovich, F ́elix Del Campo, and Joachim ABehar.  Digital oximetry biomarkers for assessing respiratory function:  standards of measurement, physiologicalinterpretation, and clinical use.NPJ digital medicine, 4(1):1–14, 2021..  youtube:: 1m0nQ4MIOdE
:width: 640
:height: 480DescriptionFive types of biomarkers may be evaluated:General statistics: time-based statistics describing the oxygen saturation time series data distribution.Complexity: quantify the presence of long-range correlations in non-stationary time series.Periodicity: quantify consecutive events creating some periodicity in the oxygen saturation time series.Desaturations: time-based measures that are descriptive statistics of the desaturation patterns happening throughout the time series.Hypoxic burden: time-based measures quantifying the overall degree of hypoxemia imposed to the heart and other organs during the recording period.InstallationAvailable on pip, with the command:
pip install pobmpip project:https://pypi.org/project/pobm/Requirementsnumpy > 1.18.2scikit-learn > 0.22.2scipy > 1.4.1lempel-ziv-complexity==0.2.2All the requirements are installed when the toolbox is installed, no need for additional commands.DocumentationAvailable athttps://oximetry-toolbox.readthedocs.io/en/latest/
Package: pobo
UsagefrompoboimportParserparser=Parser("file.obo")parser.headers.get("format-version")parser.headers.get("...")forstanzainparser:stanza.namestanza.tagsfortag,valueinstanza.tags.items():...include modifiersparser=Parser("file.obo",include_modifiers=True)...fortag,valueinstanza.tags.items():value.valuevalue.modifiers
Package: pocar
POCAR - Process One Call Api ResponseThis python package aims to process Open Weather data provided by One Call API.
The access to One Call API is free, but an account in Open Weather is required, see:OpenWeather AccountThe One Call API provides the following weather data for any geographical coordinates:Current weatherMinute forecast for 1 hourHourly forecast for 48 hoursDaily forecast for 7 daysNational weather alertsSee full documentation for One Call API:One Call API documentationThis python package processes the One Call Api response, making data available to user.For further details refer towiki
Package: pocard
Pokemon CardInstall This Library$ git clone https://github.com/krypton-byte/pocard
$ cd pocard && python3 setup.py build && python3 setup.py install --userUseCommandLine$pocardindex[0-3]"title""desc"input_imageoutput_imagemethod:[scale,crop,auto]example:
$pocard0"Title""desc"in.pngout.jpgscalePython Interpreter>>>frompocardimportCARDS>>>CARDS[0].maker("Title","image_input.png","Desk",font_color=(0,0,0),image_method="auto").show()>>>CARDS[0].maker("Title","image_input.png","Desk",font_color=(0,0,0),image_method="auto").save("out.png)# image_input type: BytesIO, Image.open Object, string(path+filename)# image_merhod: scale, auto, cropPreviewDonasiSaweriaWhatsappTrakteer