Saravanan666/pypi-org huggingface dataset:
Package: villas-controller
This project provides a unified API for controller real-time simulators from RTDS, OPAL, NI, Typhoon.NoteThis project is currently under active development and not functionional yet!DocumentationDocumentation is available online at:https://villas.fein-aachen.org/doc/controller.htmlCopyright2017, Institute for Automation of Complex Power Systems, EONERCLicenseThis project is released under the terms of theGPL version 3.We kindly ask all academic publications employing components of VILLASframework to cite one of the following papers:Monti et al., “A Global Real-Time Superlab: Enabling High Penetration of Power Electronics in the Electric Grid,” in IEEE Power Electronics Magazine, vol. 5, no. 3, pp. 35-44, Sept. 2018.Vogel, M. Mirz, L. Razik and A. Monti, “An open solution for next-generation real-time power system simulation,” 2017 IEEE Conference on Energy Internet and Energy System Integration (EI2), Beijing, 2017, pp. 1-6.This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
any later version.

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.

You should have received a copy of the GNU General Public License
along with this program.  If not, see .For other licensing options please consultProf.Antonello Monti.ContactSteffen VogelInstitute for Automation of Complex Power Systems (ACS)EON Energy Research Center (EONERC)RWTH University Aachen, Germany
Package: villas-dataprocessing
Dataprocessing toolkit for RWTH ACS simulatorsCopyright2017-2021, Institute for Automation of Complex Power Systems, EONERC, RWTH Aachen UniversityLicenseThis project is released under the terms of theApache 2.0.ContactMarkus MirzJan DinkelbachSteffen VogelInstitute for Automation of Complex Power Systems (ACS)
Package: villas-node
VILLASnode Python SupportMerge two files and filter the output based on timestampsvillas-file-merge testfile.dat testfile2.dat | villas-file-filter 3 5 > output.datDocumentationUser documentation is available here:https://villas.fein-aachen.org/doc/node.htmlCopyright2014-2020, Institute for Automation of Complex Power Systems, EONERCLicenseThis project is released under the terms of theGPL version 3.We kindly ask all academic publications employing components of VILLASframework to cite one of the following papers:A. Monti et al., "A Global Real-Time Superlab: Enabling High Penetration of Power Electronics in the Electric Grid," in IEEE Power Electronics Magazine, vol. 5, no. 3, pp. 35-44, Sept. 2018.S. Vogel, M. Mirz, L. Razik and A. Monti, "An open solution for next-generation real-time power system simulation," 2017 IEEE Conference on Energy Internet and Energy System Integration (EI2), Beijing, 2017, pp. 1-6.This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
any later version.

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.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.For other licensing options please consultProf. Antonello Monti.ContactSteffen Vogelstvogel@eonerc.rwth-aachen.deMarija Stevicmstevic@eonerc.rwth-aachen.deInstitute for Automation of Complex Power Systems (ACS)EON Energy Research Center (EONERC)RWTH University Aachen, Germany
Package: villaThinClient
lineSdkread and write product information in real timeInstallpip install linesdkviewDocumentationHow to useUploading a large amount of data using s3generate dummy data for testing#Dummy Data
sampleInput = {
  "message": "helloWorld",
  "roomId": 'C9ba1d024ed36979222a2a2a8f67cfc9a' ,
  "accessKey": accessKey
}Create main class objectfrom linesdk.linesdk import Line

line = Line(accessKey = sampleInput['accessKey'] )send message%%time
line.send(roomId = sampleInput['roomId'] ,message = sampleInput['message'])CPU times: user 17.3 ms, sys: 5.13 ms, total: 22.4 ms
Wall time: 352 ms





TrueLambdaFunction%%time
line.lambdaSend(sampleInput, _)CPU times: user 12.8 ms, sys: 1.92 ms, total: 14.7 ms
Wall time: 409 msCall a deployed lambda function%%time
lineLambda = LineLambda(USER, PW)
lineLambda.send(message='hello', roomId = sampleInput['roomId'])Invoke slack
Package: villaWalletDatabase
villaInventorySdkInstallpip install villaInventorySdkHow to useUploading a large amount of datasample inputsampleInput = [ 
  {'ib_brcode': '1023', 'ib_cf_qty': '835', 'ib_prcode': '84621', 'new_ib_vs_stock_cv': '839'},
  {'ib_brcode': '1022', 'ib_cf_qty': '24', 'ib_prcode': '12424', 'new_ib_vs_stock_cv': '21'}
]Upload datainit sdk%%time
sdk = InventorySdk(user=USER, pw=PW, branchName = branch)CPU times: user 36.6 ms, sys: 4.73 ms, total: 41.3 ms
Wall time: 1.05 sUpdate inventory%%time
sdk.updateWithS3( sampleInput )CPU times: user 53.4 ms, sys: 2.56 ms, total: 55.9 ms
Wall time: 322 ms





{'body': 'true', 'statusCode': 200, 'header': {}}Query single product%%time
sdk.querySingleProduct('0000002')CPU times: user 6.71 ms, sys: 7.73 ms, total: 14.4 ms
Wall time: 83.5 ms





{'ib_prcode': '0000002',
 '1000': {'ib_cf_qty': 35,
  'new_ib_bs_stock_cv': 33,
  'lastUpdate': 1600567810.529301,
  'ib_prcode': '0000002',
  'ib_brcode': '1000'},
 '1001': {'ib_cf_qty': 32,
  'new_ib_bs_stock_cv': 30,
  'lastUpdate': 1600567810.529316,
  'ib_prcode': '0000002',
  'ib_brcode': '1001'},
 '1002': {'ib_cf_qty': 34,
  'new_ib_bs_stock_cv': 30,
  'lastUpdate': 1600567810.529318,
  'ib_prcode': '0000002',
  'ib_brcode': '1002'},
 'lastUpdate': 1600567810.529318}Query Branch%%time
result = sdk.queryBranch('1000')
#showing the first 2 result
list(iter(result.items()))[:2]CPU times: user 360 ms, sys: 28.1 ms, total: 388 ms
Wall time: 600 ms





[('0000009',
  {'ib_cf_qty': 50,
   'new_ib_bs_stock_cv': 27,
   'lastUpdate': 1602338504.869655,
   'ib_prcode': '0000009',
   'ib_brcode': '1000'}),
 ('0000002',
  {'ib_cf_qty': 35,
   'new_ib_bs_stock_cv': 33,
   'lastUpdate': 1600567810.529301,
   'ib_prcode': '0000002',
   'ib_brcode': '1000'})]Query All%%time
result = sdk.queryAll()
list(iter(result.items()))[:2]CPU times: user 2.34 s, sys: 90.4 ms, total: 2.43 s
Wall time: 2.77 s





[('0000009',
  {'ib_prcode': '0000009',
   '1000': {'ib_cf_qty': 50,
    'new_ib_bs_stock_cv': 27,
    'lastUpdate': 1602338504.869655,
    'ib_prcode': '0000009',
    'ib_brcode': '1000'},
   'lastUpdate': 1602338504.869655}),
 ('0000002',
  {'ib_prcode': '0000002',
   '1000': {'ib_cf_qty': 35,
    'new_ib_bs_stock_cv': 33,
    'lastUpdate': 1600567810.529301,
    'ib_prcode': '0000002',
    'ib_brcode': '1000'},
   '1001': {'ib_cf_qty': 32,
    'new_ib_bs_stock_cv': 30,
    'lastUpdate': 1600567810.529316,
    'ib_prcode': '0000002',
    'ib_brcode': '1001'},
   '1002': {'ib_cf_qty': 34,
    'new_ib_bs_stock_cv': 30,
    'lastUpdate': 1600567810.529318,
    'ib_prcode': '0000002',
    'ib_brcode': '1002'},
   'lastUpdate': 1600567810.529318})]
Package: vilnius-aroudas-scraper
The Aroudas Web-scraperDescriptionThis web_scraper is designed to collect the following information for apartments listed on theAroudas website.CitySub-districtDescriptionLinkBuilding numberFlat numberAreaPrice per monthBuild yearBuilding typeHeating systemEnergy classNearest kindergartenNearest educational institutionNearest stopNearest public transport stopThe scraper has 3 methods:scrape - Loops through webpages and scrapes data off thearoudas.ltwebsite.to_csv - Used to save the dataframe to csvscrape_to_csv - Used to scrape and save the data to csvUsageTo use the scaper, pip install the package.pipinstallvilnius-aroudas-scraperimportaroudas_scraperone_four_rooms=AroudasScraper()# to scrape and datadf=one_four_rooms.scrape(num_houses=100,room_min=1,room_max=3)# to save scraped data to csvone_four_rooms.to_csv(df)# to scrape and save data to csvone_four_rooms.scrape_to_csv(num_houses=100,room_min=1,room_max=3)LicenseThe MIT License - Copyright (c) 2021 - Blessing Ehizojie-Philips
Package: vilnius-aruodas-scraper
The Aruodas Web-scraperDescriptionThis web_scraper is designed to collect the following information for apartments listed on theAruodas website.CitySub-districtDescriptionLinkBuilding numberFlat numberAreaPrice per monthBuild yearBuilding typeHeating systemEnergy classNearest kindergartenNearest educational institutionNearest stopNearest public transport stopThe scraper methods: Loops through webpages and scrapes data off thearuodas.ltwebsite.
The method has 4 parameters:no_room: this is used if only one type of apartment. FOr example, to search for only 2-room apartmentsroom_min: this parameter is used to specify the minimum number of rooms to be included in the search results.room_max: this parameter is used to specify the maximum number of rooms to be included in the search results.num_houses: this parameter is used to indicate the number of apartments to be scraped.UsageTo use the scaper, pip install the package.pipinstallvilnius-aruodas-scraperfromaruodas_scraperimportAruodasScraperdata=AruodasScraper()# to scrape data for 100 apartments with 1 - 4 roomsdf=data.scrape(num_houses=100,room_min=1,room_max=4)# to scrape data for 20 apartments with a minimum of 3 roomsdf=data.scrape(num_houses=20,room_min=3)# to scrape data for 20 apartments with a maximum of 3 roomsdf=data.scrape(num_houses=20,room_max=3)LicenseThe MIT License - Copyright (c) 2021 - Blessing Ehizojie-Philips
Package: vilolog
ViloLogSimple blogging platform. Built with Python, atopVilo (framework)andPogoDB (nosql).ViloLog is a bit like Jekyll, but backed by a database, not the file system.InstallationInstall via pip:pip install vilologViloLog builds a pure WSGI application. To run that application, you'll need Waitress, Gunicorn or another WSGI server. We recommend using Waitress, with Hupper for development:pip install waitress hupperQuickstartPass a Postgres connection string tovilolog.buildApp(.)to create your blog.Create moduleblog.py:importvilolog;app=vilolog.buildApp("postgres://...dsn..");wsgi=app.wsgi;Above,appis a Vilo app-container, andwsgiis the corresponding pure-WSGI callable. To runwsgivia Waitress atop Hupper:hupper -m waitress blog:wsgiOr without Hupper:python -m waitress blog:wsgiHupper is useful for development and testing, but needn't be used in production.Completing SetupOnce running,visitlocalhost:8080/_setupin your preferred browser to complete setup.Logging InAfter completing setup, you should be able to login to your blog. By default, you can log in by visiting/_login; but this can be configured via.buildApp(.)'sloginSlugparameter, documented below.Optionsvilolog.buildApp(.)accepts a number of parameters, only the first of which is required:pgUrl(required, str): Postgres connection string.blogId(optional, str): Useful if you have multiple blogs.blogTitle(optional, str): Self explanatory.blogDescription(optional, str): Self explanatory.footerLine(optional, str): Footer attribution line.cookieSecret(recommended, str): Secret for signing (authentication) cookie.antiCsrfSecret(recommended, str): Secret for signing anti-CSRF token.blogThemeDir(optional, str): Path to custom theme directory. (More on this later.)_adminThemeDir(Non-recommended, str): Path to custom theme directory for the backend-admin UX.devMode(optional, bool, default:False): Enable during development to prevent caching etc.redirectMap(optional, dict): Mapping from source path to target path.loginSlug(recommended, str, default:"_login"): The URL-slug for the login-page for admins. Must begin with"_login"and may only contain word  characters, matchingr'\w+'.disableRemoteLogin(recommended, bool, default:False): If truthy, admins must login via localhost only.remoteNetlocList: (optional, list of str): List of valid remote netlocs that the blog expects to run at. (Doesn't affect localhost.)remoteHttpsOnly(recommended, bool, default:False): If truthy, HTTPS will be enforced, except on loclhost.Note:While onlypgUrlis required, we recommendexplicitlypassing each parameter that's labelled as 'recommended' above, even for picking default values.Nascent StageViloLog is currently in a nascent stage. As work progresses, we'll be adding docs, screenshots, theming, etc.LicensingCopyright (c) 2020 Polydojo, Inc.Software Licensing:The software is released "AS IS" under theGNU GPLv3+, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. Kindly seeLICENSE.txtfor more details.No Trademark Rights:The above software licensing termsdo notgrant any right in the trademarks, service marks, brand names or logos of Polydojo, Inc.
Package: vilpi
PyTorch Model VisualizerIntroductionThis library is a Python tool designed to help machine learning practitioners and researchers visualize the architecture of PyTorch models. By representing each layer as a colored block, it offers a clear and intuitive understanding of a model's structure, aiding in analysis and debugging.FeaturesVisualize PyTorch model layers as colored blocks.Customize the maximum number of layers per subplot.Easy integration into PyTorch workflows.InstallationThis tool requires Python and PyTorch, along with Matplotlib for visualization. Ensure these are installed in your environment:pip install vilpiWarningThis library is designed for small models, so do not use it for large models.Required Libraries for visualisationpip install matplotlib
Package: viltolyckor-scraper
This is a scraper for statistical data from the (https://www.viltolycka.se/statistik/viltolyckor-for-respektive-viltslag/)[viltolycka.se]  built on top of theStatscraper package <https://github.com/jplusplus/statscraper>.The scraper is limited to the data avialble throughhttps://www.viltolycka.se/statistik/viltolyckor-for-respektive-viltslag/Install$pipinstallviltolyckor_scraperExample usagefromviltolyckorimportViltolyckorScraper# Init scraperscraper=ViltolyckorScraper()# List all available datasetsdatasets=scraper.items# [<ViltolyckorDataset: viltolyckor per viltslag>]# Select a datasetdataset=scraper.items["viltolyckor per viltslag"]# List all available dimensionsdatasets=verksamhetsform.dimensions# [<Dimension: region>, <Dimension: year>, <Dimension: month>, <Dimension: viltslag>]# Make a queryres=dataset.fetch()# Get latest available data for whole country by default# Analyze the results with Pandasdf=res.pandas# Make a more specific query# Get data for a given periodres=dataset.fetch({"period":"2015"})# Or from a specific region (all years)res=ds.fetch({"region":u"Stockholms län","year":"*"})DevelopSet up:$pipinstall-rrequirements.txtRun tests:$maketestsDeploymentTo deploy a new version to PyPi:Update version insetup.pyBuild:python3 setup.py sdist bdist_wheelUpload:python3 -m twine upload dist/viltolyckor_scraper-X.Y.X*…assuming you have Twine installed (pip install twine) and configured.
Package: vilya
vilyaThis is Flying Stone's unofficial monitoring (and soon management) tool forElrond Networknodes. This package is the agent running on the
same machine as the node or nodes being monitored.FeaturesCompared to other monitoring solutions, vilya is:secure: all data is sent to a remote machine through the local machine's ssh client, so no need for opening any firewall port, no answering to any requests, no extra softwareeasily auditable: the code is short and with very few dependencies (and they will go away over time), so you can read and understand the code for yourself before installing or updating iteasy to use: it was written from scratch for the job, so configuration is minimal and implementing new measurements is easy and fast (you need to write a little python, but it looks almost like a configuration file)lightweight but powerful: it uses less than 1% of th cpu when remotely logging:cpu, memory, disk and network usage every second, plusthe node/status API route every round, plusnode/p2pstatus, node/heartbeatstatus, validator/statistics every 5-10 minutes, plusthe full *:DEBUG log streammore, just read records.pysynchronized to the Elrond Network, so it waits until each block has been signed and sent before doing most of its jobMIT licensed, because it is the shortest and most permissive of all popular licensesnamed after Vilya, Elrond's ring and the mightiest of the Three of course :^)StatusI've been running it without problem on 3 machines each with 2 to 4 of the flying-... nodes
over the last few weeks without issues. Its companion dashboard applicationnodeviewis still a work in progress so vilya changing a bit
so the two work well with each other.to install:$ pip3 install vilyaNOTE: as I'm still developing it, some of the configuration is still hardcoded so installing with
pip won't work out of the box for now. But if you know a little pythin you can find your way. The
only other required configuration is to setup the ssh client for accessing the remote machine. More
instruction will follow with the first realease. I'll soon upload to github, but the code of course
is already on this page too.
Package: vim2vsc
This tool is meant to convert your custom vim bindings from your .vimrc into
VSCode compatible bindings. At the time this tool was created, .vimrc is not
officially supported by the VScodeVim extension (the most popular vim emulator
for VSCode) and there are no known tool that automate the process formatting vim
bindings for vscode-vim.Link to VSCodeVim:<https://github.com/VSCodeVim/Vim/>FeaturesFormats bindings for Normal Mode, Insert Mode and Visual ModeAuto-enables popular vim extensions like airline and vim-easymotion by activating vscode ports.PlannedSets flags like:set hlsearchandset :inclsearch.PlannedRequirementsPython 3.6+InstallationYou can get vim2vsc by running:git clonehttps://github.com/devanshuDesai/vim2vscUsagecd vim2vsc
python3 convert.pyconvert.pyaccepts three flags:
---vimrcSpecify the path to your.vimrcinstallation (guesses
path based on system if you don’t provide one).
---settingsSpecify the path to yoursettings.jsonfor your VSCode Installation(guesses
path based on system if you don’t provide one).
---nobackupIf this flag is set, vscode-vim doesn’t save your oldpackage.jsonbefore modifying it.Examplespython3 convert.py –settings ~/downloads/settings.json –nobackupEquivalently,python3 convert.py –s ~/downloads/settings.json –bContributeIssue Tracker: github.com/$devanshuDesai/vim2vsc/issuesSource Code: github.com/devanshuDesai/vim2vscLicenseThe project is licensed under the MIT license.
Package: vima
VIMA simple implementation of "VIMA: General Robot Manipulation with Multimodal Prompts"Original implementation LinkAppreciationLucidrainsAgoriansInstallpip install vimaUsageimporttorchfromvimaimportVima# Generate a random input sequencex=torch.randint(0,256,(1,1024)).cuda()# Initialize VIMA modelmodel=Vima()# Pass the input sequence through the modeloutput=model(x)MultiModal IterationPass in text and and image tensors into vimaimporttorchfromvima.vimaimportVimaMultiModal#usageimg=torch.randn(1,3,256,256)text=torch.randint(0,20000,(1,1024))model=VimaMultiModal()output=model(text,img)LicenseMITCitations@inproceedings{jiang2023vima,
  title     ={VIMA: General Robot Manipulation with Multimodal Prompts},
  author    ={Yunfan Jiang and Agrim Gupta and Zichen Zhang and Guanzhi Wang and Yongqiang Dou and Yanjun Chen and Li Fei-Fei and Anima Anandkumar and Yuke Zhu and Linxi Fan},
  booktitle ={Fortieth International Conference on Machine Learning},
  year      ={2023}}
Package: vimala
vimalaPython library for working with command-line editors (like vim).project status badges:version badges:Installation 🗹To installvimalausingpip, run the following
commands in your terminal:python3-mpipinstall--uservimala# install vimalaIf you don't have pip installed, thisPython installation guidecan guide
you through the process.Useful Links 🔗API Reference: A developer's reference of the API exposed by this
project.cc-python: Thecookiecutterthat was used to generate this project.
Changes made to this cookiecutter are periodically synced with this project
usingcruft.CHANGELOG.md: We use this file to document all notable changes made to
this project.CONTRIBUTING.md: This document contains guidelines for developers
interested in contributing to this project.Create a New Issue: Create a new GitHub issue for this project.Documentation: This project's full documentation.
Package: viman
PypiCICoverageLintProjectPRPlugin manager of vim written bypython3withpacmanflavor usage.And viman based onvim-packages.installationinstall vim.installvimanbypip3 install--userviman.note:You can also perform these three steps byexportNATIVE_INSTALL='sudopacman--noconfirm-Sy'&& curl-sLhttps://raw.githubusercontent.com/Shylock-Hg/viman/master/install.sh| sh. And please value you ownNATIVE_INSTALLsuch asyes | sudoapt-getinstallif you don’t usepacman.usagequery usage of viman byviman-h.install plugin byviman-Shttps://github.com/altercation/vim-colors-solarized.git....uninstall plugin byviman-Rnvim-colors-solarized...orviman-Rhttps://github.com/altercation/vim-colors-solarized.git....query all plugins installed byviman-Q.reduct all plugins from yml file byviman-Sf<yml...>.featuredependency managementplugin backup
Package: vimanager-cli
vimanagerA command-line tool written in Python that enhances the management of your playlists in theViMusicapplication.NOTE:This is an unofficial tool that is not maintained nor run by the developers of ViMusic.Along side with its various other functionalities, a few of its key features are allowing you to move yourSpotifyplaylists to ViMusic, and downloading your playlist tracks to your device.Due to other dependencies being needed, these features are not natively supported. SeeAll featuresfor more information.Installing and updatingPython 3.8 or higher is required. Depending on the version you wish to install, run the appropriate command.Once installed, runvimanager --helpfor a help menu and more information on how to use the playlist manager.Note that on some systems, you might have to replacepython3withpy -3.Stablepython3-mpipinstall-Uvimanager-cliDevelopmentpython3-mpipinstall-Ugit+https://github.com/Lee-matod/vimanager-cliAll featuresInstalling using this command includes the optional features listed below, which can also be installed seperatly.python3-mpipinstall-U"vimanager-cli[full]"Spotify SupportCopy your playlists from Spotify to ViMusic.python3-mpipinstall-U"vimanager-cli[spotify]"Download SupportDownload the tracks in your playlist to your device.python3-mpipinstall-U"vimanager-cli[download]"FFmpeg is required for this feature. If you do not have it installed on your device, see below for guidance.Downloading FFmpegWindows TutorialMacOS-brew install ffmpegLinux-sudo apt install ffmpegor whichever package manager you use.Getting your playlists as a database fileAll of the feature in this tool require a database that has your playlists stored in it. You can easily obtain this file through the ViMusic application thanks to their backup feature. Follow the steps below.Open ViMusic.Open the Configuration menu.Go to the Database tab.Click on Backup.Save the backup file to the desired destination.Similarly, once you have finished editing your playlists, click onRestoreinstead ofBackupand select the file you edited to apply the changes made.LicenseThis project is Licensed under theMITLicense.
Package: vimball
vimballvimball is a simple command-line tool for extracting vimball archives without
using vim.For extracting vimball archives use the following command:vimball -x <vimball archive>By default, vimball will try to choose a directory that is named similar to the
vimball archive to extract the archive’s files into. A specific directory name
or path may also be selected using the following:vimball -x <vimball archive> -C <extraction dir>Listing the files contained inside the vimball archive is also supported using:vimball -l <vimball archive>