Saravanan666/pypi-org huggingface dataset:
Package: experder
experdera caesar cypher library and 10-key encryption lilbrary for pythonDownloadpython3 -m pip install experderorpip install experderUsagecaesar_rshift
shifts each character bykeycaesar_rshift(message,key=13)caesar_rshift('lcpmatthew@gmail.com')>>'ypcznggurj@tznvy.pbz'# Also works with upper and lower casecaesar_rshift('lcpmatthew@gmail.COM',25)>>'kbolzssgdv@flzhk.BNL'caesar_lshift
shifts each character backwards bykeycaesar_lshift(message,key=13)caesar_lshift('ypcznggurj@tznvy.pbz')>>'lcpmatthew@gmail.com'caesar_lshift('kbolzssgdv@flzhk.BNL',25)>>'lcpmatthew@gmail.COM'caesar_bruteforce
checks every possible combination for caesar encryption and prints on screencaesar_bruteforce(message)caesar_bruteforce('kbolzssgdv@flzhk.BNL')>>0|kbolzssgdv@flzhk.BNL>>1|jankyrrfcu@ekygj.AMK>>2|izmjxqqebt@djxfi.ZLJ>>3|hyliwppdas@ciweh.YKI>>4|gxkhvooczr@bhvdg.XJH>>5|fwjgunnbyq@agucf.WIG>>6|eviftmmaxp@zftbe.VHF>>7|duhesllzwo@yesad.UGE>>8|ctgdrkkyvn@xdrzc.TFD>>9|bsfcqjjxum@wcqyb.SEC>>10|arebpiiwtl@vbpxa.RDB>>11|zqdaohhvsk@uaowz.QCA>>12|ypcznggurj@tznvy.PBZ>>13|xobymfftqi@symux.OAY>>14|wnaxleesph@rxltw.NZX>>15|vmzwkddrog@qwksv.MYW>>16|ulyvjccqnf@pvjru.LXV>>17|tkxuibbpme@ouiqt.KWU>>18|sjwthaaold@nthps.JVT>>19|rivsgzznkc@msgor.IUS>>20|qhurfyymjb@lrfnq.HTR>>21|pgtqexxlia@kqemp.GSQ>>22|ofspdwwkhz@jpdlo.FRP>>23|nerocvvjgy@iockn.EQO>>24|mdqnbuuifx@hnbjm.DPN>>25|lcpmatthew@gmail.COMtenkey_rshift
Does not only have to be ten keyWorks like this:tenkey_rshift('aaaa',15)aaaa1515bfbftenkey_rshift('aaaa',153)aaaa1531bfdbtenkey_rshift('aa aa',153, skip_spaces=True)aaaa15\31bf31tenkey_rshift('aa aa',153, skip_spaces=False)aaaa15315bfbftenkey_rshift(message,key,skip_spaces=True)tenkey_lshift
works like tenkey_rshift but shifts leftexperderMatthew Lam 2020
Package: experimaestro-ir
Information Retrieval for experimaestroInformation Retrieval module forexperimaestroThe full documentation can be read atIR@experimaestro.You can find experiments built on top of XPMIR on thexpmir github workspace.Finally, you can find theroadmap.InstallBase experimaestro-IR can be installed withpip install xpmir.
Functionalities can be added by installing optional dependencies:pip install xpmir[neural]to install neural-IR packages (torch, etc.)pip install xpmir[anserini]to install Anserini related packagesFor the development version, you can:If you just want the development version: install withpip install git+https://github.com/experimaestro/experimaestro-ir.gitIf you want to edit the code: clone and then do apip install -e .within the directoryWhat's inside?Collection management (using datamaestro)Interface for theIR datasets librarySplitting IR datasetsShuffling training tripletsRepresentationWord EmbeddingsHuggingFace transformersIndicesdense:FAISSinterfacesparse:xpmir-rust libraryStandard Indexing and RetrievalAnseriniLearning to RankPointwisePairwiseDistillationNeural IRCross-EncoderSpladeDRMMColBERTPaper reproduction:MonoBERT(Passage Re-ranking with BERT. Rodrigo Nogueira and Kyunghyun Cho. 2019)(alpha)DuoBERT(Multi-Stage Document Ranking with BERT. Rodrigo Nogueira, Wei Yang, Kyunghyun Cho, Jimmy Lin. 2019)(beta)Splade v2(SPLADE v2: Sparse Lexical and Expansion Model for Information Retrieval, Thibault Formal, Carlos Lassance, Benjamin Piwowarski, and Stéphane Clinchant. SIGIR 2021)(planned) ANCEPre-trained modelsHuggingFaceintegration(direct, through the Sentence Transformers library)ThanksSome parts of the code have been adapted fromOpenNIR
Package: experimental.aggressiveopaquespeedup
IntroductionThis path improve overall performance of Plone. It remove opaqueitems feature
from CMF (just keep talkback support)I have discover this issue by profiling just a simple javascript file fetch
throw Plone document html page and discuss it throw CMF mailing list:http://mail.zope.org/pipermail/zope-cmf/2009-August/028559.htmlThe result is 25% better on the total time spend in the request. Becarefull if
you use a third part product that use opaqueitems and make me know if you it is,
I will add it to this page. At the moment only talkback use it and are supported.ContentsIntroductionCreditsChangelog1.11.0CreditsPlanet Makina CorpusContact usChangelog1.1Remove ZopeSkel stuff from egg’s metadatas [toutpt]1.0Remove opaqueitems (just keep talkback support)
Package: experimental.atrefspeedup
IntroductionNote: This code has been merged into Products.Archetypes and will be part of
any Plone 4.1 and later release.At the heart of the Archetypes reference engine is the reference_catalog. This
is a set of catalog indexes used to perform the actual query lookups.The choice of using a ZCatalog has lead to some data structures which aren’t
suited for handling references.This project tries to work around some of the short comings of the internal
implementation of the reference engine without changing the public API or
making any other changes to the stored data.DevelopmentThe source code can be found at:https://github.com/hannosch/experimental.atrefspeedupIf you encounter any issues, please contact hanno (at) jarn (dot) com.Changelog1.0a6 - 2011-08-02Protect against invalid references pointing to non-existent objects.
[hannosch]1.0a5 - 2011-08-02Don’t useisdisjoint, as it’s not available on Python < 2.6.
[hannosch]1.0a4 - 2010-11-22Deal gracefully with missing uid catalog entries for references.
[hannosch, stefan]1.0a3 - 2010-11-05Speed upgetReferencesandgetBackReferencesofReferenceableobjects.
We no longer load the reference objects themselves but work directly with the
information on the brains.
[hannosch]Speed upgetTargetObjectandgetSourceObjecton reference objects.
[hannosch]1.0a2 - 2010-11-04Support passing in a list of relationships into thegetReferencesandgetBackReferencesmethods.
[hannosch]1.0a1 - 2010-10-18Initial implementation.
[hannosch]
Package: experimental.backportGS
IntroductionThis product is only useful if you are in the very sad situation of needing a Plone product on a Plone 3.3
installation, but the product is now compatible only with Plone 4+.Keeping code compatibility with older version is commonly simple (see “Upgrading Plone 3.x to 4.0” and
“Upgrading Plone 4.0 to 4.1”).However there’s a major problem:Generic Setup import step changes.
Sadly those changes are difficult to be backported (because no-one wants to maintain a Plone-3-only compatible
profile).How it worksThis product willnotbackport Generic Setup new features to Plone 4.3, but monkey-patch Generic Setup totoleratenew XML parameters.cssregistryOldCSSRegistryregistration didn’t know nothing aboutauthenticated,applyPrefixandbundleparamenters.Those parameters are now ignored.Ifauthenticatedis provided andexpressionis not provided, the newauthenticatedfeature is
translated in the old way (usingexpression).jsregistryOldCSSRegistryregistration didn’t know nothing aboutauthenticated, andbundleparamenters.Those parameters are now ignored.Ifauthenticatedis provided andexpressionis not provided, the newauthenticatedfeature is
translated in the old way (usingexpression).typesOldPropertyManagerHelperssupports onlycontent_iconregistration instead of the newicon_expr.Ificon_expris provided, it will be used ascontent_icon. Also: an attempt to fix the data format is done.AuthorsThis product was developed by RedTurtle Technology team.Changelog0.2.1 (2012-12-13)Added a MANIFES file [keul]0.2 (2012-12-12)added log messages when patches are used [keul]added support for substitution of new styleicon_exprwith old-stylecontent_icon[keul]0.1 (2012-12-12)Initial release
Package: experimental.btree
IntroductionThis library provides experimental code to speed up BTree difference and
intersection functions, as used by the ZCatalog.It’s been extracted out fromexperimental.catalogqueryplannow that the query plan implementation has been moved to ZCatalog itself.TestingTo test, import the monkey patch in other tests, like CMFPlone:import experimental.btreeand run the test.DevelopmentDevelopment of this project takes place at:https://github.com/Jarn/experimental.btreeChangelog1.1 - 2011-08-21Update to Cython 0.15.
[hannosch]Correct small/big assignment if only the fist argument is a tree set.
[hannosch]Avoid intersection optimizations if both arguments are non-tree sets.
[hannosch]1.0 - 2011-07-29Split off fromexperimental.catalogqueryplan.
[hannosch]
Package: experimental.bwtools
A product that tries to understand the network connection quality
of the clientsDocumentationThis package injects a small JavaScript file that
every N minutes
starts an asynchronous download of reosources from the site.The measured performanced are then stored in a cookie and
can be used to activate or deactivate features in your site.This package does not take care of switching on and off the features.InstallationInstall experimental.bwtools by adding it to your buildout:[buildout]

...

eggs =
    experimental.bwtoolsand then runningbin/buildoutContributeIssue Tracker:https://github.com/collective/experimental.bwtools/issuesSource Code:https://github.com/collective/experimental.bwtoolsSupportIf you are having issues, please let us know:https://github.com/collective/experimental.bwtools/issuesLicenseThe project is licensed under the GPLv2.ContributorsAlessandro Pisa,alessandro.pisa@gmail.comChangelog0.2.0 (2017-03-03)Improved test coverage.Fix missing Content-Length header.Handle known_bad_ips.
[ale-rt]0.1.0 (2017-03-02)Initial release.
[ale-rt]
Package: experimental.catalogplan
Introductionfix plan for unused index in a queryhttps://github.com/zopefoundation/Products.ZCatalog/pull/138This fix is now released in Products.ZCatalog 6.3.avoid to have DateRecurringIndex between the valueindexeshttps://github.com/collective/Products.DateRecurringIndex/pull/8Fix catalog plan for query with operatorshttps://github.com/zopefoundation/Products.ZCatalog/pull/139This fix (only fornotoperator) is now released in Products.ZCatalog 6.3.UsagePlone:[instance]
recipe = plone.recipe.zope2instance
eggs =
    experimental.catalogplanZope:[instance]
recipe = plone.recipe.zope2instance
eggs =
    experimental.catalogplan
zcml =
    experimental.catalogplanWarningThis is an experimental addon, mostly safe, but still experimentalUSE AT YOUR OWN RISKChangelog1.0.0a3 (2022-08-04)Fix catalog plan for query with operatorshttps://github.com/zopefoundation/Products.ZCatalog/pull/1391.0.0a2 (2022-07-20)avoid to have Products.DateRecurringIndex.index.DateRecurringIndex between the valueindexes1.0.0a1 (2022-07-18)fix plan for unused index in a queryhttps://github.com/zopefoundation/Products.ZCatalog/pull/138
Package: experimental.collectionfix8463
IntroductionNoteDo not use this package with Plone 3.3.6 or better. You don’t need it!This package only fix the#8463Plone bug with Collection content type. The fix to this bug has already been
released for Plone 3.3.6 and above, so you need this only for old version of Plone (Plone 3.0, 3.1…).
Also you don’t need this if you useTinyMCEinstead ofkupuWYSIWYG editor.This product give to your Plone 3 site fixed versions of the four templates where you can find the bug, applying
changesetr120628(collective) andr37779(plone).CreditsDeveloped with the support ofRete Civica Mo-Net - Comune di Modena;
Rete Civica Mo-Net supports thePloneGov initiative.AuthorsThis product was developed by RedTurtle Technology team.Changelog0.2.0 (2011-04-15)fixed dependency to Plone 3.3.5 and lower, not lower than 4.0 [keul]fixed compatibility for Plone 3.2 and below. The suggestion in the
ticket to use templates from 3.3 was wrong (due to Link changes) [keul]0.1.0 (2011-04-11)initial release
Package: experimental.contentcreation
OverviewExperimental performance improvements to content creation for Plone.Changelog1.0rc1 - 2009-05-20Package metadata and code cleanup.
[hannosch]Merged changes for archetypes new style factory compatibility.
[hannosch]Handle case of egg contained types if no product is set on fti at
getDefaultAddableTypes.
[rnix]Switched __getitem__ to __getattr__ in FauxArchetypeTool. This makes it look
up attributes on the real tool, which makes acquisition work again.
[tesdal]Added _setObject method from OFS, don’t fire events by default.
[tesdal]Initial package structure.
[zopeskel]
Package: experimental.cssselect
This package contains an experimental fork of the lxml.cssselect module. The
lxml fork with the same changes ishttp://github.com/lrowe/lxmlChanges0.3 2012-04-05Fix bug with ignorable spaces between css selector groups. This caused
extremely slow Diazo execution times.0.2 2012-04-04Make:contains()case sensitive for simplicity and speed.Update to lxml master to fix problems with ignorable spaces in selectors.0.1 2011-03-23In lxml.cssselect, use the xpath ‘A//B’ (short for
‘A/descendant-or-self::node()/B’) instead of ‘A/descendant::B’ for the css
descendant selector (‘A B’). This makes a few edge cases to be consistent
with the selector behavior in WebKit and Firefox, and makes more css
expressions valid location paths (for use in xsl:template match).Fork from lxml 2.3
Package: experimental.globalgopipindex
Patch GopipIndex to sort objects by ‘global’ positionBy default, Plone GopipIndex (Get object position in parent Index) sorts results only by objects order in their own folder.While this works for the most common use cases, the resulting order may look weird if it contains results from multiple folders:>>> pc = layer['portal']['portal_catalog']
>>> [brain.getPath() for brain in pc(sort_on='getObjPositionInParent')]
['/plone/a/a1', '/plone/b/b1', '/plone/a/a2', '/plone/b/b2', '/plone/a/a3', '/plone/b/b3', '/plone/a', '/plone/b']This package patches the results to be sorted as follows:>>> layer['patch']()
>>> pc = layer['portal']['portal_catalog']
>>> [brain.getPath() for brain in pc(sort_on='getObjPositionInParent')]
['/plone/a', '/plone/b', '/plone/a/a1', '/plone/a/a2', '/plone/a/a3', '/plone/b/b1', '/plone/b/b2', '/plone/b/b3']This package may affect the performance of sorting bygetObjPositionInParent.Changelog1.0.0 (2015-01-07)First release.
Package: experimental.gracefulblobmissing
ContentsHow to useRequirementsWarningCreditsAuthorsChangelog2.0 (2023-08-03)1.0 (2022-03-11)0.5.0 (2018-12-14)0.4.0 (2015-04-29)0.3.0 (2011-09-30)0.2.0 (2011-06-06)0.1.0 (2010-11-19)How to useTheBLOB support in Ploneis amazing for a lot of reasons.However Plone will raise errors when you visit a file content that use BLOB support without also having the BLOB file.For developers this can be a little bit boring.
It’s quite common to copy a productionData.fsfor developing using production data, but you don’t always want to copy all blobs.This product monkey-patches parts of Plone, so that visiting objects that store content in the blob storage without having the BLOB available will not lead to errors.
Instead a file only containing the string “File created by experimental.gracefulblobmissing.” is created in the place where the blob-file should be.RequirementsThis product has been tested on:Plone 5.1Plone 5.2For Plone 4 / Archetypes compatibility stay below version 2.0.
For Plone 3 compatiblity stay on version 0.3.0 or lower.WarningThis is designed only fordevelopment/stagingenvironment.Do not use in productionif you are not 100% sure of what you are doing!CreditsDeveloped with the support ofS. Anna Hospital, Ferrara; S. Anna Hospital supports thePloneGov initiative.AuthorsThis product was developed by RedTurtle Technology team.Changelog2.0 (2023-08-03)Remove Archetypes compatibility code.
[thet]1.0 (2022-03-11)Add support for relstorage.
[pbauer]Create dummy image blobs on the fly.
[ale-rt, mauritsvanrees]0.5.0 (2018-12-14)Only patch plone.app.blob and Products.ATContentTypes if they are installed.
This makes this package compatible with a Archetypes-free Plone.
[gforcada]0.4.0 (2015-04-29)modify patch to not touch every file but only create file with a string in it when it is missing [pbauer]patch ZEO to create missing blob-files [pbauer]add logging-message when creating a missing blog-file [pbauer]fixed errors when reindexing SearchbleText index [keul]Added a patch for ZODB egg that Create the blob folder path and create (touch)
an empty file for each blob file if it’s missing. [sneridagh]0.3.0 (2011-09-30)fixed dependency oncollective.monkeypatcher>= 1.0 [keul]pached also getScale method, used by some atct views [keul]0.2.0 (2011-06-06)fixed dependencies [keul]direct access to files with missing blobs
now redirect to the view with a warning [keul]0.1.0 (2010-11-19)initial release
Package: experimental.nodtml
Patch DocumentTemplate to not return any content.FeaturesDTML documents have been deprecated for several years, at least within
the Plone community.  So you should not use them.  But still Plone
ships with DTML documents.  And these may contain security issues,
especially for Cross Site Scripting (CSS).  So this package patches
the Document Templates to not return any content.OptionsThe package looks for a few environment variables.SHOW_ORIGINAL_DTMLWhen this is set to a true value, the original DTML value is printed in the zope instance log.
The arguments and keyword arguments are also shown, so you can know where this is coming from.
Default: false.DEBUG_DTML_VALUEWhen this is set, the given value is return as content of the DTML.
Default: empty string.EXPERIMENTAL_NODTML_ONLY_WARNWhen this is set to a true value, instead of replacing the dtml value, a warning is logged.
When true, theSHOW_ORIGINAL_DTMLandDEBUG_DTML_VALUEsettings are ignored.
Default: false.EXPERIMENTAL_NODTML_RAISEWhen this is set to a true value, instead of replacing the dtml value, an exception is raised.
When true, the other settings are ignored.
Default: false.Accepted True values are:true,t,1,yes,y.InstallationInstall experimental.nodtml by adding it to your buildout:[buildout]
...
eggs =
    experimental.nodtmland then runningbin/buildoutNo zcml is needed.Supported Plone VersionsPlone 4.xPlone 5.xWe are only patchingDocumentTemplateso this works with any plain Zope2.ContributeIssue Tracker:https://github.com/plone/experimental.nodtml/issuesSource Code:https://github.com/plone/experimental.nodtmlLicenseThe project is licensed under the GPLv2.ContributorsMaurits van Rees,maurits@vanrees.orgChangelog1.2 (2016-11-14)New features:AddedEXPERIMENTAL_NODTML_RAISEoption.  [maurits]1.1 (2016-09-28)New features:AddedEXPERIMENTAL_NODTML_ONLY_WARNoption.  [maurits]Bug fixes:Interpret value ofSHOW_ORIGINAL_DTMLas true value.
Accepted True values are:true,t,1,yes,y.
[maurits]Show arguments and keyword arguments whenSHOW_ORIGINAL_DTMLis true.
[maurits]Return empty string instead of empty unicode by default.  Otherwise
you get exceptions when loading dtml files in for example the css
registry on Plone 4.3.  [maurits]1.0.2 (2016-09-24)Bug fixes:Fixed showingString .__str__.  [maurits]1.0.1 (2016-09-24)Bug fixes:Added z3c.autoinclude entry point, so our code gets loaded on startup.  [maurits]1.0 (2016-09-24)Initial release.
[mauritsvanrees]
Package: experimental.opaquespeedup
Introductionexperimental.opaquespeedupis an approach to speed up event handling in
Plone 3.  Currently all events on content objects are getting dispatched to
so called “opaque” objects, which are sub-objects not handled byOFS’sObjectManagerclass.  Apart from the commenting framework such objects are
mostly unused nowadays.  However, for dispatching every single fired eventsCMFCatalogAware’s rather expensive methodopaqueItemsis used in order to
collect all “opaque” objects for a given folderish object.  The method call
wakes up all objects in the folder and is completely uncached.  So the more
objects reside in a folder and the more event subscribers are being used by
the system, the slower things get.  And all events count.This package tries to optimize things by replacingopaqueItemswith a
version that’ll query the catalog for contained “opaque” objects and cache
the results.  Initial tests indicate a significant performance improvement.Changelog1.0 - 2009-05-22Package metadata cleanup.
[hannosch]1.0a1 - 2008-09-02Initial release
[tesdal, witsch]
Package: experimental.pietimemenu
Introduction============This product replaces all archetype time inputs with radial (alsoknown as circular or pie) menues.The time drop down is a pita, a radial menu saves a lot of mouse moves.The radial menu is easy to grasp after all the display is pretty muchthe same as an analogue clock.The js is short (~4.3k uncompressed) and no changes to the currenttime input is required. It is fully customizable with css, very fewassumption are made in the code.It falls back to the 'classic' drop down menus on browsers w/o js.It implements Fitts’ law, which…[...] is a model of human movement primarily used in human–computerinteraction and ergonomics that predicts that the time required torapidly move to a target area is a function of the distance to thetarget and the size of the target.- WikipediaChangelog=========0.1 (2012/02/16)-------------------- tested for several months in production- Initial release
Package: experimental.portalfactoryfix
OverviewExperimental performance improvements to content creation for Plone. Primarily
this works by trying to ensure that portal factory does not cause writes to the
zodb, via making archetypes content portal factory aware such that they do not
attempt to register themselves in various global catalogs.  Previously portal
factory would manually unindex the content after the request, but that would still
cause writes to global data structures, creating write conflict hotspots and zodb
bloat for what should be a stateless operation.This issue is being tracked by Plone at the following URL.https://dev.plone.org/plone/ticket/9672This patch is for intended for existing versions of Plone (2x & 3x) to address
this issue.It can be applied by adding the egg to a buildout, and including the package’s
zcml.ChangeLog0.4.2 - 2009-12-09fix url to point to new location in collective svn repository.emit log message on patchadditional docs0.4.1 - 2009-12-07packaging fix
Package: experimental.ulocalized_time
ContentsIntroductionThe Python WayThe Plone WayAlternativeWarningAuthorsChangelogIntroductionThis product can be used by people that want to use anstrftime compatible formatfor display
locale sensible data inside Plone templates.The Python WayPython support locales through thelocale modulebut this seems not working properly inside Plone,
for example thesetlocale functionsays:setlocale() is not thread-safe on most systems. Applications typically start with a call of>>> import locale
>>> locale.setlocale(locale.LC_ALL, '')This sets the locale for all categories to the user’s default setting (typically specified in the
LANG environment variable). If the locale is not changed thereafter, using multithreading should not
cause problems.So it seems that you can force a locale (or use the system ones) but I fear this is not a good idea for Plone
sites that need to be used in more than a language. Plone itself don’t use the Python locales for translate dates
elements.The Plone WayInside Plone you can print date in a full working i18n aware way using thetoLocalizedTimemethod of theploneview. However you can simply use a couple of format:long_formatorshort_format, defined in the
Plone localization product, passingTrueorFalseas second parameter:>>> from DateTime import DateTime
>>> t = DateTime()
>>> ploneview.toLocalizedTime(t, True)AlternativeInstalling this product will give you an alternative, patching Plone. You can continue usingtoLocalizedTimebut you can play with thelong_formatparameter, that in fact became also aformatparameter.You can still use the method as above (so basic Plone features are not touched) but you can provide along_formatvalue that can be a format string.For example, a valid Python date string format as “%a %d hello guys %b %Y” became
“${a} ${d} hello guys ${b} ${Y}”, so:>>> from DateTime import DateTime
>>> t = DateTime()
>>> ploneview.toLocalizedTime(t, "${a} ${d} hello guys ${b} ${Y}")WarningMaybe this product is wrong and there is a way to make strftime working properly in a Plone multi-language site,
but I don’t find any information about an alternative way! If you know how to do this, please contribute
tothe discussionand help me deprecate this add-on!AuthorsThis product was developed by RedTurtle Technology team.Changelog0.1.0 (2011-07-21)Initial release