Saravanan666/pypi-org huggingface dataset:
Package: pl-minio-callback
Pytorch Lightning Minio CallbackCallback prepared to log checkpoints and tensorboard data to minio server.Minimum RequirementsPython 3.6 or higher.Download using pippip3installpl-minio-callbackDownload sourcegitclonehttps://github.com/dpulpeiro/pl-minio-callbackcdpl-minio-callback
pythonsetup.pyinstallQuick Start ExampleThis example shows how to use the class MinioCallback to upload checkpoints to minio server.You can use thisdocker-composeto launch a minio instance with only one volume in the ports 9000 and 9001 with user 'minio' and password 'minio123'ParametersDescriptionsave_dirDirectory to save models in.nameSub-directory to save models in.upload_modelsWhether to upload the checkpoints or notupload_hparamsWhether to upload the hparams or notupload_tensorboard_dataWhether to upload tensorboard data  or notbucketName of the bucket where data will be storedendpointURL to minio service.endpointURL to minio service.access_keyAccess key (aka user ID) of an account in the minio service.secret_keySecret key (aka password) of an account in the minio service.secureWhether endpoint uses https or not.secureWhether endpoint uses https or not.Files will be saved in disk with the following file structure<save_dir>/<name>/version_x/checkpoints_and_tensorboard_dataThey will also be uploaded to minio:<bucket>/<save_dir>/<name>/version_x/checkpoints_and_tensorboard_dataUsage...frompl_minio_callback.minio_callbackimportMinioCallback...if__name__=="__main__":...logger=TensorBoardLogger(save_dir="models",name="cifar10_resnet")# Check parameterstrainer=pl.Trainer(callbacks=[MinioCallback(upload_tensorboard_data=False,upload_hparams=False,upload_checkpoints=True,bucket="tensorboard",endpoint="localhost:9000",access_key="minio",secret_key="minio123",secure=False)],log_every_n_steps=5,checkpoint_callback=True,logger=logger,max_epochs=10,gpus=1,auto_select_gpus=True)...
Package: pln-fx
pln_fx | Get Rates from the National Bank of PolandSo the ECB (European Central Bank) publishes PLN (Zloty) rates but for accounting purposes in Poland there is a requirement to use the rate directly from the Polish National Bank instead of the ECB. Therefore I wrote this library because I am sure other people will need this and I havent found any library. So I dit it.How To Usefrompln_fximportPLN_FXfx=PLN_FX()year_rate=fx.get_year('2022')print('\nyear_rate: ',year_rate)day_rate=fx.get_date('2022-01-03')print('\nday_rate: ',day_rate)
Package: plnlp
In name entity recognition projects, we need to pre-process the character in sentences, which need to be converted into numeric features. In this package, we represent each character in two features: (1) vocabulary id, and (2) capitalization type. For example, the first record in the raw data is(['EU', 'rejects', 'German', 'call', 'to', 'boycott', 'British', 'lamb', '.'],
['ORG', 'O', 'MISC', 'O', 'O', 'O', 'MISC', 'O', 'O'])the first list in this tuple is the original sentence, the second list in the tuple is the name entity for each character.Using our package, the raw data bacome([[1, 12],
[2, 11],
[3, 13],
[4, 11],
[5, 11],
[6, 11],
[7, 13],
[8, 11],
[9, 14]],
[1, 4, 3, 4, 4, 4, 3, 4, 4])in which the first list is the numeric features for the characters (id, capitalization type), the second list is the corresponding numeric labels for the name entity type.At the same time, you can also retrieve the vocabulary dictionary built from your sentence data.To do this, run the following code in terminalpython -m plnlp './plnlp/tiny.conll' './plnlp/tiny.conll'The first and second arguments are the path of the train dataset and the development dataset, respectively.The resulting datasets will be written and saved under your current working directory in a csv file.
Package: ploader
CLI download manager written in python. It makes use of plowshare (especially plowdown) which handles the link detection.InstallationUsing pip$ pip install ploaderUsing easy_install$ easy_install ploaderUsing pacman (archlinux)$ yaourt -S python-ploader-gitor$ mkdir PLoader && cd PLoader/
$ wget https://raw.github.com/kpj/PLoader/master/aur/PKGBUILD
$ makepkg
$ sudo pacman -U python-ploader-git-*-any.pkg.tar.xzUsageStart server on 192.168.2.1, assume it listens on port 50505 (specified in ~/.ploader.conf)$ ploaderTo connect from the same machine, execute$ nc localhost 50505or, to connect from a different machine, execute$ nc 192.168.2.1 50505A welcome message will show up and display the available commandsBug ReportsPlease submit any bugs you find tohttps://github.com/kpj/PLoader/issues.LinksGithub:https://github.com/kpj/PLoaderPyPi Homepage:https://pypi.python.org/pypi/ploaderTravis CI:https://travis-ci.org/kpj/PLoaderAUR:https://aur.archlinux.org/packages/python-ploader-git/IRC: #ploader on irc.freenode.net
Package: plocate
plocateLocate implementation with extra filtering features, compatible with mlocate.db format.Free software: BSD licenseDocumentation:https://plocate.readthedocs.io.FeaturesCompatible with mlocateFiltering with entry type (directory or file)CreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.2 (2016-10-12)Signed release.0.1.1 (2016-10-11)First release on PyPI.0.1.0 (2016-10-04)Initial version on Github.
Package: plofeld
plofeld"One of these days we must invent a faster-working field plotter!"plofeldis a python plotting library for physical fields.InstallingInstallation is easily done viapip:pip install plofeldrequired arenumpy, scipy, pandas, matplotlib.UsageFirst one needs to place someElements, in this examplePointChargesaround your coordinate system.
The positions of theseElementsneed to be given inVectors.This list is then passed on to theStaticFieldclass, which creates the
field.The field can then be plotted with theStaticField().plot()function.frommatplotlibimportpyplotaspltfromplofeld.elementsimportPointChargefromplofeld.fieldsimportStaticFieldfromplofeld.utils.classesimportVectorfromplofeld.utils.constantsimportELECTRICdefplot_two_charges():charges=[PointCharge(Vector(x=1,y=0),q=-1),PointCharge(Vector(x=-1,y=0),q=1),]field=StaticField(charges,field_type=ELECTRIC)field.plot(xlim=(-2,2),ylim=(-2,2))plt.show()if__name__=='__main__':plot_two_charges()This code and more can be found in theexamplesfolder.
Package: plogger
PloggerPlogger - a simple high level logger wrapper to log into console/file with different level. Used built-in logger module.InstallationFor most users, the recommended method to install is via pip:pip install ploggerImport and usagefromploggerimportloggerlog=logger('NAME')log.info('Test message')importploggerlog=plogger.logger('NAME')log.info('Log it as INFO')Result2022-10-10 18:17:46 | INFO      | NAME                 26 | <module> | Log it as INFOUsageAs standalone logger function:importploggerlogger=plogger.logger('NAME',level=10)logger.info('Test message')logger.error('Test message')logger.warning('Test message')logger.debug('Test message')2022-10-10 18:18:44 | INFO      | NAME                 27 | <module> | Test message
2022-10-10 18:18:44 | ERROR     | NAME                 28 | <module> | Test message
2022-10-10 18:18:44 | WARNING   | NAME                 29 | <module> | Test message
2022-10-10 18:18:44 | DEBUG     | NAME                 30 | <module> | Test messageChangelog1.0.8 (26.05.2022)time format changed. microseconds added (2023-05-26 18:24:28.389)class obsolete1.0.7 (10.10.2022)Method/function name added into log1.0.6 (16.04.2022)Enable/disable logging fixed1.0.5.post0 (4.04.2022)minor changes in log entry format1.0.5 (4.04.2022)Console log will be colorized.use_color=True param addedLine number added to the log1.0.4 (28.03.2022)added log level selection with the "level" paramlog level entry aligned1.0.3 (29.01.2022)Fixed entries duplicating. Added handlers cleaning1.0.2 (25.01.2022)console_output=sys.stderr by default1.0.1 (10.01.2022)Added console_output=sys.stdout param1.0.0 (26.01.2020)Added logger() function
Package: plogging
Install$ pip install ploggingDocumentationPending... Until then, I will place some implementation code below. Before doing that, though, I
want to make a few notes on the format strings used in the formatter. Firstly, they must use thebracketformatting style, e.g."{a}{b!r}{c:<3}". Secondly, by default, colors are only applied
to a given field, meaning for the format string"Log time: {asctime}", only the time would be
given color. This can be changed by using the specialenterandexitfields - for example:"{enter}Log time: {asctime}{exit}", which would cause the entire area to be formatted given the
palette forasctime. Any other normal fields can also be included within theenter/exitfields, in which case the palette for the first field would be used. Additionally, any field
prefixed with an underscore (_) will not have any formatting applied to it, though the field name
will be reverted to the non-prefixed version (e.g._asctime->asctime).importploggingimportlogging# default formatter that shows a small amount of information (time,# level name, logger name, message)log=plogging.setup_new("logger",level=logging.DEBUG,package="test")# the default formatter itself can be acquired as follows:plogging.utils.default_formatter()# you can also setup an existing logger for color formattinglog=logging.getLogger(...)plogging.setup_existing(log,level=logging.DEBUG)# custom formatters can also be created; here is an example:formatter=plogging.Formatter(fmts=plogging.LevelContainer(debug="{asctime}{levelname:<8}{module}{message}[{threadname},{processname}, ""{somethingelse}]",default="{asctime}{levelname:<8}{module}{message}"),datefmt="%Y-%m-%d%H:%M:%S",defaults={"somethingelse":"somethingelse's value"},asctime=plogging.Palette(plogging.LevelContainer(default="30;1")),levelname=plogging.Palette(plogging.LevelContainer("32;1","34;1","33;1","31;1","41")))log=plogging.setup_new("logger",level=logging.INFO,formatter=formatter)
Package: ploghandler
Provides concurrent rotating file handler for posix-compatible OSes.By defaultmultiprocessing.Lockis used. If you fork from one
process that configures logger this case is preferred because of speed.
If you have many undependantly started processes you should use instance
ofploghandler.Lockfclass. The Lockf class usesfcntl.lockfcall described inman 3 lockf. Optinallyploghandler.Flock(man 2 flock) can be used.Supported versions:Currently supported versions:2.6,2.7and3.4.Example:import logging

from ploghandler import PLogHandler, Lockf

log = logging.getLogger("test")
handler = PLogHandler(
    "/var/log/test.debug.log",
    maxBytes=1024 * 1024,
    backupCount=5,
    rotlock=Lockf("/var/log/test.debug.lock"))

log.addHandler(handler)
log.setLevel(logging.DEBUG)

log.debug("test message")
Package: plogpro
PlogproA simple and versatile Python package for logging, profiling and more.InstallationInstall withpip:pip install plogproor withconda:conda install plogpro -c woheRefer to thedocsfor more information.DocumentationDocumentation is availableherevia
Read the Docs. Refer to the stable version for the latest published version, or
to the latest version for the most up-to-date documentation with the Github
repository, which might contain functionality that is not yet published.
Package: ploigos-step-runner
ploigos-step-runnerPloigos Step Runner (PSR) implemented as a Python library.DocumentationPython Package DocumentationPloigos OverviewInstallLatest Releasepipinstallploigos-step-runnerLatest Development Releasepipinstall--index-urlhttps://test.pypi.org/simple/--extra-index-urlhttps://pypi.org/simpleploigos-step-runnerDevelopment:warning:If you are running RHEL7 or older versions of Python: This project will need Python 3.3 or better to run. If you are running on RHEL7, you can invokepython3in place ofpythonin the following commands.Set Up Development Environmentcdploigos-step-runner
python-mvenv.venvs/psr-devsource.venvs/psr-dev/bin/activate
python-mpipinstall--upgradepip
python-mpipinstall-e'.[tests]'Run Teststox-etestOr to run for just a particular implementer, and include the sections of code that you didn't coverpython3-mpytest--cov--cov-reportterm-missingtests/step_implementers/package/test_maven_package.pyRun lintertox-elintRun linter and all tests (a good idea before a commit)toxGenerate the Documentation LocallyIf you are updating the python documentation and want to generate locally this is how you do it.tox-edocs
Package: plom
Paperless Open Marking -PlomPlom is a system for large-scale marking by humans of handwritten work.Designed for giving consistent, meaningful feedback to students.Free/Open Source Softwarewritten in Python usingQtand other
components.Plom's benefitsRespects privacy of student data -- all data stays on your server,
and markers do not see student name or ID when working.Easy multi-versioned tests -- designed to handle crowded classrooms
and multi-section courses over multiple days.Simplify logistics and minimizes paper-handling.Free -- Plom isLibreandGratis.
No software to buy, and no subscriptions to pay.Want to know more?Take a look at theplomgrading.org.TranslationsIf you'd like to help translate Plom into another language,
please help athttps://gitlab.com/plom/plom/-/issues/1725The metainfo files (used for example onFlathub)
can be translated by editinghereandhere.Getting in touchOur dev channel isgitter.im/plomgrading/dev.Ourmain development repo is on Gitlab.comandmirrored on GitHub.
Package: plomino.dominoimport
IntroductionAllows to import Lotus Notes Domino database (design + documents) into PlominoHow to use itExport your Lotus Notes database as DXL (Domino XML Language)plomino.dominoimport adds a new “DXL import” tab on your Plomino databases, select this tab, and upload your DXL fileFeaturesforms and their fields, views and their columns are all importedfields settings are imported for most of field typesdocuments are imported with their inserted filesformulas and Lotus scripts are imported as comments and must be manually translated into Plomino formulasChangelog0.2devimport formulas as commentscode split in several classesbugs fixes0.1dev - UnreleasedInitial release
Package: plomino.leaflet
Descriptionplomino.leafletprovides a Leaflet map field type to Plomino.InstallationAddplomino.leafletto your buildout, run the buildout.UsageIn read mode, the field just displays its geometries.
In edit mode, the map contains buttons to create or delete existing geometries.
The geometry is stored as GeoJSON.
In the settings tab, Leaflet javascript can be customized for both read or edit mode.CreditsAuthorsEric BREHAULT <eric.brehault@makina-corpus.org>CompaniesPlanet Makina CorpusContact usChangelog0.1a (2013-01-15)Initial release
Package: plomino.patternslib
ContentsIntroductionInstallationUseExamplesRelated LinksContributorsChangelogIntroductionplomino.patternslibis aPlomino[1]plugin that provides fields and other form elements built using thePatternslib[2]javascript library.  In its initial implementation, theChosenselect boxes fromHarvestHQare
made available.For more information, see theRelated Linksbelow.InstallationAddplomino.patternslibto the list ofeggsof yourplone.recipe.zope2instancesection.  Re-run buildout.UseActivateplomino.patternslibeither inportal_quickinstaller, or from the/prefs_install_products_formAdd-ons control panel on your Plone site.Assuming you already have Plomino installed on your site, you will now have a new field typeChosenavailable to add
to your Plomino forms. It can be configured exactly like aSelection Listfield.ExamplesTo see working examples of the style and behavior of theChosenfield, seeHarvest[3].  Currently, only theMultiple Selecttype is available, but more will be added in upcoming releases.Related Links[1]http://plomino.net[2]http://patternslib.com/[3]http://harvesthq.github.com/chosen/ContributorsFulvio Casali, Original AuthorChangelog0.5.8 (2012-10-15)Package created using templerImplementation of first Selection widget using “Chosen” Pattern [fulviocasali]
Package: plomino.tablib
ContentsIntroductionInstallationContributorsChangelog1.1 (2014-07-28)1.0 (2013-01-24)IntroductionMake Kenneth Reitz’stablibavailable to PlominoUtils.InstallationIncludeplomino.tablibin theeggssection of your buildout:eggs =
    ...
    plomino.tablibWhen this package is present, thedatasetfunction is available to Plomino formulas.Examples:# Create a table from a list of lists:
mytable = dataset([[1,2], [3,4]])

# Create a table and specify headers:
mytable = dataset([[1,2], [3,4]], headers=['col1', 'col2'])

# Create a table from a list of dicts (sets headers):
mytable = dataset([{'col1': 1, 'col2': 2]}, {'col1': 3, 'col2': 4}])

# Get the table as CSV or JSON:
mytable.csv
mytable.json

# Get the table as HTML or Excel:
mytable.html
mytable.xlsSeetablibfor more.ContributorsJean JordaanChangelog1.1 (2014-07-28)Fix packaging
[Jean Jordaan]1.0 (2013-01-24)Package created using templer
[Jean Jordaan]
Package: plone.all-in-one-accessibility
# All in One AccessibilityAll in One Accessibility widget improves Plone website ADA compliance and browser experience for ADA, WCAG 2.1, Section 508, Australian DDA, European EAA EN 301 549, UK Equality Act (EA), Israeli Standard 5568, California Unruh, Ontario AODA, Canada ACA, German BITV, and France RGAA Standards.2 Minute installationScreen Reader, dynamic widget color and position, supports multiple languages (40 languages)Reduces the risk of time-consuming accessibility lawsuits.Use apps to connect to external services and manage data flowsIt uses the accessibility interface which handles UI and design related adjustments. All in One Accessibility app enhances your plone website accessibility to people with hearing or vision impairments, motor impaired, color blind, dyslexia, cognitive & learning impairments, seizure and epileptic, and ADHD problems. It uses the accessibility interface which handles UI and design related adjustments.InstallationInstall plone.all_in_one_accessibility by adding it to your buildout:[buildout]

...

eggs =
    plone.all_in_one_accessibilityand then runningbin/buildoutCall the backend API in frontend footer component.Example.…const requestOptions = {
method: ‘GET’,
headers: {“Accept”:”application/json” },
redirect: ‘follow’,
mode:’no-cors’,};const requestURL =<your domain>/Plone/all-in-one-accessibility-setting/@widget;
Package: plone.app.archive
OverviewThis package aims to provide a simple content archiving solution. Content
is archived in a opaque archive outside of the normal content structure.The content is deleted from it’s original location and thus completely removed
from the site catalogs. Restoration returns the object to it’s original parent.This package is in an early alpha state. Archiving and restoring works, but
there are is as yet no end-user UI to use it.Changelog0.1 (2011-05-19)Initial alpha release
Package: plone.app.changeownership
Introductionplone.app.changeownership as it sounds is a Plone package to change objects
ownership.ProblemWhile for a single content you can call the/change-ownerview,
there is no way in Plone to transferownership of all objectsowned by an user
to a new user. To delete a Plone member in such case is not an option.Solutionplone.app.changeownership makes easy to transfer ownership from one ore more
members to a new member. It also can change content metadata, likeCreatorsfield.InstallThe addon is installed via your Plone buildout.Addplone.app.changeownershipto the list of eggs to install, e.g.:[buildout]
...
eggs =
    ...
    plone.app.changeownershipRe-run buildout, e.g. with:$ ./bin/buildoutYou have to install the package from quickinstaller or setup_tool. You will get
a configlet in the Plone control panel named “Change Ownership”.Changelog1.0 (2019-09-02)Plone 5 compatibility
[tomgross]Python 3 compatibility
[ajung]German translation
[tomgross]0.5 (2015-07-29)Fixed path filter
[uschwarz]Minor changes to ownership form
[keul]Support for Site Administrator role with a proper permissions
[keul]Added uninstall profile
[keul]Closed#3:  Dexterity content doesn’t have Creators method
[keul]Added new check flag to chose if changing modification date or not
[keul]0.4 (2012-09-20)Fix permissions for Plone 4 [fdelia]0.3 (2011-03-07)Added MANIFEST.in [WouterVH]Added Dutch-translation [WouterVH]Added z3c.autoinclude support [keul]Added italian translation [keul]0.2 (2010-02-02)Added check to support instances without a membersfolder [jaroel]0.1 (2008-02-01)Merged matth’s branch that adds:Filter by pathDry run optionSorting of usernamesDisplay userid as well as full nameInitial release
Package: plone.app.cmsui
ContentsInstallationUsing with DiazoTheme and resource bundlesParticipation and conventionsChangelog1.0a2 - 2011-07-171.0a1 - 2011-06-28plone.app.cmsui installs a new content management user interface for Plone.
For the moment, it is an experiment only, but hopefully one that will point
the way towards Plone’s future.The main premise of plone.app.cmsui is to put all the content management
user interface elements into a separate package, with its own, isolated styles
and JavaScript files, injected into the page and displayed overlaying the
content page. The idea is that no matter how you theme your site, and what
you install, you should not be able to break the editing and administration
UI.InstallationYou can use the following buildout to test plone.app.cmsui against
Plone 4.1rc3 - update versions as applicable:[buildout]
parts = instance
extends =
    http://good-py.appspot.com/release/plone.app.cmsui/1.0a1?plone=4.1rc3

[instance]
recipe = plone.recipe.zope2instance
user = admin:admin
eggs =
    Plone
    plone.app.cmsuiMake sure you install the “CMS User Interface” profile when creating your
Plone site.Using with DiazoIf you are using Diazo and plone.app.theming, you can enable the CMS UI in
your site by including the following rule:<before css:theme-children="body" css:content="#plone-cmsui-trigger" />Theme and resource bundlesAll CMS UI resources are loaded in a theme (in the portal_skins sense) called
‘cmsui’. Using the concept of resource bundles (in Products.ResourceRegistries
2.1a1), resources are segregated between this theme and the theme (probably
‘Sunburst Theme’) used for the public site.Participation and conventionsSeehttp://projects-wiki.plone.org/display/NEWUI/Homefor details about how
to participate, the rationale behind the project, and related information.
Log in with your plone.org username.The following rules and conventions apply:No functionality should live in this package, only views and associated
user interface logic.Dependencies on other packages should be minimised: With the exception
of edit forms and the control panel, the goal is to move all the editing
views into this package, so that they can be maintained consistently.There is abbbsubpackage that contains overrides and integration
code required for this package to install on a clean Plone 4.1 site. In
time, this package should be entirely removed and the changes propagated
to the relevant parts of Plone, if and when this package is merged via the
PLIP process.Changelog1.0a2 - 2011-07-17Structure overlay improvements and refinements
[davisagli,vangheem]Don’t load logout link in overlay
[davisagli]jslint cleanup
[smcmahon]Register quick upload views on layer.
[Rob Gietema]Speed up animations.
[Rob Gietema]Refactored notify, now available through $.plone.notify
[Rob Gietema]1.0a1 - 2011-06-28First release, following Bristol UI Sprint