Saravanan666/pypi-org huggingface dataset:
Package: pa-whois
Prompt API - Whois API - Python Packagepa-whoisis a python wrapper forwhois apiRequirementsYou need to signup forPrompt APIYou need to subscribewhois api, test drive isfree!!!You need to setPROMPTAPI_TOKENenvironment variable after subscription.then;$pipinstallpa-whoisExample UsageLet’s try withcheckendpoint:fromwhoisimportWhoiswho=Whois()who.check('promptapi.com')# returns dict# {'result': 'registered', 'status': 200}# orcheck_result=who.check('promptapi.com')print(check_result)# {'result': 'registered', 'status': 200}who.check('promptapi.comaaaaaaaaaaaaaaaa')# {'error': 'TLD not supported', 'status': 400}who.check('promptapi-testing-domain.com')# {'result': 'available', 'status': 200}Now, let’s try withqueryendpoint:fromwhoisimportWhoiswho=Whois()who.query('promptapi-testing-domain.com')# {'error': 'No match for promptapi-testing-domain.com', 'status': 404}who.query('promptapi.com')#{'result': {'domain_name': 'PROMPTAPI.COM',#  'registrar': 'NameCheap, Inc.',#  'whois_server': 'whois.namecheap.com',#  'referral_url': None,#  'updated_date': '2020-05-27 22:19:36',#  'creation_date': '2020-04-19 15:11:52',#  'expiration_date': '2021-04-19 15:11:52',#  'name_servers': ['APOLLO.NS.CLOUDFLARE.COM', 'MARJORY.NS.CLOUDFLARE.COM'],#  'status': 'clientTransferProhibited https://icann.org/epp#clientTransferProhibited',#  'emails': 'abuse@namecheap.com',#  'dnssec': 'unsigned',#  'name': None,#  'org': None,#  'address': None,#  'city': None,#  'state': None,#  'zipcode': None,#  'country': None},# 'status': 200}LicenseThis project is licensed under MITContributer(s)Prompt API- Creator, maintainerContributeAll PR’s are welcome!fork(https://github.com/promptapi/whois-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: pawl
PAWL: Python API Wrapper for LinkedInPAWL (an acronym forPython API Wrapper - LinkedIn) allows for simple access to LinkedIn's API with only a single dependency.InstallationPAWL is supported on Python 3.9+. The recommended way to install PAWL is with pip.pip install pawlExamplesExamples are provided indocs/examples.Quickstart# Demo in python/ipython shell# Don't forget to install pawl first>>>importpawl>>>linkedin=pawl.Linkedin(client_id="CLIENT_ID_VALUE",client_secret="CLIENT_SECRET_VALUE",redirect_uri="http://localhost:8000",)>>>linkedin<pawl.linkedin.Linkedinat0x10ea46af0>GET PROFILE:# Demo in python/ipython shell>>>linkedin<pawl.linkedin.Linkedinat0x10ea46af0>>>>response=linkedin.current_user.basic_profile()>>>response{'localizedLastName':'LAST_NAME','profilePicture':{'displayImage':'PHOTO_ID'},'firstName':{'localized':{'LANG_CODE_COUNTRY_CODE':'FIRST_NAME'},'preferredLocale':{'country':'COUNTRY_CODE_VALUE','language':'LANGUAGE_CODE'}},'lastName':{'localized':{'LANG_CODE_COUNTRY_CODE':'LAST_NAME'},'preferredLocale':{'country':'COUNTRY_CODE','language':'LANGUAGE_CODE'}},'id':'USER_ID','localizedFirstName':'LOCALIZED_FIRST_NAME'}SourcesThe work that went into PAWL is not entirely my own. I learned a lot from open-sourced code written bymany incredible developers.LicensePAWL's source is provided under the MIT License.Copyright © 2021 Kyle J. Burda
Package: pawnhub
pawnhubRetrieve results of your online chess games from lichess.org and
chess.com.Instantly see how you negotiated first moves to reach your favourite
positions. Spot which lines are your kryptonite leading to a
dry/deceiving middle game.Behind the scenes, it exploitspawnstorelibrary to fetch games
into a local database then make themrich.Read documentation athttps://pawnhub.readthedocs.io/ScreencastInstallpawnhubis written for Python 3.7+, install with pip viapip3 install pawnhubcommand.UsageUsage: pawnhub.py [OPTIONS]  

  List games for CHESSCOM_USER and LICHESS_USER.  

  Display for each game the first move out of repertoire if WHITE_REP or/and
  BLACK_REP are given.  

Options:
  -c, --chesscom_user CHESSCOM_USER
                                  chess.com user login
  -l, --lichess_user LICHESS_USER
                                  lichess.org user login
  -n, --lines NUM                 Print the NUM most recent games
  -s, --search [FIELD:]TEXT       Search for text in given field (see
                                  https://kraymer.github.io/pawnhub/#search).
                                  Omit FIELD: to search in whole games data.
  --rw WHITE_REP                  Path or url to a PGN file for white
                                  repertoire
  --rb BLACK_REP                  Path or url to a PGN file for black
                                  repertoire
  --color                         Always color terminal output
  --version                       Show the version and exit.
  -h, --help                      Show this message and exit.
Package: pawnshop
PawnshopA simple chess package for python written solely as hobby project. I've also written a GUI with networking socket capabilities (add link here) and might create some AI furter down the line.The package also includes a 4-player mode, although the ruleset is unchanged from the classic game, Checkmate -> Game Over!BackgroundThis is my first real project to scale (> 1000 lines of code) and the first to be published toPyPi.The project has certainly been a product of time with other hobby projects and school often taking priority. This along with multiple mid-project large scale refractorizations, reconsiderations and laziness should explain the unorganized codebase.Needless to say, I've attempted to document the code well and create a proper package that I can "proudly" publish, Although I still don't recommend anyone to continue developing or using this outside of simple projects like this. There are definitely better alternatives out there.Some central documentation, more extensive testing and usage examples would have been beneficial, but as of now I just want to continue with other projects and leave this as finished for the time being.
Package: pawnstore
[![](https://pepy.tech/badge/pawnstore)](https://pepy.tech/project/pawnstore)# pawnstore ♟>/pɔːnstɔʁ/:
>
>n.chess library to import your PGN games in a local database
>
>    Portmanteau word from :
>    1.pawns: defined by Philidor as"The soul of chess">    2.datastore: repository for persistently storing and managing collections of data## Featurescentralized access to your online and OTB chess gameschess.com and lichess.org importersuser-centric data representation to facilitate extraction of your
own statistics## Example>>> import pawnstore as ps
>>> from pawnstore.models import Panwstore
>>>
>>> store = Pawnstore(chesscom=("neTinquietePas", "xxx"),
    lichess=("kraymer", "xxx"))
>>> for game in store.filter(white=True).limit(3):
    print(game)
neTinquietePas x rms1952
neTinquietePas x AnselmoBarrena
neTinquietePas x samisamuel
>>> print(game.as_dict().keys())
dict_keys(['id', 'slug', 'analysis', 'eco', 'eco_name', 'elo', 'moves', 'num_moves', 'opp_elo', 'opp_name', 'pgn', 'result', 'termination', 'speed', 'term', 'timestamp', 'user', 'accuracy', 'time_control', 'website', 'white'])
Package: pawprint
pawprintpawprintallows you to quickly track events occurring in your application,
and analyse them using pandas.
For the full API, see thedocumentation.These are a work
in progress.Write data flexiblytracker.write(event="server_booted")tracker.write(event="logged_in",user_id="alice")tracker.write(event="navigation",user_id="bob",metadata={"to":"dashboard"})tracker.write(event="invoice",metadata={"details":{"amount":1214,"from":"Ardbeg"}})tracker.write(event="invoice",metadata={"details":{"amount":123,"from":"Lagavulin"}})Query data intuitivelyRead the full dataset.tracker.read()id                    timestamp   user_id           event                                            metadata  
0    1   2017-03-31 15:51:50.590018      None   server_booted                                                None
1    2   2017-03-31 15:51:50.599256     alice       logged_in                                                None
2    3   2017-03-31 15:51:50.610069       bob      navigation                                 {'to': 'dashboard'}
3    4   2017-03-31 15:51:50.620759      None         invoice     {'details': {'from': 'Ardbeg', 'amount': 1214}}
4    5   2017-03-31 15:51:50.629837      None         invoice   {'details': {'from': 'Lagavulin', 'amount': 123}}List only events where the user was Alice.tracker.read("event",user_id="alice")event
0   logged_inQuery unstructured data to find out who invoiced you and when.tracker.read("timestamp","metadata__details__from",event="invoice")timestamp   json_field
0   2017-03-31 15:51:50.620759       Ardbeg
1   2017-03-31 15:51:50.629837    LagavulinPerform aggregates over time.tracker.count("logged_in",resolution="week")datetime   count
0   2017-03-27       1Aggregate JSON subfields.tracker.sum(event="invoice",field="metadata__details__amount",resolution="year")datetime      sum
0   2017-01-01   1337.0DocumentationFor installation, dependencies, API details, and a quickstart, pleaseRTFM!
Package: pawpyrus
DescriptionPawpyrus is a minimalist open-source paper data storage based on QR codes and ArUco.
It generates a PDF from any small-sized binary file (recommended size <100kb).
Further, the paper data storage can be scanned and decoded (recommended resolution 300dpi).It can be useful if you need to backup data on paper:Encryption keys (e.g.GnuPG)File-based password databases (e.g.KeePassXC)Cryptocurrency walletsInstallationThe script is pure Python and a part ofPyPI, so can be installed viapip:python3-mpipinstallpawpyrusUsageNOTE:Backward compatibility is not provided yet. To decode a document, please use exactly the version which was used to encode it.Encoder:pawpyrusEncode-n"Description"-i"input.file"-o"output.pdf"Also, pawpyrus can read data from stdin.
For example, encoding GPG public keys:gpg--exportregnveig@yandex.ru|pawpyrusEncode-n"Reqnveig Public Key"-i--o"regnveig-pubkey.pdf"Decoder:pawpyrusDecode-i"scan1.jpg""scan2.png""scan3.jpg""masked/too/*.png"-o"output.file"Pawpyrus PDF example you can seehere.Data FormatPawpyrus uses a custom alphanumeric encoding, which is designed to store information in QR code effectively.
For now, that makes 4.3kb per A4 page (pixel size 0.6 mm).Got a Trouble?QR and ArUco detectors may fail on one or several blocks.The situation is totally normal, although uncomfortable.
I fixed it for now, with two detectors (opencvandpyzbar) instead of one, but the bug may reappear in some circumstances.
That's why I implemented Debug Mode:pawpyrusDecode-d"debug_dir"-i"scan1.jpg""scan2.jpg""scan3.jpg"-o"output.file"With Debug Mode, you can inspect undetected QR codes, read them manually with any device you have, and create a file with text blocks which can be processed as well:pawpyrusDecode"scan1.jpg""scan2.jpg""scan3.jpg"-t"unrecognized_codes.txt"-o"output.file"Output Debug Dir example you can seehere.If you have any idea how to fix the bug better,please help.Repository MirrorsDarktea (Darknet Gitea):regnveig/pawpyrusSimilar Projectsintra2net/paperbackupPaperback by OllyandWikinaut/paperback-clicolorsafe/colorsafeTwibright OptarPaperkey4bitfocus/asc-key-to-qr-code
Package: paws.lambda-time-trigger
PAWS Lambda Time TriggerThis package makes it easy to trigger Lambda functions more often than once a minute - the default service to trigger Lambdas periodically, EventBridge rules, will only allow to define schedules down to a resolution of 1 minute.Using the PAWS Lambda Time Trigger package, you can define schedules with a resolution down to 1 second.The PAWS Lambda Time Trigger package will, on top of any resources you create, including the Lambda function to be triggered on a schedule, create:An AWS Step Function running the sub-minute schedule you defined by waiting between invokes of your target LambdaAn EventBrige rule triggering the AWS step function based on the rest of the schedule you define as a CRON expressionIf you specify a CRON schedule without thesecondfield being set, or with it being set to 0, theTimeTriggerwill just create a plain EventBridge rule with that schedule triggering your Lambda directly, without the AWS Step Function in between.Basic usageTypeScript / JavaScriptconsttimeTrigger=newTimeTrigger(this,'time-trigger',{schedule:{cron:{second:'0-19/5,20-59/20',//Triggersatseconds0,5,10,15,20and40ofeveryminute...hour:'9-17'//...ofeveryhourbetween9and17eachday},},});yourLambdaFunction.addEventSource(timeTrigger);Known limitationsLambda execution timeAs of now, the AWS Step Function does not take the time required to execute the scheduled Lambda into account. In other words: if you schedule your Lambda with a TimeTrigger to be executed every 10 seconds (second:'*/10'), but your scheduled Lambda takes 1 second to run, you will see the following behavior:The AWS Step function will be triggered every minute (unless you specified another schedule)The AWS Step function will run your Lambda on...Second 0, taking 1 second to complete, then waiting 10 secondsSecond 11, taking 1 second to complete, then waiting 10 secondsSecond 22, taking 1 second to complete, then waiting 10 secondsSecond 33, taking 1 second to complete, then waiting 10 secondsSecond 44, taking 1 second to complete, then waiting 10 secondsSecond 55, taking 1 second to complete, then finishing
Package: pax2graphml
PAX2GraphMLFeaturesPAX2GraphML is   dedicated to design biological reaction graph analysis softwares.The package PAX2GraphML  allows to efficiently  manipulate   BioPAX data sources transformed as GRAPHML files.It is expecially design  around the SPAIM reaction model (Substrate, Product, Activator, Inhibitor, Modulator). Among other things, it allows to  analyze the graphs, to extract sub-components and to build an influence graph.
Input graphs are in .graphml format, assumed under the SPAIM model.DocumentationThe package relies mainly on the python graph_tool module to extract, manipulate and save these graphs:https://graph-tool.skewed.de/static/doc/quickstart.html.Java is as well necessary for some sub-modules, like for BIOPAX export features.the full documentation is available athttps://fjrmoreews.github.io/pax2graphml/InstallationWe provide a easy to use docker installation and a Debian/Ubuntu installation tutorial and a jupyter lab notebook with live examples.The docker container provides the necessary environment to run the package (mainly, installation of python3 and graph_tool java and paxtools).Seehttps://gitlab.inria.fr/fmoreews/pax2graphmlfor full installation instructions.Source repositoryThe sources are available athttps://gitlab.inria.fr/fmoreews/pax2graphml
Package: paxful-api
GeneralThis package contains a python wrapper for the Paxful Cryptocurrency Exchange APIv1. It utilizes the requests python
package to communicate with the API. A Paxful account is required and must be authenticated using your own  API key.Please visithttps://paxful.readthedocs.io/for more details on the API.InstallThis package can be installed from the PyPi repository.pip install paxful-apiYou can also download the zip and and place it into a Virtual Environment created using virtualenv (recommended).SetupIn the main client, you must define your API key and API secret.
Example:api_key=cinow2P4gwP8hCD_MTe6p-YlnhQIeRrtiQswcxx  api_secret=F8Rt6xuKwertRpLVs7vowoDwertX79O_39RK1kLdxxThemain clientis used for general operations such as opening a trade, creating offers, fetching available payment
methods, and getting transaction information.Thetrade clientis used for specific trade operations such as chatting, releasing funds, sending pictures and giving
feedback.Each trade client object represents an individual trade.Do not initialize a trade object directly from the
trade client, always use the main client. See the example below.ExampleAfter installing, import:from paxful.main_client import PaxfulClientInitialize the client:client = PaxfulClient()Get the list of active trades:trades = client.trade_list()Extract thehash idof each trade and create a trade object:tr = client.trade(hash_id)SupportIf you would like to support continued development of this project, please consider donating. Even a cup of coffee goes a
long way!BTC:1EYXU9PReWSA672y6sFpEdcopHMsx2yy6CLICENSEMIT LicenseCopyright (c) 2019 Tyvaughn HolnessPermission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Package: paxo
paxo: python ♡ terminalpaxois a small library that makes it fast and easy to create simple python command line tools.What is this?Withpaxoyou can quickly create terminal applications with python.
It handles a bunch of stuff in the background so that you do not need to worry about it.WhyYet Another Command Line Library?Well, for me paxo is not just a command line library managing your arguments and options but also managing everything related to those commands. It generates a quick info view of your commands and also provides a help command to learn more about each command.
I hope that in the Future it will be able to handle everything documentation, manage all application configuration and data and be fully customizable so that you can create your own themes for a terminal app.
If you just want a simple library to take care for shell arguments for you there are many other options available to you.InstallationIt's as simple as:$ pip install paxoUsagePaxo is really easy to use for anyone, whether you want to start quickly or customize your command line application to your own needs entirely. You can seepaxoin action with some of my side projects. (e.g.penorcomo).
You can find aminimalistic scriptthat makes use of this library inside the project's example folder:from paxo import Paxo
from paxo.command import cmd


@cmd(help='Print out a help message.')
def hello(args):
    print 'Hello World!'

app = Paxo('example', 'a Cecil Woebker project.', '<command>', '0.1')

if __name__ == '__main__':
    app.go()A simple command line call./example.py helloprints “Hello World!“. Take a look at the above screenshot for the accompanying info screen of the example.py command.AdvancedIf you want to know even more make sure to check out the source code or look at some of the projects I mentioned above.FeaturesMange commands, usage and help informationEasily map commands to python functionsDeclare a default actionDeclare a dynamic actionTODOAdditional decorator for dynamic/default actionRoute shell arguments to python functions automaticallyAutomatically create usage text from function signatureCleanup Command managementManage app configurationManage app dataLoose dependencies and become standaloneSupport for command line options (ala-o,-a,-u)Extended documentation feature - Create man pagesCross Platform supportAdditional decorator for OS supportCreate sphinx documentation for “paxo“Themes for “paxo“ - Design your own command line toolContributeBeware:I developed this mainly for my own projects. Unfortunately this tool is not yet as versatile as I would like
it to be. If you have any questions or would like some new features please let me know!Fork and contribute!For questions and suggestions, feel free to shoot me an email atme@cwoebker.com.Also, follow or tweet@cwoebker.Copyright (c) 2015-2018, Cecil Wöbker.
License: BSD (see LICENSE for details)
Package: paxos
This is a demo implementation of the Paxos algorithm implemented in Python.RequirementsPython 3Installpip install paxosImplementation NotesThe proposer, acceptor, and learner roles of the Paxos algorithm are
implemented in with classes that subclass from a commonAgentclass.Each role/agent is run in a separate process.Communication between processes occurs usingQueueobjects, so all
processes are run on the same machine.Paxos Made Simple states that “we require that different proposals have
different numbers.”  To achieve this, we start each proposer process’s
proposal number sequence equal to its own PID, and then increment the number
for each new proposal by the number of proposer processes in the system.
This also seems to be the method used in the “Paxos Made Live” paper by
Google employees.It is assumed that all processes in the system be considered members of the
system from the beginning, without needing to explicitly join the system by
getting a decree passed.ReferencesLamport’s first paper on the subject:The Part-Time ParliamentLamport’s later paper on Paxos, a simplified version of the first without any
Greek references:Paxos Made SimpleGoogle employees’ experience in building a Paxos implementation for Chubby:Paxos Made Live - An Engineering PerspectiveTODOAdd a collapsed version of the roles so that each process plays all of the
roles.Once we have a collapsed version, leaders should retry a client’s request
if they determine that the instance hasn’t been decided after some timeout
amount of time.  This should fix a couple issues:Learners are not able to determine whether or not there are more values
to learn (when it is the last value they are missing).Since leaders are currently remembering the original value of each
client request they propose, if a Proposer is asked to retry an
instance (e.g. from a Learner that is missing a value) then it is
possible that the value learned will be None in the situation where no
Acceptor has yet accepted a value in that instance (which means the
Proposer should specify the value, but since it is not remembering the
original values it just proposes None).When a learner asks a proposer to retry, the proposer shouldn’t retry if it
has already retried that proposal within a certain time period because
otherwise, by re-upping the proposal number it would be guaranteed to not
have a successful agreement in that instance it is retrying.With a consistent leader, only perform phase one once.
Package: paxplot
PaxplotPaxplot is a Python visualization library for parallel coordinate plots based on matplotlib.Check out ourhomepagefor more information.InstallationThe latest stable release (and required dependencies) can be installed from PyPI:pip install paxplotFor addition installation instructions, see theGetting Starteddocumentation.Reporting BugsPlease report all bugs usingissues.ContributingPaxplot welcomes contributions! Users familiar with matplotlib should have no problem using/contributing to this project.We recommend conda to manage environments and ensure consistent results. Downloadminicondaand ensure you can activate it from your terminal by running$ conda activateDepending on system configuration, this can be an involved process.Hereis a recommended thread.Clone the repository using$ git clone https://github.com/kravitsjacob/paxplot.gitChange to the current working directory using$ cd paxplotInstall the development environment$ conda env create -f environment.ymlActivate the environmnet$ conda activate paxplotInstall an editable version of paxplot$ pip install --editable .Paxplot uses test-driven development. All changes to Paxplot must pass the tests in thetestingfolder. All new features should have associated tests.