Saravanan666/pypi-org huggingface dataset:
Package: collective.soupstrainer
collective.soupstrainerQuite often there is a need to clean up HTML from some source, be it user
input or data gathered by scraping, which needs to be cleaned up. With the
SoupStrainer class in collective.soupstrainer this is made easy. It uses
beautifulsoup4 to parse and clean up HTML. The constructor of the class takes
four arguments.exclusionsThis is a list of tuples with two items each. The first item is a list of
tag names, the second item is a list of attributes. If the list of
attributes is empty, then each tag in the first list is completely
removed from the passed in HTML. If the list of tags is empty, then each
attribute listed is completely removed. If there are both tags and
attributes listed, then the attributes are only removed from matching
tags.style_whitelistThis is a white list of CSS styles allowed in ‘style’ attributes. All
other styles are removed.class_blacklistThis is a black list for CSS classes. Each matching class is removed from
‘class’ attributes.parserThis is the parser used by beautifulsoup4, when the strainer is called with
a string. It must be an installed parser for beautifulsoup4, defaults tohtml.parserAn instance of the SoupStrainer class can be called directly with one
argument. The argument can either be a string, in which case it will
internally be parsed by beautifulsoup4 and the result will be unicode (or
string in python 3), or it can be a parsed HTML tree created by beautifulsoup4,
in which case it will be modified in place and be returned again.Changelog2.2 (2021-03-25)Do not stop after the first replace of a tag which is to be excluded.
(#8)Add support for Python 3.8 and 3.9.2.1 (2019-02-06)Add support for Python 3 and PyPy.2.0 (2017-10-19)Backwards incompatible changesUpdate to beautifulsoup4.Add a parameterparsertoSoupStrainerwhich specifies the parser
used by beautifulsoup4.1.0 - 2008-11-14Initial release
Package: collective.sphinx.autoatschema
- Code repository: http://svn.plone.org/svn/collective.sphinx.autoatschema- Questions,comments and bugs to rok(dot)garbas(at)gmail(dot)comDescription===========This is another sphinx extension, which enables you to easily document Archetypesschemas.Example=======.. collective.sphinx.autoatschema:: my.package.content.custom_cotent.MySchemaThats it, enjoy...
Package: collective.sphinx.includechangelog
IntroductionTired of copy paste HISTORY.txt to sphinx documentation, this package just
do the same but via code (using setuptools methods).UsageAdd a dependency oncollective.sphinx.includechangelog.And just add into your sphinx document:.. includechangelog:: your.packageChangelog0.1.1 (2013-06-07)Fix when package referred by directive is not found.
[gotcha]0.1 (2009-11-23)Initial private release.
[jfroche]
Package: collective.sphinx.includedoc
ContentsContributorsChange history0.2 (2011-03-03)0.1 (2008-11-11 11)DownloadCode repository:http://svn.somewhere.com/…Questions and comments to somemailing_listReport bugs athttp://bug.somewhere.com/..ContributorsRok Garbas, Author
Jens Klein, fixes
Petri Savolainen, test & releaseChange history0.2 (2011-03-03)test it works on Sphinx 1.0.7 & make the release [Petri Savolainen]make it work with Sphinx 0.6.3 [Jens W. Klein]0.1 (2008-11-11 11)Created recipe with ZopeSkel [Rok Garbas].Download
Package: collective.splashdancing
SplashDancing===================SplashDancing aka Sensible DefaultsAims to add some "sensible defaults" to the Singing And Dancing ProductThe features include:------------------------- pictures sent with news items- A control panel for "zapping" HTML ids and classes that should not show up in newslettersMore detail------------------This product registers an adapter for the Singing and Dancing newsletter product that detectsif a news item has a picture and sends the picture along with the news item.It also provides a "through the web" (TTW), control panel where a user can list ids and classesthat should not be sent in a newsletter.An Out of the box S&D newsletter does not allow newsitems to "travel" with their pictures and instead has a very basic representation of newsitems.It is based on ZopeSkel's 'paster create -t archetype' which is a bit overkill, but it provided all the necessary "hooks"to get started.- Code repository: http://svn.plone.org/svn/collective/collective.splashdancing- Questions and comments can be sent to the singing and dancing mailing list (http://groups.google.com/group/singing-dancing)Warning, There be Dragons----------------------------This system works, however it will, hopefully, be refactored in the near future (by early 2010). It has only been tested with Singing and Dancing 8.12 on OS X Leopard. There is no test coverage for this code, so consider it broken.Change history**************Changelog=========1.0 (xxxx-xx-xx)------------------- Created recipe with ZopeSkel [David Bain]- added an adapter for formating events [David Bain]- updated README.txt [David Bain]Detailed Documentation**********************Introduction============Contributors************David Bain, AuthorDownload********
Package: collective.steps
IntroductionStepper is a very good Zope products. This egg is a first effort to bring some
plone relative steps availables to developpers and site administrator.How many of you have suffer from having proxy error while trying to reindex
a new index in a catalog ?Well now it’s possible to:
- Change all members’s passwords to a unique password
- Change all members’s emails to a unique email
- Apply a profile without busy a zope’s current thread on a production server
- Activate/Deactivate a PAS plugin: deactivate login from your website before activate a migrationSo if you have any idea for any reusable migration or feature for developpers, let me know.ContentsIntroductionCreditsHow to useAvailable stepsPasswordEMailClearExpiredAccountProfileTODOChangelog0.2 - First release with docs0.1 - UnreleasedCreditsPlanet Makina CorpusContact usHow to useLike Stepper, for example:$ ./bin/instance run parts/productdistros/Stepper/run.py -C collective.steps.config /plone profile_defaultAvailable stepsPasswordThis step let you set a common password for all members of Plone site. The base configuration for this step set the passwords to ‘secret’$ ./bin/instance run parts/productdistros/Stepper/run.py -C collective.steps.config /myplone init_users_passwordEMailThis step let you set a common email to all members of a Plone site. The base configuration for this step set the mail to‘mail@provider.com’$ ./bin/instance run parts/productdistros/Stepper/run.py -C collective.steps.config /myplone emailClearExpiredAccountIn a Plone site when you fullfill the join_form a member is created in the member database with a random password.
Then the password reset request is sent to the user. This step help you providing a way to cleanup your member databaseYou can also adding some lines of code to monkey patch the password reset tool to not clean it’s own password reset requests. Once the password
requests are reseted you can’t detect if a user account already been activated.from Products.PasswordResetTool.PasswordResetTool import PasswordResetTool
def clearExpired(self, days=10): pass
PasswordResetTool.clearExpired = clearExpired
logger.info('password reset tool is now patched, clearExpired do nothing')$ ./bin/instance run parts/productdistros/Stepper/run.py -C collective.steps.config /myplone del_unactivated_accountProfileApply a generic setup profile.$ ./bin/instance run parts/productdistros/Stepper/run.py -C collective.steps.config /myplone profile_defaultTODOGenerateUsers into member.py to create members. convienent for stress testing purposeGenerateContent into content.pyNote the code is available athttp://svn-mirror.plone.org/svn/collective/collective.steps/trunk#egg=collective.steps-devChangelog0.2 - First release with docsAdding a step to clean member databaseAdding doc for each available steps directly in README.txt file0.1 - UnreleasedInitial release
Package: collective.sticky
IntroductionAdds a “sticky” checkbox to news items and events so they can be marked as sticky.
Sticky items will appear at the top of collections that use the sticky_summary_view layout.Changelog1.1.2 (2017-11-27)Fix index of event sticky behavior.
[bsuttor]1.1.1 (2016-09-14)Fix index None error for ZCatalog > 3.
[bsuttor]1.1.0 (2016-03-08)Add dexterity behavior.
[bsuttor]Add tests.
[bsuttor]1.0.3 (2015-11-27)Fix zcml: ImportError: Couldn’t import plone_displayviews
[bsuttor]1.0.2 (2015-11-26)Remove old Topic support.
[bsuttor]1.0.1 (2014-12-11)Add sticky sort on new style collections
[laulaz]1.0 (2014-08-26)Initial release.
[]
Package: collective.stickyitem
IntroductionThis NewsItem schema extender adds possibility to pin items on top of the
listings. We added “sortingdate” field which indexed as “effective” value
when set.InstallationThe schema extender interface is assigned globally while you can install the
bound adapter per Plone instance with QuickInstaller.DevelopmentThis product was developed by Quintagroup for Plone collective, sponsored by
Headnet companyhttp://headnet.dk/.Changelog1.0.4Danish translationMove field to dates schemata1.0.3fixed issue with default date1.0.2added template translation file1.0Initial release
Package: collective.stomach
ContentsIntroductionChangelog0.2 (2013-07-25)0.1 (2013-07-17)IntroductionYou can open a browser and call the@@stomach_view?token=my_secret_tokenOr make python script which call view url asurl = "http://localhost:8080/Plone/stomach_view?token=my_secret_token
request = urllib2.Request(url)
request.add_header("Content-Type", "application/json")
response = urllib2.urlopen(request)
print response.read()A json with a list of all eggs will be return.Benoit Suttor, AuthorChangelog0.2 (2013-07-25)Add little security with token and registry.
[bsuttor]0.1 (2013-07-17)Package created using templer
[bsuttor]
Package: collective.stringinterp.smartlink
Take advantage ofredturtle.smartlink backend/frontend URLs conversionfeature, overriding
Plone URLs when sending e-mails usingcontent rules.IntroductionWhen using Plone content rulesmail action, you can rely on some URL-like variables:${url}${absolute_url}${parent_url}This product could help your when your Plone site use different URLs for backend (http://admin.yourcompany.com/) and
front-end (http://www.yourcompany.com/).
Action taken in the backend (for example: a contributor add a new document) could trigger e-mail message where variables
above will be replaced by backend URLs.If e-mail messages are targeted to front-end users, this can be a problem.This product take advantage ofredturtle.smartlinkPlone add-on and itsbackend-frontend transformation feature.
Before replacing URL variables, it try to apply Smart Link configuration to them.Original mappings (that do not use Smart Link configuration) will be still available using new names:${original_url}${original_absolute_url}${original_parent_url}CreditsDeveloped with the support ofRegione Emilia Romagna;
Regione Emilia Romagna supports thePloneGov initiative.AuthorsThis product was developed by RedTurtle Technology team.Changelog0.3 (2013-08-02)fixed missing overrides.zcml [keul]0.2 (2013-08-02)get rid of comments adapters
[keul]original interpolations are now available through new names
[keul]0.1 (2013-07-08)Initial release
Package: collective.stringinterp.text
This is a Plone extension for theplone.stringinterpmodule.Adding this to your buildout and you will be able to addfull content textincontent rulese-mail messages.How to useWhen you are preparing e-mail action for your Plone Content Rules you can now use two additional
marker in the text:${text}The current document full text${indented_text}Same as above, but right-indent the text using a tab char before every line.Text is transformed from HTML to plain text (as ussualy are Plone e-mail).A mail message rule configured like this:Hi,

the new document "${title}" has been created.

${text}…will generate this:Hi,

the new document "Welcome to Plone" has been created.

If you're seeing this instead of the web site you were expecting...And a mail message rule configured like this:Hi,

the new document "${title}" has been created.

${indented_text}…will generate this:Hi,

the new document "Welcome to Plone" has been created.

    If you're seeing this instead of the web site you were expecting...Getting text“Main text field” is an abstract entity.
This product try to guess text using adapters, so you can override or provide more specific
ones (see the code some example).Generally, those kind of text extraction is supported:ATContentTypes based content types with atextfield
(Event, News Item, Document, Topic)Comment from plone.app.discussionDexterity content types with atextfieldPlus, a general adapter that simply try to read if a “text” attribute is provided.CreditsDeveloped with the support ofRegione Emilia Romagna;
Regione Emilia Romagna supports thePloneGov initiative.AuthorsThis product was developed by RedTurtle Technology team.Changelog1.0.0 (2022-07-14)upgrade to plone 5.2 and python3.8.
[reflab]0.3 (2017-11-07)fix adapter when object dexterity content have completely empty
text field.
[lucabel]0.2 (2013-09-06)fix adapter when objects doesn’t have text field (ie Files) [cekk]0.1.1 (2013-08-02)locales folder was not registered
[keul]0.1 (2013-05-30)Initial release
Package: collective.subrip2html
SubRip to HTML Transform for PloneAdd a new portal_transforms transform to you Plone site, for converting
SubRip (srt) format to HTML.Also, a new view for ATFile contents is provided; just call “@@srt_view” for seeing
the SubRip data in a pretty HTML structure.RequirementsYou must havepysrt0.2.4 or better installed (version 0.2.3 is not Python 2.4 compatible).CreditsMost of the credits must be given toJean Boussierand itspysrtproject. Also for
releasing a Python 2.4 compatible version.Changelog0.2.0 (2010-12-29)Uninstall cleanly [keul]No more need of a external temp file (thanks to Jean Boussier for showing me the way)
[keul]pyflakes cleanup [keul]0.1.0a (2010-12-28)Initial release
Package: collective.subscribe
Introductioncollective.subscribe contains components for associating users/principals as
subsribers to an item of content, maintaining a relationship between
them, and providing an index for such relationships.This package provides underlying components that use and integrate with
the Zope Component Architecture (ZCA), and can be used by higher-level
packages providing application-specific uses of the adapters, entities,
utilities, and indexes provided by this package.Author: Sean Upton <sean.upton@hsc.utah.edu>This package is released under an MIT license; see docs/COPYING.txt
Copyright (c) 2011, The University of UtahChangelog0.1 (2012-08-04)renamed from uu.subscribe to collective.subscribe for release as Plone
Collective project.Initial release.
Package: collective.subsitebehaviors
====================collective.subsitebehaviors====================Features:---------Appearance customization for Dexterity types:- logo applicable to any INavigationRoot, scaled using 'logo' scale if found- end-user-friendly TTW-customizable CSS styling applicable to any INavigationRootCredits:--------- viewlets originally copied from ftw.subsite- inspiration from various subsite packagesHow to use:------------ apply behavior to your content types as you wishTo define further appearance customization besides the logo, add 'styling fields to yourDexterity type:- field ids must start with the prefix "css_"- css selector is encoded into field id as tag[tagname]_id[id]_class[classname]- the CSS style can then be normally entered as the field value in the add / edit formHere, only the tag value is mandatory, id & class are optional.- optional css attribute name is encoded likewise as _cssattr[AttrName] suffixHere, because Dexterity field names cannot contain dash (ie. '-') characters, theCamelCase notation is used (as in 'AttrName', above). So for example background-colorcss attribute is specified 'BackgroundColor'.If there is no css attribute name found in the field id, it is assumed the field valuecontains a full regular 'attribute: value' css style statement, without the endingsemicolon.An example:All this may sound complex at first sight, but it's really not- to define a custombackground color for your content, just add a Dexterity field whose id is'css_tagbody_cssattrBackgroundColor'.Contributors============- Petri Savolainen, petri.savolainen@koodaamo.fiChangelog=========0.4 (5.9. 2015)---------------- properly require plone.behavior- minor docs improvements- fix browser layer name so tests will pass- finish i18n bootstrap, w/ Finnish translations0.3 (unreleased)----------------- showing fallback logo had been broken (sic) - fixed now0.2 (unreleased)----------------- Styling & logo did not always work; fixed0.1 (unreleased)----------------- Initial release.[petri]
Package: collective.sugarcrm
IntroductionSugarCRMis an open-source software-solution vendor which produces the Sugar
Customer Relationship Management (CRM) system.This add-on provide components to use SugarCRM in Plone.How to installThis addon can be installed has any other addons. please follow officialdocumentationtestsIntegration tests are run with a trial URL
If it is not available, please fill the demand for a new demo athttp://www.sugarcrm.com/webform/try-sugarcrm-free-7-daysand
update the sugarcrm part of the buildout.you can exclude integration tests with sugarcrm by using
use ./bin/test -t UnitTestComponentspaspluginA PAS plugin has been implemented. You can logged into Plone with sugarcrm
credentials.webservicesudshas been used to provide a simple api over soap’s sugarcrm.>>> webservice = ISugarCRM(context)
>>> results = webservice.search(query_string='JeanMichel')sourcez3c.formwidget.query.interfaces.IQuerySource for contacts and accounts are
provided.passwordA utility is available to crypt password for using with webservice (sic)portlet contactWith a condition on collective.portlet.contact installed,
it provides a backend from your sugarCRM contact address book to the
contact portletCreditsCompaniesPeopleJeanMichel FRANCOIS aka toutpt <toutpt@gmail.com>Changelog1.2.1 (2013-12-09)fix TypeError: not enough arguments for format string in paspluginadd travis supportFix tests + pep81.2 (2013-01-31)add new classifiersuse plone.app.testing for testsaddon doesn’t work with SugarCRM 6.6, tested on 6.2.4.fix compatibility with collective.portlet.contact 1.11.1 (2012-03-26)Fix photo url in portlet1.0 (2011-11-10)fix portlet autocomplete if a contact has no accountremove logs on cached entry (just keep non cached entry in info)fix unicode decode error due to logforce query_string to be a string
[toutpt]fix error dict object has no attribute …  when using z3c.form with getContent returning a dict
[toutpt]1.0b5 (2011-09-23)fix a bug in enumerateUsers that break registration form.
[toutpt]1.0b4 (2011-08-24)Fix Plone4.1 compatibility by including Products.CMFCore’s permissions.zcml file
[toutpt]Fix 404 internal exception on login on some configurations
[toutpt]1.0b3 (2011-07-26)Install now activate the plugin on all provided interfaces. Install step
reoder the sugarcrm properties pas plugin to be the first. In other case the
plugin is not used by default
[toutpt]Add upgrade step
[toutpt]Fix issue with cache when the service return None
[toutpt]1.0b2 (2010-12-13)PAS plugin: Implements IUserEnumerationPlugin and IPropertiesPlugin.
Manage cache with Cacheable api.
[toutpt]Add activate options (webservice, pasplugin) in controlpanel.
[toutpt]1.0b1 (2010-10-07)Initial release
Package: collective.suisseid
OverviewLearn more about suisseID:http://www.suisseid.chCode repository:http://github.com/seantis/collective.suisseidQuestions and comments to <info at seantis ch>Report bugs athttp://github.com/seantis/collective.suisseid/issuesContact us at:
seantis gmbhhttp://www.seantis.ch<info at seantis ch>RequirementsXmlsecDebian package ‘xmlsec1’Build from source on MAC:./configure –with-openssl=/usr/local/ –disable-apps-crypto-dl –disable-crypto-dlpySAML2Download fromhttp://launchpad.net/pysaml2/0.1/0.1/+download/pysaml2.0.1.tgzInstall with python setup.py installInstallationEdit your buildout configuration filebuildout.cfgto add or edit the
following section:[instance]

eggs = ...
      collective.suisseid

zcml = ...
      collective.suisseidAfter you can rerun buildout:$ ./bin/buildoutChangelog0.1b3 (2010-12-09)login portlet has to post to the configured sp URL.0.1b2 (2010-12-07)Cleanup docs0.1b1 (2010-10-22)Initial releaseContributersSeantis GmbH, Author
Package: collective.swfobject
IntroductionThis addon register swfobject into Plone’s resources registry.version: 2.2
sources:http://code.google.com/p/swfobject/wiki/documentationWhat is SWFObject?Offers two optimized Flash Player embed methods:a markup based approacha method that relies on JavaScriptIt offers a JavaScript API that aims to provide a complete tool set for
embedding SWF files and retrieving Flash Player related information
Utilizes only one small JavaScript file (10Kb / GZIPed: 3.9Kb)
Is the successor of SWFObject 1.5, UFO and the Adobe Flash Player Detection Kit
Intends to unify all existing Flash Player embed methods and provide a new
standard for embedding Adobe Flash Player contentWhy should you use SWFObject?Is more optimized and flexible than any other Flash Player embed method aroundOffers one solution for everybody: It shouldn’t matter if you are an HTML,
Flash, or JavaScript developer, there should be something in it for everyoneBreaks the cycle of being locked into vendor specific markup and promotes
the use of web standards and alternative contentUses unobtrusive JavaScript and JavaScript best practicesIs easy to useWhy should I use this add-onI guess if you read this it is because you already want to use swfobject.Because this add-on will keep the javascript swfobject up to date for you.Because you don’t want three versions of swfobject into the same site.List of add-ons using swfobjectcollective.flowplayercollective.cu3erquintagroup.portlet.cumuluscollective.dewplayercollective.js.nomensamediaplayerChangelog1.0 (2012-07-03)nothing changed yet1.0b1 (2011-08-22)Initial release
Package: collective.sylvester
Introduction============collective.sylvester (Sylvester for short) is a twitter client for Plone. Itaims to make tweeting and twitter account management available from within aPlone site.Overview========Sylvester has a pluggable dashboard. All other views are loaded via ajax intothe dashboard.These pages are currently available:- The main feed. Eerily similar to the homepage on twitter.com.- Friends page. Shows people your are following as tiled portlets.- Replies. Shows messages where you are mentioned.These actions are currently available:- Publish to twitter. Tweet about Plone content on twitter. The URL isshortened by tinyurl.com.- A "Twitter Dashboard" link appears in your personal bar.Requirements============Plone > 3.1Installation============In your buildout.cfg add 'collective.sylvester' to the eggs and zcml sections.Then ./bin/buildout -Nv, restart Zope.Run the collective.sylvester profile in portal_setup.Architecture============Everything is Zope Component Architecture aware. All DOM CSS classes and nodeids are qualified so theming through Deliverance should be possible.Twitter authentication information is retrieved in three ways and is extensiblethrough the use of adapters.- Credentials are stored on the session. The user is challenged with atwitter login screen. This method allows people who are not members ofthe Plone site to use twitter.- Credentials are stored in fields on the member called twitterUsernameand twitterPassword. These fields must be added throughportal_memberdata/manage_propertiesForm.- Credentials are stored as remember fields. The expected fieldnames aretwitterUsername and twitterPassword. for this to work you must enableremember.zcml by removing comments in configure.zcml.To be expandedChangelog=========0.2---* Make dashboard pluggable* Fix bug where memoize did not take into account implicit twitter credentials0.1---* Initial release