Saravanan666/pypi-org huggingface dataset:
Package: volttron-lib-base-historian
VOLTTRON base historian framework that provide common functions such as caching, error handling, input validation etc. This historian cannot be used as agent as is. VOLTTRON historian agents can be created by subclassing theBaseHistorian classin this library.RequirementsPython >= 3.10InstallationThis library can be installed usingpip install volttron-lib-base-historian. However, this is not necessary. Any
historian agent that uses this library will automatically install it as part of its installation. For example,
installingSQLiteHistorianwill automatically install
volttron-lib-base-historian into the same python environmentDevelopmentPlease see the following for contributing guidelinescontributing.Please see the following helpful guide aboutdeveloping modular VOLTTRON agentsDisclaimer NoticeThis material was prepared as an account of work sponsored by an agency of the
United States Government.  Neither the United States Government nor the United
States Department of Energy, nor Battelle, nor any of their employees, nor any
jurisdiction or organization that has cooperated in the development of these
materials, makes any warranty, express or implied, or assumes any legal
liability or responsibility for the accuracy, completeness, or usefulness or any
information, apparatus, product, software, or process disclosed, or represents
that its use would not infringe privately owned rights.Reference herein to any specific commercial product, process, or service by
trade name, trademark, manufacturer, or otherwise does not necessarily
constitute or imply its endorsement, recommendation, or favoring by the United
States Government or any agency thereof, or Battelle Memorial Institute. The
views and opinions of authors expressed herein do not necessarily state or
reflect those of the United States Government or any agency thereof.
Package: volttron-lib-sql-historian
Generic SQL Historian library that can be used to implement a historian agent with a relational database backend.
This library cannot be installed as a VOLTTRON agent as is. Only a concrete database implementation package such assqlite-historianthat depends on this library can be
installed as a VOLTTRON agent.RequirementsPython >= 3.10InstallationThis library can be installed usingpip install volttron-lib-sql-historian. However, this is not necessary. Any
historian agent that uses this library will automatically install it as part of its installation. For example,
installingSQLiteHistorianwill automatically install
volttron-lib-sql-historianDevelopmentPlease see the following for contributing guidelinescontributing.Please see the following helpful guide aboutdeveloping modular VOLTTRON agentsTo create a new relational database based historian by extending this library, subclassDBDriver.
The subclass should be in a module historian.<database_type>.<database_type>functs.py for it to be dynamically loaded
by the base DBDriver. Please refer toSQLiteHistorianas
an exampleDisclaimer NoticeThis material was prepared as an account of work sponsored by an agency of the
United States Government.  Neither the United States Government nor the United
States Department of Energy, nor Battelle, nor any of their employees, nor any
jurisdiction or organization that has cooperated in the development of these
materials, makes any warranty, express or implied, or assumes any legal
liability or responsibility for the accuracy, completeness, or usefulness or any
information, apparatus, product, software, or process disclosed, or represents
that its use would not infringe privately owned rights.Reference herein to any specific commercial product, process, or service by
trade name, trademark, manufacturer, or otherwise does not necessarily
constitute or imply its endorsement, recommendation, or favoring by the United
States Government or any agency thereof, or Battelle Memorial Institute. The
views and opinions of authors expressed herein do not necessarily state or
reflect those of the United States Government or any agency thereof.
Package: volttron-listener
The volttron-listener agent prints all message traffic across a VOLTTRON bus to standard out.RequirementsPython >= 3.8InstallationCreate and activate a virtual environment.python-mvenvenvsourceenv/bin/activateInstalling volttron-listener requires a running volttron instance.pipinstallvolttron# Start platform with output going to volttron.logvolttron-vv-lvolttron.log&Install and start the volttron-listener.vctlinstallvolttron-listener--startView the status of the installed agentvctlstatusDevelopmentPlease see the following for contributing guidelinescontributing.Please see the following helpful guide aboutdeveloping modular VOLTTRON agentsDisclaimer NoticeThis material was prepared as an account of work sponsored by an agency of the
United States Government.  Neither the United States Government nor the United
States Department of Energy, nor Battelle, nor any of their employees, nor any
jurisdiction or organization that has cooperated in the development of these
materials, makes any warranty, express or implied, or assumes any legal
liability or responsibility for the accuracy, completeness, or usefulness or any
information, apparatus, product, software, or process disclosed, or represents
that its use would not infringe privately owned rights.Reference herein to any specific commercial product, process, or service by
trade name, trademark, manufacturer, or otherwise does not necessarily
constitute or imply its endorsement, recommendation, or favoring by the United
States Government or any agency thereof, or Battelle Memorial Institute. The
views and opinions of authors expressed herein do not necessarily state or
reflect those of the United States Government or any agency thereof.
Package: volttron-platform-driver
Platform Driver AgentThe Platform Driver agent is a special purpose agent a user can install on the platform to manage communication of the platform with devices. The Platform driver features a number of endpoints for collecting data and sending control signals using the message bus and automatically publishes data to the bus on a specified interval.Requirespython >= 3.10volttron >= 10.0volttron-lib-base-driverDocumentationMore detailed documentation can be found onReadTheDocs. The RST source
of the documentation for this component is located in the "docs" directory of this repository.InstallationBefore installing, VOLTTRON should be installed and running.  Its virtual environment should be active.
Information on how to install of the VOLTTRON platform can be foundhere.Install and start the volttron-platform-driver.vctlinstallvolttron-platform-driver--vip-identityplatform.driver--startView the status of the installed agentvctlstatusDevelopmentPlease see the following for contributing guidelinescontributing.Please see the following helpful guide aboutdeveloping modular VOLTTRON agentsDisclaimer NoticeThis material was prepared as an account of work sponsored by an agency of the
United States Government.  Neither the United States Government nor the United
States Department of Energy, nor Battelle, nor any of their employees, nor any
jurisdiction or organization that has cooperated in the development of these
materials, makes any warranty, express or implied, or assumes any legal
liability or responsibility for the accuracy, completeness, or usefulness or any
information, apparatus, product, software, or process disclosed, or represents
that its use would not infringe privately owned rights.Reference herein to any specific commercial product, process, or service by
trade name, trademark, manufacturer, or otherwise does not necessarily
constitute or imply its endorsement, recommendation, or favoring by the United
States Government or any agency thereof, or Battelle Memorial Institute. The
views and opinions of authors expressed herein do not necessarily state or
reflect those of the United States Government or any agency thereof.
Package: volttron-sqlite-historian
VOLTTRON historian agent that stores data into a SQLite databaseRequirementsPython >= 3.10InstallationCreate and activate a virtual environment.python-mvenvenvsourceenv/bin/activateInstalling volttron-sqlite-historian requires a running volttron instance.pipinstallvolttron# Start platform with output going to volttron.logvolttron-vv-lvolttron.log&Create a agent configuration file
SQLite historian supports two parametersconnection -  This is a mandatory parameter with type indicating the type of sql historian (i.e. sqlite) and params
containing the path the database file.tables_def - Optional parameter to provide custom table names for topics, data, and metadata.The configuration can be in a json or yaml formatted file.Yaml Format:connection:# type should be sqlitetype:sqliteparams:# Relative to the agents data directorydatabase:"data/historian.sqlite"tables_def:# prefix for data, topics, and (in version < 4.0.0 metadata tables)# default is ""table_prefix:""# table name for time series data. default "data"data_table:data# table name for list of topics. default "topics"topics_table:topicsInstall and start the volttron-sqlite-historian.vctlinstallvolttron-sqlite-historian--agent-config<pathtoconfiguration>--startView the status of the installed agentvctlstatusDevelopmentPlease see the following for contributing guidelinescontributing.Please see the following helpful guide aboutdeveloping modular VOLTTRON agentsDisclaimer NoticeThis material was prepared as an account of work sponsored by an agency of the
United States Government.  Neither the United States Government nor the United
States Department of Energy, nor Battelle, nor any of their employees, nor any
jurisdiction or organization that has cooperated in the development of these
materials, makes any warranty, express or implied, or assumes any legal
liability or responsibility for the accuracy, completeness, or usefulness or any
information, apparatus, product, software, or process disclosed, or represents
that its use would not infringe privately owned rights.Reference herein to any specific commercial product, process, or service by
trade name, trademark, manufacturer, or otherwise does not necessarily
constitute or imply its endorsement, recommendation, or favoring by the United
States Government or any agency thereof, or Battelle Memorial Institute. The
views and opinions of authors expressed herein do not necessarily state or
reflect those of the United States Government or any agency thereof.
Package: volttron-testing
volttron-testingThe volttron-testing library contains classes and utilities for interacting with a VOLTTRON instance.PrerequisitesPython >= 3.10InstallationCreate a virtual environmentpython-mvenvenvActivate the environmentsourceenv/bin/activateInstall volttron-testing# Installs volttron and volttron-testingpipinstallvolttron-testingDeveloping with TestServerThe following code snippet shows how to utilize the TestServer's internal pubsub to be able to test
with it outside of the volttron platform.deftest_send_alert():""" Test that an agent can send an alert through the pubsub message bus."""# Create an agent to run the test withagent=Agent(identity='test-health')# Create the server and connect the agent with the serverts=TestServer()ts.connect_agent(agent=agent)# The health.send_alert should send a pubsub message through the message busagent.vip.health.send_alert("my_alert",Status.build(STATUS_BAD,"no context"))# We know that there should only be a single message sent through the bus and# the specifications of the message to test against.messages=ts.get_published_messages()assertlen(messages)==1headers=messages[0].headersmessage=json.loads(messages[0].message)assertheaders['alert_key']=='my_alert'assertmessage['context']=='no context'assertmessage['status']=='BAD'Reference the volttrontesting package from within your environment in order to build tests against the TestServer.DevelopmentPlease see the following for contributing guidelinescontributing.Please see the following helpful guide aboutdeveloping modular VOLTTRON agentsDisclaimer NoticeThis material was prepared as an account of work sponsored by an agency of the
United States Government.  Neither the United States Government nor the United
States Department of Energy, nor Battelle, nor any of their employees, nor any
jurisdiction or organization that has cooperated in the development of these
materials, makes any warranty, express or implied, or assumes any legal
liability or responsibility for the accuracy, completeness, or usefulness or any
information, apparatus, product, software, or process disclosed, or represents
that its use would not infringe privately owned rights.Reference herein to any specific commercial product, process, or service by
trade name, trademark, manufacturer, or otherwise does not necessarily
constitute or imply its endorsement, recommendation, or favoring by the United
States Government or any agency thereof, or Battelle Memorial Institute. The
views and opinions of authors expressed herein do not necessarily state or
reflect those of the United States Government or any agency thereof.
Package: volume2mesh
volume2meshVoxelize meshes to volumes. Save meshes from volumes.This package provides to functionsvolume2meshandmesh2volumeto convert between NumPy volume arrays and
meshes:file='/tmp/my_mesh_file.obj'volume=np.zeros((100,120,131),np.float32)volume[20:40,30:40,40:50]=1volume2mesh(file,volume,threshold=0.5,adaptivity=0.,spacing=[1.,1.,1.],origin=[0.,0.,0.],binary_file=True,only_write_biggest_components=False,max_component_count=1)And to voxelize meshes:bunny_file='~/my_bunnyfile.stl'volume=volume2mesh.mesh2volume(bunny_file,scaling=1.)InstallationYou need to haveOpenMeshlinkable via-lOpenMeshCoreandOpenVDBinstalled.On on Ubuntu, you can do this by these commands (see ourTravis Script):# Install OpenVDBsudoapt-getinstall-ylibopenvdb-devbuild-essentiallibboost-all-devlibtbb-dev# Install OpenMeshgitclonehttps://www.graphics.rwth-aachen.de:9000/OpenMesh/OpenMesh.git||echo"hi"cdOpenMeshgitpullmkdir-preleasecdrelease&&cmake-DCMAKE_BUILD_TYPE=Release..&&cmake--build.---j4sudomakeinstall# Install this packagepip3installvolume2mesh--user# Or if you cloned this repopip3install-e.--user
Package: volume-control
Platform SupportedDeploymentsVolume ControlLight weight OS-agnostic volume controller for pythonInstallationpython-mpipinstallvolume-controlUsageimportpyvolumepyvolume.custom(percent=30)Optional argumentsdebug:Display logs in the form ofinfo,warningsanderrorsmessages.logger:Bring your ownLoggerfor custom logging.Coding StandardsDocstring format:GoogleStyling conventions:PEP 8Clean code with pre-commit hooks:flake8andisortRelease NotesRequirementpython-mpipinstallgitverseUsagegitverse-releasereverse-frelease_notes.rst-t'Release Notes'LintingPreCommitwill ensure linting, and the doc creation are run on every commit.Requirementpipinstallsphinx==5.1.1pre-commitrecommonmarkUsagepre-commitrun--all-filesPypi Packagehttps://pypi.org/project/volume-control/Runbookhttps://thevickypedia.github.io/volume-control/License & copyright© Vignesh RaoLicensed under theMIT License
Package: volumentations
VolumentationsPython library for 3d data augmentaiton. Hard fork fromalumentations.For more information on available augmentations checkdocumentation.Or, check simple example in colab:Setuppip install volumentationsUsage exampleimportvolumentationsasVimportnumpyasnpaugmentation=V.Compose([V.Scale3d(scale_limit=(0.2,0.2,0.1),p=0.75),V.OneOrOther(V.Compose([V.RotateAroundAxis3d(rotation_limit=np.pi,axis=(0,0,1),always_apply=True),V.RotateAroundAxis3d(rotation_limit=np.pi/3,axis=(0,1,0),always_apply=True),V.RotateAroundAxis3d(rotation_limit=np.pi/3,axis=(1,0,0),always_apply=True),],p=1,),V.Flip3d(axis=(0,0,1)),),V.OneOf([V.RandomDropout3d(dropout_ratio=0.2,p=0.75),V.RandomDropout3d(dropout_ratio=0.3,p=0.5),]),])augmented_teapot=augmentation(points=teapot.copy())["points"]show_augmentation(teapot,augmented_teapot)
Package: volumential
# VolumentialVolumential (VOLUME poteNTIAL) provides toolset to solve volume potential integral equations
efficiently via Fast Multipole Method.## Documentation[Browse the documentation online.](http://xiaoyu-wei.com/docs/volumential/)## LicenseVolumential is developed and released under the terms of the MIT license,
though it also makes use of third-party packages under their own licensing
terms. See the [LICENSE](./LICENSE.md) file for details.## AcknowledgementsWe would like to thank people and organizations that contributed to or supported the
Volumential project, without whom the project would not have been possible.The research that started the Volumential project was supported by the
[National Science Foundation][nsf] under grant DMS-1654756,
and by the [Department of Computer Science][uiuc-cs] at the
[University of Illinois at Urbana-Champaign][uiuc].
Part of the work was performed while the authors were participating in
the [HKUST][hkust]-[ICERM][icerm] workshop “Integral Equation Methods, Fast
Algorithms and Their Applications to Fluid Dynamics and Materials
Science” held in 2017.Thanks very much to the [Department of Mathematics][hkust-math] at
[Hong Kong University of Science and Technology][hkust]
for funding Xiaoyu Wei to work on the project
as a PhD student under the Postgraduate Studentship and
the Overseas Research Award.The project’s namevolumential[courtesy of Andreas Klöckner][volumential-name].[nsf]:https://www.nsf.gov/[hkust-math]:https://www.math.ust.hk/[hkust]:https://www.ust.hk/home[icerm]:https://icerm.brown.edu/[uiuc-cs]:https://cs.illinois.edu/[uiuc]:https://illinois.edu/[volumential-name]:https://gitlab.tiker.net/xywei/volumential/issues/2
Package: volumesh
VolumeshUtility to create volumetric mesh container files.Installationpip install volumeshDraco CompressionTo install theGoogle Dracocompression theDracoPylibrary is needed. Because it is still under development, we just include it if theextradracois specified.pip install "volumesh[draco]"UsageTo convert a sequence of OBJ files into a volumesh container use the following command:volumesh./humantest.glbFirst specify the folder where the OBJ's are located (human) and then the output file (test.glb). Use the--compressedflag if you havedracoextras installed and want to compress the container.
The following information will be stored into the mesh if available:verticestriangle indicesnormalsvertex-uvstextures (png / jpeg)LimitationsIf draco compression is turned on, onlyvertexandtriangleinformation is stored into the mesh. This is due to the fact thatDracoPydoes only support these two primitive values. At the moment we recommend to not use the internal compression, but convert the sequence into a glb file and later convert it using thegltf-pipeline. This leads to way better compression and contains still all information parts:gltf-pipeline -i .\sequence.glb -o .\sequence-draco.glb -dAnimationTo use the GLTF animation system to render the meshes in a sequence, it is possible to specify the framerate (default24) and set the animation flag.volumesh ./human test.glb --animate --fps 24Helpusage:volumesh[-h][--compressed][--jpeg-textures][--animate][--fpsFPS][-texTEXTURE_SIZE]inputoutput

Autilitytoworkwithvolumeshfiles.

positionalarguments:inputPathtothemeshfiles(directory).outputGLTFoutputfile(file).

optionalarguments:-h,--helpshowthishelpmessageandexit--compressedCompressthemeshdata.--jpeg-texturesUseJPEGcompressionfortexturesinsteadofPNG.--animateAnimatemeshframeswithGLTFanimationsystem.--fpsFPSAnimationframespersecond(fps).-texTEXTURE_SIZE,--texture-sizeTEXTURE_SIZEResizetexturetothespecifiedwidth.AboutCopyright (c) 2022 Zurich University of the Arts ZHdK
Package: volumio-buddy
volumio-buddynew release!This release now supports Volumio 3! It's actually an almost complete rewrite of the code, now using Python 3 with asyncio. It doesn't support Volumio 2 anymore, because the underlying OS is too outdated for a smooth migration to Python 3 (Volumio 2 users can still use release 0.4.1).IntroductionVolumio-buddy is a python3 library and helper program for Volumio 3.
It is meant to run on the same host where the Volumio back-end runs and provides the following additional functionality:connect to volumio using thewebsockets APIsupport for GPIO pushbuttons to control volumiosupport forrotary encodersto adjust the volume and to skip through a playlistRGB LED supportSSD1306 OLED128x64px screen support (I2C)Battery power monitoring with anINA219chip.Installation instructionsThe package assumes installation on a Debian based distribution for Raspberry Pi withsystemdbased init. If you don't usesystemd, install the package withmake installand start thevbuddyscript manually in the virtual environment.Editsrc/vbuddyto reflect your hardware setup. The script ignores the display and battery  monitoring components if they are not found, but you need to update the GPIO pin configuration and the I2C addresses, if you use different ones than I do.If your buttons or rotary encoders need an internal pullup or pulldown resistor, editsrc/vbuddy.serviceto include the commandline option-p upor-p downin theExecStartline.Install the service in a separate virtual environment using the following commands:make .venv
. .venv/bin/activate
make service
sudo systemctl start vbuddy