Saravanan666/pypi-org huggingface dataset:
Package: silva.security.logging
IntroductionThis extensions log in details user actions inSilva. To do so, you
need to add aSilva Security Logging Servicein ZMI, in a site
(either your Silva Root or a local site).You can configure the logging output. By default it will be logged in
the Zope logs, but you can log to an SQL database as well.In order to do this, you need to configure a SQL connection in Zope to
your database, and inSilva Security Logging Serviceto select SQL
logging, and your database identifier. The connected database should
have a table calledlogcreated like this:create table log (
    username varchar(255),
    action varchar(255),
    time datetime,
    content varchar(512),
    content_intid bigint,
    info varchar(255))NoteThis table is not automatically created for you.NoteYou can name your table differently, and configure the name on the
service.The log storage is extensible, you can provide your own storage.Code repositoryYou can find the code for this extension in Git:https://github.com/silvacms/silva.security.loggingChanges1.2.2 (2012/03/12)Remove debug warning.1.2.1 (2012/03/01)Make sure that entries contains only strings, in order to create
valid SQL queries.1.2 (2012/02/23)Make sure the code works on both Silva 2.3 and 3.0.Disable logging during upgrade operations (for speed).Prevent breakage when storage is misconfigured.Add possibility to configure table name with SQL storage.1.1 (2011/11/14)Update code for Silva 3.0.Add more events to by logged (there are more in 3.0).1.0 (2010/12/20)Initial release.
Package: silva.security.overview
Introductionsilva.security.overviewadd a new service that index all access
security settings (set in the access screen) throughout all aSilvasite.In one ZMI management screen it let manager look for user access
across all the site. You have the possibility to export the access
definition in a CSV file.It requires at least Silva 3.0. For Silva 2.3, please look at older
versions.Code repositoryYou can find the code for this extension in Git:https://github.com/silvacms/silva.security.overviewChanges1.1.1 (2012/09/24)Update installer for Silva 3.0c1.Update generated links totab_accessin the service, that no
longer exists.1.1 (2011/11/14)Update code for Silva 3.0.1.0.1 (2010/12/20)Fix a bug when used with existing pre 2.3 content.1.0 (2010/10/18)First official release.
Package: silva.security.renameusers
ThisSilvaextension provides you with a form in ZMI on the serviceservice_extensionsnamedmanage_renameUsersthat let you in
one time rename references to a lot of Silva users across all the
Silva site.To do this, you upload in this form a CSV file that contains a mapping
from the new user identifier to the old one.Code repositoryThe code for this extension can be found in Git:https://github.com/silvacms/silva.security.renameusersChanges1.0 (2011/07/27)Initial release.
Package: silva.system.utils
IntroductionThis extension provides a script to help you manageSilvasites in
the Zope instance from the command line. This will add script into thebindirectory of your installation calledsilva.For most of the operations, the script requires you to provide the
Zope 2 configuration file with the option-c.By default you can , view the Silva site in the root of your database,
create and delete Silva sites, and users to them, pack your database,
and remove old versions of versioned content.The script is however pluggable. An another default command provided
bysilva.core.upgradeextension let you to upgrade a Silva site.Default commandsmanageManage Silva sites:List existing Silva sites,Add a new Silva site,Delete an existing Silva site,Install documentation into an existing Silva site,Add a user into an existing Silva site.Multiple actions can done at the same time: you can create a new
Silva, install the documentation and add a user to it.packPack a database. The databasenameand the number ofdaysto pack can be provided on the command line.filesConvert Silva file storage accordingly to the service files
settings.versionsDelete old closed versions from versioned content. The number of
version to keep is configurable.zexp_exportExport content into a ZEXP file.zexp_importImport a ZEXP file.xml_importImport an Silva XML file.Code repositoryThe code source for this extension can be found in Git at:https://github.com/silvacms/silva.system.utilsChanges1.4.2 (2013/08/26)Add support to import ZEXP referring to missing filesystem code.1.4.1 (2013/05/23)Add support for XML import options to thexml_importcommand.Support to set the title of a Silva site while creating it from the
command line.1.4 (2013/03/06)Addxml_importcommand.Improve debugging of errors containing UTF-8 characters.1.3 (2012/12/11)Addzexp_importandzexp_exportcommands.1.2 (2012/09/24)This is a Silva 3.0 compatible only release.Update API to convert file storage.Improve pack command.Add a command to create a new Silva root, install documentation and
add user to it.Add a generic log option.1.1 (2012/02/23)This is a Silva 2.3 compatible only release.Add a command to convert file storage from the command line.Add a command to find code sources, and where they are found.Commands now support to run actions in a Silva site with a logged
user.1.0 (2011/11/10)Initial release.
Package: silvatheme.multiflex
silvatheme.multiflexsilvatheme.multiflexdemo theme forSilva.For more information about how to create your own design, please check
theSilva developer documentation.Code repositoryYou can find the code of this extension in Git:https://github.com/silvacms/silvatheme.multiflexChangelog1.0 (2010-01-19)Initial release
Package: silvatheme.silvadocs
Silva Docs is a visual design (theme) forSilva3 and higher. It is
used by default on theSilva User Documentation.Code repositoryThe code for this extension can be found in Git:https://github.com/silvacms/silvatheme.silvadocsChangelog1.0.2 (2013-08-26)Various updates, login form, images.Minify resources.1.0.1 (2013-04-18)Cleanup form selectors.Add and style exit link.1.0 (2012-12-11)Initial release
Package: silvatheme.standardissue
Standard Issue is a visual design (theme) forSilva3.0 and
higher. For previous versions of Silva, please refer to previous
versions of this extension.For more information about how to create your own design, please check
theSilva developer documentation.Code repositoryYou can find the code for this extension in Git:https://github.com/silvacms/silvatheme.standardissueChangelog1.5 (2013-08-26)Add CSS for table styles.1.4 (2013-05-24)Add default silva image styles.Include public form CSS fromzeam.form.Minimize resources.1.3.1 (2012-09-25)Update to use Chameleon templates in Silva 3.0.Improve template efficienty.1.3 (2011-11-11)Update CSS for forms and news items.1.2 (2010-02-07)Update CSS for forms. Remove SilvaForum CSS (this goes in SilvaForum).Fix search field by specifying a valid URL to post the search criteria.Update the favicon customization.Various CSS changes.1.1 (2010-10-27)Add default style for form elements.1.0 (2010-01-25)Initial release
Package: silva.translations
silva.translationscontains all translations forSilvain many
languages.If you wish to help to translateSilvain your language, you can
help us by doing it on Launchpad:https://translations.launchpad.net/silva/.This package is updated with the translations done on Launchpad.Code repositoryYou can find the code of this extension in Git:https://github.com/silvacms/silva.translationsChangelog3.0.2 (2013/10/10)Update translations.3.0.1 (2012/03/06)Update translations.3.0 (2012/12/11)Update translations.3.0c1 (2012/09/25)Update translations.Move code that define the prefered language out of the Silva
language cookie.Be sure the translation negociator use the prefered language,
without any extra configuration.2.3 (2010/12/22)Update translations.2.2 (2010/01/22)Initial release since split from the Silva core.
Package: silva.ui
IntroductionThisSilvaextension contains core functionnality used to build the
Silva Management Interface. Those are low level API, that Silva
extension developer will be able to use as well in their extensions.For more information about this, please check theSilva developer
documentation.Code repositoryYou can find the code of this extension in Git:https://github.com/silvacms/silva.uiChanges3.0.3 (2013/12/20)Make possible to configure the UI settings from SMI.Add an option to display or not links to the ZMI.Add support for UI component on non-Silva content.Clean and improve CSS regarding forms and listing. This fixes
multiple issues.3.0.2 (2013/10/09)Support to get a configurable delay in the expiration of the
notification messages.Support for latest version of fanstatic (1.0).If the service members asks to display the username instead of
identifiers, do it as well in folder listings.If the user logged in in the SMI doesn’t have access to the root of
the site, redirect him to the first folder he has access to.Update icons and icon API.Various Javascript fixes and additional hooks.Various CSS impovements.3.0.1 (2013/05/24)Add a user menu.Add preview resolutions feature.Various CSS changes.3.0 (2013/03/06)Update some labels,Use new top level methods fromIVirtualSiteto set cookies,Invalidate clipboard content as well (if you are in the same folder),Various little bug fixes.3.0c2 (2012/12/12)Add support for contextual help using a new jQuery plugin. Retires qTip.Update default theme. Reorganize some elements on the interface.Fix various issues.3.0c1 (2012/09/24)New SMI style and icon set.Add more settings on theservice UIto configure default UI behavior.Improve the pluggability of the UI, in the Javascript and the Python
definition.Add a fullscreen mode.Update to use Silva 3.0c1 API.Improve tests.3.0b1 (2011/11/10)Initial release.
Package: silvera
SilveraSilvera is a declarative language for modeling microservice
architectures based ontextX, and it is designed
in a way that directly implements domain-related design patterns.Silvera is:lightweight and editor-agnostic language - you can use text editor of your choice to write Silvera programs.built with heterogeneity in mind - Silvera's compiler can produce code for any programming language or framework sincecode generators are registered as plugins.In addition, Silvera uses microservice-tailored metrics to evaluate the architecture
of the designed system and automatically generates the documentation.
Architecture Evaluation Processor comes with a set ofpredefined metrics,
but you can alsoadd your own!.Silvera is fully implemented in Python.Quick introHere is a small example where we define a service registry and one microservice.# setup.si

service-registry ServiceRegistry {
	client_mode=False
	deployment {
		version="0.0.1"
		port=9091
		url="http://localhost"
	}
}import "setup.si"

service Bookstore {

    service_registry=ServiceRegistry

    api {

        @crud
        typedef Book [
            @id str isbn
            @required str title
            @required str author
            str category
            @required double price
        ]

        @rest(method=GET)
        list<Book> listBooks()

        @rest(method=GET)
        bool bookExists(str isbn)

        @rest(method=GET)
        double bookPrice(str isbn)
    }

}InstallationYou can usepipto install Silvera:$ pip install silveraTo verify that you have installed Silvera correctly run the following command:$ silveraYou should get output like this:Usage: silvera [OPTIONS] COMMAND [ARGS]...

Options:
  --debug  Debug/trace output.
  --help   Show this message and exit.

Commands:
  check            Checks if created model is valid.
  compile          Compiles application code into to provided output...
  evaluate         Evaluates the architecture for given project.
  init             Creates initial Silvera project
  list-generators  Lists all currently available code generators
  visualize        Visualize the architecture for given project.Feature highlightsDesigned patterns directly implemented in languageProject modularization - importsProject evaluation based on metricsAutomatic code generationSupport for custom code generators via pluginsUser guideFor documentation and tutorials, visit docs:https://alensuljkanovic.github.io/silvera/Python versionsTested with Python 3.7.4+
Package: silverback
Quick StartSilverback lets you create and deploy your own Python bots that respond to on-chain events.
The Silverback library leverages theApedevelopment framework as well as it's ecosystem of plugins and packages to enable you to develop simple-yet-sophisticated automated applications that can listen and respond to live chain data.Silverback applications are excellent for use cases that involve continuously monitoring and responding to on-chain events, such as newly confirmed blocks or contract event logs.Some examples of these types of applications:Monitoring new pool creations, and depositing liquidityMeasuring trading activity of popular poolsListening for large swaps to update a telegram groupDocumentationRead thedevelopment userguideto learn more how to develop an application.Dependenciespython3version 3.8 or greater, python3-devInstallationSilverback relies heavily on the Ape development framework, so it's worth it to familarize yourself with how to install Ape and it's plugins using theApe installation userguide.viapipYou can install the latest release viapip:pipinstallsilverbackviasetuptoolsYou can clone the repository and usesetuptoolsfor the most up-to-date version:gitclonehttps://github.com/ApeWorX/silverback.gitsilverbackcdsilverback
python3setup.pyinstallQuick UsageCheckoutthe exampleto see how to use the library.To run your bot against a live network, this SDK includes a simple runner you can use via:$silverbackrun"example:app"--network:mainnet:alchemyNOTE: The example is designed to work with Python 3.9+, and we suggest using 3.11+ for speed.Docker Usage$dockerrun--volume$PWD:/home/harambe/project--volume~/.tokenlists:/home/harambe/.tokenlistsapeworx/silverback:latestrun"example:app"--network:mainnet:alchemyDevelopmentThis project is in development and should be considered a beta.
Things might not be in their final state and breaking changes may occur.
Comments, questions, criticisms and pull requests are welcomed.
Package: silverberg
Silverberg is a connection pooled, low-level client API for Cassandra CQL3 in Twisted python.Named after the SSS Silverberg, which contained the computer Cassandra in an episode of Red Dwarf.  Hey, all of the mythological references to Cassandra are all getting kinda old, no?CQL3 is the new query language for Apache Cassandra 1.2 and onward.  You can use it almost, but not quite, like SQL from a traditional relational database.CQL3 referencehttps://cassandra.apache.org/doc/cql3/CQL.htmlInstallationpip install silverbergPrerequisites:Python >= 2.7TwistedThriftCassandra >= 1.2Version History0.1.12Marshalling list correctly0.1.11Unmarshalling bool type0.1.10(vvoznesensky) Fixed authentication0.1.9(harii) Adding new timestamp type from Cassandra 2.00.1.8Option to disconnect TCP connection when cancelling running query0.1.7(jmahonin) Added support for unmarshalling Cassandra list types, doubletypes, and 32-bit signed int types (int, as opposed tovarint)fixed incompatibility with Python 2.60.1.6Added disconnect() method to LoggingCQLClient0.1.5Different claim ids are logged when lock is not acquiredRemoved logging of intermittent ‘Released lock’ messages that occurred when
lock acquisition was tried againLogging node info when connection to a node is lost in an unclean fashion0.1.4LoggingCQLClient logs cql failures as msgnullvalues unmarshal correctly now, no matter what the
type, becausenullvalues will just always be unmarshalled as NoneBasicLock takes optional log argument that if given logs when the lock was acquired and released
along with time taken0.1.3RoundRobinCassandraCluster tries the next node in the cluster if it gets conection errorLoggingCQLClient class implemented that will log every CQL query, parameters and seconds taken to
execute the queryFixed bug in locks recipe where it didn’t get row in some rare scenariosFix marshalling of counterIssue with how round robin cluster keeps track of rotating client0.1.2Fix marshalling of timestamps0.1.1Adding locks recipe for cassandra-based named locks0.1.0Changed API, cleaned up return valeus0.0.xEarly development versionRunning Tests and Lintmake testandmake lintLicenseSilverberg is distributed under the Apache license v2.0.  See LICENSE.txtContributingWe love pull requests!  Please:Follow reasonable GitHub Pull Request practicesMake sure that your new contributed code contains reasonable unit testsUnit tests and lint continue to pass
Package: silverbullet
silverbulletshallow but powerful wrapper around pybulletInstallationpipinstallsilverbulletUsagefromsilverbulletimportScene,Robot# GUI mode# from silverbullet import Connection, Mode# conn = Connection(mode=Mode.GUI)# scene = Scene(timestep=0.01, frame_skip=4, connection=conn)scene=Scene(timestep=0.01,frame_skip=4)robot=Robot.load_urdf(scene,"robot.urdf")robot.bring_on_the_ground()whileTrue:# You can control and observe the robot# e.g. robot.set_joint_torque('joint1', 1)do_something(robot)# This will step simulationscene.step()
Package: silvergram
SilvergramSilvergram is a powerful Python library designed to enhance the functionality of the popular Telegram bot framework,Aiogram. It serves as a comprehensive wrapper, providing additional features and simplifying the development process for creating sophisticated Telegram botsFeaturesEnhanced Functionality: Silvergram extends the capabilities of Aiogram, offering additional features such as advanced message sending, phrases and keyboards management, and moreSimplified Development: With Silvergram, developers can write cleaner and more concise codeBuilt-in Utilities: The library includes various built-in utilities for common bot tasks, such as sending messages, managing user interactions, handling callbacks, and working with inline queriesFlexibility: Silvergram is designed to be highly flexible, allowing developers to easily integrate it into existing Aiogram projects or use it as the foundation for new bot developmentsInstallationYou can install Silvergram via pip:pipinstallsilvergramQuick StartHere's a simplequick start exampleof how to use Silvergram to create a basic bot:fromsilvergramimportBotfromsilvergram.typesimportMessageTOKEN="YOUR_TOKEN"PHRASES={"start":"Hello! I am a simple SilverGram bot!"}bot=Bot(TOKEN,phrases=PHRASES)@bot.on_message()asyncdefon_message_start(message:Message):chat_id=message.chat.idawaitbot.send_current_message(chat_id)if__name__=="__main__":bot.run()For more detailed usage instructions and examples, please seedocsandexamplesfoldersAdding Configuration FileYou can create aconfig.pyfile using the following command:python-msilvergramaddconfig[-t,--typeTYPE][-p,--pathPATH]Arguments:-t, --type TYPE [en, ru, empty]Specify the type of generating. Possible values: 'en' for English comments, 'ru' for Russian comments, 'empty' for adding only the necessary functionality. Default none, which means creating a regular file without comments-p, --path PATHSpecify the path where the configuration file will be saved. If not provided, the file will be saved in the current working directoryContributingContributions to Silvergram are welcome! If you find any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request on GitHubLicenseThis project is licensed under the MIT License - see the LICENSE file for details
Package: silverlabnwb
Python tools for working withSilver Labdata in the NWB2 formatFree software: MIT licenseThis Python package simplifies access to NWB data for typical Silver Lab experiments,
and converts data from Labview format into NWB.
It provides a few command-line utilities, as well as supporting access from other Python software.This work was funded by the National Institute of Neurological Disorders and Stroke
of the National Institutes of Health under award number U01NS113273 (to Professor R. Angus Silver).
The content is solely the responsibility of the authors and does not necessarily represent
the official views of the National Institutes of Health.This work was funded by the Wellcome Trust (101445, 203048) and the National Institute
of Neurological Disorders and Stroke of the National Institutes of Health under award
number U01NS113273. The content is solely the responsibility of the authors and does not
necessarily represent the official views of the National Institutes of Health.
These grants were awarded to Professor R. Angus Silver.InstallationSome of our dependencies are hard to install, so it’s best to useconda:conda create -n nwb2 python=3.6 pip numpy pandas hdf5 h5py
conda install -n nwb2 av tifffile -c conda-forge
conda activate nwb2
pip install silverlabnwb[video]Documentationhttps://PySilverLabNWB.readthedocs.io/DevelopmentTesting usespytest, along withtoxto test on multiple Python installations and do style checks etc.To install the developer packages, run:pip install .[test]To test just on your current Python:pytestTo run all the tests run:toxThe automatic tests make use of various environment variables to customise what is run.No ‘import’ tests will run unlessSILVERLAB_DATA_DIRis set and points to a folder containing suitable data.
A version of this folder is available through UCL’s OneDrive at present,
but only contains smaller sample data.
The full datasets are available on Jonathan’s Mac or the SilverLab shared drive.SetSILVERLAB_TEST_LONG_IMPORTSto 1 to test importing full-size datasets.SetSILVERLAB_GEN_REFto 1 to regenerate reference signatures.Note, to combine the coverage data from all the tox environments run:Windowsset PYTEST_ADDOPTS=--cov-append
toxOtherPYTEST_ADDOPTS=--cov-append toxChangelog0.1.0 (2020-06-09)First release on PyPI.0.1.1 (2020-08-06)Minor patch to documentation and change log.0.2.0 (2020-09-03)Update to pynwb 1.3.2handles up to LabView 2.3.1red and green channels now on same imaging planemanifold replaced by origin coordinates and grid spacing
Package: silver-nitrate
silver-nitrateThis is a collection of Python utilities used bythe Flickr Foundation.
It allows us to share certain functions and common code across all our projects.Think of it as a souped-up version ofutils.py.This library is primarily for our use, but the code is fairly generic and may well be useful in other projects.
If you want to use it, copy/paste the code (and the associated tests!) into your own project rather than adding a dependency on this library.Builder's Photo of 2-8-0 Locomotive No 1402 "James Archbald," built in 1930 by the Delaware & Hudson Railroad.Scan of a silver-halide photo print.
    Photo from Bill Harrisonon Flickr.What's in a name?I wanted to pick a name that was:More interesting than "utils"Had a connection to photographyWasn't taken on PyPISilver nitrate was a key chemical in the early days of photography, especially in the 19th and early 20th centuries.Photographers would coat glass plates with a mixture of chemicals, including silver nitrate.
Because silver nitrate reacts when exposed to light, when you put the plate in a camera and open the shutter, different areas would react differently to create an image on the plate.
You could then develop this plate into a photograph.This code is key to our work at the Flickr Foundation, so I thought it was a fitting name.DevelopmentIf you want to make changes to the library, there are instructions inCONTRIBUTING.md.LicenseThis project is dual-licensed as Apache-2.0 and MIT.