Saravanan666/pypi-org huggingface dataset:
Package: volmdlr
VolmdlrA computations-oriented python VOLume MoDeLeR with STEP support for import and exportDescription|Features|User Installation|Dev Installation|Usage|Documentation|Licence|Contributors|DescriptionVolmdlr is a python volume modeler used as a CAD platform.
With it, you can easily create 3D models from python code.
Check the examples to see what you can do with this library.A casing is defined by a 2D contour formed with the primitive RoundedLineSegment2D. This contour is offset by the casing width.A Sweep is pipes, created with Circle2D/Arc2D which is contained in a Contour2D. You have to create the neutral fiber, i.e., the pipe’s road, with the primitive RoundedLineSegment3D.A polygon is defined out of points. Random points are sampled and the tested whether they are inside or outside the polygon. They are plotted with the Matplotlib binding MPLPlot with custom styles:
- red if they are outside,
- blue if they are insideA 3D B-spline surface split by a 3D B-spline curve.FeaturesGenerate 2D and 3D geometries from pythonHandles complexe geometries : B-spline curves and surfacesPrimitives provide computational tasks : distances, belonging, union, intersections, etc.STEP/STL imports and exportsGeometries display in your web browser withbabylon.jsUser Installationpipinstallvolmdlr# orpip3installvolmdlrDev InstallationBefore using Volmdlr, be sure to have a C/C++ compiler (not necessary on Linux).N.B : With Windows you have to download one and allow it to read Python’s code.First,clonethe package.
Then, enter the newly created volmdlr repository.
Finally, develop the setup.py file, and you are good to go !gitclonehttps://github.com/Dessia-tech/volmdlr.gitcdvolmdlr

python3setup.pydevelop--user# or whatever version you are using :python3.xsetup.pydevelop--userUsageSee thescriptfolder for examplesDocumentationhttps://documentation.dessia.tech/volmdlr/License100% opensource on LGPL license. See LICENSE for more details.Team and contributorsThe project leader isWirajan Da Silva.
Volmdlr is mainly developed by thedessiacompany as a part of its opensource SDK, but contributions are welcomed. SeeCONTRIBUTING.mdfor detailsDessiA teamluzpaz
Package: volprofile
Installationpip install volprofileVolume Profile Analysis PackageThis package provides functions for analyzing volume profile data using Python.
The package includes the following functions:FunctionsgetVP(df: pd.DataFrame, nBins: int = 20) -> pd.DataFrameThis function takes a Pandas DataFrame with columns price and volume, and returns a DataFrame consisting of minPrice, maxPrice, and aggregateVolume for each price bin.getVPWithOHLC(df: pd.DataFrame, nBins: int = 20) -> pd.DataFrameThis function takes a Pandas DataFrame with columns open, high, low, close, and volume, and returns a DataFrame consisting of minPrice, maxPrice, and aggregateVolume for each price bin. It uses the OHLC data to calculate more accurate price bins.getKMaxBars(volprofile_result: pd.DataFrame, k: int) -> pd.DataFrameThis function takes a DataFrame generated by getVP or getVPWithOHLC, and returns the top k price bins with the highest aggregate volume.getUnusualIncreasingBars(df: pd.DataFrame, isUpward: bool) -> pd.DataFrameThis function takes a DataFrame generated by getVP or getVPWithOHLC, and returns the price bins that have experienced unusual increases in volume. The isUpward parameter determines whether to search for upward or downward trends.plot(df: pd.DataFrame, price) -> NoneThis function takes a DataFrame generated by getVP or getVPWithOHLC, and a price series, and generates a plot of the volume profile.
InstallationTo install the package, run:pip install volprofileExample UsageimportpandasaspdfromvolprofileimportgetVP,plot# Load datadf=pd.read_csv('mydata.csv')# Calculate volume profilevp=getVPWithOHLC(df)# Plot volume profileplot(vp,df['price'])
Package: voltage
A simple pythonic asynchronous API wrapper forRevolt.Usageimportvoltage# Import voltage.client=voltage.Client()# Initialize the client.@client.listen("ready")# Listen to an event.asyncdefon_ready():print(f"Logged in as{client.user}")@client.listen("message")asyncdefon_message(message):# Doesn't matter what you call the function.ifmessage.content=="-ping":awaitmessage.channel.send("pong!")# Send a message.elifmessage.content=="-embed":embed=voltage.SendableEmbed(title="Hello World",description="This is an embed")# Create an embed.# Reply to a message.awaitmessage.reply(content="embed",embed=embed)# Obligatory message content.# Run the client which is an abstraction of calling the start coroutine.client.run("TOKEN")# Replace with your token.Commands framework example:importvoltagefromvoltage.extimportcommands# Import the commands module from ``voltage.ext``client=commands.CommandsClient("-")# Create a CommandsClient (client that has commands (original ik)) with the prefix set to "-".@client.listen("ready")# You can still listen to events.asyncdefready():print("Gaaah, It's rewind time.")@client.command()# Register a command using the ``command`` decorator.asyncdefping(ctx):"""Sends Pong!"""# Name and description can be passed in the decorator or automatically inferred.awaitctx.reply("Pong")# Reply to the context's message.client.run("TOKEN")# Again, replace with your bot token.For more examples check theexamplesfolder which has a lot of useful, ready to go, and explained examples.InstallationVoltage is available onPyPI!To install voltage just run:$pipinstallvoltageIf you want to install the main branch which may have more features but will be more unstable you run:$pipinstallgit+https://github.com/EnokiUN/voltageNotePython 3.8 or higher is required to install voltage.Installing from GitHub requires the Git CLI to be available on your machine.CreditsContributors, thank you :)Revolt.py, when shit broke, that’s where I went.Revolt.js, when the docs fail you.Discord.py, also a really great help while making this.Revolt development team, absolute chads.FatalErrorCoded, Vortex guys, carrying with voice implementation, eats chadness.RGBCube, Came up with the amazing name “Voltage”.
Package: voltaire_bundler
VoltaireModular and lighting-fast Python Bundler for Ethereum EIP-4337 Account AbstractionUsing an instanceFor a quick bundler instance, use one of ourpublic hosted endpointsfor your developement.DeploymentDeploy Voltaire using the latest docker imagedocker run --net=host --rm -ti ghcr.io/candidelabs/voltaire/voltaire-bundler:latest --bundler_secret $BUNDLER_SECRET --rpc_url $RPC_URL --rpc_port $PORT --ethereum_node_url $ETHEREUM_NODE_URL --chain_id $CHAIN_ID --verbose --unsafe --disable_p2pDevelopmentUbuntu: Get started testing the bundler in 5 minutesInstall Poetrycurl -sSL https://install.python-poetry.org | python3 -Install dependenciespoetry installMake sure you are using the right python versionpoetry env use python3.11Install DockerFollow the installation guide to installdocker on ubunutuPost docker installationFollow the instruction for docker'spost linux instalationStart gethdocker run --rm -ti --name geth -p 8545:8545 ethereum/client-go:v1.10.26 \
  --miner.gaslimit 12000000 \
  --http --http.api personal,eth,net,web3,debug \
  --http.vhosts '*,localhost,host.docker.internal' --http.addr "0.0.0.0" \
  --ignore-legacy-receipts --allow-insecure-unlock --rpc.allow-unprotected-txs \
  --dev \
  --verbosity 4 \
  --nodiscover --maxpeers 0 --mine --miner.threads 1 \
  --networkid 1337Deploy the EntryPoint and fund the signer (in another terminal)geth --exec 'loadScript("scripts/deploy.js")' attach http://0.0.0.0:8545Set env valuessource scripts/init-paramsRun the bundlerpoetry run python3 -m voltaire_bundler --entrypoint $ENTRYPOINT --bundler_secret $BUNDLER_SECRET --chain_id 1337 --verboseTest the bundler by cloningeth-infinitism/bundler-spec-testsFollow the instruction ineth-infinitism/bundler-spec-teststo install dependencies and run the testP2P rust section developmentInstall Rustcurl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shInstall build dependenciessudo apt install musl-tools
rustup target add x86_64-unknown-linux-muslBuild the rust section using poetry scriptpoetry run build_p2pContributionsThank you for considering contributing to open-source code! We welcome contributions and are grateful for even the smallest of fixes.If you want to contribute today or follow along with the contributor discussion, you can use our main discord to chat with us about the development of Voltaire.LicenseLGPLAcknowledgmentsNone of this would have been possible without the following teams and organizations below:EIP-4337: Account Abstraction via Entry Point Contract specificationeth-infinitism/bundlerVoltaire is funded exclusively byThe Ethereum FoundationLighthouse: Ethereum consensus client
Package: voltalis-cli
voltalis-cliA python client for themyvoltalisAPI.This package is NOT maintained by voltalis. (Please don't sue me)The myvoltalis application (was) slow, and it offers basic functionalities. Voltalis appliances by default can not be integrated with common domotic solutions (HomeAssistant, HomeKit, Google Home, ..).This client provides an example about how to interface with the API.installpipinstallvoltalis-clirun# executes the scenario "end-user clicking on all the menus of the myvoltalis web app"python-mvoltalis.cliloginpassword
Package: voltcraft
voltcraft.ppsPython module for controlling Voltcraft PPS and DPPS powersupplies.Available atwww.conrad.com (PPS)andwww.conrad.com (DPPS)fromvoltcraft.ppsimportPPSsupply=PPS(port="/dev/ttyUSB0",reset=True)supply.voltage(10.0)supply.current(2.0)supply.output(1)Install via:pip install voltcraftThere's no documentation, but the module is tiny, so please just read thevoltcraft/pps.py:sparkling_heart:It is also possible to use this module as a command-line tool$py-mvoltcraftCOM3MODEL=DPPS3230IMAX=31.5VMAX=32.2IMULT=10.0limits=(32.2,31.5)reading=(14.01,2.13,'CV')$py-mvoltcraftCOM3off

$py-mvoltcraftCOM3readreading=(3.14,0.0,'CV')$py-mvoltcraftCOM3readreading=(1.7,0.0,'CV')
Package: voltfpipe
voltfpipeA pipeline manager for a voltf project (photogrammetry and videogrammetry).DescriptionInitially, can manage raw videos (breaking them up)Requirementsffmpegavailable on the command lineQuickstartInstallpip install voltfpipeHow do I ... ?Init a projectvoltfpipe initAdd a videovoltfpipe video add path/to/video --project my-project --video my-video-slugAdd all  videos in a directoryvoltfpipe videos add path/to/videos/ --project my-projectPrepare a video for importvoltfpipe video configure --project my-project --video my-video-slugBatch Prepare all videos for importvoltfpipe videos configure --project my-projectThis will guestimate a lot of settings for each video.Create images for a projectvoltfpip images create --project my-projectImages will be inmy-project/images/
Package: voltorb-flip
VoltorbFlipA minigame of the Goldenrod and Celadon Game Corners in the Korean and Western releases of Pokémon HeartGold and SoulSilver.A Python engine (and a CLI) for the game ofVoltorb Flip.Installpipinstallvoltorb-flipRunvoltorb-flipnewPlay1 2 3 4 5
 a ? ? ? ? ? 3 2
 b ? ? ? ? ? 5 1
 c ? ? ? ? ? 7 0
 d ? ? ? ? ? 6 1
 e ? ? ? ? ? 4 2
   6 5 5 3 6
   0 2 0 2 2

Instructions: Flip f<row><column>, Mark m<row><column>, Quit q
Lv. 1 | Score 1 >(This is how it really looks:)
Package: volt.py
VoltVoltis yet another discord api wrapper for Python.
It supports python 3.7 +How to installpipinstallvoltStructureEvent listenerfromvoltimportClient,Intents,Messageclient=Client(intents=Intents.all())@client.listen('message')asyncdefon_message(msg:Message):ifnotmsg.author.bot:# echo user messageawaitmsg.reply(msg.content)client.run('BOT_TOKEN')Slash CommandsfromvoltimportClient,Intents,interaction,Userclient=Client(intents=Intents.all())@client.command(name='greeting')asyncdefgreeting_slash(ctx:interaction.Context,user:User):awaitctx.respond(...)client.run('BOT_TOKEN')### Message ComponentsfromvoltimportClient,Intents,interaction,components,Userclient=Client(intents=Intents.all())@client.command(name='greeting')asyncdefgreeting_slash(ctx:interaction.Context,user:User):awaitctx.respond(components=[components.ActionRow([components.Button(custom_id='my_btn',style=components.ButtonStyle.Primary)])])client.run('BOT_TOKEN')
Package: volttron
Eclipse VOLTTRON™ (VOLTTRON/volttron) is an open source platform for distributed sensing and control. The platform provides services for collecting and storing data from buildings and devices and provides an environment for developing applications which interact with that data.InstallationIt is recommended to use a virtual environment for installing volttron.python-mvenvenvsourceenv/bin/activate

pipinstallvolttronQuick StartSetup VOLTTRON_HOME environment variable: export VOLTTRON_HOME=/path/to/volttron_home/dirNOTEThis is madatory if you have/had in the past, a monolithic    VOLTTRON version that used the default VOLTTRON_HOME $HOME/.volttron. This modular version of VOLTTRON cannot work with volttron_home used by monolithic version of VOLTTRON(version 8.3 or earlier)Start the platformvolttron-vv-lvolttron.log&>/dev/null&Install listener agentvctlinstallvolttron-listener--startView status of platformvctlstatusShutdown the platformvctlshutdown--platformFull VOLTTRON documentation available atVOLTTRON ReadthedocsContributing to VOLTTRONPlease see thecontributing.mddocument before contributing to this repository.Please seedeveloping_on_modular.mddocument for developing your agents against volttron.Disclaimer 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-actuator
volttron-actuatorThe Actuator Agent is used to manage write access to devices. Other agents may request scheduled times, called Tasks, to interact with one or more devices.Requirementspython >= 3.10volttron >= 10.0tzlocal >= 4.2types-tzlocal >= 4.2.2.2DocumentationMore 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-actuator.vctlinstallvolttron-actuator--agent-config<pathtoagentconfig>--startView the status of the installed agentvctlstatusDevelopmentPlease see the following for contributing guidelinescontributing.Please see the following helpful guide aboutdeveloping modular VOLTTRON agents
Package: volttron-bacnet-proxy
BACnet Proxy AgentBACnet Proxy is an agent that supports communication and management of BACnet devices.Communication with a BACnet device on a network happens via a single virtual BACnet device. In the VOLTTRON driver framework,
we use a separate agent specifically for communicating with BACnet devices and managing the virtual BACnet device.Requirespython >= 3.10volttron >= 10.0bacpypes == 0.16.7DocumentationMore 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 BACnet proxy agent.vctlinstallvolttron-bacnet-proxy--agent-config<pathtobacnetproxyconfigfile>\--vip-identityplatform.bacnet_proxy\--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-economizer-rcx
Economizer RCx AgentEconomizer Agent helps in the re-tuning process and addresses some of the issues
associated with RCx. RCx is known to save energy consumption , but the process
used is not cost-effective.  Economizer Agent and it's diagnostics allow continuous
re-tuning and problem identification which can lower the costs of RCxRequirementspython >= 3.10volttron >= 10.0DocumentationMore detailed documentation can be found onReadTheDocs. The RST source
of the documentation for this agent 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 Economizer RCx Agent (assuming the vip identity "economizer.ahu1").vctlconfigstoreeconomizer.ahu1config<path/to/config/file>vctlinstallvolttron-economizer-rcx--vip-identityeconomizer.ahu1--tageconomizer--startView the status of the installed agentvctlstatusDevelopmentPlease see the following for contributing guidelinescontributing.Please see the following helpful guide aboutdeveloping modular VOLTTRON agents
Package: volttron-ilc
Intelligent Load Control (ILC) AgentMain branch tests:Develop branch tests:ILC supports traditional demand response as well as transactive energy
services. ILC manages controllable loads while also mitigating
service-level excursions (e.g., occupant comfort, minimizing equipment
ON/OFF cycling) by dynamically prioritizing available loads for curtailment
using both quantitative (deviation of zone conditions from set point) and
qualitative rules (type of zone).Requirementspython >= 3.10volttron >= 10.0sympy >= 1.12transitions >= 0.9.0DocumentationMore detailed documentation can be found onReadTheDocs. The RST source
of the documentation for this agent is located in the "docs" directory of this repository.ILC Agent ConfigurationThe  ILC agent, requires four configuration files per device cluster (i.e., homogenous set of devices).  These
files should be loaded into the agent's config store via vctl config command line interface.  Samples of these files
may be found in the sample_configs directory of this repository:config - ILC (main) configuration.control_config - Contains information related to the control of device cluster.criteria_config - Contains information related to the use of real time data to prioritize devices within
cluster for load management.pairwise_criteria.json - Contains information related to the relative importance of each criteria for a device cluster.Full documentation of ILC configurations can be found onReadTheDocs.
A web-based configuration tool has been developed to simplify creation of the configuration files for ILC.
The web tool can be accessedhere.Instructions for the configuration web-tool can be foundhere.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 Intelligent Load Control Agent.vctlconfigstoreilc.agentconfig<pathofconfigfile>
vctlconfigstoreilc.agentcontrol_config<pathtodevice_control_config>
vctlconfigstoreilc.agentcriteria_config<pathtodevice_criteria_config>
vctlconfigstoreilc.agentpairwise_criteria.json<pathtopairwise_criteria_config>
vctlinstallvolttron-ilc--vip-identityilc.agent--tagilc--startView the status of the installed agentvctlstatusDevelopmentPlease see the following for contributing guidelinescontributing.Please see the following helpful guide aboutdeveloping modular VOLTTRON agents
Package: volttron-lib-base-driver
volttron-lib-base-driverPrerequisitesPython 3.10PythonTo install Python 3.10, we recommend usingpyenv.# install pyenvgitclonehttps://github.com/pyenv/pyenv~/.pyenv# setup pyenv (you should also put these three lines in .bashrc or similar)exportPATH="${HOME}/.pyenv/bin:${PATH}"exportPYENV_ROOT="${HOME}/.pyenv"eval"$(pyenvinit-)"# install Python 3.8pyenvinstall3.10# make it available globallypyenvglobalsystem3.10InstallationCreate and activate a virtual environment.python-mvenvenvsourceenv/bin/activateInstall volttron and start the platform.pipinstallvolttron# Start platform with output going to volttron.logvolttron-vv-lvolttron.log&Install the library. You have two options. You can install this library using the version on PyPi:pipinstallvolttron-lib-base-driverOr you can install the local version of this library from this repo:pipinstall-e.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.