Saravanan666/pypi-org huggingface dataset:
Package: pennpaper
Pen'n'paperPen'n'paper is a package to easily collect the data about (noisy) processes and plot them for comparison. This package is not aiming at feature completeness. Instead it should give you an easy start during the phase of the project when you want to just concentrate on an experimental idea.Installation:pip install pennpaperBy example:# We have a mysterious function that we would like to better understand on the interval [0.1, 5.].# Unfortunately the function is noisy.importnumpyasnpX=np.arange(0.1,5,step=0.01)importrandomdefnoisy_mapping(mapping):def_(x):y=mapping(x)y+=random.gauss(0,1)returnyreturn_pow2=noisy_mapping(lambdax:x**2)# lets record the pairs (x, f(x)) in a metric and make a plot:frompennpaperimportMetric,plot_group,plotm1=Metric("pow2")forxinX:m1.add_record(x,pow2(x))plot(m1)# try again - see in how far it repeats itself.m2=Metric("pow2_second_try")forxinX:m2.add_record(x,pow2(x))# lets plot two metrics side-by-sideplot_group([m1,m2])# Actually, m1 and m2 are metrics of the same process.# What if we create a new metric tracking the mean and stddev of this process?m3=m1+m2plot(m3)# the plot is too noisy to understand. We can smoothen it!plot(m3,smoothen=True)
Package: pennsieve
Python client and command line tool for Pennsieve.InstallationTo install, runpipinstall-UpennsieveSee theinstallation notesfor more details.ReleaseTo release, you should:Change CHANGELOG.md with the proper changes for the releaseModify the version in __init.py__Merge the branch into masterCreate a new Github ReleaseDocumentationClient and command line documentation can be found onPennsieve’s
documentation website.You can alsocontributeto Pennsieve’s documentation to improve this project and help others learn.TestsInstall the test requirements before runningpytest:makeinstallpytestTo run the Pennsieve CLI Agent integration tests, you need toinstall the agentand run the tests with the–agentargument:pytest--agentContributionPlease make sure to read theContributing Guidebefore making a pull request.ChangelogChanges for each release are documented in therelease notes.
Package: pennsieve2
Pennsieve Python client (pennsieve2)Python client and command line tool for Pennsieve (pennsieve2).PrerequisitesIn order to use this Python library to upload files to Pennsieve, please follow the instruction on installing and setting up Pennsieve agent, which could be found in the documentation.InstallationTo install, run:pipinstall-Upennsieve2To install specific previous dev version, run:pipinstall-Upennsieve2==0.1.0.dev2--extra-index-urlhttps://test.pypi.org/simpleContributionsTo update gRPC python files, execute from the src folder:rmsrc/pennsieve2/protos/agent_pb2*cdsrcpython3.9-mgrpc_tools.protoc--python_out=.-I.--grpc_python_out=.pennsieve2/protos/agent.protoNotice, this command does not produce a valid agent_pb2.py file when executed for Python3.10 or formatted by black - it does not use reflection and is reported as error for Flake8.To create a package and upload it to PyPI, first update the package version in the pennsieve2/init.py, then execute:python-mbuild# For testing:twineupload-rtestpypidist/*# For production:twineuploaddist/*DocumentationClient and command line documentation can be found onPennsieve’s documentation website.DevelopmentThis project usesPoetryto manage dependencies inpyproject.toml. To set up a development environment runpoetryinstallfrom the root directory to install the projects dependencies. Some IDEs (IntelliJ Idea for example) can create a Poetry Python
environment as well.
Package: pennyblack
Penyblack is a newsletter module based on thefeincms.orgCMS building toolkit. E-mails can either be sent as mass mails (e.g. monthly newsletter) or as part of a customised workflow (e.g. user clicks on a link and in response to that your application sends out an e-mail).  Conditional data and variables can be filled in to a newsletter using the django template language.
SPF (sender validation) and bounce management can be activated if desired. Key data like bounce rate, opening rate and link clicks is tracked and presented in the admin menu. Sending bulk e-mails is easy on memory. 20’000 and more addresses wont crash your server. From the outset we developed Pennyblack to easily integrate into existing web projects.InstallationNotice: This is a first draft of an installation guide. It’s not finished
and complete.Make sure you have a working django project setup.Install Pennyblack overpip:pip install pennyblackMake sure that the FeinCMS and Pennyblack Apps are added to your installed apps in yoursettings.py:'feincms',
'feincms.module.medialibrary',
'pennyblack',
'pennyblack.module.subscriber',Add a newsletter url to yoururls.py:url(r'^newsletter/', include('pennyblack.urls'), name = 'pennyblack'),Install dependencies (overpip):pydns==2.3.4pyspf==2.0.5Import Pennyblack and add a newsletter template to yourmodels.py:from pennyblack.models.newsletter import Newsletter
from pennyblack.content.richtext import TextOnlyNewsletterContent, \
   TextWithImageNewsletterContent

Newsletter.register_templates({
  'key': 'example',
  'title': 'Example Newsletter',
  'path': 'example_newsletter.html',
  'regions': (
      ('main', 'Main Region'),
      ),
  })

Newsletter.create_content_type(TextOnlyNewsletterContent)
Newsletter.create_content_type(TextWithImageNewsletterContent)Add Pennyblack Models to south migration modules in yoursettings.py:SOUTH_MIGRATION_MODULES = {
    'pennyblack': 'project_name.migrations_pennyblack',
    'subscriber': 'project_name.migrations_subscriber',
}Runschemamigrationsandmigrate:./manage.py schemamigration --initial pennyblack
./manage.py schemamigration --initial subscriber
./manage.py migrateDependenciesPythondjangofeincmspyspfpydnspilProject SettingsTEMPLATE_CONTEXT_PROCESSORSdjango.core.context_processors.requestFEINCMS_ADMIN_MEDIAfeincms medialibrary musst be installed
Package: pennylane-kq
PennyLane Korea Quantum PluginThe PennyLane-KQ plugin integrates the KQ quantum computing library.PennyLaneis a cross-platform Python library for quantum machine learning, automatic differentiation, and optimization of hybrid quantum-classical computations.This PennyLane plugin allows to use both the software and hardware backends of KQ as devices for PennyLane.FeaturesProvides three devices to be used with PennyLane:kq.emulator, andkq.hardware. These provide access to the respective KQ backends.Supports a wide range of PennyLane operations and observables across the devices.Combine KQ high performance simulator and hardware backend support with PennyLane's automatic differentiation and optimization.InstallationThis plugin requires Python version 3.9 and above, as well as PennyLane and KQ. Installation of this plugin, as well as all dependencies, can be done using pip:python-mpipinstallpennylane_kqAuthorsKISTISupport-Source Code:-Issue Tracker:If you are having issues, please let us know by posting the issue on our Github issue tracker, or
by asking a question in the forum.
Package: pennylane-qrack
The PennyLane-Qrack plugin integrates the Qrack quantum computing framework with PennyLane’s quantum machine learning capabilities.This plugin is addapted from thePennyLane-Qulacs plugin,under the Apache License 2.0, with many thanks to the original developers!PennyLaneis a cross-platform Python library for quantum machine learning, automatic differentiation, and optimization of hybrid quantum-classical computations.vm6502q/qrackis a software library for quantum computing, written in C++ and with GPU support.FeaturesProvides access to a PyQrack simulator backend via theqrack.simulatordeviceInstallationThis plugin requires Python version 3.6 or above, as well as PennyLane. Installation of this plugin, as well as all dependencies, can be done usingpip:$pipinstallpennylane-qrackDependenciesPennyLane-Qrack requires the following libraries be installed:Python>= 3.8as well as the following Python packages:PennyLane>= 0.32PyQrack>= 0.13.0If you currently do not have Python 3 installed, we recommendAnaconda for Python 3, a distributed version of Python packaged
for scientific computation.TestsTo test that the PennyLane-Qrack plugin is working correctly you can run$maketestin the source folder.ContributingWe welcome contributions - simply fork the repository of this plugin, and then make apull requestcontaining your contribution.
All contributers to this plugin will be listed as authors on the releases.We also encourage bug reports, suggestions for new features and enhancements, and even links to cool projects
or applications built on PennyLane.AuthorsPennyLane-Qrack has been directly adapted by Daniel Strano from PennyLane-Qulacs. PennyLane-Qulacs is the work ofmany contributors.If you are doing research using PennyLane and PennyLane-Qulacs, please citetheir paper:Ville Bergholm, Josh Izaac, Maria Schuld, Christian Gogolin, M. Sohaib Alam, Shahnawaz Ahmed,
Juan Miguel Arrazola, Carsten Blank, Alain Delgado, Soran Jahangiri, Keri McKiernan, Johannes Jakob Meyer,
Zeyue Niu, Antal Száva, and Nathan Killoran.PennyLane: Automatic differentiation of hybrid quantum-classical computations.2018. arXiv:1811.04968SupportSource Code:https://github.com/vm6502q/pennylane-qrackIssue Tracker:https://github.com/vm6502q/pennylane-qrack/issuesPennyLane Forum:https://discuss.pennylane.aiIf you are having issues, please let us know by posting the issue on our Github issue tracker, or
by asking a question in the forum.LicenseThe PennyLane-Qrack plugin isfreeandopen source, released under
theApache License, Version 2.0.
Package: pennylane-sphinx-theme
ThePennyLane Sphinx Themeis a Sphinx theme used for open-source PennyLane
software projects hosted onhttps://pennylane.ai. It extends the Xanadu Sphinx Theme
with PennyLane-specific default settings and configurations.To update the PennyLane navigation bar (navbar) and footer, please see the filespennylane_sphinx_theme/footer.pyandpennylane_sphinx_theme/navbar.py.For more details, please see theXanadu Sphinx Theme documentation.InstallationThe PennyLane Sphinx Theme requires Python 3.7 or later. The latest version of the
theme can be installed directly usingpip:pipinstallpennylane-sphinx-themeGetting StartedOnce installed, simply add or modify the following variables of your Sphinxconf.pyconfiguration file to start using the PennyLane Sphinx Theme:frompennylane_sphinx_themeimporttemplates_dirtemplates_path=[templates_dir()]html_theme="pennylane"html_theme_options={"navbar_name":"Example Project","navbar_active_link":3}ConfigurationThe PennyLane Sphinx Theme supports the same configration options as
the Xanadu Sphinx Theme. For more details, please see theXanadu Sphinx Theme documentation.DirectivesThe PennyLane Sphinx Theme provides various directives.For more details, please see theXanadu Sphinx Theme documentation.SupportSource Code:https://github.com/XanaduAI/pennylane-sphinx-themeIssue Tracker:https://github.com/XanaduAI/pennylane-sphinx-theme/issuesIf you are having issues, please let us know by posting the issue on our Github
issue tracker.LicenseThe PennyLane Sphinx Theme isfreeandopen source, released under theApache License, Version 2.0.
Package: pennywise
PennywisePennywise has the ability to shapeshift into the bioinformatic tool you are most afraid to install.RequirementsYou must have docker and python3 available at your system.Installpip install pennywiseUsageList available toolspennywise listBasic usagepennywise <tool> <regular-tool-options>Example 1: Running trimmomaticpennywise trimmomatic PE r1.fq r2.fq r1_p.fq r1_u.fq r2_p.fq r2_u.fq SLIDINGWINDOW:4:20 MINLEN:100Example 2: Running spadespennywisespades-1r1_p.fq-2r2_p.fq-oassembly-metaFirst time using a toolIf it's the first time you are running a particular command, pennywise will need to pull the image before it actually
runs the tool. Most images will range from 200MB to 2GB, and will get installed in less than 10 minutes providing you
have a good internet connection.pascal@dione:~/Sandbox/$pennywisequastgenome.fa
-Itlookslikeit'syourfirsttimerunningthiscommand!
-pennywisewilldownloadtheimage(staphb/quast:latest)soitcanshapeshift
-Thiscantakesometime...Adding your own toolsFork this repositoryUpdate pennywise.tomlRunpennywise source <your-github-user>Pennywise will download pennywise.toml from your fork and use it for command reference.pennywise.toml format[quast]
image = "staphb/quast:latest"
prefix_cmd = "quast.py"

[prokka]
image = "staphb/prokka:latest"
prefix_cmd = "prokka"I don't want to use github as sourceIt's fine, just update ~/.pennywise/pennywise.toml.Tools AvailableFastANIProkkaQuastSpadesTrimmomatic
Package: pennyworth
pennyworth is a set of scripts to make it easier to manageJenkinsjob
configurations.The project is named after Batman’s butler, Alfred Pennyworth.  Since Jenkins
uses a butler as their icon and Alfred is a butler, he seemed a good person to
name the project after.  Alfred was too generic a name, but nothing showed up
inPyPiwhen I searched for “pennyworth”.MotivationI wrote a hacky shell script a while ago to create Jenkins jobs based on my
needs, but it fell apart once I needed to update configurations and suddenly my
templates didn’t work (different dependencies, different build triggers, etc.).
The idea here is that while every job may still be a special snowflake, the
pieces are stil pretty similar in most cases.InstallationThe easiest way to install is usingpip.$cd/path/to/pennyworth$pip3install.Eventually I’ll publish something to PyPi, and then a command like the
following will work:$pip3installpennyworthUsingpennyworth uses sub-commands to perform various tasks.  The built-in
sub-commands are:build-jobslist-jobsvalidate
Package: penpal
pen: terminal notespenis a minimalistic note taking app for the command line.What is this?With pen you can have notes everywhere. At least on every unix machine.
What makes it special is that it is “only“ a command line application.
Therefore you can even run it on your own server.
Pen has a minimalistic interface; notes can be added and grouped in a simple manner.InstallationIt's as simple as that:$ pip install penpalUnfortunately "pen" was already taken.Usagepen all- List all notes recursively.pen create <list>- Create a list.pen delete <list> (<note>)- Delete a list or note.pen help- Display help information.pen help <command>- Displays help for a command.Advancedpenstores all its data (with zlib compression) in the file~/.pen.
You are free to do whatever you want with this data, it is yours after all.
This is helpful, if you want to keep your notes synchronized over multiple computers.
Move the data file over to your Dropbox folder for example.You can also change the path of the storage file:pen path <path>- Either prints the current storage path or sets a new one.So go out there and hack some code!FeaturesMinimalistic and simple note editor.Automatic saving when closed.Create lists to group notes.Put the storage file wherever you want. (Supports Dropbox & co.)ContributeFork and contribute!For questions and suggestions, feel free to shoot me an email atme@cwoebker.com.Also, follow or tweet@cwoebker.Copyright (c) 2013-2018, Cecil Woebker.
License: BSD (see LICENSE for details)
Package: penrose
# Penrose Python![assets/img/penrose-logo.png](assets/img/penrose-logo.png)This is a Python Library to interact with the Penrose API. It provides an executable
and container for interacting with the [Penrose Library](https://www.github.com/penrose-lib).under development## Contributing
We have many ways to contribute, and will briefly provide resources here to get you started.### How to Contribute
If you are a developer interested in working on Penrose, you should read out [contributing guidelines](.github/CONTRIBUTING.md) for details.### Code of Conduct
It’s important to treat one another with respect and maintain a fun and respectful environment for the open source community. Toward this aim, we ask that you review our [code of conduct](.github/CODE_OF_CONDUCT.md)
Package: pensimpy
Development Status:As of 08/2020 PenSimPy is under active maintenance (expect bug fixes and updates).
Please follow, star, and fork to get the latest functions.PenSimPyPenSimPy is a Python version ofIndPenSim, which simulates the industrial-scale Penicillium chrysogenum fermentation.
This simulator is based onc++solving the ODE functions so as to achieve a faster performance than the MATLAB version.PenSimPy aims for recording those key features such aspH,temperature,vessel volume,vessel weight,penicillin concentration,dissolved oxygen concentration,sugar feed rate,soil bean feed rate,aeration rate,back pressure,water,acid,phenylacetic acid flow-rate,Oxygen in percent in off-gas, and the Raman spectroscopy data throughout the whole process. A conventionally used
Sequential Batch Control strategy with PID control is presented with example codes and all the recipe's feed can be manually updated.Furthermore, we incorporate Reinforcement Learning to improve the penicillin gain and present them as example codes.
A web application based on PenSimPy can be foundhere.InstallationPenSimPy relies onfastodeint, a python bindings for an ODE solver implemented in C++. Unfortunely, it's not available as a PyPI package at this point, so you need to follow the installation instructionhereto build it yourself.
Once fastodeint is installed, you can install PenSimPy by the following commandpip install pensimpyExamplesSee theexamplesdirectoryseeexamples/batch_generation.pyto generate
batch and Raman data with self-designed recipesseeexamples/reinforcement_learning_boilerplate.pyto
simulate penicillin yield process with reinforcement learning
Package: pensum
Command lines reminder as a command line software.Remind notes are written in Markdown and can be exported to any format Pandoc
handles.Usagepm ls [<tag>]
pm cat <note_id> [-d] [-s] [-t]
pm new <note_id> [<note_title>]
pm find <request>
pm build <format> [<output_folder>] [--verbose]
pm option (set|get) [<option_name>] [<option_value>] [--verbose]
pm help [<topic>]Notes and configuration are stored according to OS conventions (seefoldershelp topic).For more help aboutpmcommand, see …pmhelp topic.Prerequisitesdocoptappdirsrichpypandocstop-words
Package: pentacle
Object-Oriented Peer-to-Peer RPC access library and server application framework.:Author: `Thetaplane <cbanis@gmail.com>`__:Requires: Python 2.6+:Version: 0.4.0:Group Application: application, config, debugging, security, storage:Group Core: architecture, encoding, packaging, runtime:Group Networking: network, client, server:Group Service Partner Bus: bus, bus.partners, bus.services, bus.spline:Bug: Some synchronization issues cause intermittant network failures:Todo: Optimize the package format to eliminate unnecessary marks:Copyright: |copyright| 2011-2023 Thetaplane.. |copyright| unicode:: 0xA9 .. copyright sign
Package: pentagraph
pentagraphGraph representation and tools for programming with pentagame.This is in active development an will be fully functional with the 0.0.1 releaseSetupPipYou will need a working instance ofpip.python3 -m pip install pentagraphDevelopmentClone from github (requiresgit):git clone https://github.com/Penta-Game/pentagraphTo install the dependencies you can usepoetry:poetry installAll files are required to have full typing support and need to passmypy(This is checked in thePython packageworkflow on push/ pull request).LicenseThe source code of pentagraph is distributed according to theMIT License by CobaltLibraries as listed inpyproject.tomlplease consider their respective Licenses before e.g. making commercial use ofpentagraph.The same applies formaterializeandsvg.js.Development NotesContributing and CIThere are 2 github actions workflows. ThePython Packgeworkflow is called on each push & merged pull request. This workflow runs test against the new version (pytest tests/) and checks if files inpentagraph/could be formatted with black. If either files could be formatted, the tests fail or the requirements are broken, the run fails. For black errorsformat.pycan recursively execute black against all files inpentagraph/(you need to install black before using this). As an alternativepython -m black . --target-version py38would be an appropriate direct call.The other workflow releases a new pip package on each github release. This release oriented workflow takes advantage of twine and github repository specific secrets. When this workflow crashes with authentication related errors contactCobalt.Dependency managing is handled bypoetry. Poetry is also used fo the packaging runs though you should updaterequirements.txtat least before creating a release withpoetry export -f requirements.txt > requirements.txt.pentagraph.lib.graphicAn easy-to-use way of displaying theBoardtaking advantage of Flask in combination withmaterialize,svg.js. The final board svg is created with a variation of resources fromboardgame.pentagraph.lib.figuresCollection of Objects used for figure representation. These Objects also specifiy their respective drawing methods and types.pentagraph.lib.graphGraph representation asBoardObject.pentagraph.lib.mathMath usable for graphic representation of pentagame board. Python version of math used inpentagraph.lib.graphic.DocsComing soon :cat:The docs will be produced with pelican and github pages.
Package: pentaho-db-changer
Change dynamically Pentaho database connections from kjb, ktr and xml filesInstallationpip install pentaho-db-changerHow to UseBefore execute the program you need to configure .ini file (config.ini) with your database settings.You can follow this example:First of all use a section ‘connect’ to select which database you will use.[connect]
connect = connect_localThen, create a default section with the absolute path for pdi files.[default]
path = /home/pdiAt last, create a section for each connection that you want to use and change easily.[conect_server]
server = xxxxxx
username = xxxxxx
password = my_pass

[conect_local]
server = localhost
username = root
password = other_passJust execute __init__.py file as follow:cd set_db_pdi
python __init__.pyUsing as a ModuleDownload this project with:git clone https://github.com/kappius/pentaho-db-changer.gitAll modules are inset_db_pdifolder and you can copy this folder and put inside your modules folder.Then, import using:from set_db_pdi import SetDBYou can set a custom configuration file name using:SetDB('settings.ini').write_file_pdi()If your password is encrypted (using right pdi format), then call:SetDB().write_file_pdi(encrypt=False)If not, then:SetDB().write_file_pdi() # this is default call when you execute __init__.py fileYou know if it is encrypted if password in config.ini is in format:password = Encrypted 1ad32da2de2da7886Using in reportsIt works with Pentaho Report Designer’s files (.prpt) too, but only usingencrypt=Falsesince this issue was solved:http://jira.pentaho.com/browse/PRD-3608Just unzip .prpt files and get file datasourcessql-ds.xmlThis file (sql-ds.xml) is like .kjb and .ktr files and use same connection names.