Saravanan666/pypi-org huggingface dataset:
Package: valentine.multiparagraphpage
IntroductionContent type for Plone 3.x to provide separately managed paragraphs.
Purpose of that solution is to provide complex layouts and ease translation of the content.
As paragraphs are edited in separate editors even complex layouts may be kept untouched.We usevalentine.multiparagraphfieldto implement multi paragraph support andvalentine.contentportletsto provide portlets as paragraphs.LicenseIcons used in this product are taken from the Gnome Project.http://art.gnome.org. They are distributed under GPL license.
(copied from Structured Document)Changelog0.4 - (2011-12-07)Added Plone 4.1 compatibility [svincic]New function to return reordered paragraphs (without portlets) [lewy]0.3 - (2010-03-25)template cleanup plus metadata files [svincic]added providers to the templates [svincic]0.2 - 2010-03-21Relation field for MPP [svincic]Templates for MPP [svincic]Added portlet manager from valentine.contentportlets [lewy]0.1 - (Unreleased)Initial release
Package: valer.core.listing
ReactJS powered listing tables for SENAITE LIMSAboutThis package provides a ReactJS based listing tables for SENAITE LIMS.ReactJSis a declarative, efficient, and flexible JavaScript library for
building user interfaces built byFacebookand is licensed under theMITLicense.InstallationPlease follow the installations instructions forPlone 4andsenaite.lims.To install SENAITE.CORE.LISTING, you have to addsenaite.core.listinginto theeggslist inside the[buildout]section of yourbuildout.cfg:[buildout]
parts =
    instance
extends =
    http://dist.plone.org/release/4.3.18/versions.cfg
find-links =
    http://dist.plone.org/release/4.3.18
    http://dist.plone.org/thirdparty
eggs =
    Plone
    Pillow
    senaite.lims
zcml =
eggs-directory = ${buildout:directory}/eggs

[instance]
recipe = plone.recipe.zope2instance
user = admin:admin
http-address = 127.0.0.1:8080
eggs =
    ${buildout:eggs}
zcml =
    ${buildout:zcml}

[versions]
setuptools =
zc.buildout =NoteThe above example works for the buildout created by the unified
installer. If you however have a custom buildout you might need to add
the egg to theeggslist in the[instance]section rather than
adding it in the[buildout]section.Also see this section of the Plone documentation for further details:https://docs.plone.org/4/en/manage/installing/installing_addons.htmlImportantFor the changes to take effect you need to re-run buildout from your
console:bin/buildoutInstallation RequirementsThe following versions are required for SENAITE.CORE.LISTING:Plone 4.3.18senaite.lims >= 1.3.0Changelog1.5.3 (unreleased)#36 Fix unpredictable ZPublisher’s AttributeError on MultiSelect submit#31 Dismiss items if cleared by subscribers1.5.2 (2020-08-05)Missing files added over MANIFEST.in1.5.1 (2020-08-05)Fixed release package1.5.0 (2020-08-04)#28 Remove classic listing mode and improve folderitems1.4.0 (2020-03-01)#25 Added tab index to result input fields#24 Improved column sorting and index lookup#23 Fix column config error1.3.0 (2019-10-26)#21 Custom Column Configuration#20 Updated build system and JS package versions1.2.0 (2019-07-01)#19 Omit disabled items when “select all” checkbox is selected#18 Support for string fields (added StringField react component)#17 Send the original query string with API calls#15 Allow custom button CSS definition in transition object#14 Convert URLs/Paths to absolute URLs#11 Notify edited event on set fields1.1.0 (2019-03-30)#9 Show status messages on API errors#9 Only fetch affected folderitems by UID after a field was updated#7 Hide comment toggle in transposed cell when remarks are disabled#6 Allow to sort columns on catalog metadata columns#5 Detection Limit handling in the Frontend/Backend1.0.0 (2019-02-04)Initial Release
Package: valer.core.spotlight
MacOS like Spotlight Search for SENAITEAboutQuickly find contents in SENAITE by pressingCtrl-Spaceand start typing.See the screencast how to use it:https://www.youtube.com/watch?v=AIA5atToc-cChangelog1.0.3 (2020-08-04)updated resources1.0.2 (2020-03-02)#2 Fix visible spotlight viewlet on page load#1 Added missing dependency tosenaite.jsonapi1.0.1 (2020-02-04)Minimized JS code from 124K to 53K1.0.0 (2020-02-04)Initial release
Package: valer.core.supermodel
A beautiful content wrapper for SENAITE that you will loveAboutThe SENAITE CORE SUPERMODEL is a content wrapper for objects and catalog brains
in SENAITE and provides a unified dictionary interface to access the schema
fields, methods and metadata.For what is it needed?The purpose of the SUPERMODEL is to help coders to access the data from content
objects. It also ensures that the most effective and efficient method is used to
achieve a task.How does it work?ASuperModelcan be instantiated with anUIDof a content object:>>> from senaite.core.supermodel import SuperModel
>>> supermodel = SuperModel('e37c1b659137414e872c08af410f09b4')This will give transparent access to all schema fields of the wrapped object as
well to all the metadata columns of the primary catalog of this object:>>> supermodel.MySchemaField'
'Value of MySchemaField'Please read thefull functional doctestto see the super powers of theSuperModelin action.InstallationSENAITE.CORE.SUPERMODEL is a dependency of SENAITE.CORE and therefore no
additional installation steps are required.Changelog1.2.4 (2020-08-04)version bump1.2.3 (2020-03-02)#10 Fix API import1.2.2 (2020-03-01)#9 Support Dexterity Fields1.2.1 (2019-07-01)#8 Do not process “0” values to Portal-SuperModels#7 Fix traceback when initializing a supermodel with a catalog brain#6 Added Destructor and further improvements#5 Fix UID->SuperModel conversion of UIDReferenceFields#4 Skip private fields starting with_1.2.0 (2019-03-30)Compatibility release for SENAITE CORE 1.3.01.1.0 (2018-10-04)#2 Allow to pass in a catalog brain or instance to initialize a SuperModel1.0.0 (2018-07-19)Initial Release
Package: valeriepieris
valeriepierisFind valeriepieris circles. There are the smallest circles containing at least a fraction f of the data. Seethe paperfor much more details on how this works and what you can do with a valeriepieris circle.The code expects 2d-numpy arrays from e.g.SEDAC.Basic useimport numpy as np
input_data = np.loadtxt("gpw_v4_population_count_rev11_2020_1_deg.asc", skiprows=6 )
input_data[ input_data < 0] = 0Then callfrom valeriepieris import valeriepieris
data_bounds = [ -90,90, -180,180 ] ##[lowest lat, highest lat, lowest lon, highest lon]
target_fracs = [0.25, 0.5, 1]
rmin, smin, best_latlon, data, new_bounds  = valeriepieris(input_data,  data_bounds, target_fracs)This computes the centre and radius for all the target fractionsfor i,f in enumerate(target_fracs):
	print("At f={}, radius={}, population={}, centre={}".format( f, rmin[i], smin[i], best_latlon[i] ) )givesAt f=0.25, radius=1880.446017450536, population=1997830287.9875035, centre=[(25.5, 88.5)]
At f=0.5, radius=3376.532684670633, population=3985134876.8947124, centre=[(28.5, 100.5)]
At f=1, radius=14979.863821630814, population=7969444594.980903, centre=[(75.5, -112.5)]note that each centre is a list, usually of one element, but for very small f there can be multiple centres.Focussing on a specific areaeurope_bounds = [ 34.1,80, -25,34.9 ] 
target_fracs = [0.5]
rmin, smin, best_latlon, europe_data, europe_data_bounds  = valeriepieris(input_data,  data_bounds, 0.5, target_bounds=europe_bounds)		

for i,f in enumerate(target_fracs):
  print("At f={}, radius={}, population={}, centre={}".format( f, rmin[i], smin[i], best_latlon[i] ) )
print("data in ", europe_data_bounds, "has shape", europe_data.shape)At f=0.5, radius=946.0320718882176, population=371822374.10794944, centre=[(49.5, 9.5)]
data in  [34.1, 80, -25, 34.9] has shape (47, 61)If thetarget_boundsargument is given, only data within that area will be considered. The data that was used in the calculation and its boundary (snapped to the input grid) is returned.Focussing the searchIf you think you know where the centre is, or you want the smallest circle containing a fraction f of the data, centered within a certain area do the followingdata_bounds = [ -90,90, -180,180 ] ##[lowest lat, highest lat, lowest lon, highest lon]
target_fracs = [0.5]
search_bounds = [ 24,50, -125, -66 ] #~continental US
rmin, smin, best_latlon, data, new_bounds  = valeriepieris(input_data,  data_bounds, target_fracs, search_bounds=search_bounds)		

for i,f in enumerate(target_fracs):
	print("At f={}, radius={}, population={}, centre={}".format( f, rmin[i], smin[i], best_latlon[i] ) )At f=0.5, radius=10344.885492078058, population=3987443544.209256, centre=[(50.5, -66.5)]Plotting the circlesRemember the earth is round, so don't just draw a circle on a flat map! Seetest.pyfor code to make the plot at the top
Package: valer.jsonapi
RESTful JSON API for SENAITE LIMSAboutThis SENAITE.JSONAPI is a RESTful JSON API forSENAITE LIMS, that allows to
Create, Read and Update (CRU operations) through http GET/POST requests. It uses
JSON as the format for data representation.InstallationAddsenaite.jsonapiin the eggs section of your buildout:eggs=senaite.limssenaite.jsonapiand runbin/buildout.Documentationhttps://senaitejsonapi.readthedocs.ioFeedback and supportCommunity siteGitter channelUsers listLicenseSENAITE.JSONAPICopyright (C) 2017-2020 RIDING BYTES & NARALABSThis program is free software; you can redistribute it and/or modify it under
the terms of theGNU General Public License version 2as published
by the Free Software Foundation.This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.Changelog1.2.4 (unreleased)#41 Push endpoint for custom jobs1.2.3 (2020-08-05)#40 Prevent the id of objects of being accidentally updated#40 Do not allow to update objects from setup folder#40 Do not allow to update objects from portal root#40 Fix upgrade does not work on post-only mode#40 Adapter for custom handling ofupdateoperation#37 Do not allow to create objects in setup folder#37 Do not allow to create objects in portal root#37 Adapter for custom handling ofcreateoperation#37 Make the creation operation to be portal_type-naive#35 Addedcatalogsroute#34 Make senaite.jsonapi catalog-agnostic on searches1.2.2 (2020-03-03)Missing package data1.2.1 (2020-03-02)Fixed tests and updated build system1.2.0 (2018-01-03)AddedAddedparent_pathto response dataAllow custom methods as attributes in adapterRemovedChangedIntegration to SENAITE CORELicense changed to GPLv2Fixed#25 Null values are saved as ‘NOW’ in Date Time FieldsFixed TestsSecurity1.1.0 (2017-11-04)Merged PRhttps://github.com/collective/plone.jsonapi.routes/pull/90Get object by UID catalog1.0.1 (2017-09-30)Fixed broken release (missing MANIFEST.in)1.0.0 (2017-09-30)First release
Package: valer.lims
SENAITE.LIMS:Meta Installation PackageLicenseSENAITE.LIMSCopyright (C) 2017-2020 RIDING BYTES & NARALABSThis program is free software; you can redistribute it and/or modify it under
the terms of theGNU General Public License version 2as published
by the Free Software Foundation.This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.Changelog1.3.4 (2020-08-11)senaite.core 1.3.3 → 1.3.41.3.3.2 (2020-03-04)senaite.core 1.3.3 → 1.3.3.1https://github.com/senaite/senaite.core/releases/tag/v1.3.3.11.3.3.1 (2020-03-04)Fixed metadata version for upgrade step1.3.3 (2020-03-03)senaite.core 1.3.2 → 1.3.3https://github.com/senaite/senaite.core/releases/tag/v1.3.3senaite.impress 1.2.2 → 1.2.3https://github.com/senaite/senaite.impress/releases/tag/1.2.3senaite.core.supermodel 1.2.1 → 1.2.3https://github.com/senaite/senaite.core.supermodel/releases/tag/1.2.3senaite.core.listing 1.3.0 → 1.4.0https://github.com/senaite/senaite.core.listing/releases/tag/1.4.0senaite.core.spotlight 1.0.2https://github.com/senaite/senaite.core.spotlight/releases/tag/1.0.2
Package: valer.panic
Panic level alerts for SENAITE LIMSAboutThis package enables panic level alerts in SENAITE by means of the integration
of panic ranges in Analysis Specifications. Two additional fieldsmin_panicandmax_panicare added, so when the result of an analysis falls outside the
valid range and belowmin_panicormax_panic, a warning message is displayed
next to the analysis and an informative panel in Sample’s view as well. From
this informative panel, lab manager can easily send an e-mail notification to
the client contact, as well as to other key personnel.InstallationAddsenaite.panicin the eggs section of your buildout:eggs =
    senaite.lims
    senaite.panicand runbin/buildout. Installsenaite.panicadd-on on “Setup > Add-ons”.ContributeWe want contributing to SENAITE.PANIC to be fun, enjoyable, and educational
for anyone, and everyone. This project adheres to theContributor Covenant.By participating, you are expected to uphold this code. Please report
unacceptable behavior.Contributions go far beyond pull requests and commits. Although we love giving
you the opportunity to put your stamp on SENAITE.PANIC, we also are thrilled
to receive a variety of other contributions.Please, readContributing to senaite.panic document.If you wish to contribute with translations, check the project site onTransifex.Feedback and supportCommunity siteGitter channelUsers listLicenseSENAITE.PANICCopyright (C) 2019-2020 RIDING BYTES & NARALABSThis program is free software; you can redistribute it and/or modify it under
the terms of theGNU General Public License version 2as published
by the Free Software Foundation.This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.Changelog1.0.1 (2020-08-11)Compatibility with senaite.core 1.3.4Hide panic viewlet if user does not have ViewResults permissionHide panic icon in analysis listing when no ViewResults permissionFix Traceback when CC Contacts are present while sending notification email1.0.0 (2020-02-09)First version
Package: valer.storage
Sample storage add-on for SENAITE LIMSAboutSENAITE.STORAGE addsSample storagecapabilities toSENAITE LIMS.ScreenshotsStorage facilitiesContainers and sample containersStore transition in samples listingsAssignment of samples in a containerAssignment of samples to multiple containersContributeWe want contributing to SENAITE.STORAGE to be fun, enjoyable, and educational
for anyone, and everyone. This project adheres to theContributor Covenant.By participating, you are expected to uphold this code. Please report
unacceptable behavior.Contributions go far beyond pull requests and commits. Although we love giving
you the opportunity to put your stamp on SENAITE.STORAGE, we also are thrilled
to receive a variety of other contributions.Please, readContributing to senaite.storage document.If you wish to contribute with translations, check the project site onTransifex.Feedback and supportCommunity siteGitter channelUsers listLicenseSENAITE.STORAGECopyright (C) 2019-2020 RIDING BYTES & NARALABSThis program is free software; you can redistribute it and/or modify it under
the terms of theGNU General Public License version 2as published
by the Free Software Foundation.This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
Package: valette
ValetteLibrary for hp-FEA.InstallationUse the package managerpipto install Replana:pipinstallvaletteLicenseValette is licensed underGNU LGPLv3.This software relies on thePyO3library undertheApache-2.0license for ffi and ontherayoncrate under theMITandApache-2.0licenses for parallelism.
Package: valgard
Valueguard Python ClientIndexIntroductionDescriptionInstallingUsageCommunitySupportContributingCopyrightIntroductionDescriptionValueguard Python Clientis the official client used to interact with the newValueguards APIValueguard is a Swedish company that provides real estate valuation and analysis services for the housing market. The company was founded in 2007. Our primary service is to provide independent home valuations and analyses to banks, brokers and other companies that need reliable and accurate property information. Our services are based on various data sources, including historical transaction data, information about the property's location and condition, and other market data.In addition to price statistics and valuations, Valueguard provides various other services, such as a complete registry of all homes in Sweden, called the Residential Registry. We have a team of experienced analysts who work to provide high-quality services to our clients.
We are proud to have a strong reputation in the Swedish real estate industry and are considered one of the country's leading providers of housing statistics.InstallingInstall by pippip3 install git+https://github.com/Valueguard-Index-Sweden/valueguard-python-client#egg=valueguardorpip3 install valueguardUsageForpython clientdocumentation seewiki-pageFor thecore Valueguard APIdocumentation, see theapi documentation.importvalueguard# Create objectvgClient=valueguard.Client()# Generate a access tokenvgClient.authenticate(<username>,<password>)# Use wished functionprint(vgClient.residential_registry(offset=0,limit=800,search_criteria={"construction_year_min":2018,"construction_year_max":2019}))CommunitySupportBugs, questions, and other issues can be directed to the project'sissues pageon GitHub, or emailed toinfo@valueguard.se.ContributingContributions are welcome in the form of code, bug fixes, or testing feedback. For more on how to contribute to Valueguard-python-client, see thecode of conductandcontributing guidelines.CopyrightMIT LicenseCopyright (c) 2020 Valueguard (info@valueguard.se)Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Package: valgrind
valgrindUsageRunpython3 -m pip install valgrind.Inbenchmark.pyput:importvalgrindif__name__=="__main__":some_startup_code()valgrind.callgrind_start_instrumentation()some_expensive_function()valgrind.callgrind_stop_instrumentation()valgrind.callgrind_dump_stats("myprofile")Runvalgrind --tool=callgrind --instr-atstart=no python3 benchmark.py.See profile inmyprofilefile. Consider opening with KCachegrind or
QCachegrind.
Package: valgrind-codequality
valgrind-codequalityAboutI wanted reports fromValgrindto appear in GitLab Merge Requests asCode Quality reports, which is a JSON file defined by the Code Quality's GitLab.That's all this does: convert Valgrind XML report to Code Quality JSON.Contributions are welcome.UsageIt is primarily used as a console script. As such, ensure you have Python 3's "scripts" directory in yourPATHvariable.
For example, on Linux, that might be$HOME/.local/bin.To test, try the--helpor--versionflags:valgrind-codequality--helpThis script follows that example and provides similar command-line options.
A typical workflow might look like this:# Generate valgrind report as XMLvalgrind--tool=memcheck--leak-check=full--show-leak-kinds=all--track-origins=yes--verbose--xml=yes--xml-file=valgrind_out.xmlyour_exe# Convert to a Code Climate JSON reportvalgrind-codequality--input-filevalgrind_out.xml--output-filevalgrind.jsonIf you wanted, you could invoke the script directly as a module, like this:# Run as a module instead (note the underscore in the module name here)python-mvalgrind_codequality--input-file=valgrind_out.xml--output-file=valgrind.jsonNow, in your GitLab CI script,upload this fileas a Code Quality report.my-code-quality:script:-[...]artifacts:reports:codequality:valgrind.jsonContributingFormat withblackCheck withpylintCredits & Trademarksvalgrind is an open-source project with a GPL v3.0 license.https://valgrind.org/"GitLab" is a trademark of GitLab B.V.https://gitlab.comhttps://docs.gitlab.com/ee/user/project/merge_requests/code_quality.htmlAll other trademarks belong to their respective owners.
Package: valgrind-parser
Valgrind Parser ToolThis tool helps to parse the valgrind logs generated by avalgrindtool.Pre-requisitesThe only package needed for successful run ofvalgrind_log_parser.pyis mentioned inrequirements.txt.Use pip to install these requirements.pipinstall-rrequriements.txtPip installOne can install valgrind parser tool from pip as well.pipinstallvalgrind_parserImport the package as>>>fromvalgrind_parserimportValgrindLogParser>>>vlp=ValgrindLogParser('/path/to/valgrind_logs.txt')>>>vlp.generate_html_report()This will dump the html report for inputvalgrind_logs.txtin the same directory from where the program was called.Cloning the repoValgrind-Log-Parsercan also be used by cloning the repo locally and using the python file directly.
Clone the repo with below command and use as given in next sections.gitclonegit@github.com:<yourusername>/Valgrind-Log-Parser.gitHow to useUnder test_leaker directory,test_leaker.cfile is present. This file is having a memory leak and a condition check with a variable which is not initialized before.When run with valgrind, the valgrind report should highlight these two things.#include<stdio.h>#include<stdlib.h>intmain(){int*memory_allocation_var=malloc(1000);// Leaked memory which is never freedintconditional_jump_variable_without_initialize;if(conditional_jump_variable_without_initialize>0){// Variable used without initializationprintf("Variable not initialized still using here\n");}return0;}Compile C fileTo compile c file on Linux environment, one must usegccwith-goption which enables debug symbols from the binary.gcc-gtest_leaker.c-otest_leakerPost successful compilation, install valgrind from its official source mentioned atvalgrind_websiteand execute with ourtest_leakerbinary.valgrind-v--leak-check=full--show-reachable=yes--log-file=valgrind_log.txt./test_leakerThis will dump the valgrind logs invalgrind_log.txtUsingvalgrind_log_parser.pyThe--helpargument can help to understand how to use this parser.pythonvalgrind_log_parser.py--help
usage:valgrind_log_parser.py[-h]--valgrind_fileVALGRIND_FILE

optionalarguments:-h,--helpshowthishelpmessageandexit--valgrind_fileVALGRIND_FILEProvidethepathofthevalgrindfile.Filesmustbeof.txtformatProvidevalgrind_log.txtfile in argument tovalgrind_log_parser.pyand it will create a HTML report out of it in the same directory.pythonvalgrind_log_parser.py--valgrind_file<pathtovalgrind_log.txtfile>Following table will be generated with the above run.