Saravanan666/pypi-org huggingface dataset:
Package: vis3dvf
vis3dvfDependenciespygamePyOpenGLPyOpenGL_accelerateQuickstartA simple example of a time-dependent vector field can be found in theexample.pyfile. To quickstart this example, run:pipinstallvis3dvf# installs vis3dvf (and dependencies)gitclonehttps://github.com/LukasDrsman/vis3dvf.git# fetches repo with example.pycdvis3dvf
python3example.py# runs example.pyUsagevis3dvf.plot.Figure(window width, window height)Figure constructor, necessary for rendering."Public" methods:add(plot) - addsplotobject to the render que (plotobject must have an implementedrender() method)show() - creates a window and starts renderingvis3dvf.vectorfield.VectorField(u, v, w, density)Static vector field plot object constructorParameters:u =u(x,y,z) - the x component of the vector field at (x,y,z) (function)v =v(x,y,z) - the y component of the vector field at (x,y,z) (function)w =w(x,y,z) - the z component of the vector field at (x,y,z) (function)vis3dvf.vectorfield.VectorFieldT(u, v, w, density, initial time, final time, time delta)Time-dependent vector field plot object constructorParameters:u =u(x,y,z,t) - the x component of the vector field at (x,y,z) and time t (function)v =v(x,y,z,t) - the y component of the vector field at (x,y,z) and time t (function)w =w(x,y,z,t) - the z component of the vector field at (x,y,z) and time t (function)
Package: vis4d
Vis4DA framework for dynamic scene understanding.InstallationWe currently support Python 3.7, 3.8 and 3.9.Minimal requirementsYou can install the minimal package dependencies via vanilla python and pip:python3-mpipinstall-rrequirements.txt\-fhttps://download.pytorch.org/whl/cpu/torch_stable.htmlThis command installs pytorch without CUDA. Please look uppytorch websitefor installation
on your configurations and install pytorch first.If you're using conda, run the following commands:condacreate--namevis4dpython=3.8
condaactivatevis4d
condainstallpytorchtorchvisiontorchaudiocudatoolkit=11.0-cpytorch
pipinstall-rrequirements.txtMore information about torch and pytorch-lightning installationPytorchPytorchLightningFull requirementsTo install the full package dependencies, please refer to thepythonandcondascripts.
Or install the following packages:mmcvmmdetmmsegdetectron2Please note that specific models will require some of these packages.Package installationTo installvis4dpackage,python3setup.pyinstallUsageTrainingpython3-mvis4d.engine.trainertrain--config<config_path><maybeotherarguments>Testingpython3-mvis4d.engine.trainertest--config<config_path><maybeotherarguments>Predictionpython3-mvis4d.engine.trainerpredict--config<config_path><maybeotherarguments>
Package: visactivation
visactivationWritten by YudeWangA simple visualization tool for tensor activation in CNN.Installpip install visactivationDocumentvisactivation.Tensor2Color(tensor, input_type=None, image=None, image_weight=0.3, colormap=cv2.COLORMAP_JET, act_type='max', norm_type='all')Coloring the feature map in CNN to visualize the corresponding activation intensity.Parameters:tensor (numpy.ndarray) - the input tensor for visualizationinput_type (str) - 'NCHW', 'NHW','CHW','HW'. When tensor.ndim == 3, input_type must be given.image (numpy.ndarray, optional) - corresponding image with size NHW3 or HW3image_weight (float, optional) - weight of image when visualization activationcolormap (int, str)int - cv2.COLORMAP_xxx can be used herestr - 'voc' PASCAL VOC colormap, 'random' Random colormapact_type (str) - 'sum', 'max', 'mean', 'none'.'sum' - choose the sum value in channel dimension for each spatial pixel'max' - choose the max value in channel dimension for each spatial pixel'mean' - choose the mean value in channel dimension for each spatial pixel'none' - preseve the activation of C channels and visualize them independently.norm_type (str) - 'relu','all'.'relu' - tensor[tensor<0]=0, tensor/max(tensor)'all' - (tensor-min)/(max-min)Return:N x C x H x W x 3 size numpy ndarrayvisactivation.Prob2Color(tensor, input_type=None, image=None, image_weight=0.3, colormap=cv2.COLORMAP_JET, act_type='max')Coloring the probability map in CNN to visualize the corresponding activation intensity.Parameters:tensor (numpy.ndarray) - the input tensor for visualization, the value should in range [0,1]input_type (str) - 'NCHW', 'NHW','CHW','HW'. When tensor.ndim == 3, input_type must be given.image (numpy.ndarray, optional) - corresponding image with size NHW3 or HW3image_weight (float, optional) - weight of image when visualization activationcolormap (int, str)int - cv2.COLORMAP_xxx can be used herestr - 'voc' PASCAL VOC colormap, 'random' Random colormapact_type (str) - 'sum', 'max', 'mean', 'none'.'sum' - choose the sum value in channel dimension for each spatial pixel. The result larger than 1 is cut off to 1.'max' - choose the max value in channel dimension for each spatial pixel'mean' - choose the mean value in channel dimension for each spatial pixel'none' - preseve the activation of C channels and visualize them independently.Return:N x C x H x W x 3 size numpy ndarrayvisactivation.Label2Color(tensor, image=None, image_weight=0.3, colormap='random')Coloring the label map predicted by to visualize the corresponding activation intensity.Parameters:tensor (numpy.ndarray) - the input label for visualization, the value should in be positive integer in [0, 255].image (numpy.ndarray, optional) - corresponding image with size NHW3 or HW3image_weight (float, optional) - weight of image when visualization activationcolormap (str) - 'voc' PASCAL VOC colormap, 'random' Random colormapReturn:N x H x W x 3 size numpy ndarray
Package: visadore
VisadoreA plug-in manager for modules that implement complex pyvisa resource interactions.
Visadore is built on top of the stevedore package module that provides a driver interface to plug-in modules.
Each plug-in module is registered in setuptool's entry point registry.#Invoking Visadore
Invoking Visadore is easy...Python 3.7.7 (default, May  6 2020, 11:45:54) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from visadore import get
>>> instrument = get("TCPIP::192.168.1.100::INSTR")When invoked, the get() method queries the IDN string from the specified instrument.
The instrument is specified using the standard VISA resource name syntax.
Using the IDN string, Visadore searches for setuptools entry points that matches the instrument's manufacturer and model number.
The is an unique entry point for each feature.
When one or more matching entry points are found, Visadore dynamically creates a new class for that instrument.
The new class includes all of the features identified during the entry point search.#Features Implemented by VisadoreVisadore does not implement any actual instrument features.
Instrument features must implemented by other package modules which import visadore and register the features as setuptools entry points.Actually, there are a few features implemented in a "mock instrument" that is used solely by Visadore test code.
Package: visage
face-parser1. Face Segmentation1.1. BiSeNetfromvisage.bisenetimportBiSeNetFaceParserfromvisage.visualizeimportapply_colormapimg=load_img()# torch.Tensor [3, H, W] in range [-1, 1]face_parser=BiSeNetFaceParser()segmentation_mask=face_parser.parse(img)# Plottingsegmentation_mask_colored=apply_colormap(segmentation_mask)# Colorizes each class with a distinct color for better viewingplt.imshow(segmentation_mask_colored)2. Face Bounding Boxes2.1. FaceBoxesV2fromvisage.bounding_boxes.face_boxes_v2importFaceBoxesV2img=load_img()# np.ndarray [H, W, 3] in range [0, 255]detector=FaceBoxesV2()detected_bboxes=detector.detect(img)# Plottingcv2.rectangle(img,detected_bboxes[0].get_point1(),detected_bboxes[0].get_point2(),(255,0,0),10)plt.imshow(img)3. Facial Landmarks3.1. PIPNetfromvisage.landmark_detection.pipnetimportPIPNetimg=load_img()# np.ndarray [H, W, 3] in range [0, 255]detected_bboxes=...# <- from step 2.pip_net=PIPNet()landmarks=pip_net.forward(img,detected_bboxes[0])# Plottingforx,yinlandmarks:cv2.circle(img,(int(x),int(y)),5,(255,0,0),-1)plt.imshow(img)
Package: visailu
VisailuQuiz (Finnish: visailu) data operations.License: MITThird party dependencies are documented in the folderthird-party.DocumentationUser and developerdocumentation of visailu.Bug TrackerAny feature requests or bug reports shall go to thetodos of visailu.Primary Source repositoryThe main source ofvisailuis on a mountain in central Switzerland.
We use distributed version control (git).
There is no central hub.
Every clone can become a new source for the benefit of all.
The preferred public clones ofvisailuare:on codeberg- a democratic community-driven, non-profit software development platform operated by Codeberg e.V.at sourcehut- a collection of tools useful for software development.ContributionsPlease do not submit "pull requests" (I found no way to disable that "feature" on GitHub).
If you like to share small changes under the repositories license please kindly do so by sending a patchset.
You can either send such a patchset per email usinggit send-emailor
if you are a sourcehut user by selecting "Prepare a patchset" on the summary page of your fork atsourcehut.StatusExperimental.NoteThe default branch isdefault.
Package: visaplan.js.urlsplit
visaplan.js.urlsplitThis is a simpleZope/Ploneintegration of theurlSplit.jsJavascript tool
which provides aurlSplit(url_string)function.FeaturesMakes available both the compressed and uncompressed versions ofurlSplit.jsAdds the compressed version to the Javascript registryDocumentationFor the Javascript functionality, please seeurlSplit.js.InstallationInstall visaplan.js.urlsplit by adding it to your buildout:[buildout]

...

eggs =
    visaplan.js.urlsplitand then runningbin/buildout.After restarting your Zope instance, install the extension using the/prefs_install_products_form.As a dependencyAdd the package to your package dependencies, e.g. in yoursetup.py:...
install_requires=[
    'setuptools',
    'visaplan.js.urlsplit',
    ],
...Add the package to your profile dependencies, e.g. in your…/profiles/default/metadata.xml:<version>1000</version>
<dependencies>
  <dependency>profile-visaplan.js.urlsplit:default</dependency>
</dependencies>Restart your Zope instance and re-install your package.ContributeFor the Javascript functionality, please contribute tourlSplit.js.For the Zope / Plone integration:Issue Tracker:https://github.com/visaplan/js.urlsplit/issuesSource Code:https://github.com/visaplan/js.urlsplitLicenseThe project is licensed under the MIT License.ContributorsDanny Grübl (urlSplit.js)Tobias Herp,tobias.herp@visaplan.com(Plone integration)Changelog1.1.0 (2021-11-29)New Features:Added new scripturlUnsplit.js, containing aurlUnsplitfunctionImprovements:jsregistry.xml: better attributes order (idfirst)Profile changes:Registered new script (but disabled, by default)Incremented profile version to 1002Requirements:depends onplone.resource[tobiasherp]1.0.2 (2019-06-07)Corrected internet links; improved installation documentation.
[tobiasherp]1.0 (2019-06-07)Initial release, containingurlSplit.jsv2.1.2.
[tobiasherp]
Package: visaplan.kitchen
visaplan.kitchenThis package tackles “soup”, i.e. trees which are created by the well-knownbeautifulsoup4package from parsed HTML or XML sources.
It might be possible to accomplish the same by usinglxmldirectly,
but it might have been more difficult, and thus it is left to another
package.Featuresspoonsmodule, for tackling “soup”, e.g.has_any_class(a filter function to check for one of the given classes)forksmodule
(named mainly for historical reasons; for poking around in the soup), e.g.extract_linktext,convert_dimension_stylesidsmodule, for creation of new ids for HTML elementsid_factory:new_id = id_factory(...)
id = new_id(prefix)Tests remarkThe modules are documented and tested by doctests.
However, they currently don’t fully work because of import problems;
see theissue tracker.Help is appreciated.ExamplesThis add-on can be seen in action at the following sites:https://www.unitracc.dehttps://www.unitracc.comDocumentationFor now, the functions are documented by doctests.InstallationInstall visaplan.kitchen by adding it to your buildout:[buildout]

...

eggs =
    visaplan.kitchenand then runningbin/buildoutContributeIssue Tracker:https://github.com/visaplan/kitchen/issuesSource Code:https://github.com/visaplan/kitchenSupportIf you are having issues, please let us know;
please use theissue trackermentioned above.LicenseThe project is licensed under the GPLv2.ContributorsTobias Herp,tobias.herp@visaplan.comChangelog1.0.1 (2020-02-25)Python 3 compatibility (python-modernize)
[tobiasherp]1.0 (2018-09-17)Initial release.
[tobiasherp]
Package: visaplan.namespace.pkg-resource
This is a dummy package which does nothing except providing thevisaplanpackage and namespace package, “pkg_resource style”;
it was a workaround for the problem of e.g.visaplan.toolsbeing installable,
but under certain circumstances, the package namespace doesn’t work, and the
visaplan.tools submodulescouldn’t be accessed from the buildout-generated Plone instance.Since the problem was solved, thevisaplan.namespace.pkg_resourcepackage is considered obsolete.FeaturesProvides an empty namespace packagevisaplan.InstallationInstall thevisaplandummy package by adding it to your buildout:[buildout]

...

eggs =
    visaplan.namespace.pkg_resource
    visaplan.tools
    ...and then runningbin/buildoutLicenseThe project is available under the Apache License 2.0 or the GNU GPL 2.0ContributorsTobias Herp,tobias.herp@visaplan.comChangelog1.0dev2 (2019-06-14)Fixed documentation; this package is now obsolete.
[tobiasherp]1.0dev1 (unreleased)Initial version.
[tobiasherp]
Package: visaplan.plone.adapters
Provides a brown bag of adapters for Plone sitesThe purpose of this package isnotto provide new functionality
but to factor out existing functionality from an existing monolitic Zope product.
Thus, it is more likely to lose functionality during further development
(as parts of it will be forked out into their own packages,
or some functionality may even become obsolete because there are better
alternatives in standard Plone components).Featuresflvinfoadapter:flash file metadata extractiongetmenuleveladapter:Catalog query to create a submenu levelgrouplogadapter:Maintains a special logfile for group membership changespc2adapter:Theportal_catalogas adecorated_tool(which logs its calls; for development)pformatadapter:Makes thepprint.pformatfunction available for page template code
(for development)pucadapter:Theportal_user_catalog(if you have one)rawbynameadapter:Return the raw contents of the given fieldswfinfoadapter:Parses the header information of a Shockwave Flash (swf) fileuidorintadapter:Does the givenvalueor (request)varnamecontain a number or a UID?updateactualurladapter:Sets the request variableACTUAL_URLto the given valueuserlogadapter:Maintains a special logfile for user account changes, e.g. registrations and
activations.There is a utility scriptparseuserlogto extract information from this
file and write it to aCSVfile.ExamplesThis add-on can be seen in action at the following sites:https://www.unitracc.dehttps://www.unitracc.comInstallationInstall visaplan.plone.adapters by adding it to your buildout:[buildout]

...

eggs =
    visaplan.plone.adaptersand then runningbin/buildoutContributeIssue Tracker:https://github.com/visaplan/visaplan.plone.adapters/issuesSource Code:https://github.com/visaplan/visaplan.plone.adaptersSupportIf you are having issues, please let us know;
please use theissue trackermentioned above.LicenseThe project is licensed under the GPLv2.ContributorsTobias Herp,tobias.herp@visaplan.comChangelog1.0.3 (2020-12-16)Improvements:Dependencies on proprietary adapters removedNew Features:Installable scriptparseuserlog[tobiasherp]1.0.2 (2020-08-12)New Features:Python 3 support, usingsix(python-modernize)Improvements:userlogandgrouplogadapters group HTTP-related information together:ip, usually meaning the IP address of the client;hostname, usually meaning the hostname of the server
(since there may be more than one)[tobiasherp]1.0.1 (2019-01-29)Tools updatesBugfix: No generation ofconfigure.zcmlfiles tried anymore
in production setups
(usingvisaplan.plone.tools.zcmlgen.SubpackageGenerator)[tobiasherp]1.0 (2018-09-19)Initial release.[tobiasherp]
Package: visaplan.plone.base
This package simply collects some basic constants etc. (e.g. permission names)
which are used by other packages, e.g.visaplan.plone.browsers.It is part of the footing of the “Unitracc family” of Plone sites
which are maintained by visaplan GmbH, Bochum, Germany.Some parts of this package might be outdated now and not anymore considered to
follow Plone’s current Best Practices.  The reason is:The purpose of this package (for now) isnotto provide new functionality
but to factor out existing functionality from our former monolithic Zope product.
Later versions might reflect more recent insights and/or the requirements of
more recent Zope/Plone versions.This package does still contain some resources (e.g. permission names) which
are specific to our “Unitracc family” of sites; thus, we considere it more
likely you to create your ownyourcompany.plone.base fork than to use this
package directly.FeaturesexceptionsmoduleProvides theUnitraccBaseExceptionclass which supports the
localization of error messages which are presented to the usersSome more exception classes.permissionsmoduleImports some permission names from the Zope/Plone packages,
and adds some proprietary permission names from our “Unitracc family”.typestrmoduleCreates dictionaries for the localization (l10n) of strings related to object
type names; e.g., for your portal_typethingyyou might want a Gettext
message idthingies, and perhaps as wellMy thingiesand others.When calles as a script, the module creates a honeypot file for use by
extraction tools.adaptermoduleA “Base” class for the adapters ofvisaplan.plone.adapterswhich saves thecontext(given during adapter creation) to an attribute
and calls (probably for historical reasons) thereference_catalogtool
(this may change in the future).thebrowserviewmoduleProvides an extended version of theProducts.Five.BrowserView(hwich may as well change in the future).ExamplesThis add-on can be seen in action at the following sites:https://www.unitracc.dehttps://www.unitracc.comInstallationInstall visaplan.plone.base by adding it to your buildout:[buildout]

...

eggs =
    visaplan.plone.baseand then runningbin/buildoutContributeIssue Tracker:https://github.com/visaplan/visaplan.plone.base/issuesSource Code:https://github.com/visaplan/visaplan.plone.baseSupportIf you are having issues, please let us know;
please use the issue tracker mentioned above.LicenseThe project is licensed under the GPLv2.ContributorsTobias Herp,tobias.herp@visaplan.comChangelog1.1 (2018-09-17)First public release.
[tobiasherp]
Package: visaplan.plone.behaviors
visaplan.plone.behaviorsInterfaces and behaviors for a family of datatypes,
based on zope.schema and Dexterity.FeaturesInterfaces / behaviorsIHeightAndWidthProvides the integer fieldsheightandwidthICaptionAndLegendProvides the text fieldscaptionandlegend(e.g. for image types)IExcludeFromSearchProvides a boolean fieldexcludeFromSearch, aimed for
selective exclusion of objects from standard catalog searchesIHierarchicalBuzzwordThis is quite incomplete;the provided ASCIILine fieldcodeis aimed for the implementation
of a hierarchical buzzword index.
The vocabulary is still to be implemented;
the factory of this behavior will likely be (re-) implemented
in another package.ExamplesThis add-on can be seen in action at the following sites:https://www.unitracc.dehttps://www.unitracc.comDocumentationSorry, we don’t have real user documentation yet.InstallationThis package won’t normally be installed on its own.
Add it to the requirements of your package in which you intend to
use one or more of its behaviors (insetup.py):setup(...
    install_requires=[
        'setuptools',
        ...
        'visaplan.plone.behaviors',
        ],
    ...)and add the behaviors you need to the list in the FTI file of your
Dexterity-based type.ContributeIssue Tracker:https://github.com/visaplan/plone.behaviors/issuesSource Code:https://github.com/visaplan/plone.behaviorsSupportIf you are having issues, please let us know;
please use theissue trackermentioned above.LicenseThe project is licensed under the GPLv2.ContributorsTobias Herp,tobias.herp@visaplan.comChangelog1.0.2.post2 (2021-02-12)Packaging bugfix:make--long-descriptionwork for PyPIcorrected project urls[tobiasherp]1.0.2 (2019-05-20)New behaviorIPreviewImage(requiresplone.namedfile)with (rudimentary, for now)getThumbnailPathmethodTranslations[tobiasherp]1.0.1 (2018-10-17)Bugfix: marker interfaces explicitly declared
[tobiasherp]1.0 (2018-10-16)Initial release.
[tobiasherp]
Package: visaplan.plone.interfaces
Interfaces and behaviors for a family of datatypes,
based on zope.schema and Dexterity.FeaturesCan be bullet pointsExamplesThis add-on can be seen in action at the following sites:Is there a page on the internet where everybody can see the features?https://www.unitracc.dehttps://www.unitracc.comDocumentationFull documentation for end users can be found in the “docs” folder.InstallationInstall visaplan.plone.interfaces by adding it to your buildout:[buildout]

...

eggs =
    visaplan.plone.interfacesand then runningbin/buildoutContributeIssue Tracker:https://github.com/visaplan/visaplan.plone.interfaces/issuesSource Code:https://github.com/visaplan/visaplan.plone.interfacesDocumentation:https://docs.plone.org/foo/barSupportIf you are having issues, please let us know;
please use the issue tracker mentioned above.LicenseThe project is licensed under the GPLv2.ContributorsTobias Herp,tobias.herp@visaplan.comChangelog1.0.dev1 (unreleased)Initial release.
[tobiasherp]
Package: visaplan.plone.pdfexport
Support for configurable exports of single-page and structured documents
(built from folders and documents) from a Plone site.The configuration of exports is implemented using “export profiles”
which allow to specify several types for TOCs as well.Those export profiles live in a relational database; there is no support for
configuration of database name prefixes yet (thus, currently you’d want to
create your own fork, to implement such configuration - pull requests welcome -
or simply use your own schema and table names).We use PostgreSQL and have no idea whether or not our product will work with
other databases …The purpose of this package (for now) isnotto provide new functionality
but to factor out existing functionality from an existing monolitic Zope product.
Thus, it is more likely to lose functionality during further development
(as parts of it will be forked out into their own packages,
or some functionality may even become obsolete because there are better
alternatives in standard Plone components).FeaturesTalks to aPDFReactorserver
(currently version 7 which is quite outdated meanwhile)Export profiles, which allow to configure:TOCs (based on HTML hN elements, filterable by classes; default)lists of imagesetc.ExamplesThis add-on can be seen in action at the following sites:https://www.unitracc.dehttps://www.unitracc.comWell, it can’t be exactlyseen, because the functionality is for privileged
users only …DocumentationSorry, we don’t have real user documentation yet.InstallationInstall visaplan.plone.pdfexport by adding it to your buildout:[buildout]

...

eggs =
    visaplan.plone.pdfexportand then runningbin/buildoutContributeIssue Tracker:https://github.com/visaplan/visaplan.plone.pdfexport/issuesSource Code:https://github.com/visaplan/visaplan.plone.pdfexportSupportIf you are having issues, please let us know;
please use the issue tracker mentioned above.LicenseThe project is licensed under the GPLv2.ContributorsTobias Herp,tobias.herp@visaplan.comChangelog1.0 (2018-09-19)Initial release.
[tobiasherp]