Saravanan666/pypi-org huggingface dataset:
Package: piran
PiRan: Random numbers based on Pi1. Disclaimer and licenseDisclaimerI use the word "random" for the data generated by this library. Thought, all of
this ismathematically false. So do not use this for any serious purpose.LicenseGNU LESSER GENERAL PUBLIC LICENSE
Version 3, 29 June 2007Copyright (C)  2007 Free Software Foundation, Inc.https://fsf.org/This program is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 3 of the License, or (at your option) any later version.This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Lesser General Public License for more details.You should have received a copy of the GNU Lesser General Public License
along with this program; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA, or seehttps://www.gnu.org/licenses/.2. Project overviewAuthor: FirefnixCoded in Python 3.8Licensed under LGPL-3-or-laterSource code:here3. Usage examplesTo build the digits calculator and compute:frompiranimportbuild,computebuild()# pi.c -> pi.socompute(10000)# Ten thousand digits!Note that this is only needed once. Ten thousand digits are usually computed in
less than a second.
Now we can really use the library:frompiranimportRandomr=Random()# Creates a cursor fileforiinrange(10):print("unsigned int:",r.uint(10),"\nsigned int:",r.sint(-10,10))r.close()# Deletes the cursor file4. ExplanationsI'm actually not very good at math. But we all know that:Pi is an irrationnal number. Thus, its decimals never repeat themselves.So I worked on the (mathematically false) assumption that if pi's decimals never
repeat themselves, then these decimals can be considered "random".
Package: pirate-chain-py
Python wrapped Pirate Chain RPC WalletInstall using pippip installpirate-chain-pyExampleFind your full node configuration file - ‘PIRATE.conf’.It should contain all the information to instanciate the wallet object.frompirate_chain_py.pirate_rpc_walletimportPirateWalletpw:PirateWallet=PirateWallet(ip='127.0.0.1',port='45453',username='user388885',password='pass388885')result:dict=pw.z_get_new_address()your_new_address:str=result['result']print(your_new_address)Learn morePirate Chain Website:https://pirate.blackKomodo Platform:https://komodoplatform.comPirate Blockexplorer:https://explorer.pirate.blackPirate Discord:https://pirate.black/discordSupport ping Mr_Idjit:https://pirate.black/discordAPI references & Documentation:https://docs.pirate.blackWhitepaper:Pirate Chain
WhitepaperLicenseMITFree Software, Hell Yeah!
Package: pirated-data
Pirated-DataInstall the package via pypipip install pirated-dataData provided for the user areFirst nameLast nameAgeMobile numberAadhar number ( unique identification number)Email-idUpi-IdUser IdPasswordPanCard IDPassport NumberDriving license numberRandom numberFinancial cardCard NumberCard Holder NameValidthruCvvPerson's Biological DataFirst nameLast nameGenderHair ColorDate of birthAgeEye ColorBlood groupWeightBody Skin ColorAddressFull NameState NameDistrict NamePirated-Data also supports generate sets of dataAddressFull NameState Name (India)District Name (India)Biological DetailsFull nameGenderHair ColorDate of birthAgeEye ColorBlood groupWeightBody Skin ColorImport to your python projectimport pirated_data as pdExample :import pirated_data as pd
x = pd.lastNameGenerator()
print(x)Check the below table for function list and use JavaScript functionFunction   NameJavaJavaScriptpythonfirstNameGenerator()YesYesyeslastNameGenerator()YesYesyesfullNameGenerator()YesYesyesmobileNumberGenerator()YesYesyesaadharNumberGenerator()YesYesyesemailIdGenerator()YesYesyesuserIdGenerator()YesYesyespasswordGenerator(int length)YesYesyesrandomNumberGenerator()YesNoNorandomNumberGenerator(int MaxNumber)YesYesNopanCardId()YesYesYesupiIdGenerator()YesYesYeshairColorGenerator()YesYesYesgenderGenerator()YesYesYesbirthDateTimeGenerator()YesYesNoeyeColorGenerator()YesYesYesbloodGroupGenerator()YesYesYesskinColorGenerator()YesYesYesweightGenerator()YesYesYesageCalculation()YesYesNopassportNumber()YesYesYesdrivinglicenseGenerator()NoYesNoBiologicalData()NoYesNostateGenerator()NoYesNodistGenerator()NoYesNoaddressGenerator()NoYesNofinancialCardGenerator()NoYesYeshugeAddressGenerator(desiredDataSetNumber)NoYesNohugeBiologicalDataGenerator(desiredDataSetNumber)NoYesNoNeed More featureIf you want to more feature of this package just create an issueHere.
Package: pirateplayer
PiratePlayerWhile there are other good software for audio playing, none of them works fully offline (mopidy) or doesn't natively support GPIO buttons (omxplayer): PiratePlayer to the rescue!HOW-TO usewhile browsing menu:press A to scroll uppress B to scroll downpress X to select current filepress Y to go backwhile playing:press A to stop and go back to menupress B to decrease volumepress X to play//pausepress Y to increase volumeHardware needsRaspberry pi, a cheap model like the zero-w works finePimoroni's pirate-audio hat, or hack together some DIY(optional) 3.7v LiPo + 5v regulator or something like a LiPo shimInstall depsInstall requirements forgstreamerandhifiberry dacthen make sure you have installed:gobject-introspection libgirepository1.0-dev libcairo2-devand enable GPIO SPI - checkRPiconfigif not sure howSetup dev environmentPiratePlayer runs with python >= 3.5$ virtualenv venv$ . venv/bin/activate$ pip3 install --editable .$ pirateplayerInstall as systemd service (from python module)install pirateplayer from piplaunch install.sh
Package: pirate.py
RequirementsThis module requires the following modules:requestsInstallationPython 3.8 or higher is required.To install the stable version, do the following:# Unix / macOSpython3-mpipinstall"pirate.py"# Windowspy-mpipinstall"pirate.py"To install the development version, do the following:$gitclonehttps://github.com/Infiniticity/pirate.pyLinksPirate MonkeynessDocumentation
Package: pirates
PiratesDjango app na uživatele, týmy a skupiny, s napojením na SSO.PoužitíSettingsPřidatpiratesdoINSTALLED_APPS.ModelyJsou k dipozici abstraktní modely pro uživatele, tým a organizační skupinu. Ty
lze doplnit o další fieldy specifické pro aplikaci. Příklad:fromdjango.dbimportmodelsfrompirates.modelsimportAbstractUserclassCustomUser(AbstractUser):is_friendly=models.BooleanField(default=True)A nezapomenout model pro uživatele nastavit v settings:AUTH_USER_MODEL="myapp.CustomUser"URLsURL patterns (v současné době pouze pro OpenID Connect) jsou definovány vpirates.urls. Stačí je připojit k URL patterns projektu:frompirates.urlsimporturlpatternsaspirates_urlpatternsurlpatterns=[# URL patterns projektu# ...]+pirates_urlpatternsSSO přes OpenID ConnectImplementaci OpenID zajišťuje knihovnamozilla-django-oidc.V settings projektu je třeba nastavit několik konfiguračních konstant a
autentifikační backend. Příklad settings (s využitímdjango-environ):fromos.pathimportjoinimportenvironenv=environ.Env()AUTHENTICATION_BACKENDS=["pirates.auth.PiratesOIDCAuthenticationBackend"]OIDC_RP_CLIENT_ID=env.str("OIDC_RP_CLIENT_ID")OIDC_RP_CLIENT_SECRET=env.str("OIDC_RP_CLIENT_SECRET")OIDC_RP_REALM_URL=env.str("OIDC_RP_REALM_URL")OIDC_RP_SIGN_ALGO="RS256"OIDC_OP_JWKS_ENDPOINT=join(OIDC_RP_REALM_URL,"protocol/openid-connect/certs")OIDC_OP_AUTHORIZATION_ENDPOINT=join(OIDC_RP_REALM_URL,"protocol/openid-connect/auth")OIDC_OP_TOKEN_ENDPOINT=join(OIDC_RP_REALM_URL,"protocol/openid-connect/token")OIDC_OP_USER_ENDPOINT=join(OIDC_RP_REALM_URL,"protocol/openid-connect/userinfo")URL patterns pro OpenID Connect už jsou součástípirates.urls(viz výše).Signál po přihlášeníPo přihlášení uživatele je poslán signálpirates.signals.post_logins
parametry:sender-PiratesOIDCAuthenticationBackenduser- přihlášený uživatel (instanceAUTH_USER_MODEL)created-True/Falsezda-li byl vytvořen nový uživatelrequest- instanceHttpRequest
Package: piraye
Piraye: NLP UtilsA utility for normalizing persian, arabic and english textsRequirementsPython 3.11+nltk 3.4.5+InstallationInstall the latest version with pippip install pirayeUsageCreate an instance of Normalizer with NormalizerBuilder and then call normalize function. Also see list of all available
configs inconfigssection.Using builder pattern:frompirayeimportNormalizerBuilderfrompiraye.tasks.normalizer.normalizer_builderimportConfigtext="این یک متن تسة اسﺘ       , 24/12/1400 "normalizer=NormalizerBuilder().alphabet_fa().digit_fa().punctuation_fa().tokenizing().remove_extra_spaces().build()normalizer.normalize(text)# "این یک متن تست است ، ۲۴/۱۲/۱۴۰۰"Using constructor:frompirayeimportNormalizerBuilderfrompiraye.tasks.normalizer.normalizer_builderimportConfigtext="این یک متن تسة اسﺘ       , 24/12/1400 "normalizer=NormalizerBuilder([Config.PUNCTUATION_FA,Config.ALPHABET_FA,Config.DIGIT_FA],remove_extra_spaces=True,tokenization=True).build()normalizer.normalize(text)# "این یک متن تست است ، ۲۴/۱۲/۱۴۰۰"Also seeother examplesConfigsConfigFunctionDescriptionALPHABET_ARalphabet_armapping alphabet characters to arabicALPHABET_ENalphabet_enmapping alphabet characters to englishALPHABET_FAalphabet_famapping alphabet characters to persianDIGIT_ARdigit_arconvert digits to arabic digitsDIGIT_ENdigit_enconvert digits to english digitsDIGIT_FAdigit_faconvert digits to persian digitsDIACRITIC_DELETEdiacritic_deleteremove all diacriticsSPACE_DELETEspace_deleteremove all spacesSPACE_NORMALspace_normalnormal spaces ( like NO-BREAK SPACE , Tab and etc...)SPACE_KEEPspace_keepmapping spaces and not normal themPUNCTUATION_ARpunctuation_armapping punctuations to arabic punctuationsPUNCTUATION_Fapunctuation_famapping punctuations to persian punctuationsPUNCTUATION_ENpunctuation_enmapping punctuations to english punctuationsOther attributes:remove_extra_spaces : append multiple spaces togethertokenization : replace punctuation characters that just are tokensDevelopmentInstall dependencies withpip install -e .[dev]LicenseGNU Lesser General Public License v2.1Primarily used for software libraries, the GNU LGPL requires that derived works be licensed under the same license, but
works that only link to it do not fall under this restriction. There are two commonly used versions of the GNU LGPL.SeeLICENSEAbout ️Arusha
Package: pir-client
Invest PIR API ClientClient for the PIR service (yet to be deployed)Examplefrom pir_client.client import PIRAPIClient

client = PIRAPIClient(
    base_url=settings.PIR_API_URL,
    api_key=settings.PIR_API_KEY
)

# Creates report and sends email
client.create_report({
    'name': 'test',
    'sector': 'tech',
    'market': 'usa',
    'company': 'Acme',
    'email': 'foo@acme.com'
})Installpip install invest-pir-api-client
Package: pire
Python Interactive Regular ExpressionPIRE is an interactive command-line interface allowing you to edit regexes live and see how your
changes match against the input you specify.InstallationThrough PyPI:$ pip install pireOr from the project root directory:$ python setup.py installCLI UsageUse –help/-h to view info on the arguments:$ pire --helpRun pire against a text file:$ pire application.logRegexes used will be cached to a file in the present directory namedregex.pire.Pass a custom newline-delimited file with regexes:$ pire -r app.pire application.logPass multiple files:$ pire -r app.pire application.log application.log.1 application.log.2Or:$ pire -r app.pire application.log*HotkeysReleases0.2.0:added several hotkeys for navigationimproved performance0.1.1:fixed bug with missing regex.pire file and output display0.1.0:curses interface implemented0.0.1:Project created
Package: pireal
πirealis a teaching tool for use in learning introduction to database. It allows the user to interactively experiment with Relational Algebra.Home PageIn actionPlatformsGNU/LinuxWindowsMac OS XRequirements to run/install from sourcePython 3PyQt5Implemented OperatorsThe operations are implemented inrelation.py.OperatorSupportedSelection:heavy_check_mark:Projection:heavy_check_mark:Rename:x:Product:heavy_check_mark:Union:heavy_check_mark:Difference:heavy_check_mark:Intersection:heavy_check_mark:Natural Join:heavy_check_mark:Left Outer Join:heavy_check_mark:Right Outer Join:heavy_check_mark:Full Outer Join:heavy_check_mark:Division:x: (Can be expressed using relational operators)DonateI have developed Pireal with a lot of :heart:, I hope it is useful.You can donate any amount that you think Pireal deserves.
Package: pirebok
pîrebok (from Kurdish "witch") - a guided adversarial fuzzerDocumentation:https://dogancanbakir.github.io/pirebokGitHub:https://github.com/dogancanbakir/pirebokPyPI:https://pypi.org/project/pirebok/Free software: MITFeaturesRandom generic fuzzer w/ multiple transformersRandom sql fuzzer w/ multiple transformersGuided random sql fuzzer w/ multiple transformers andmetamaskaCreditsCookiecutterwaynerv/cookiecutter-pypackageML-based-WAFWAF-A-MoLE
Package: pirec
Pirec is a Python package for wrapping scripts so that their inputs and
outputs are preserved in a consistent way and results are recorded.Examplefrompirecimportcall,record,pipelinefrompirec.artefactsimportTextFile@record()defpipeline_stage_1(f):call(['/bin/cat',f.filename])@record()defpipeline_stage_2(f):call(['/bin/cat',f.filename])defmy_pipeline(file1,file2):pipeline_stage_1(file1)pipeline_stage_2(file2)defexample_pipeline():pipeline.run('example',my_pipeline,'/my/data/directory',TextFile('month00/data.txt'),TextFile('month12/data.txt'))if__name__=='__main__':example_pipeline()Installationpip install pirecRequirementsPirec is tested with Python v2.7 - 3.6.  Use of the MongoDB or SQLDatabase
result recorders requires the installation of thepymongoorsqlalchemymodules as appropriate.  Depending on your database SQLAlchemy may require
additional support libraries to be installed.DocumentationFull documentation is hosted onRead the Docs.ContributeIssue Tracker:github.com/jstutters/pirec/issuesSource Code:github.com/jstutters/pirecSupportIf you are having problems, please let me know by submitting an issue in the tracker.
Package: pirev
pirevA tiny, zero-dependency utility providing hardware revision information for Raspberry Pi devices. All information is parsed from the device'srevision codelocated in/proc/cpuinfo.Installationpip install pirevUsagefrom pirev import getInfo

info = getInfo()

print('Raspberry Pi {type}'.format(type=info['revision']['type']))Error handlingRunning the utility on a device which isnota Raspberry Pi will result in an error being raised.try:
  info = getInfo()
  print('Raspberry Pi {type}'.format(type=info['revision']['type']))
except ReferenceError:
  print('Not a Raspberry Pi device!')
Package: pirg
PiRG - Pip Requirements GeneratorDescriptionPiRG(Pip Requirements Generator) is a minimalist command-line tool designed for Python developers who prefer a simple approach to managing project dependencies. Unlike traditional requirements files that include all installed packages and their dependencies, PiRG focuses on capturing only the primary packages you install usingpip install. This makes yourrequirements.txtfile concise and easier to manage.With PiRG, you can also pass additionalpip installorpip uninstalloptions to customize package installation and removal.PhilosophyInstead of looking back and searching through project files which packages are needed for project, with PiRG you record each installed package. If you don't want to put some package intorequirements.txtjust usepip.InstallationPrerequisitesBefore usingpirg, make sure you have Python 3.8 or higher installed on your system.Installation StepsInstallpirgusing pip:pip install pirgVerify the installation by running:pirg --helpYou're ready to usepirg!Usageinstall - Add package to environment andrequirements.txtuninstall - Remove package from environment andrequirements.txtsearch - Search PyPI for packageAcknowledgments & LicenseThis project makes use of the following third-party libraries, each with its own licensing terms:Typer(MIT License)Requests(Apache License 2.0)packaging(Apache License 2.0)fuzzywuzzy(GPL-2.0 License)BeautifulSoup(MIT License)Additionally, this project contains code under theGPL-2.0 LicenseContributionsContributions topirgare welcome! If you encounter any issues or have suggestions for improvements, please open an issue or submit a pull request on theGitHub repository.
Package: piroattack
PiroAttack 🔒⚠️ THIS PROJECT IS NO LONGER MAINTAINED ⚠️PiroAttack is a Python 3 app designed forSECURITY TESTING PURPOSES ONLY!🛡️ It leverages the HTTP Keep Alive + NoCache attack vector for HTTP DoS testing.InstallationpipinstallpiroattackUsagepiroattack<url>[OPTIONS]Options:-u, --useragentsFile with user-agents to use (default: randomly generated)-w, --workersNumber of concurrent workers (default: 50)-s, --socketsNumber of concurrent sockets (default: 30)-m, --methodHTTP Method to use 'get' or 'post' or 'random' (default: get)-d, --debugEnable Debug Mode [more verbose output] (default: False)-n, --nosslcheckDo not verify SSL Certificate (default: True)-h, --helpShows this helpUtilitiesutil/getuas.py- Fetches user-agent lists fromuseragentstring.comsubpages. (REQUIRES BEAUTIFULSOUP4)res/lists/useragents- Text lists (one per line) of User-Agent strings (fromuseragentstring.com)Changelog 📆2016-02-06:Added support for not verifying SSL Certificates2014-02-20:Added randomly created user agents (still RFC compliant).2014-02-19:Removed silly referers and user agents. Improved randomness of referers. Added external user-agent list support.2013-03-26:Changed from threading to multiprocessing. Still has some bugs to resolve like I still don't know how to properly shut down the manager.2012-12-09:Initial releaseTo-do 📝Change from getopt to argparseChange from string.format() to printf-likeLicense 📜This software is distributed under the GNU General Public License version 3 (GPLv3).LEGAL NOTICE ⚖️THIS SOFTWARE IS PROVIDED FOR EDUCATIONAL USE ONLY! IF YOU ENGAGE IN ANY ILLEGAL ACTIVITY, THE AUTHOR DOES NOT TAKE ANY RESPONSIBILITY FOR IT. BY USING THIS SOFTWARE, YOU AGREE WITH THESE TERMS.🚀Author:HK4CRPRASAD📬Telegram:t.me/hk4crprasad
Package: pirobot
pirobot 🤖Telegram Auto Reply Bot When Offline 📱Installation🚀 Install pirobot usingpip:pipinstallpirobot📝 Make sure you have Python 3 installed.Usage🚀 After installation, you can run the bot using:pirobot-r🤖 The bot will prompt you for your API credentials and debug mode on the first run.✔️ Subsequent runs will use the existing configuration stored inconfigs.json.Features📬 Sends auto-reply messages when the user is offline.🎮 Optional guessing game feature.Configuration🛠️ Configuration details are stored inconfigs.json.🚫 To reset configuration, deleteconfigs.jsonand run the bot again.Contribution🤝 Contributions are welcome! Feel free to submit issues or pull requests.LicenseThis project is licensed under the MIT License - see theLICENSE.txtfile for details.Made with ❤️ byHKCRPRASAD
Package: pi-robot-hat
Pi Robot HatModules for controlling the Adeept Robot Hat.InstallationInstall this via pip (or your favourite package manager):pip install pi-robot-hatContributors ✨Thanks goes to these wonderful people (emoji key):This project follows theall-contributorsspecification. Contributions of any kind welcome!CreditsThis package was created withCookiecutterand thebrowniebroke/cookiecutter-pypackageproject template.
Package: pirouette
loading animation for cli appsInstall (automatic)$ pip install pirouetteInstall (manual)$ git clone
$ cd pirouette
$ python setup.py installUsage>>frompirouette.coreimportSpinner>>Spinner().spin()⠏>>Spinner().spin(color='red')⠏>>Spinner().spin(color='yellow',shape='clock')🕐LicenseMIT
Package: pir-processing
pir-processingPython tools for reading the binary information inside ARTA's .pir files. It's implemented with multiprocessing, in order to leverage multi-core processors and handle large amounts of files.Installationpip install pir-processingRequirementspython >=3.8,<3.10UsageSingle fileIn order to transform a single PIR file to .txt, run the tool as follows:python -m pir_processing --file PATH_TO_THE_PIR_FILE [--csv]where you need to replacePATH_TO_THE_PIR_FILEwith the path to your god forsaken PIR files.The--csvflag lets you transform them to CSV instead, which includes a synthetic time axis starting at 0 seconds.Multiple filesIn order to transform a series of PIR files to .txt, run the tool as follows:python -m pir_processing --directory PATH_TO_YOUR_PIR_FILES [--csv]where you need to replacePATH_TO_YOUR_PIR_FILESwith the path to your god forsaken PIR files.The--csvflag lets you transform them to CSV instead, which includes a synthetic time axis starting at 0 seconds.The output files are saved in the same directory that was passed as input.
Package: pirsa-dl
pirsa-dlSimple downloader to get individual videos and collections from pirsa.org in pythonusage: pirsa-dl.py [-h] ID

Simple downloader to get individual videos and collections from pirsa.org in python

positional arguments:
  ID          A video ID or collection ID (starting with a C) from pirsa.org

optional arguments:
  -h, --help  show this help message and exit
Package: pis
![alt text](https://travis-ci.org/xliiv/pis.svg?branch=travis)[![Coverage Status](https://coveralls.io/repos/github/xliiv/pis/badge.svg)](https://coveralls.io/github/xliiv/pis)# pis (Pis Installs Sources)pis: Install python package as cloned repo from guessed VCS (git, hg, etc.)repository.## Example:```$ pis requestsTODO Rest of content```## Installation`pip install pis`## TODO:* install package from tag, like `pis requests==2.7.0`## Credits* thanks to [ar4s](https://github.com/ar4s "ar4s") for great idea of getting config directly from master branch
Package: pisat
pisatOverviewpisat はロボットや IoT 機器を製作するための Python フレームワークです．
現時点では Raspberry Pi の GPIO のみ対応しています．
詳細は開発者用ドキュメントを参照してください．Examples応用例はsampleを参照してください．Installationpip または pipenv を用いてインストール可能です．
ただし，Rapsberry Pi 以外のデバイスでインストールした場合には
Raspberry Pi でのみ動作可能なミドルウェアはインストールされないので注意してください．$ pip insatll git+https://github.com/jjj999/pisat.git$ pipenv install git+https://github.com/jjj999/pisat.git#egg=pisatDeploy Developing Environment開発環境をデプロイする場合は，リポジトリをクローン後にリポジトリのルート上で$ pipenv installを実行してください．
環境の詳細は開発者用ドキュメントを参照してください．Documentationpisat に関するドキュメントや API はdocsを参照してください．
ただし，サブパッケージによってはドキュメントの整備が追いついていない可能性があります．
Package: pisces
PiscesPisces is a Python library that connects your geophysical analysis environment
to a SQL database that uses the Center for Seismic Studies (CSS) 3.0 or NNSA KB
Core table schema.Documentation:https://lanl-seismoacoustics.github.io/piscesRepository:https://github.com/lanl-seismoacoustics/pisces/FeaturesImport/export waveforms directly to/from your database.Build database queries using Python objects and methods
(SQLAlchemy), not by concatenating SQL strings.Integration withObsPy.Geographic filtering of results.InstallationRequires:ObsPyClickC compiler (for optionale1dependency)Install fromPyPI:pip install piscesIf you use "e1" format data, you also need to install thee1package:pip install e1You can install them both at the same time with:pip install pisces[e1]Install current master from GitHub:pip install git+https://github.com/LANL-Seismoacoustics/pisces