Saravanan666/pypi-org huggingface dataset:
Package: silva.core.smi
Introductionsilva.core.smiis a coreSilva3 extension that contains the
implementations of the different SMI screens, the Silva Management
Interface. It is built usingsilva.ui.For more information on how to extend the SMI, please check theSilva
developer documentation.Code repositoryThis code can be found in Git at:https://github.com/silvacms/silva.core.smiChangelog3.0.3 (2013/12/19)Add a new screen site preferences in the user menu that gives the
user access to a list of services that can be configured through the
SMI if he has enough permissions.XML import and export is no longer available on ghost folders (since
it makes no sense).Do not display links to the ZMI unless the proper option is
activated inservice_ui.Improve functional tests.3.0.2 (2013/10/09)Update tests.3.0.1 (2013/05/24)Add a user menu, move some actions there.Add an about overlay.Add a screen under Settings to configure HTTP headers and HTTP
caching settings.Add new XML import and export options in the corresponding screens.Improve metadata and publish screens.Change the location of the preview button.3.0 (2013/03/06)Update labels,Update functional tests (labels changed),Update XML import feature to use the new API, and create a document
with the list of problems at the end.3.0c2 (2012/12/12)Add confirmation before the suppression of a version.Add email columns in the Access tab.Improve tests.3.0c1 (2012/09/25)Update API to Silva 3.0c1.SupportVersionedNonPublishableobject type.Review the settings, access and publishable screen.Fix various bugs.Improve tests.3.0b1 (2011/11/10)Rebuild SMI on top ofsilva.ui. Almost everything changed.2.3.2 (2010-02-07)Improve CSS.Review and improve error pages and theirs CSS.Review tab interfaces (introduce a new grouping interfaces).Add more support for INonPublishable content object.Add more support to skin the SMI.Fix various small bugs.2.3.1 (2010-12-20)Add support to skin the SMI: you can now provide your own CSS for the SMI.
All hardcoded CSS have been removed.Tab preview for File and Image have been modernized.2.3 (2010-10-18)The access tab is now implemented in here.Middleground actions, navigation, error pages and layout have been
improved.Review permissions on buttons and tabs.Implement a working Over quota error page.2.3b1 (2010-07-15)A SMI layout defined usingsilva.core.layouthas been added. It
includes some CSS and JS resources.Forms now usezeam.form.Flash messages now usesilva.core.messages.It is possible to make SMI views and forms using onlysilva.core.smi, and not rely anymore on old Silva Views macros.2.2b1 (2010/01/25)Various improvements on buttons.Add support for error pages in SMI.Update to usesilva.core.interfacesand directlyfive.grok.SMI components are register on a SMILayer.The editor buttons (kupu editor, forms editor) can be disabled in
IDocument types that don’t support a particular editor
(e.g. SilvaNews News Items don’t support the forms-based editor)2.2a2 (2009/01/12)Fixed editor buttons on publised documents.Keep lookup button selected on lookup screen.Remove deprecation warnings.2.2a1 (2008/11/18)Initial release
Package: silva.core.upgrade
Introductionsilva.core.upgradeprovides an upgrade system that let you upgrade
an already createdSilvasite to a newer version ofSilva.This feature is available in the Zope management interface on theservice_extensionsservice, or via the command line toolsilvaand the optionupdate.Code repositoryYou can find the code of this extension in Git:https://github.com/silvacms/silva.core.upgradeChangelog3.0.2 (2013/12/18)Convert Silva File and Silva Image to Silva Ghost Asset if they are
located inside a valid Silva Ghost Folder and the original files
exists.3.0.1 (2013/10/09)Support upgrade of ExtFile based files to blob storage.Add upgrade for silva.core.editor to 3.0.3.3.0 (2012/12/11)Improve upgrade commands by adding the support for partial upgrade
and upgrade selection using tags.3.0c1 (2012/09/24)Rewrite upgrader registry to optimize upgrade speed.Add upgraders to Silva 3.0c1.Fix upgrade from Silva 2.1 to 3.0.3.0b1 (2011/11/11)Add upgraders to Silva 3.0b1.Remove old upgraders before 2.1.Base the command script onsilva.system.utils.Extension upgraders (SilvaFind, SilvaNews) moved to theirs
respective extensions.2.3b2 (2010/10/27)Add upgraders to Silva 2.3b2.Improve thesilvaupdatescript with new options:--from-version,--debugand--list.2.3b1 (2010/07/16)Improve upgraders to Silva 2.2.Add upgraders to Silva 2.3.Update code to be compliant with Python 2.6 and Zope 2.12.Add a command line toolsilvaupdateto do upgrades on a non-running
Zope instance.Keep upgrades log in a temporary file.2.2b1 (2010/02/01)Initial release after spliting from Silva.
Package: silva.core.views
Introductionsilva.core.viewslet users build user interfaces using Zope Tool
Kit like elements in Silva: Views, ViewletManager, Viewlet, Page,
Layout. It usesGrokfor an easy configuration.It care of settings HTTP headers and implementing proper HEAD requests
on views and Silva content. It is responsible for URL computation of Silva
content.You can have more information on how to use this package in theSilva
developer documentation.Code repositoryThe code for this extension can be found in Git:https://github.com/silvacms/silva.core.viewsChangelog3.0.2 (2013/05/23)Add support for customization of the HTTP headers on specific
content viaIHTTPHeadersSettings.Add anLast-Modifiedheader on Silva content.Add anX-Powered-Byheader on Silva content.3.0.1 (2013/03/06)UpdateIVirtualSiteto include methods to return the site top
level path or URL (that can be different from the root).3.0 (2012/12/11)Ensure in HTTP headers that if the Content-type of the reponse istext/htmlan charset is provided. This prevents bugs in WebOb.3.0c1 (2012/09/24)Add some default customization marker to hide content from the
breadcrumbs, or navigation.Review and improveabsoluteURLadapters not to rely on the Zope
2 implementation. Monkey patch the implementation into Zope 2, so it
works for ZCatalog brains too.Review and improve HTTP headers support.Review and improveIVirtualSite.Move in theILanguageProvideradapter from Silva.3.0b1 (2011/11/08)Fix various bugs onIVirtualSiteNow base the layout on the genericgrokcore.layoutpackage
instead ofinfrae.layout.Review support for preview on aView.Fix various bugs in breadcrumb and preview URL.2.3.1 (2010/12/20)Update interface documentation.Fix a bug where a silvaviews.View would not render the expected content.2.3 (2010-01-07)Update imports due to API changes.Update test setup, use new test infrastructure.Properly set HTTP headers on Pages as well.2.3b1 (2010/07/16)Form code move tosilva.core.forms.Layout system is now based oninfrae.layout.HTTP headers have been improved to be customized, HEAD requests should set
the Content-Length of the content if possible.absolute_url is now available on versions and test requets.Update to match publisher changes in Zope 2.12.2.2b1 (2010-01-22)Add some support to set HTTP headers on content and views.Manage HEAD requests on content and views.Create a layout support by using five.megrok.layout.Add support to create public forms.Add the possibility to change widget rendering style between
different z3c forms.Improve form and form templates, more support for status messages.Add the possiblity to remove the cancel button on z3c forms by using
an interface.SMI forms should be registered on the SMI layer.Use silva.translations for translations support.2.2a2 (2009-01-12)Add generic ZMI form.Update forms macros.Use five.grok viewlets instead of a local implementation.2.2a1 (2008-11-18)Initial release
Package: silva.core.xml
silva.core.xmlprovides the basic components required for the
Silva XML import and export feature.You can find more documentation on how to use those components in theDeveloper documentation.Code repositoryYou can find the code of this extension in Git:https://github.com/silvacms/silva.core.xmlChanges3.0.1 (2013/05/23)Refactor import code defining methods on the correct classes. This
removes lot of workflow managing methods they were handled on the
wrong class, adding those methods on classes for content who didn’t
even had a workflow.Support for missing workflow and metadata information during import.Support for skipping content during import.Fix various bugs regarding workflow and metadata import.3.0 (2013/03/06)Initial release.
Package: silva.demo.contentlayout
This package contains demonstration template for the Silva content
layout system extension,silva.core.contentlayout.For more information on how to define you own templates, please refer
to theextension developer documentation.CreditsThanks toUCLfor sponsoring this extension.Code repositoryYou can find the code of this extension in Git:https://github.com/silvacms/silva.demo.contentlayoutChanges3.0c1 (2012/09/25)Initial release.
Package: silva.export.opendocument
This extension provides an export feature to ODT (Open Document Format)
forSilva2.1 and higher, for Silva Publication and Silva Document.Code repositoryYou can find the source code for this extension in Git:https://github.com/silvacms/silva.export.opendocumentChangelog1.1 (2010-01-19)Fix imports for Silva 2.2 compatiblity.1.0 (2008-09-24)Initial release
Package: silva.fanstatic
This package provides an integration offanstaticinto Silva
3.0. In order to know how to use it, please refer to theSilva
developer documentation.Custom injectorThis package provides a custom fanstatic injector called rules. It
can be used like this inside the Paster configuration:injector = rules
rules =
   if there is <!-- Here goes Fanstatic top CSS -->
   replace with all css resources

   if there is <!-- Here goes Fanstatic top JS -->
   replace with all js top resources

   if there is <!-- Here goes Fanstatic bottom JS -->
   replace with all js bottom resources

   otherwise
   insert before </head>The rules let you look for specific markup in the generated HTML and
will insert the resources around them, if present.Additional APIThis package provides additional objectsExternalResourcesandSnippetin order to include external URLs as resources and
inline snippets too.Code repositoryYou can find the code of this extension in Git:https://github.com/silvacms/silva.fanstatic.Changes1.2 (2013/10/08)Add a Fanstatic injector calledrulesthat let you described
precisely where resources should be injected. This requires
fanstatic 1.0.Add support for special resourcesExternalResourceandSnippet. They let you include resources that are external
resources and inline snippet instead of resources served by
fanstatic.1.1.1 (2013/05/23)Fanstatic libraries are created with a version equals to the version
of the Python package they are declared in. This ensure to create
the same URLs accross multiple servers.1.1 (2012/09/03)Automatically use*.min.extfile as a minified version for a
given*.extfile if it is present.1.0 (2011/11/08)Initial release.
Package: silvair-uart-decoder
Silvair UART DecoderAbout The RepositorySilvair UART Decoder is a python library for parsing Silvair UART protocol messages. It also includes two applications that
could be used for message parsing:HLA Extension forSaleae Logic 2.Python script for parsing .csv file with serial values forSaleae Logic 1.Recommended way is to use Logic 2 and HLA extension. Python script could be unstable in future versions.Built WithUART Decoder is using construct python library to parse all UART messages. Also, it validates CRC value using Crcmod package.
All used packages can be obtained from setup.py file.Getting StartedHow to start with HLA Extension?Tested on Ubuntu 20.04 with Python 3.8 and Windows 11 with Python 3.10.
Make sure, you havePythonwith at least 3.6 version and installed pip.Installation:Using Command line:Install UART-Decoder using pip:pip install silvair-uart-decoder. WARNING:  IfThe script is installed in directory, which is not PATHwill appear during installation, add this directory to PATH environment variable.In terminal, callgenerate_uart_decoder_extension <PATH>executable, where<PATH>is directory when you want to install HLA Extension. Example:generate_uart_decoder_extension .to install in current directory.SilvairUARTDecoderdirectory should be generated in passed path.Using 'install' fileDownload RepositoryRun script according to system are you using:Windows:install_windows.batLinux:install_linux.batSilvairUARTDecoderdirectory should be generated in repository path.Running Extension in Logic 2Open Logic 2, click "Extensions" icon on right side.In upper-right corner should be three dots with "Load existing extensions" option. Click it.Loadextension.jsonlocated in previously generatedSilvairUARTDecoderdirectory.Click "Analyzers" icon on right side.LoadAsync Serialanalyzer for appropriate channel, and then loadSilvair UART Decoder.Hooray, Silvair UART messages should be described above waveforms! :)ScreenshotsHow to start with Python script?Make sure, you havePythonwith at least 3.6 version and installed pip.Install UART-Decoder using pip:pip install silvair-uart-decoder. WARNING:  IfThe script is installed in directory, which is not PATHwill appear during installation, add this directory to PATH environment variable.Run application using command:silvair-uart-decoderPass-hparameter to show help with instruction how to use script.Parameters:-for--format-converter: input format converter (optional)-Oor--output-file: output file path (result will be saved in this file) (optional)input csv file (required)Supported input format convertersCurrently two input format decoders are available:default- data must be in format:<timestamp>,<label>,<uart_command_frame>saleae- data must be in format:<timestamp>,<label>,<byte>(default Saleae export format).ExampleParse logs stored inexample.csvfrom Logic 1, and save it toexample.txt.example.csvis in saleae Logic 1 format:silvair-uart-decoder -f saleae -O example.txt example.csvHow to export data from Logic 1?Open Logic 1 with measurementsAddAsync Serialanalyzers for appropriate channelsClick on gear circle nearDecoded ProtocolsClickExport search resultsScreenshots
Package: silva.pageactions.mailpdf
silva.pageactions.mailpdfThis extension let the user to send the current page as a PDF. To
generate the PDF it depends on silva.pageactions.pdf.Changelog1.0.2 (2009-11-24)Don’t cache anymore the form so cookies are set correctly1.0.1 (2009-11-20)Set correctly HTTP headers.1.0 (2009-11-18)Initial release
Package: silva.pageactions.pdf
This extension provides a page actions to download a PDF version of
the current page inSilva.This use the extension silva.pageactions.printfriendly to get a simple
version of the page, and call htmldoc. Youneedto install htmldoc.Code repositoryYou can find the code of this extension in Git:https://github.com/silvacms/silva.pageactions.pdfChangelog1.0.1 (2009-11-20)Set correctly HTTP headers.1.0 (2009-11-18)Initial release
Package: silva.pageactions.printfriendly
This extension provides an page actions to display simply the content
of a page (without layout items) in order to be print inSilva.Code repositoryYou can find the code of this extension in Git:https://github.com/silvacms/silva.pageactions.printfriendlyChangelog1.0.2 (2012-10-16)Update template to include a doctype, xml namespace and encoding meta-type.1.0.1 (2009-11-20)Set http headers correctly.1.0 (2009-11-18)Initial release
Package: silva.pas.membership
This package provides a new PluggableAuthService (PAS) extension,
which let Silva users be valid PAS users. This can be used to restrain
access to users which already have a Silva member object.This extension require at leastSilva3.0 or higher. For previous
versions of Silva please refer to older version of this extension.Code repositoryYou can find the code of this extension in Git:https://github.com/silvacms/silva.pas.membershipChangelog1.2 (2013-05-23)Update imports for Silva 3.0.1.1 (2008-11-20)Optimize exact_match request.1.0 (2008-05-27)Initial release
Package: silva.pas.openid
This extension provides full support for OpenID in Silva. It relies on
PluggableAuthService andsilva.pas.base.After installing the extension, visitors will be able to login to Silva
using an OpenID identity. First, visitors will have to register their OpenID
via a form protected by a captcha. This registration step will fetch the
available information about the user from the OpenID provider and add it to
the Silva member object. After registration, site managers can assign roles
to the new users.This extension requires at leastSilva3.x or higher. For previous
versions of Silva, please use previous versions of this extension.CreditsSilva’s OpenID integration was sponsored by Marc Petitmermet, who’s at the
Department of Materials at ETH Zurich (http://www.mat.ethz.ch/) but the
funding came from another source.Code repositoryYou can find the code of this extension in Git:https://github.com/silvacms/silva.pas.openidChangelog3.0 (2013/05/24)Update code for Silva 3.0 and recreate the login form.1.2 (2010/12/22)Fix issue with Silva 2.1.1 and newer.Layout changes on the login form.1.1 (04/06/2008)Add translation marker,Add feedback from silva.pas.base.1.0.1 (02/06/2008)Fix broken template for registration.1.0 (27/05/2008)Initial version, wrote withplone.openidas first example.
Package: silva.pas.radius
This extension provide an integration of Radius authentication in
Silva. It’s done using PluggableAuthService andsilva.pas.base.This extension require at leastSilva2.1 or higher.InstallationIf you installed Silva using buildout, by getting one from theInfrae
SVNrepository, or creating one usingPaster, you should edit your
buildout configuration filebuildout.cfgto add or edit the
following section:[instance]

eggs = ...
      silva.pas.radius

zcml = ...
      silva.pas.radiusIf the sectioninstancewasn’t already in the configuration file,
pay attention to re-copy values foreggsandzcmlfrom the
profile you use.After you can restart buildout:$ ./bin/buildoutIf you don’t use buildout, you can install this extension usingeasy_install, and after create a file calledsilva.pas.radius-configure.zcmlin the/path/to/instance/etc/package-includesdirectory.  This file will
responsible to load the extension and should only contain this:<include package="silva.pas.radius" />Latest versionThe latest version is available in aSubversion repository.CreditsThis have been sponsored by the University of Coimbra
(http://www.uc.pt).Changelogsilva.pas.radius 1.0 (2006-11-20)Initial release
Package: silvaq-lib
common tool library for silvaqsilvaq-pylib我自己常用的功能封装起来，方便自己日常使用version 0.1.5 :新增了日期常规方法工具库file 文件相关dir  目录相关time 日期、时间相关mail 发送邮件相关logger 日志相关安装pip3installsilvaq-pylib更新pip3install--upgradesilvaq-pylib使用fromsilvaq_libsimportfileassilva_filefromsilvaq_libsimportdirassilva_dirfromsilvaq_libs.mailimportServerasSilvaMailServerfromsilvaq_libs.loggerimportLoggerasSilvaLoggerif__name__=='__main__':# for filessilva_file.exist("/tmp/test.txt")#for dirsilva_dir.maketree("a/b/c/d")# for mailparams_dict={'host':"server_host",'sender':"sender",'password':"password",'username':'username','port':25,}to="somebody"sub="somesub"con="somecon"SilvaMailServer(**params_dict).send_mail(to,sub,con)#for loggerlogger=SilvaLogger("log_path","log_file_prefix","log_file_suffix","halder_container_cap")logger.log("some con")logger.log("some con again")# ... more log here# notice  目前所有配置都是默认项，所以日志是实时写入的，如果有需求想用缓冲请自行查阅并修改创建hander时open 的buffer# todo 这一项将提供可选方法logger.commit()
Package: silva.resourceinclude
silva.resourceincludecollect and merge resources files (CSS, KSS,
JS) on layers. It was based onz3c.resourceinclude. It’s used bysilva.core.layoutto easily include resources in Silva themes for
Silva 2.x. In Silva 3,silva.fanstaticreplaces this extension.It provides as well a full implementation of the Zope resource export
mechanism for Zope 2, that properly implement HEAD requests and are
optimized for caching purpose.Please refer to the official Silva documentation to see how to use it.Code repositoryYou can find the source code for this extension in Git:https://github.com/silvacms/silva.resourceincludeChanges2.2.1 (2010/12/20)Prevent a bug with Grok ifCHAMELEON_DEBUGis set.Improve resources merging to prevent where some resources where
not included in the merged version.2.2 (2010-10-27)Resource merging is now done when the server is starting. That
prevent issues in case of multi Zope instance installation.
Usefull logging is done to know what is merged and how.Support for the directiveonly_forhave been added. It  is the
equivalent of thecontextoption used with ZCML directives.2.1 (2010-10-07)Bug fix on windows: fix merged resources to be able to properly
access other relatives resources.Bug fix on windows: fix mode used to open files in order to fully
get all resource data out of them.Vary cache key onHTTP_HOSTfor the resource include provider
(that let you access the same site with different hostname and get
URL for the hostname you asked in your response).plone.memoize is replaced with silva.core.cache.It is now to include a ressource only for a given content. The ZCML
is extended with acontextoption that let you do that.A new ZCML directive calledresourceLayerIncludelet you
reinclude for a different layer and content a list of resources
defined on an interface with the martian directive.2.0 (2010/07/15)Implement resources export, and use it,Improve caching (HTTP headers, HEAD requests, 304),Update syntax and imports for Zope 2.12 and Python 2.6.1.0b2 (2009/12/09)Refactor merged resources code.Fix a thread safe issue.Don’t depend anymore on z3c.resourceinclude.Improve caching.1.0b1 (2009/11/18)Add the resource grokker.Fix various bugs from the previous version.1.0a1 (2008/11/17)Initial release.
Package: silva.searchandreplace
silva.searchandreplacelet you add a newSilvaserviceSilva
Search and Replace Servicefor Silva 2.2 and higher that is able to
search inside multiple documents, and replace found strings with a new
provided value.This extension doesn’t work in Silva 3 with the documents created withsilva.app.document.Code repositoryThe code for this extension can be found in Git:https://github.com/silvacms/silva.searchandreplaceChangelog2.2 (2010-01-19)Initial release
Package: silva.security.addables
This smallSilvaextension provides an interface in the Silva
management interface to configure which Silva roles have the
permission to add which Silva content type.It is ensuring that the permissions currently set are correct
according the Silva logic.It requires at leastSilva3.0.Latest versionYou can find the code in a Git repository:https://github.com/silvacms/silva.security.addablesChangelog3.0.2 (2013/12/16)Add an installer that create the service for the user.The configuration is available though SMI.3.0.1 (2012/09/24)Update tests to work with Silva 3.0.3.0 (2011/11/11)Update code for Zope 2.13 and Silva 3.0.1.1 (2010/10/18)Update code for Zope 2.12 and Silva 2.3.1.0 (2009/03/05)First public release.