Saravanan666/pypi-org huggingface dataset:
Package: redomino.breadcrumbsbrain
redomino.breadcrumbsbrainredomino.breadcrumbsbrain is a new plugin for Plone CMS that will make it much easier
to search for specific objects in a Plone-based portal or intranet by showing the
breadcrumbs paths along with Titles and Descriptions in the search results.We all know that common users do not provide objects with proper titles and descriptions
(sometimes they just do not provide them at all), which makes it hard to figure out
if what you found is actually what you were looking for. Then you open every link in
the search results to find it out, which may take you quite a time. What you actually need
in a situation like this is CONTEXT.And context is what you get!
redomino.breadcrumbsbrain displays the breadcrumbs of each object in the search results,
helping you in figuring out what those objects are about: are they from 2010 or 2011?
are they in the ‘Notices’ archive or in the ‘News’ archive? and so on.BE CAREFUL!
This is not a standalone package. If you want you can call the breadcrumbs_renderer
view provided by this package (for example you can insert this code into the
search.pt template):<tal:block tal:replace="structure result/@@breadcrumbs_renderer|nothing" />This way you will be able to display where your search results items are placed.Many thanks to AUSL Bologna.Technical detailsredomino.breadcrumbsbrain.interfaces.IBrain
This is a marker interface applied to all brains@@breadcrumbs_view
This is a browser view with a method named breadcrumbs.
Once called it will return the breadcrumbs info for a
particular brain. No getObject is needed, just a
catalog call for each brain.
Note well: if you want to use this browser view intensively you should
STRONGLY consider to add a cache policy (it is not provided by default).Data format returned:[
 {'Title': 'News'),
  'absolute_url': 'http://localhost:8080/Plone/news'
 },
 {'Title': '2011'),
  'absolute_url': 'http://localhost:8080/Plone/news/2011'
 },
]@@breadcrumbs_renderer
This is a browser view that let you show the breadcrumbs info
of a particular brain.Data format displayed:News -> 2011AuthorsDavide Moro <davide.moro AT redomino.com>Changelog0.4 (2012-07-16)fix template for duplicates ids [sithmel]0.3 (2012-06-01)Added i18n
[giacomos]0.2 (2012-05-03)Added .gitignore file
[davidemoro]Modified breadcrumbs brain format (added “Home ->”)
[davidemoro]0.1 (2012-04-02)Initial release
[davidemoro]
Package: redomino_cartasi
Cartasi (www.cartasi.it, also known as “XPay CARTASI”) payment method processor (light version) for Django LFS ecommerce (http://getlfs.com).Put into you settings.py module the right configuration, for example:# CARTASI settings
MAC_KEY_CARTASI = 'your key'
TERMINAL_ID_CARTASI = 'your terminal id'
ACTION_CODE_CARTASI = 'AUT-CONT'
CURRENCY_CARTASI = '978'
LANGUAGE_CARTASI = 'ITA'
NOTIFICATION_URL_CARTASI = 'cartasi/paid_cartasi'
RESULT_URL_CARTASI = 'thank-you'
ERROR_URL_CARTASI = 'cartasi/error'
ANNULMENT_URL_CARTASI = 'cartasi/annulment'
VERSION_CODE_CARTASI = '01.00'
MESSAGE_TYPE_CARTASI = 'C00'
CO_PLATFORM_CARTASI = 'L'
VPOS_ACTION_CARTASI = 'https://your-vpos-action'Repository:https://github.com/redomino/redomino_cartasiTests:$ ./bin/django test redomino_cartasiAuthors[@davidemoro]davide.moro@redomino.com-http://redomino.com
Package: redomino.flowsearch
Redomino FlowsearchRedomino Flowsearch is a new plugin for Plone CMS that provides an advanced search view optimized for Plone
accoding to its features, replacing Plone’s default search tool.Thanks to its tab-divided layout, it’s much easier to set your search parameters compared to common,
long ‘Advanced search’ pages.
In Redomino Flowsearch the search activity is contextual, that is it always considers and notifies which is your
current position in the website, therefore the position you’re searching in.
Furthermore, redomino.flowsearch features search parameters that have been capitalized according on Plone’s
characteristics and provided information. Search parameters are:Search textPathContent typesDate rangeReview stateContributorsSort results by…Screenshot:Flowsearch viewReal-time update of search results: for every change you apply to the parameters, search results are ‘live’, meaning
they are updated in real time; which means no more results page being refreshed or another page being opened.Changelog0.13 (2012-11-12)fix search context for IE [sithmel]0.12 (2012-10-24)From now, when you change the search context it changes the search path
accordingly [sithmel]removed dependency from plone “search_form.pt” (removed in Plone 4.2)
[sithmel]0.11 (2012-09-19)fix css [giacomos]omitting current container from the search results the program crashes because
the plone portal has no IUUID adapter [giacomos, sithmel]0.10 (2012-07-19)Added separated search view for a better results management
[giacomos]0.9 (2012-07-18)Fixed error on filtering by last access date
[giacomos]0.8 (2012-07-17)Fix templates: now it validates with xhtml strict w3c validator
[sithmel]Added .gitignore file
[davidemoro]Fixed README.txt
[davidemoro]0.7 (2012-06-29)Updated README.txt.
[dmoro]0.6 (2012-06-22)added flowsearch as a folder and site view [sithmel]0.5 (2012-06-07)fix Search criteria’s bg color [sithmel]limit batching to 10 elements [sithmel]added a message on ajax errors [sithmel]0.4 (2012-06-05)fix js markup [sithmel]0.3 (2012-05-23)Initial release
Package: redomino.keywordalias
redomino.keywordalias=====================This product aims to let keyword managers to add one or more keyword aliases and different versions depending on the user language.It may help you managing multilingual websites.It provides:* a customized keywords viewlet* a keyword alias configuration panel* a couple of views that let you personalize your 'search' and 'search_form' views.Note well: you have to customize your search and search_form manually! These two templates may depend on the Plone version you are usingTested on Plone 4.1.5 and Plone 4.2.How it works?-------------This product provides a customized keywords viewlet that shows keyword aliases instead of standard keywords depending on a configuration panel.The keyword alias configuration panel let you assign keyword aliases for each keyword indexed in the plone's catalog and for each enabled language.The keyword alias configuration panel stores a dictionary similar to the following one:{'wood': ['Wood',],    # the fallback version for each language'wood|en': ['Wood',],'wood|it': ['Legno', 'Materiale legnoso'],}The registry accepts a list: will be used the first item as a keyword translation, otherwise the default one or the plain keyword itself. The other list valuescould be used by third party packages as aliases or keyword synonims.If you want you may customize the 'search' and 'search_form' views, see next section-Customize the search and search_form views------------------------------------------How to customize the 'search' view:<tal:replace replace="structure context/@@multiselectkeywords" />How to customize the 'search_form' view (where result may be an object or a catalog brain):<tal:replace replace="structure result/@@filedunder" />Similar products----------------See http://pypi.python.org/pypi/archetypes.linguakeywordwidget written by JeanMichel FRANCOIS aka toutpt <toutpt@gmail.com>.This package achieve the same goal but in a different way. With keyword aliasyour keywords are translated in backoffice. With linguakeywords you havejust different keywords.Authors-------* Davide Moro <davide.moro@redomino.com>, idea and main authorChangelog=========0.1 (2012-07-18)----------------- Closes ticket #4[giacomos]- Initial release[davidemoro]
Package: redomino.odttransforms
redomino.odttransformsIt register a new portal transforms that let you generate odt files for a given .odt template.This products is very simple: it just interpolates odt variables with the given ones you pass calling the transformer.
Therefore it performs just variable substitutions, not a real odt templating processor.
No external bynaries are needed, it depends onhttp://ooopy.sourceforge.net/.Tested with ooopy version 1.8.10901.This plugin is meant for developers, it could be used for generating odt files, write a custom PloneFormGen adapter, etc.UsageExample:>>> from zope.component import getUtility
>>> from Products.PortalTransforms.interfaces import IPortalTransformsTool
>>> file_contents = open('your odt file with variables').read()     # see redomino/odttransforms/tests/input.odt
>>> portal_transforms = getUtility(IPortalTransformsTool)
>>> converter = portal_transforms.convertTo(target_mimetype='application/vnd.oasis.opendocument.text.transformed',
>>>                                        orig=file_contents,
>>>                                        mimetype='application/vnd.oasis.opendocument.text',
>>>                                        mapper=dict(plone_version='4.3.2-sunny-day-beta'),
>>>                                       )
>>> transformed_odt_contents = converter.getData()TestsTest status:How to launch tests:$ ./bin/test -m redomino.odttransformsAuthorsDavide Moro <davide.moro@redomino.com>Changelog0.4 (2014-02-07)Added more tests
[davidemoro]Added uninstall profile
[davidemoro]0.3 (2014-02-07)Moved all txt/md files to rst (trying to make happy both pypi and github)
[davidemoro]Added more specific classifiers to setup.py
[davidemoro]Added CI support with Travis
[davidemoro]0.2 (2014-02-06)Fixed MANIFEST.in.
[davidemoro]0.1 (2014-02-06)Initial release
[davidemoro]
Package: redomino.protectdelete
redomino.protectdeleteIf you want to protect your Plone contents from unnecessary or harmful deletions, you may have a look
at this Plone plugin. With redomino.protectdelete Manager users are the only one who are allowed to
remove protected objects.How to tag an object as “protected”:Install redomino.protectdeletego to the ZMI (Interfaces tab) to the object you want to protectapply the redomino.protectdelete.interfaces.IProtectDelete marker interfaceas long as this plugin is installed, Managers will be the only one able to delete that object.Also plone.app.layout.navigation.interfaces.INavigationRoot is protected by default (it’s used for language folders such as /it, /en, etc), as well as IProtectDelete.AuthorsDavide Moro <davide.moro@redomino.com>Changelog0.3 (2012-07-20)added license [sithmel]fix interfaces [sithmel]0.2 (2012-07-19)Added MANIFEST.in
[davidemoro]0.1 (2012-07-17)Initial release
[davidemoro]
Package: redomino.redirectparent
IntroductionThis utility product contains tools to allow out-of-context navigation.Plone provides a strongly opinionated way to navigate your contents. Everything is based on object containment.
For example navigation portlets and breadcrumbs show contents using that criterion.
Sometimes it can be useful to choose a different way to navigate your contents.Example 1:
A certain content is intended to be just a part of a bigger content. For example an image that doesn’t make sense alone, but is shown in a slideshow (redomino.tabsandslides).
In this case this product allows to redirect to the parent (for non editors).Example 2:
You use an internal link to jump to a different part of the web site but the user should be able to get back to the previous content.
In this case, marking the link with a class, a link to the previous page would appear.Redirect to parentThis product adds a special interface “redomino.redirectparent.interface.IRedirectToParent”. Objects with this interface will redirect to the parent when accessed by non editor users.
You can add the interface using the “manage_interfaces” view.Hidden folderThis is a new content type intended to be hidden. It can be useful if you don’t want users to directly navigate on a certain folder containing public objects.
This folder is not searchable, navigable and will redirect to the parent when accessed directly.Link with backreferenceWhen the relatesToUID class is used on an internal link the target view will contain a link to the previous content.Changelog0.3 (2013-06-25)Added readme.txt [sithmel]0.2 (2013-05-29)Disabled problem with install/reinstall. The profile properties enables
by default all not searched types at reinstall time.
Added missing purge=”False”
[dmoro]0.1 (2013-04-09)Initial release
Package: redomino.seosupport
redomino.seosupportBy installing this plugin you will get a Plone site with the sitemap.xml.gz enabled by default.redomino.seosupport depends on googlesitemap.common that provides an optimized sitemap.xml.gz view.AuthorsDavide Moro, main author <davide.moro@redomino.com>Giacomo Spettoli, <giacomo.spettoli@redomino.com>Changelog1.1 (2012-04-24)First public releaseOverridden the plonehead.title viewlet to reverse the order of the title’s part
[giacomos]1.0 (2012-04-02)Initial release
Package: redomino.tinymceplugins.snippet
IntroductionThis is a plugin forTinyMCEIt adds a simple “add snippet” button. Useful for pasting snippets of HTML into a text.Changelog0.0.4 (2012-05-04)Update README.txt [dpollino]fix product description [sithmel]0.0.3 (2012-04-02)fixed readme and setup.py [sithmel]0.0.2 (2011-12-21)initial release
Package: redomino.tokenrole
redomino.tokenroleThis product allows you to share roles about a specific Plone content to an
unregistered user through a link.TokenRole use borg.localrole to assign localroles in context.PAS Plugin which can assign localroles on a context to anonymous
users providing a specific token is provided.After you install redomino.tokenrole through Plone Control Panel, go to
any Plone Page and activate TokenRole support using the specific
action in the content actions menu.A new content tab will appear to let you manage your tokens on that
page: create a new one leaving there what the system suggests or
modifying it as you need (Manager or Site Administrator role is required). Now try to access the provided url with
an unpriviledged user and you’ll get the role you granted on that context.You can manage the token role (edit, delete, modify or distribute via mail).Token role creationThe default policy which comes with redomino.tokenrole implement this annotating
information on the context, managed through a browser view.Tokens management interfaceUsageInstall the redomino.tokenrole plugin through the quick installerCreditsIncredibly easy was to have this work done starting out from AutoRole
product and its PAS plugin, and of course many thanks to borg.localrole
for the incredibly easy way of providing localroles on context.Thanks to Fabrizio Reale, Redomino and ITCILO for inspiring and sponsoring this
effort. Current mantainer Davide Moro.First implemented by Maurizio Delmonte.ContributorsRedomino S.r.l.,info@redomino.comChangelog1.1.1 (2019-01-06)Fixed missing urllib import with Python3 compatible import and add six as dependency
[MrTango]1.1 (2018-10-17)Quote url path when setting cookieFix email tests and travis tests
[instification]1.0 (2018-04-16)Use email of current user, instead of system email
[tomgross]1.0rc3 (2017-11-08)Fix error when sending token url via email
[tomgross]1.0rc2 (2017-09-06)Make ATContentTypes optional
[tomgross]1.0rc1 (2017-08-02)Fix getting request
[tomgross]1.0b2 (2017-05-05)Fix packaging issue
[tomgross]1.0b1 (2017-05-05)Plone 5 compatibility
[tomgross]Add adapter for construction token URL
[tomgross]
Package: redomino.tokenroleform
redomino.tokenroleformThis product allows unregistered users to download or view a private content by simply filling
a contact form with personal data and a valid e-mail address; after submitting the form, an automated mail
containing the link to the requested private content is sent to the user who made the request.Basically the request is carried out by PloneFormGen action adapter, which activates a temporary access token
thanks to redomino.tokenrole, and sends it via mail. The token’s validity only lasts for a few minutes,
which means it has to be used quickly. This was done in order to avoid unauthorized sharing on social networks
or other platforms.How to use tokenroleformStep by step:install redomino.tokenroleformcreate a PloneFormGenadd a ‘TokenRoleMailerAdapter’ and configure it:choose an existing private document you want to share (field “Private doc”)validity (minutes), the token validity. Default: 60 minutesExtract Recipient (choose “From Your E-Mail Address” or another email field)In the message tab you can configure fields putting a ${TOKEN_URL} in order to add a textual link.
If you prefer an html link go to the Template tab and add this html:<a tal:define=”token_url python:request.get(‘TOKEN_URL’);”tal:attributes=”href token_url;”
tal:content=”token_url”>ACCESS LINK</a>Tokenrole form screenshot:Token role form configurationAuthorsDavide Moro <davide.moro@redomino.com> - Idea and main implementationChangelog0.5 (2013-06-25)fixed MANIFEST.in [sithmel]Modified setup.py.
[davidemoro]Updated README.txt
[davidemoro]0.4 (2012-06-29)Added screenshot and updated README.txt.
[davidemoro]0.3 (2012-06-28)Modified setup.py.
[davidemoro]0.2 (2012-06-21)Updated README.txt
[davidemoro, dpollino]First public release
[davidemoro]0.1 (2012-06-19)Initial release
[davidemoro]
Package: redomino.workgroup
redomino.workgroupredomino.workgroup is a product for Plone. It will install automatically all his dependencies.redomino.workgroup is based on membrane/remember and you’ll be able to create easily workgroup sections and restricted
areas with local Members and with local search capabilities.
redomino.workgroup doesn’t introduce new folderish content types (you can enable or disable each existing plone folders).redomino.workgroup may be used also with redomino.autodelete, so we’ll be able to create a folder with local member types that will be
deleted automatically once expired.For more info, questions and support, please see the home page of the project:http://www.redomino.com/it/labs/progetti/redomino-workgroupINSTALLATIONredomino.workgroup installs automatically all dependencies.REQUIREMENTSTested and developed against:
- Plone 3.0.5/Plone 3.0.6/Plone 3.1
- membrane (trunk)
- remember (trunk)CREDITSMain authors:
-Davide Moro (davide.moro@redomino.com)
-Fabrizio Reale (fabrizio.reale@redomino.com)
Package: redondear-dsalinas
Round and convert decimal number to centsInstall packagepipinstallredondear-dsalinasPackage usagefromredondearimportredondearnumber=redondear.round_number("2.5456756")# 2.55cents=redondear.to_cents(number)# 255decimals=redondear.to_decimals(cents)# 2.55print(number,cents,decimals)# 2.55 255 2.55
Package: redorm
RedORMA simple Redis ORM that only a madman would use in production.The red in RedORM both means Redis as well as the color red, as red is the fastest colour!Quick StartTo installpip install redormfromdataclassesimportdataclassfromredormimportRedormBase,one_to_one,one_to_many,many_to_one,many_to_many@dataclassclassPerson(RedormBase):name:strage:intsiblings=many_to_many(foreign_type="Person",backref="siblings")dad=many_to_one(foreign_type="Person",backref="children")children=one_to_many(foreign_type="Person",backref="dad")favourite_color=one_to_one("Color",backref="liker")@dataclassclassColor(RedormBase):name:strliker=one_to_one(Person,backref="favourite_color")>>>red=Color.create(name="Red")>>>homer=Person.create(name="Homer",age=50,favourite_color=red)>>>print(repr(homer.favourite_color))Color(id='dcb9aa50-554a-40a5-9acf-7d86c982e5ee',name='Red')>>>print(repr(homer.children))[]>>>bart=Person.create(name="Bart",age=11,dad=homer)>>>print(repr(homer.children))[Person(id='424cd574-5382-4d34-89da-7233b3928405',name='Bart',age=11)]>>>print(repr(bart.favourite_color))None>>>blue=Color.create(name="Blue",liker=bart)>>>print(repr(bart.favourite_color))Color(id='dc9df3c2-c592-4d87-a45e-f88a346342b4',name='Blue')>>>print(repr(blue.liker))Person(id='424cd574-5382-4d34-89da-7233b3928405',name='Bart',age=11)>>>lisa=Person.create(name="Lisa",age=9,dad=homer.id,siblings=[bart])>>>print(repr(homer.children))[Person(id='205a459a-572c-41af-bae3-e6e730aada97',name='Lisa',age=9),Person(id='424cd574-5382-4d34-89da-7233b3928405',name='Bart',age=11)]>>>bart.dad=None>>>print(repr(homer.children))[Person(id='205a459a-572c-41af-bae3-e6e730aada97',name='Lisa',age=9)]Why Redorm?Thread SafeVery fastSuper simple to useVery little boilerplateWhy not Redorm?Made in an afternoonUnlikely to be maintainedNot thoroughly testedNOT THOROUGHLY TESTEDWriting your own ORM is fantastic for learning, but you should not use it in prod
Package: redo-tools
# redo - a recursive build systemSmaller, easier, more powerful, and more reliable thanmake.This is an implementation of [Daniel J. Bernstein’s redo
build system](http://cr.yp.to/redo.html).  He never released his
version, so other people have implemented different variants based on his
published specification.This version, sometimes called apenwarr/redo, is probably the most advanced
one, including parallel builds, improved logging, extensive automated tests,
and helpful debugging features.To build and test redo, run./do -j10 test.  To install it, runDESTDIR=/tmp/testinstall PREFIX=/usr/local ./do -j10 install.—View the [documentation](https://redo.rtfd.io) via readthedocs.orgVisit the [source code](https://github.com/apenwarr/redo) on githubDiscussions and support via themailing list ([archives](https://groups.google.com/group/redo-list)).
You can subscribe by sending any email message toredo-list+subscribe@googlegroups.com(note the plus sign).
Package: redoubt-agent
re:doubt Bot Python SDKThe re:doubt monitors TON on-chain activity in real-time, detecting threats and other security-related events.
The network is made up of numerous detection bots developed by a community of Web3 developers and security experts.
Each bot acts like a little security camera monitoring something specific on-chain. What the re:doubt detects is a
direct result of the bots being run. Some bots monitor generic threats, and others monitor protocol-specific activity.See the developer documentation atre:doubt documentationInstallationInstall Python 3 package:pip3 install redoubt-agentAPI KeysTo use SDK one need to request API key from@RedoubtAPIBotand pass it either directly
toRedoubtEventsStreaminstance or usingREDOUBT_API_KEYenvironment variable.ExamplesNew pools botNew pools detectorIt is monitoring for new pools and just prints info.Jetton transfers botJetton transfers botMore complicated example. It listens for all Jetton transfers and after receiving info
about the transfer it requests additional info over GraphQL API. In this case it
uses additional GraphQL request to get Jetton metadata (symbol and decimals).As a result you will get such a message:EQ...EJ => EQ...7f 22.033882202 SCALE
Package: redpackets
RedPackets Split & Return split_list if succeed & Raise Exception if failedInstallationpip install redpacketsUsageimport redpackets

# Redpackets Split
redpackets.split_dollar(total, num, min=0.01)
redpackets.split_cent(total, num, min=1)
# cent=False equals split_dollar
# cent=True equals split_cent
redpackets.split(total, num, min=None, cent=False)

# Exchange Cent & Dollar
redpackets.cent(dollar, rate=100, cast_func=int)
redpackets.dollar(cent, rate=100, cast_func=float)

# Mul & Div
redpackets.mul(multiplicand, multiplicator, cast_func=float)
redpackets.div(dividend, divisor, cast_func=float)