Saravanan666/pypi-org huggingface dataset:
Package: slc.permissiondump
slc.permissiondumpWalk the Plone portal and dump the list of local roles for each item. Then
go through the dump and generate a nice HTML visualization of the tree of
items with their assigned local roles.INSTALLAdd this egg to buildout’s egg list and run the buildout.USAGEFor usage description run the following:$ bin/instance dump_roles --helpTo dump roles to a file, run the following:$ bin/instance dump_roles --output-dir OUTDIR --portal-name PORTALThis command dumps permissions from Plone site PORTAL to a file called
local_roles.txt located in OUTDIR. If directory does not exist, it is
automatically created.NOTE: specifying the output directory is optional, it defaults to directory
“output” in the same directory from where the script is run.
Plone site name is optional as well and defaults to “Plone”.To generate HTML tree view run the following:$ bin/instance html_export --output-dir OUTDIRThe OUTDIR, if specified, must refer to the same output directory that was
used to dump role info in previous step. Directory’s default name is again
“output”.Open the created HTML<OUTDIR>/local_roles_tree.htmldirectly from the
filesystem with your browser.NOTE: in case of large files this might take some time, because synatree.js
script  must walk through the DOM and do its work. It might appear in the
meantime that the browser is unresponsive - it’s just doing its work.
Changelog
=========0.2.1 (2013-08-23)Fix: dump objects’ inherited roles as well (instead of just local roles)
[plamut]0.2 (2013-06-05)Nicer README.
[plamut]0.1 (2013-06-05)Initial release.
[ibi, plamut, zupo]License (3-clause BSD)Copyright (c) 2013, NiteoWeb Ltd.. All rights reserved.Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.Neither the name of NiteoWeb Ltd.. nor the names of its contributors may
be used to endorse or promote products derived from this software
without specific prior written permission.THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS”
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL NITEOWEB LTD. BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Package: slc.quickchangenote
Introductionslc.quickchangenote hijacks the Change Note field provided by cmfeditions,
and provides an auto-complete text field that draws its values from
a list of configured text values. This is useful for people who frequently
make the same sorts of changes to documents.Changelog0.3 (2012-03-23)Add MANIFEST.in  [jcbrand]0.1 (2012-03-22)Initial release
Package: slc.rdbploneformgenadapter
ContentsDetailed DocumentationDependenciesConfigurationChange history0.0.2 (2009-10-12)0.0.1 (2009-10-12)Future features, mabyeCode repository:http://svn.plone.org/svn/collective/slc.rdbploneformgenadapterQuestions and comments to info (at) syslab (dot) comReport bugs athttp://plone.org/products/slc.rdbploneformgenadapterDetailed DocumentationRDB Action Adapter for PloneFormGenThe Action Adapter can be used to store form submissions of PloneFormGen
forms into a relations database.DependenciesThe Action Adapter users the IDatabase Utility from collective.lead
to write data to the database. You must provide such an IDatabase Utility.ConfigurationAfter you installed the Action Adapter in the Plone Control Panel, you can
start adding The Action Adapter to PloneFormGen forms.The Action Adapter Configuration Screen contains two parameters:Insert queryThe query to insert data. We do not use the SQLAlchemy mapping features,
but write data directly into the database. The fields from the form
are added as a dictionary to the execute statement. See pep-0249
for formatting strings. As we pass a dict, you must use positional
arguments. in PEP 249 they are called paramstyle named and pyformat
An Example looks like this:insert into test_questions (replyto, topic, comments) values(%(replyto)s, %(topic)s, %(comments)s);or:insert into test_questions (replyto, topic, comments) values(:replyto, :topic, :comments);Databae utility NameThe name of the IDatabase Utility that you must configureChange historyChanges0.0.2 (2009-10-12)Brown bag bad documentation release (gerken)0.0.1 (2009-10-12)Initial ReleaseFuture features, mabyeIn the RDB Action Adapter View, check for the existence of the IDatabase
utility, and emit a warning if its missing
Package: sl-creatio-connector
Creatio ODATA connectorConnector to integrateCreatio ODATA API.Creatio ODATA API postman documentationGetting startedThis connector tested for ODATA3 and ODATA4 protocols (including .net core version)$pipinstallsl_creatio_connectorfromsl_creatio_connector.creatioimportCreatiofromsl_creatio_connector.constantsimportODATA_version# get collectiondefget_contact_leads():cr=Creatio(creatio_host='http://creatio.mydomen.com:5000',login='Supervisor',password='Supervisor',odata_version=ODATA_version.v4core)parameters=["filter=Contact eq 'Marady Esther'"]collection=cr.get_object_collection(object_name='Lead',parameters=parameters,)assertlen(collection)==0defcreate_and_delete_contact():cr=Creatio(creatio_host='http://creatio.mydomen.com:5000',login='Supervisor',password='Supervisor',odata_version=ODATA_version.v4core)data={'Name':"Test name"}created_contact=cr.create_object(object_name='Contact',data=data,)created_id=created_contact['Id']status_code=cr.delete_object('Contact',created_id).status_codedefget_contact_by_id():cr=Creatio(creatio_host='http://creatio.mydomen.com:5000',login='Supervisor',password='Supervisor',odata_version=ODATA_version.v4core)contact_dict=cr.get_contact_by_id('b2a8c568-002f-4fd1-a15a-ffda98f5f63b')
Package: slc.shoppinglist
slc.shoppinglist package overviewContentsslc.shoppinglist package overviewCreditsLicenseChange history1.5 (2012-09-17)1.4 (2011-03-10)1.3 (2011-02-18)slc.shoppinglist 1.2 (2009-06-17)slc.shoppinglist 1.1 (2009-05-12)slc.shoppinglist 1.0 (2008-03-31)Detailed DocumentationContributorsCode repository:http://svn.plone.org/svn/collective/slc.shoppinglistQuestions and comments to info (at) syslab (dot) comReport bugs athttp://plone.org/products/slc.shoppinglistCreditsCopyright European Agency for Health and Safety at Work and Syslab.com
GmbH.slc.shoppinglist development was funded by the European Agency for
Health and Safety at Work.Licenseslc.shoppinglist is licensed under the GNU Lesser Generic Public
License, version 2 or later and EUPL version 1.1 only. The complete
license texts can be found in docs/LICENSE.GPL and docs/LICENSE.EUPL.Change historyslc.shoppinglist Changelog1.5 (2012-09-17)Plone 41.4 (2011-03-10)Fixing my own stupidity: Explicitly check if the property ‘shoppinglist’ is
available on the member object. Don’t check against the fetched object, since
it might be empty and result in False. [thomasw]1.3 (2011-02-18)Added EUPL license (deroiste)guard against missing shoppinglist property on member, fixes #8119 of gocept tracker
[thomasw]slc.shoppinglist 1.2 (2009-06-17)added basic testing (thomasw)updated svnignore (thomasw)slc.shoppinglist 1.1 (2009-05-12)Packaged egg (pilz)slc.shoppinglist 1.0 (2008-03-31)Initial portDetailed DocumentationREADMEtbdContributorsWolfgang Thomas (Syslab.com GmbH)Alexander Pilz (Syslab.com GmbH)
Package: slc.smtp2zope
slc.mailrouter bridges the gap between zope and email. It is based on the same
idea as products such as mailboxer: a script is invoked by your mail transfer
agent (postfix, exim) and the body of the email is passed to this script on
stdin. This is then communicate to zope using an http post, where it is parsed
and handled.This package implements the smtp2zope script.
Package: slc.stickystatusmessages
IntroductionStickyStatusMessages provides persistent status messages.Normal status messages usually appear when a content item has been affected
(created, edited, removed, state changed etc.) in some way. They appear to the
user effecting the change.In the case of StickyStatusMessages, status messages now also appear to other
users, who have an interest (or stake) in the same content item. The other
users who are notified, are the ones with a local ‘Editor’ role on the object
being affected. Since the original editor or owner who did the change by himself
he personally will NOT get a sticky statusmessage.They will receive a notification message (very similar to the existing status
messages) above the portal content, every time a content item (on which they
have the Editor role) has been changed.These messages are ‘sticky’ in the sense that they are persistent. They have to
be removed manually by the user. This is very easy though, you simply click on
the [X] sign on the message itself and it will be removed.Changelog0.4 (2012-03-21)Play nicely when not installed. Check if the browserlayer is installed before
continuing. [jcbrand]Added an adapter for the notification mechanism. Enables CMFNotification
integration. [isburger]Check for attribute error if running with testrunner request0.3 (2011-09-13)Tested in Plone 4.1 (jcbrand)0.2 (2011-04-04)Fixed IE javascript bug #2038 (deroiste)0.1 (2010-10-04)Improved error handling (pilz, jcbrand)Improved handling of non ascii chars (jcbrand)Removed babble dependencies (jcbrand)Allow for people to remove all sticky messages(jcbrand)0.1a1 (2010-04-20)Initial release
Package: slcwindinversion
slcwindinversionPython library to generate L2A wind speed products from intermediate Sentinel-1 TOPS SLC-derived products.
This library based onxarrayis providing wind speed retrievals from NRCS (Normalized Radar Cross Section) coming from C-band SAR images.
In particular the wind can be estimated from:VV channelHH channelVH channelHV channelcombination of co and cross-pol channels (e.g. VV+VH)Free software: MIT licenseDocumentation:https://slcwindinversion.readthedocs.io.Installationpip install git+https://github.com/umr-lops/slcwindinversionFeaturesslcwindinversion -h:usage:slcwindinversion[-h][--verbose][--overwrite]--inputsafeINPUTSAFE--outputdirOUTPUTDIR--versionVERSION[--dev]L2AwindspeedProductionoptions:-h,--helpshowthishelpmessageandexit--verbose--overwriteoverwritetheexistingoutputs[default=False]--inputsafeINPUTSAFEsafeproductfullpathtouseasinput--outputdirOUTPUTDIRdirectorywheretostoreoutputnetCDFfiles--versionVERSIONsettheoutputproductversion(e.g.1.4)--devdevmodestopsthecomputationearly
Package: sldap3
sldap3 is a strictly RFC 4511 conforming LDAP V3 pure Pythonserver. It’s a sibling of theldap3client LDAP library.Home PageProject home page ishttps://github.com/cannatag/sldap3DocumentationDocumentation is available athttp://sldap3.readthedocs.orgLicenseThe sldap3 project is open source software released under theLGPL v3 license.PEP8 Compliancesldap3 is PEP8 compliant, except for line length.DownloadPackage download is available athttps://pypi.python.org/pypi/sldap3.InstallInstall withpip install sldap3Git repositoryYou can download the latest source athttps://github.com/cannatag/sldap3Continuous integrationContinuous integration for testing is athttps://travis-ci.org/cannatag/sldap3SupportYou can submit support tickets onhttps://github.com/cannatag/sldap3/issues/newContact meFor information and suggestions you can contact me atcannatag@gmail.comor you can also a support ticket onhttps://github.com/cannatag/sldap3/issues/newChangelog0.0.4a0 2015.04.23daemonization working properlyThread and Process executors available0.0.3a6 2015.04.21Added backward compatability via the trollius packageAdded Linux daemon capabilityAdded Windows service capability0.0.3a0 2015.04.11added extended operation structureadded multiple DSAs definition0.0.2a 2015.03.13Added event loopAdded bind (always successful) operationAdded unbind operation= 0.0.1a4 2015.02.28Fixed missing _version.json in MANIFEST.in0.0.1a3 2015.02.27Fixed auto versioningFixed auto changelog0.0.1a1 2015.02.21Added sphinx structure0.0.1a0 - 2015.02.20Initial project structure
Package: sl-dbserver
# Springless DB Server (sl-dbserver)This is a simple Python server for the purpose of spinning up and destroying full copies of a
database on demand. An example use-case is running integration tests with a local postgres
instance in a docker container. Each test can create its own isolated database, run its
tests, and then destroy the created database instance when done.# RequirementsPython 3.10 or laterDependencies specified insetup.py# Installing and runningIf you are using this for testing a SQLAlchemy database, install via pip into the same virtual
environment your database is on:` pip installsl-dbserver`Otherwise create a new virtual environment and install there.` python3-mvenv .venv .venv/bin/python-mpip install--upgradepip . .venv/bin/activate pip installsl-dbserver`And then run with Uvicorn, which should be installed as part of the dependencies.` uvicorn sl.dbserver.app:main--port8000 `You can then access the documentation via the/docor/redocendpoints. So for the example
above, you would go to [http://localhost:8000/doc](http://localhost:8000/doc) or
[http://localhost:8000/redoc](http://localhost:8000/redoc), which will list the available
endpoints and documentation on the data to post to each.
Package: sldc
SLDCSLDCis a framework created for accelerating development of large image analysis workflows. It is especially well
suited for solving more or less complex problems of object detection and classification in multi-gigapixel images.The framework encapsulates problem-independent logic such as parallelism, memory constraints (due to large image handling)
while providing a concise way of declaring problem-dependent components of the implementer's workflows.DocumentationThe algorithm used by the framework as well as some toy examples are presented in theWiki.InstallSimply:pip install sldcOn windowsOn Windows, some.dllare needed byshapelyand are not installed bypipwhen you installsldc. Therefore, you might have to installshapelyyourself fromconda(i.e.conda install shapely) or fromhereafter having runpip install sldc.BindingsThe library is image format agnostic and therefore allows you to integrate it with any existing image format by implementing some interfaces. However, some bindings were implemented for integrating SLDC with:Cytomine:sldc-cytominerepositoryOpenSlide:sldc-opensliderepositoryReferencesIf you useSLDCin a scientific publication, we would appreciate citations:Mormont & al., Benelearn, 2016.The framework was initially developed in the context ofthis master thesis.
Package: sldl
Single-Line Deep LearningMost of the practicle tasks that require the usage of deep learning models can be simplified to "just do the thing", e.g., "just upscale the image". On the other hand, official repositories of the state-of-the-art methods are dedicated to provide a way to reproduce experiments presented in the paper. These two different tasks require different code structure, so I made this library that provides an ultimative single-line solution for practical tasks solved by the SOTA methods. For instance, to "just upscale the image" you can just run the following code:fromPILimportImagefromsldl.imageimportImageSRsr=ImageSR('BSRGAN')img=Image.open('test.png')upscaled=sr(img)InstallationThe project is available on PyPI, just runpipinstallsldlOverviewSLDL is written in PyTorch and tries not to change the original author's implementation and, at the same time, provide the fastest inference and the most convinient interface. Note that SLDL doesn't provide any interface to train or fine-tune the models.Each method is atorch.nn.Modulethat has a__call__method that solves your task. The library tries to provide the most practical interface, so it operates with Pillow images and video files in order to use the upscaler in your program and to just upscale your video.Currently two types of tasks are supported.ImagesDenoising: SwinIRSuper-resolution: BSRGAN, RealESRGAN, SwinIRVideosDenoising: SwinIRSuper-resolution: BSRGAN, RealESRGAN, SwinIR, VRTInterpolation: IFRNetUsageFor images, run thisfromPILimportImagefromsldl.imageimportImageSRimg=Image.open('test.png')sr=ImageSR('BSRGAN')# or 'SwinIR-M', 'SwinIR-L', 'BSRGANx2'# sr = sr.cuda() if you have a GPUupscaled=sr(img)For videos, run thisfromsldl.videoimportVideoSRsr=VideoSR('BSRGAN')sr('your_video.mp4','upscaled_video.mp4')PlansAdd image deblurring, face generation, machine translation, etcMake inference optimizations liketorch.compileand TensorRTCLI tool and Docker imageReady-to-go REST API deployment
Package: sld.nagios-plugin
Nagios Plugin ToolLibrary to facilitate implementing the Nagios Core Plugin API with custom Nagios pluginsInstallationpip install sld.nagios_pluginUsagefromnagios_pluginimportPluginplugin=Plugin()# Do stuff and determine resultplugin.return_ok(message="OK",perf_data="/=123;0;")CreditsVersion: 0.0.6
Package: sld.secrets-getter
SLD Secrets GetterVery thin wrapper for the AWS Secrets Manager library for getting secrets in a standard way.Free software: MIT licenseUsagePre-requisitesAWS credentialsThis package assumes theAWS cli environment variableshave been configured for authentication.
Alternatively, you can provide the values for those variables to the constructor.ExampleInstall the package:pipinstallsld.secrets-getterRunning with AWS cli environment variables set:fromsecrets_getterimportSecretsManagerServicesecrets_service=SecretsManagerService()secrets=secrets_service.get_secrets("NAME_OF_AWS_SECRETS_MANAGER_SECRETS_SET")Adictwith the key value pairs from the Secrets set is returned.Providing the AWS cli credentials to the constructor:fromsecrets_getterimportSecretsManagerServiceregion="us-west-2"key_id="AWS_ACCESS_KEY_ID"secret_access_key="SECRET_ACCESS_KEY"secrets_service=SecretsManagerService(region=region,access_key_id=key_id,secret_access_key=secret_access_key)secrets=secrets_service.get_secrets("NAME_OF_AWS_SECRETS_MANAGER_SECRETS_SET")CreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.
Package: sldtk
SLDTk is a commandline program for fast and robust modelling and correction
of limb darkening in solar images.Getting StartedPrerequisitesSLDTk is written for Python 3. The following packages are required:numpy>=1opencv-python>=3matplotlib>=2Note that in addition toopencv-python, the underlying OpenCV library must
be installed. There are currently plans to include an optional dependency onscikit-imagefor systems without OpenCV.InstallationSLDTk can be installed using pip:$sudopipinstallsldtkUsage$sldtk-iIMAGE[optionalarguments]The program takes a range of optional arguments for everything from detection
threshold to output directory. A complete list can be seen by calling$sldtk-hFeaturesFor now, the codebase provides the best source of information on SLDTk’s
features and implementation specific details, as auto-generation of
documentation has not yet been set up.Input FormatsCurrently only images in thejpgandpngformats are supported.DetectionThe position and size of the solar disk is automatically determined using
computer vision. The disk is subsequently unwrapped and cleaned of outliers
(e.g. sunspots and facula) before an average intensity profile is generated.ModellingA pluggable modelling system allows user specified models (e.g. a 2nd degree
polynomial) to be fitted to the intensity profile of the solar disk, and the
results to be plotted together with the original profile for visual analysis.
Reference models with known coefficients can also be overlaid on the produced
graph.CorrectionUsing a fitted model, the solar disk is flat-field corrected to a user
selectable bias point. The result can further be fed back into the pipeline
to assess its flatness, with a linear model fitted and plotted together
with the corrected intensity profile.ContributingDo you have an idea for how to make SLDTk better? Have you found a bug? Head
over to theissue trackerto
open a new issue or contribute to an existing discussion.If you are interested in contributing to the codebase,fork SLDTk on GitHubto get started. You can install the project in development mode by using$ sudo pip install-e.from the cloned project root.Have you found a solution to an existing issue or added a new feature?Pull requestsare always welcome.LicenseSLDTk is released under the MIT open source license. Please seeLICENSE.txtfor details.AcknowledgmentsThe Solar Limb Darkening Toolkit began as an experimental physics project
together with Matt Wingham and Sam Heron at Aberystwyth University in the
fall of 2017. It is written and maintained by Ariel Ladegaard.
Package: sle
Python SLEImplementation of the CCSDS Space Link Extension (SLE) API in Python. It
provides theRAF (Return All Frames)andRCF (Return Channel Frames)Return Link Services and theCLTU Forward Link Service.The CCSDS Space Link Extension (SLE) services are used by all major space
agencies to interconnect ground stations to mission control systems. The
SLE is a standardized protocol that enable such cross-support. In basic terms,
a groundstation communicates with a spacecraft through CCSDS telecommand and
telemetry frames. The transfer of those frames between a groundstation and
a remote mission control system is done via SLE, which is essentially just a
container protocol that runs overTCP/IP.
On the side of the groundstation there sits a SLE provider gateway and on
the mission control side there is a SLE user gateway.This Python package implements the SLE User API and can be used to develop
SLE user and provider gateway applications on top of it.InstallationInstall via pip:$pipinstallsleExampleTo create a service for receiving all return frames, we create a RAF User.
Then we bind to the remote SLE Provider and start the reception of frames.importtimeimportsleraf_service=sle.RaServiceUser(service_instance_identifier=SI_IDENTIFIER,responder_host=RESPONDER_HOST,responder_port=RESPONDER_PORT,auth_level="bind",# or "all" or Nonelocal_identifier=LOCAL_IDENTIFIER,peer_identifier=PEER_IDENTIFIER,local_password=LOCAL_PASSWORD,peer_password=PEER_PASSWORD)defprint_frame(frame):print(frame)raf_service.frame_indication=print_frameraf_service.bind()time.sleep(1)raf_service.start()input("Press <Enter> to stop")raf_service.stop()time.sleep(1)raf_service.unbind()time.sleep(1)DocumentationThe API documentation is indocs/README.md.
The user manual forpyasn1is at this address.ContributeIssue Tracker:https://gitlab.com/librecube/lib/python-sle/-/issuesSource Code:https://gitlab.com/librecube/lib/python-sleTo learn more on how to successfully contribute please read the contributing
information in theLibreCube guidelines.SupportIf you are having issues, please let us know. Reach us atMatrixor viaEmail.LicenseThe project is licensed under the MIT license. See theLICENSEfile for details.