Saravanan666/pypi-org huggingface dataset:
Package: ponddy-email-notification
Ponddy Email NotificationPonddy email notification package.InstallationInstall withpippip install ponddy-email-notificationAdd this app toINSTALLED_APPSinsettings.pyINSTALLED_APPS=[...'email_notifications',]UsageMigrate databasepython manage.py migrateConfig email insettings.pycheck this atDjango DocsSetup urls inurls.pyfromdjango.urlsimportpathfromemail_notifications.viewsimportUnsubscribeView,UnsubscribeDoneViewurlpatterns=[...path('unsubscribe/<uuid:uuid>/',UnsubscribeView.as_view(),name='unsubscribe',),path('unsubscribe/done/',UnsubscribeDoneView.as_view(),name='unsubscribe_done',),]Now you can send email notification with admin!!!Also we support django template, your can get user withuserand unsubscribe link withunsubscribe_link, for exampleSubject -> 'Hi, {{ user.username }}
Message -> '............ unsubscribe with: {{ unsubscribe_link }}'
HTML message -> '........... <a href="{{ unsubscribe_link }}">Click here to unsubscribe</a>'CustomizationIf you want to custom unsubscribe url name (default isunsubscribe), addUNSUBSCRIBE_URLinsettings.pyUNSUBSCRIBE_URL='{{ your unsubscribe url name }}'If you want to custom unsubscribe done url name (default isunsubscribe_done), config it in.as_view()functionUnsubscribeView.as_view(success_url='{{ your unsubscribe done url name }}')If you want to custom templates, config it in.as_view()functionUnsubscribeView.as_view(template_name='{{ your template name}}')UnsubscribeDoneView.as_view(template_name='{{ your template name}}')ExampleIf you want to send notification with python scriptfromdjango.contrib.authimportget_user_modelfromemail_notifications.modelsimportNotificationfromemail_notifications.servicesimportsend_notificationUser=get_user_model()notification=Notification.objects.create(subject='Hi, {{ user.username }}',message='............ unsubscribe with: {{ unsubscribe_link }}',html_message='........... <a href="{{ unsubscribe_link }}">Click here to unsubscribe</a>',)notification.users.add(User.objects.all())# We will automatic exclude user, if unsubscribe or no email.send_notification('http://127.0.0.1:8000',notification)or in viewfromdjango.contrib.authimportget_user_modelfromdjango.httpimportHttpResponsefromemail_notifications.modelsimportNotificationfromemail_notifications.servicesimportsend_notificationUser=get_user_model()defexample_view(request):notification=Notification.objects.create(subject='Hi, {{ user.username }}',message='............ unsubscribe with: {{ unsubscribe_link }}',html_message='........... <a href="{{ unsubscribe_link }}">Click here to unsubscribe</a>',)notification.users.add(User.objects.all())# We will automatic exclude user, if unsubscribe or no email.send_notification(request.build_absolute_uri('/'),notification)returnHttpResponse('ok')
Package: pong-arcade
pong-arcadePong written using pygameAbout The ProjectThis executable program is an implementation ofPong, originally developed and released byAtariin 1972. This was created usingPygameand hand-maderesources.PlayInstallpipinstallpong-arcadeDue toPEP 668compliance,pip, on some systems, may throw theexternally-managed-environmenterror upon runninginstall. In which case, the following is recommended:pipxinstallpong-arcadeRunpongControlsMenuEscQuitCControls1Select first menu option2Select second menu option3Toggle third menu optionIn-GameMovementW/IMove upS/KMove downPlayer1 may use either control scheme in single-player games.Pause/QuitP/QPause the gameM/ZExit to menuLicenseDistributed under the MIT License. SeeLICENSEfor more information.Project LinksGithub -jacob-thompson/pong-arcadePyPI -pong-arcadeContactJacob Alexander Thompson -jacobalthompson@gmail.com
Package: ponghat
|Cisco Logo| PongHAT====================|License| |Version|PongHAT is a Pong game running on a Raspberry Pi 3 using functionalitiesfrom the Sense HAT... raw:: html<p align="center">.. raw:: html</p>This game offers two modes:-  A first one, available during the first two levels where the playerplays against a wall.-  A second, from the third level, allowing artificial intelligence (AI)to appear in the game, increasing the similarities with thetraditional pong game.**NOTE:** the speed of the game gradually increases with each game.Similarly, it increases as you move to the next level.--------------Installation~~~~~~~~~~~~It’s as simple as that:::pip install ponghat--------------Usage~~~~~After being connected to the Raspberry using the Sense HAT and installed``ponghat``, execute the following command to start a game:::ponghatAlternatively you can run this tool using Docker:.. code:: bash# Build the imagedocker build -t ponghat .# Run the imagedocker run -v $(pwd):/app ponghat python ponghat.py**NOTE:** if you don’t have any Sense HAT, you can use a `Sense HATemulator <https://trinket.io/sense-hat>`__.--------------Contributions~~~~~~~~~~~~~There are many ways to contribute. For example, by submitting a bug byopening an issue in the issue tracker, or by making a pull request.Ideas that can be implemented is adding particles, refactoring code,etc.--------------License~~~~~~~Code is under the `MITLicense <https://github.com/rememberYou/pypong/blob/master/LICENSE>`__... |Cisco Logo| image:: assets/logo.png.. |License| image:: https://img.shields.io/badge/License-MIT-green.svg.. |Version| image:: https://img.shields.io/badge/version-1.0.1-blue.svg
Package: pong-loading-bar
Pong Loading BarPong Loading Bar is a Python package that simulates a loading bar using the game Pong.InstallationYou can install Pong Loading Bar using pip:pip install pong-loading-barjavascript
Copy codeUsageTo use Pong Loading Bar in your Python code, simply import thepong_loading_barfunction from thepong_loading_barmodule and call it with the desired wait time and total steps:frompong_loading_barimportpong_loading_barpong_loading_bar(wait_time=0.05,total_steps=200)Thewait_timeparameterspecifiesthenumberofsecondstowaitbetweeneachstepoftheloadingbaranimation.Thetotal_stepsparameterspecifiesthetotalnumberofstepsintheloadingbaranimation.CreditsThispackagewascreatedbyYourName.LicensePongLoadingBarislicensedundertheMITLicense.SeetheLICENSEfileformoreinformation.ContributingIfyou'd like to contribute to Pong Loading Bar, you can:ReportabugSuggestafeatureSubmitapullrequestWhencontributingcode,pleasemakesureto:WritetestsforyourcodeFollowthePEP8styleguideDocumentyourcodeusingDocstringsUseGitcommitconventionsVersionHistory1.0.0(2023-05-05):Initialrelease
Package: poni
OverviewPoni is a simple system configuration management tool implemented inPython.General Informationdocumentation:http://melor.github.com/poni/source repo:https://github.com/melor/ponipypi:http://pypi.python.org/pypi/poniemail:mika dot eloranta at gmail dot combug tracker:https://github.com/melor/poni/issuesPre-requisitesInstalling and operating Poni requires:Python2.6 (or greater)setuptoolsinstalledInternet connection for downloading the dependency Python packages fromPyPIUsing Amazon EC2 requires setting the following environment variables:export AWS_ACCESS_KEY_ID=<your aws access key>
export AWS_SECRET_ACCESS_KEY=<your aws secret access key>Additionally, running the included automated tests requires:noseBuilding HTML files from the includedReSTdocumentation requires:docutilsSphinxInstallationNOTE: during installation the following packages and their dependencies are
automatically installed fromPyPI:path.py(directory and file management)Cheetah(text-based templating language)Argh(command-line argument parsing)Installing the following Python libraries will add optional functionality:Paramiko(Remote node control using SSH)GitPython(Version controlling the repository with Git)Boto(Amazon EC2virtual machine provisioning)Genshi(XML-based templating)Installation using pip or easy_installPoni can be installed from Python Package Index (PyPI) by runningpip install ponioreasy_install poni.Manual Installation stepsUnpack theponi-v.vv.tar.gzpackagecdponi-v.vv/python setup.py installVerifying the installationYou should be able toimport ponifrom PythonTheponicommand-line tool is installed (to a platform-specific location),
try runningponi-hfor helpRunning automated tests:cdponi-v.vv/&& nosetestsUsagePlease refer to the documentation under thedoc/directory
(published athttp://melor.github.com/poni/) and to the example systems under theexamples/directory.License (MIT)Copyright (c) 2010 Mika Eloranta

Permission 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: ponio
poniois aPythonlibrary for study of numerical integrators for
solve linear transport equation :u_t + u_x = 0In time we consider only Runge-Kutta methods, of different order and
number of stages. In space we consider first WENO methods, in particular
WENO5, but tools develop here can be use in many linear space schemes.
We can automatically compute CFL number of some couple of RK(s,n) -
WENO5, and various other type of couple.
Package: ponomarenko
Ponomarenko: noise curve estimation from a single imagePython bindings for Miguel Colom's implementation of the Ponomarenko et al.
method.Version 0.0.4 -- March 23, 2020By Charles Hesselcharles.hessel@ens-paris-saclay.frThe C++ code used in this repository has been peer-reviewed as part of the IPOL
publication:Miguel Colom, and Antoni Buades, Analysis and Extension of the Ponomarenko et
al. Method, Estimating a Noise Curve from a Single Image, Image Processing On
Line, 3 (2013), pp. 173–197.https://doi.org/10.5201/ipol.2013.45InstallationRunpip install -e .from the directory wheresetup.pyis located.UsageAs a Python modulefromponomarenkoimportestimate_noisebins,noise_std=estimate_noise(image)The method estimates the standard-deviation of the noise (innoise_std) in
different intensity bins, which centers are given in the first outputbins.
Package: ponponon
ponpononIntroduceponponon(pon) an advanced message queue framework, derived fromnameko⭐️ 🌟 ✨ ⚡️ ☄️ 💥InstallationPackage is uploaded on PyPI.You can install it with pip:pipinstallponpononRequirementsPython -- one of the following:CPython : 3.8 and newer ✅PyPy : Software compatibility not yet tested ❓FeaturesSupport for concurrent processes: eventlet, geventSupport amqp protocolSupport for http protocolSupport for grpc protocolSupport typing hints, like FastapiCreate itfromtypingimportOptionalfromloguruimportloggerfrompon.events.entranceimportevent_handlerclassDNACreateService:name='dna_create_service'@event_handler(source_service='ye',event_name='take')defauth(self,src_dna:str,content_type:Optional[str]=None)->None:logger.debug(f'src_dna:{src_dna}')@event_handler(source_service='ye',event_name='to_decode')defdecode(self,src_dna:str)->None:logger.debug(f'src_dna:{src_dna}')classSampleSearchService:name='sample_search_service'@event_handler(source_service='ye',event_name='take')defsearch(self,url:str)->None:logger.debug(f'url:{url}')Run itponrun--configconfig.yamlservicesCheck itResourcesLicensepon is released under the MIT License. See LICENSE for more information.
Package: pons.py
pons.pyAn API wrapper for the PONS dictionary written in PythonInstallation$pipinstallpons.pyUsagefromponsimportClientpons=Client("YOUR_SECRET")# see PONS API reference# get dictionaries# params: language (de|el|en|es|fr|it|pl|pt|ru|sl|tr|zh)dictionaries=pons.get_dictionaries("en")# returns a list of Dictionary objects# get translations# required params: term, dictionary, source language# optional params: output language, fuzzy (bool), references (bool)entries=pons.query("term","deen","en")["en"]# returns a list of EntryHit objectsentries[0].translations# returns a list of translations (strings)ReferencesPONS API ReferenceAPI Documentation
Package: ponstar
ponstarponstar - A simple controller for  PON Optical Line Terminals (OLTs) that support the VOLTHA project's Openolt api.Install ponstar in a Python virtual environment$ virtualenv myenv
.. some output ..

$ source myenv/bin/activate
(myenv) $ pip install ponstarCheck ponctl is installed$ which ponctl
...myenv/bin/ponctlponctl help$ ponctl --help
Usage: ponctl [OPTIONS] COMMAND [ARGS]...

  ponctl - Command-line utility for managing PON whiteboxes

  Options:
    --help  Show this message and exit.

    Commands:
      devinfo  Get device info from OLT_HOST_PORT.
        ind      Get device info from OLT and, optionally, send them to Kafka...Use ponctl to display OLT device info$ ponctl devinfo 10.90.0.114:9191
vendor: "EdgeCore"
model: "asfvolt16"
firmware_version: "BAL.2.6.0__Openolt.2018.10.04"
...Use ponctl to display streaming indications from OLT$ ponster ind 10.90.0.114:9191
2019-06-10 15:03.07 Southbound Grpc Rx
2019-06-10 15:03.07 Indications initialized
2019-06-10 15:03.07 openolt grpc starting
2019-06-10 15:03.07 openolt grpc started
waiting for indication...
olt_ind {
  oper_state: "up"
  }
  waiting for indication...
...If running a local kafka broker, check indications on kafka bus:confluent-kafka/consumer.py localhost:9092 foo openolt.ind-10.90.0.114Developgit clone git@github.com:shadansari/openolt.git
cd ponstar 
pipenv shell
pipenv install -e .Rebuild protobufs if changed:make protos
Package: ponster
ponsterponster - A simple controller for  PON Optical Line Terminals (OLTs) that support the VOLTHA project's Openolt api.InstallInstall and start Confluent KafkaInstall ponsterpip install ponsterDevelopgit clone git@github.com:shadansari/openolt.git
cd ponster 
pipenv shell
pipenv install
make protosTestStart ponsterponster <olt ip address>Read openolt indications from kafkaconfluent-kafka/consumer.py localhost:9092 foo openolt.ind-<olt ip address>
Package: ponstrans
ponstransUnofficial client for PONS online dictionaryDescriptionTranslates words scrapinghttps://en.pons.com/in the background.Supported languages:"ar": "Arabic",
"bg": "Bulgarian",
"zh": "Chinese",
"nl": "Dutch",
"en": "English",
"fr": "French",
"de": "German",
"el": "Greek",
"it": "Italian",
"la": "Latin",
"pl": "Polish",
"pt": "Portuguese",
"ru": "Russian",
"sl": "Slovenian",
"es": "Spanish",
"tr": "Turkish",
"cs": "Czech",
"da": "Danish",
"hu": "Hungarian",
"no": "Norwegian",
"sv": "Swedish",
"lb": "Elvish"Installationpip install ponstransUsage>>> from ponstrans import translate
>>> translations = translate(word="hallo", source_language="de", target_language="en")
>>> translations[:2]
[{'source': 'hallo', 'target': 'hello'}, {'source': 'hallo (zur Begrüßung)', 'target': 'hi'}]NoteThe performance is quite bad because it scrapes the whole
html page in the background. Use the official (paid) API for better performance:https://en.pons.com/p/online-dictionary/developers/api
Package: ponte
ponteA mini-library to process arrays to .json files and viceversa. Developed to pass arrays between Python and C++ through the use of json DOK files.InstallationpipinstallponteContributorsAndrew Garcia- creator and maintainerContributingFork it (https://github.com/your-github-user/tensorscout/fork)Create your feature branch (git checkout -b my-new-feature)Commit your changes (git commit -am 'Add some feature')Push to the branch (git push origin my-new-feature)Create a new Pull RequestUsage ExampleFor full application, i.e. passing array structures between Python and C++ code, seebridgeimportponteasbridgeimportnumpyasnp'CREATE A 1-D VECTOR'X=np.random.choice([0,1,2,3],10,p=[0.7,0.1,0.1,0.1])'pack vector to .json file'bridge.tojson('sample.json',X)'PROCESS JSON FILE BACK TO VECTOR'array_form=bridge.jsonload('sample.json')'print vector'print('array:\n',array_form)'''array to DOK:{"map": [[1],[4],[5],[8],[9]],"value": [2, 3, 2, 2, 2],"odims": [10]}DOK to array:[0. 2. 0. 0. 3. 2. 0. 0. 2. 2.]'''
Package: pontiPy
ï»¿pontiPy: A Python Library for Map Comparison Metrics in a Cross-TabÂ Matrix
Latest Version: 3.0
Latest Update: October 2021
Python Version: 3.7Dependencies & UsageDownload: pip install -ihttps://test.pypi.org/simple/pontiPy==3.0Required libraries for pontiPy usageimportpandasaspdfrompontiPyimportpontiPyCreating a Dataframe from an inputted Sample & Loading the pontiPy packagedf=pd.read_csv('sample.csv',index_col=0)display(df)pontipy_df=pontiPy(df)Further Information & ContactLibrary Information:Priyanka Verma,prverma@clarku.eduPriscilla Ahn,pahn@clarku.eduMetric Methodolgy:Robert (Gil) Pontius,rpontius@clarku.eduSee Metrics that Make a Difference, Chapter 4Link to Chapter 4AcknowledgementsDr. Robert Gilmore Pontius Jr created the first version of this workbook in 2001. Pontius has revised this workbook several times, and each revision has a larger number for the suffix of the filename. Pontius created version 42 in 2019.Visitwww.clarku.edu/~rpontiusfor publications on this workbook's methods. Specificaly, see:
Pontius Jr, Robert Gilmore and Ali Santacruz. 2014. Quantity, Exchange and Shift Components of Differences in a Square Contingency Table. International Journal of Remote Sensing 35(21): 7543-7554.Pontius Jr, Robert Gilmore. 2019. Component intensities to relate difference by category with difference overall. International Journal of Applied Earth Observations and Geoinformation 77: 94-99.Pontius Jr, Robert Gilmore and Marco Millones. 2011. Death to Kappa: birth of quantity disagreement and allocation disagreement for accuracy assessment. International Journal of Remote Sensing 32(15): 4407-4429.Aldwaik, Safaa Zakaria, Jeffrey A Onsted, and Robert Gilmore Pontius Jr. 2015. Behavior-based aggregation of land categories for temporal change analysis. International Journal of Applied Earth Observation and Geoinformation 35(Part B): 229-238.
Package: pontis
Pontis OracleAboutFor more information, see the project's repositoryhere.UsagePublishing a Price FeedFirst, please register with the Pontis team. Currently being a data publisher is permissioned, while we build out the safeguards that will allow us to enable anyone to be a data publisher in the future. Reach out to @JonasNelle on Telegram to inquire about becoming a data publisher.Once you have chosen your publisher_id and have a public/private key pair that is registered, you can start publishing prices!Simply install this package and run:from pontis.core.entry import construct_entry
from pontis.publisher.client import PontisPublisherClient

client = PontisPublisherClient(private_key, publisher_address)
entry = construct_entry(key, value, timestamp, publisher)
client.publish(entry)
Package: pontos
Pontos - Greenbone Python Utilities and ToolsThepontosPython package is a collection of utilities, tools, classes and
functions maintained byGreenbone.Pontos is the German name of the Greek titanPontus,
the titan of the sea.Table of ContentsDocumentationInstallationRequirementsInstall using pipxInstall using pipInstall using poetryDevelopmentMaintainerContributingLicenseDocumentationThe documentation for pontos can be found athttps://greenbone.github.io/pontos/. Please refer to the documentation for more details as this README just gives a short overview.InstallationRequirementsPython 3.9 and later is supported.Install using pipxYou can install the latest stable release ofpontosfrom the Python
Package Index (pypi) usingpipxpython3 -m pipx install pontosInstall using pip[!NOTE]
Thepip installcommand does no longer work out-of-the-box in newer
distributions like Ubuntu 23.04 because ofPEP 668.
Please use theinstallation via pipxinstead.You can install the latest stable release ofpontosfrom the Python
Package Index (pypi) usingpippython3 -m pip install --user pontosInstall using poetryBecausepontosis a Python library you most likely need a tool to
handle Python package dependencies and Python environments. Therefore we
strongly recommend usingpoetry.You can install the latest stable release ofpontosand add it as
a dependency for your current project usingpoetrypoetry add pontosDevelopmentpontosusespoetryfor its own dependency management and build
process.First install poetry via pipxpython3 -m pipx install poetryAfterwards runpoetry installin the checkout directory ofpontos(the directory containing thepyproject.tomlfile) to install all dependencies including the packages only
required for development.Afterwards activate the git hooks for auto-formatting and linting viaautohooks.poetry run autohooks activateValidate the activated git hooks by runningpoetry run autohooks checkMaintainerThis project is maintained byGreenbone AGContributingYour contributions are highly appreciated. Pleasecreate a pull requeston GitHub. Bigger changes need to be discussed with the development team via theissues section at GitHubfirst.LicenseCopyright (C) 2020-2024Greenbone AGLicensed under theGNU General Public License v3.0 or later.
Package: pony
AboutPony ORM is easy to use and powerful object-relational mapper for Python.
Using Pony, developers can create and maintain database-oriented software applications
faster and with less effort. One of the most interesting features of Pony is
its ability to write queries to the database using generator expressions.
Pony then analyzes the abstract syntax tree of a generator and translates it
to its SQL equivalent.Following is an example of a query in Pony:select(p for p in Product if p.name.startswith('A') and p.cost <= 1000)Such approach simplify the code and allows a programmer to concentrate
on the business logic of the application.Pony translates queries to SQL using a specific database dialect.
Currently Pony works with SQLite, MySQL, PostgreSQL and Oracle databases.The packagepony.orm.examplescontains several examples.Installationpip install ponyEntity-Relationship Diagram EditorPony online ER Diagram Editoris a great tool for prototyping.
You can draw your ER diagram online, generate  Pony entity declarations or SQL script for
creating database schema based on the diagram and start working with the database in seconds.Pony ORM Links:Main site:https://ponyorm.comDocumentation:https://docs.ponyorm.comGitHub:https://github.com/ponyorm/ponyMailing list:http://ponyorm-list.ponyorm.comER Diagram Editor:https://editor.ponyorm.comBlog:https://blog.ponyorm.com
Package: pony2
AboutPony ORM is easy to use and powerful object-relational mapper for Python.
Using Pony, developers can create and maintain database-oriented software applications
faster and with less effort. One of the most interesting features of Pony is
its ability to write queries to the database using generator expressions.
Pony then analyzes the abstract syntax tree of a generator and translates it
to its SQL equivalent.Following is an example of a query in Pony:select(p for p in Product if p.name.startswith('A') and p.cost <= 1000)Such approach simplify the code and allows a programmer to concentrate
on the business logic of the application.Pony translates queries to SQL using a specific database dialect.
Currently Pony works with SQLite, MySQL, PostgreSQL and Oracle databases.The packagepony.orm.examplescontains several examples.Installationpip install ponyEntity-Relationship Diagram EditorPony online ER Diagram Editoris a great tool for prototyping.
You can draw your ER diagram online, generate  Pony entity declarations or SQL script for
creating database schema based on the diagram and start working with the database in seconds.Pony ORM Links:Main site:https://ponyorm.comDocumentation:https://docs.ponyorm.comGitHub:https://github.com/ponyorm/ponyMailing list:http://ponyorm-list.ponyorm.comER Diagram Editor:https://editor.ponyorm.comBlog:https://blog.ponyorm.com