Saravanan666/pypi-org huggingface dataset:
Package: vt-kvd
vt-kvdAboutInstallingvt-kvd itselfFrom PyPIFrom sourcesDependencieslibmagicConfigurationRunningUser agentScanning directoriesPlatforms3rd-partyRequirementsResourcesAboutA VirusTotal GUI client.The application functionality is rather basic at the moment:getting files hashes and fetching existing reports from VirusTotaldisplaying results in a tableopenning a link to the full reportuploading files for scanning isn't implementedInstallingvt-kvd itselfFrom PyPI$pipinstallvt-kvdFrom sources$cd/path/to/repository/
$pipinstall./or:$cd/path/to/repository/
$python-mbuild
$pipinstall./dist/vt_kvd-0.5.0-py3-none-any.whlDependencieslibmagicAll the dependencies are automatically installed withpip. Butpython-magicPython moduleexpectslibmagicto be present in the system. So if you will bescanning directoriesinstead of individual files, then you will need to install this library using your system package manager:Mac OS (Homebrew):brew install libmagicGNU/Linux (APT):sudo apt install libmagic1Windows: the easiest will be to usealternative packageinstead ofpython-magic, because that one bundles requiredlibmagicbinary (and actually you can probably use that package on non-Windows platforms too):$pipuninstallpython-magic
$pipinstallpython-magic-binConfigurationConfig file~/.config/vt-kvd/config.toml:[API]key="YOUR-VIRUSTOTAL-API-KEY"If the main config file is missing, it will try to fallback tovt-cli's config at~/.vt.toml:apikey="YOUR-VIRUSTOTAL-API-KEY"Running$vt-kvd--helpUser agentThe application usesplatformmodule to compose the agent string which is sent to VirusTotal API on every request. The full value can look like this:vt-kvd/0.5.0 macOS-12.6.1-x86_64-i386-64bitIt is not (yet?) configurable, but you should probably be aware of its existence anyway.Scanning directoriesIt is possible to check not a single file but a directory. In that case in order to skip the files that are of no interest the application will scan the directory for suitable files by guessing their types based onmagic numbers. This is not an absolutely reliable way, so it is recommended that you check the files of interest individually by explicitly providing their full paths one by one.Another thing to consider is that VirusTotal API has a quota forstandard free public accounts, and you can quickly exceed that quota by scanning directories instead of individual files.Scanning directories is disabled by default. If you would like to enable it, launch the application with--enable-dir-scan. That will also require you to havelibmagicbinary installed in the system.PlatformsTested on:Mac OS:12.6.1, IntelWindows:10 21H111 21H2GNU/Linux:Ubuntu 22.043rd-partyRequirementsPython 3.8 or laterDear PyGui- application window and UI controlspandas- processing resultsfordetectingexecutables and libraries, either of these two:python-magic(withlibmagicto be installed separately from your system package manager)installed by defaultpython-magic-bin(with bundledlibmagic)needs to be manually installed instead of the other one (which needs to be uninstalled)vt-py- VirusTotal API libraryResourcesJetBrains Monofont
Package: vtmm
vtmm (vectorized transfer matrix method)vtmmis a vectorized implementation of thetransfer matrix methodfor computing the optical reflection and transmission of multilayer planar stacks. This package is inbeta.Thevtmmpackage supports some of the same functionality as thetmmPython package developed by Steven Byrnes. However, invtmmall operations are vectorized over angles / wavevectors as well as frequencies. Due to the small size of the matrices involved in the transfer matrix method (2 x 2), such vectorization results in significant performance gains, especially for large structures and many frequencies / wavevectors.In some cases we have observed approximately two orders of magnitude difference in execution time between the two implementations (see below). The much lower execution time invtmmmay be useful for applications which require many evaluations of the reflection and transmission coefficients, such as in fitting or optimization.GradientsCurrentlyvtmmuses Tensor Flow as its backend. This means that gradients of scalar loss / objective functions of the transmission and reflection can be taken for free. At a later time a numpy backend may be implemented for users that do not need gradient functionality and/or do not want Tensor Flow as a requirement.ExampleThe entry point tovtmmis the functiontmm_rt(pol, omega, kx, n, d). See the example below for a basic illustration of how to use the package.importtensorflowastffromvtmmimporttmm_rtpol='s'n=tf.constant([1.0,3.5,1.0])# Layer refractive indicesd=tf.constant([2e-6])# Layer thicknesseskx=tf.linspace(0.0,2*np.pi*220e12/299792458,1000)# Parallel wavevectorsomega=tf.linspace(150e12,220e12,1000)*2*np.pi# Angular frequencies# t and r will be 2D tensors of shape [ num kx, num omega ]t,r=tmm_rt(pol,omega,kx,n,d)BenchmarksSeetests/test_benchmark.pyfor a comparison betweenvtmmand the non-vectorizedtmmpackage. The benchmarks shown below are forlen(omega) == len(kx) == 50and 75 timeit evaluations.python -W ignore ./tests/test_benchmark.pySingle omega / kx benchmark
vtmm: 0.2432 s
tmm:  0.0401 s

Large stack benchmark
vtmm: 0.7811 s
tmm:  79.8765 s

Medium stack benchmark
vtmm: 0.4607 s
tmm:  52.2255 s

Small stack benchmark
vtmm: 0.3367 s
tmm:  41.0926 s
Package: vtmmpy
Vectorized Transfer Matrix Method PythonThe transfer matrix method (TMM) is an analytic approach for obtaining the reflection and transmission coefficients in stratified media. vtmmpy is a vectorised implementation of the TMM written in Python. It has a focus on speed and ease of use.Installationpip install vtmmpyUsageImport the vtmmpy module.import vtmmpyCreate an instance of theTMMclass.freq = np.linspace(170, 210, 30) 
theta = np.array(0, 60, 60) 

tmm = vtmmpy.TMM(freq, 
                theta, 
                f_scale=1e12, 
                l_scale=1e-9, 
                incident_medium="air", 
                transmitted_medium="air")freq: a numpy array representing the spectral range of interest.theta: a numpy array of one or more angles of incidence.f_scale (optional): input frequency scale, default is terahertz.l_scale (optional): input length scale, default is nanometers.incident_medium (optional): incident medium, default is air.transmitted_medium (optional): transmitted medium, default is air.Add multilayer metamaterial designs with theadd()method.materials   = ["Ag", "SiO2", "Ag", "SiO2", "Ag", "SiO2"] 
thicknesses = [15, 85, 15, 85, 15, 85] 

tmm.add(materials, thicknesses)materials: list of materialsthicknesses: list of the corresponding material thicknessesInternally, vtmmpy uses theregidxPython package to download refractive index data fromrefractiveindex.infofor your choosen materials and spectral range. At this point, you will be presented with a few options corresponding to the data source ("Page" dropdown on refractiveindex.info). Study these carefully and refer torefractiveindex.infofor more detailed information about how the data were obtained. Your choice here could greatly impact the accuracy of your results.Optionally call thesummary()and/ordesigns()methods to view the data currently held by the instance.tmm.summary() 
tmm.designs()Additionally, thetmm.opticalProperties()method can be used to obtain a dictionary of optical properties of the materials entered in the frequency range specified.props = tmm.opticalProperties()

print(props.keys()) # output: dict_keys(['air', 'SiO2', 'Ag'])
print(props["Ag"]["n"]) # ouput is the refractive index of Ag
print(props["Ag"]["beta"]) # ouput is the propagation constant of AgCalculate the reflection/transmission coefficients by calling the appropriate method. You should specify wether you want the transverse magnetic/electric polarization by supplying the "TM" or "TE" flag, respectively.RTM = tmm.reflection("TM") 
RTE = tmm.reflection("TE") 
TTM = tmm.transmission("TM") 
TTE = tmm.transmission("TE")Tips:Thereflection()andtransmission()methods return both complex parts. Use Python's built-inabs()function to obtain the magnitude.The intensity is the square of the magnitude (eg.abs(reflection("TM"))**2).reflection()andtransmission()return an ndarray with a minimum of 2 dimensions. The first dimension always corresponds to the number of designs. Therefore, when printing/plotting results, you must always index the first dimension (even if you only have 1 design).Examples
Package: vtofg
VTOFG: Vibration Test Object Function GeneratorIntroductionA function generator that uses the audio output (3.5mm port, speaker, or usb-c) on a computer, for use with a vibration test object (VTO) for testing of doppler ultrasound. This can be used as a general function generator if plot is set to False.When the function generator is ran it has the following inputs:
-- Master amplitude: the overall amplitude of the signal (essentially the volume when played through a speaker)Generator frequency: the frequency of the audio frames in the signalResolution: the resolution of each audio frameBuffer time: the length of each segment that is calculated/played (the next segment is calculated while the previous one is being played)Transducer Frequency: The ultrasound wave frequency in kHzPulse Repetition Frequency: The Pulse Repetition Frequency that the scanner is using in HzDisplay Time: The time period displayedDisplay Samples: The number of lines per time periodWall Filter: The wall filter frequency used (A simple cutoff mask is used)Gain: Arbitrary value use to scale the displayed signalDisplay Speed: used to control the display speed if it is out of sync with the signalFor each sweep wave:Wave amplitude: relative to each other, changing this will not change the overall signal amplitudeStart Frequency: the frequency to start the sweepEnd Frequency: the frequency to end the sweepSweep Time: the period of the sweepInstallation InstructionsWindowsUse pip to install the vtofg package:pip install vtofgRun the following python script:import vtofg

gen = vtofg.FunctionGenerator(plot=True)
gen.mainloop()Set plot to False if you don't want the plotter.See Example.PNG for expected output when ran with settings shown in image.Mac and othersInstallation of the package is largely the same, except you will need to runpip3 install vtofginstead ofpip install vtofg. You may also need to manually install a version of python through your package manager which includes tkinter, as the default version of python3 preloaded onto your system may not contain this.Python VersionAn installation of python 3.7.9 is recommended, other versions have not been tested.RoadmapAdding functionality to save/load wavesAdd functionaality to run .wav filesContributingContributions are welcomeContributorsZack RavetzLicenseThis project is licensed under the BSD license.
Package: vtool-ibeis
Vision Tools - tools for computer vision. Part of the WildMe / IBEIS Project.Repos relevant to the ibeis project:https://github.com/Erotemic/plottool_ibeishttps://github.com/Erotemic/guitool_ibeishttps://github.com/Erotemic/dtool_ibeishttps://github.com/Erotemic/vtool_ibeishttps://github.com/Erotemic/vtool_ibeis_exthttps://github.com/Erotemic/pyflann_ibeishttps://github.com/Erotemic/pyhesaffhttps://github.com/Erotemic/utoolhttps://github.com/Erotemic/ibeis
Package: vtool-ibeis-ext
Contains the binary spatial verification code used byvtool_ibeisThis is mainly maintained for theIBEISapplication.Binary packages related to IBEIS:https://github.com/Erotemic/vtool_ibeis_exthttps://github.com/Erotemic/pyflann_ibeishttps://github.com/Erotemic/pyhesaff
Package: vtoolscd
vtoolsDescriptionManage vitual machines, getting some informations (eg. OS).Requiredchoco/ aptvirtualbox (C:\Work\* if you are on windows)Installationchoco (Windows) (as Administartor)choco install vtools(Add-localif you want to install it only for the local user of the PC)Ubuntu using apt:sudo add-apt-repository ppa:castellanidavide/school -y; sudo apt update; sudo apt install vtools -yUpdateWindows (using choco):choco upgrade vtoolsUbuntu using apt:sudo apt update; sudo apt upgradeDelateWindows (using choco):choco remove vtoolsDebian/ Ubuntu using apt:sudo apt remove vtoolsDirectories structure.gitignoresetup.py.githubISSUE_TEMPLATEbug_report.mdfeature-request.mdworkflowson-push.ymlon-release.ymlchocoReadMe.mdset.txtvtools.nuspectoolschocolateyinstall.ps1chocolateyuninstall.ps1LICENSE.txtVERIFICATION.txtdebianvtools.1vtools.cMakefilerequirements.indebianchangelogcompatcontrolcopyrightpostinstpostrmpreinstrulessourcedocsLICENSElogo.pngREADME.mdflussi (example output(s))net.csvOS.csvlog (example log(s))trace.logrequirementsrequirements.txtvtools__init__.pyExecution examplesvtoolsOutput location*.csv (if enabled) in the location where the code was lauched*.logC:/Program Files/vtools/* on Windows~/* on linuxcurrent location (if you didn't lauch the code with the correct rights)Made by Castellani Davide
If you have any problem please contact me:help@castellanidavide.itIssue
Package: vtoolslan
vtoolslanDescriptionA tool to change the types of different connections between vms.
The idea of this tool is that to make easier to change/add a network configuration.
You can run this in GUI or CLI mode, this depends of your necessities.
In append you will have a csv file/ DB where you can see the changes done, more specific than log.Requiredchoco/ aptvirtualbox (C:\Work* if you are on windows)Installationchoco (Windows) (as Administartor)choco install vtoolslan --version=01.01Ubuntu using apt:sudo add-apt-repository ppa:castellanidavide/school -y; sudo apt update; sudo apt install vtoolslan -yUpdateWindows (using choco):choco upgrade vtoolslanUbuntu using apt:sudo apt update; sudo apt upgradeDelateWindows (using choco):choco remove vtoolslanUbuntu using apt:sudo apt remove vtoolslanDirectories structure.gitignoresetup.pyLICENSE.md.githubISSUE_TEMPLATEbug_report.mdfeature-request.mdworkflowson-push.ymlon-release.ymlchocoReadMe.mdset.txtvtoolslan.nuspectoolschocolateyinstall.ps1chocolateyuninstall.ps1LICENSE.txtVERIFICATION.txtvtoolslan-install.cvtoolslan-install.exevtoolslan-install.ovtoolslan.cvtoolslan.exevtoolslan.odebianvtoolslan.1vtoolslan.cMakefilerequirements.indebianchangelogcompatcontrolcopyrightpostinstpostrmpreinstrulessourcedocslogo.png*.mdflussi (example output(s))net.csvOS.csvlog (example log(s))trace.logrequirementsrequirements.txtvtoolslan__init__.pyExecution examplesvtoolslanOutput location*.csv (if enabled) in the location where the code was lauched*.logC:/Program Files/vtoolslan/* on Windows~/* on linuxcurrent location (if you didn't lauch the code with the correct rights)ChangelogVersion_01.01_2021-5-17Version_01.01_2021-5-17Initial versionMade by Castellani Davide
If you have any problem please contact me:help@castellanidavide.itIssue
Package: vtp-elastic-apm
This is the official Python module for Elastic APM.It provides full out-of-the-box support for many of the popular frameworks,
including Django, and Flask. Elastic APM is also easy to adapt for most
WSGI-compatible web applications viacustom integrations.Your application doesn’t live on the web? No problem! Elastic APM is easy to use in
any Python application.Read thedocumentation.LicenseBSD-3-ClauseMade with ♥️ and ☕️ by Elastic and our community.
Package: vt-police-tools
This package contains miscellaneous tools for working with Vermont police data.
It was created to enable the addition of several police departments toOpenOversight.DataSeedata.Installationpipinstallvt-police-toolsOpenOversight data importcdvt_police_tools/./migrations/2020.8-initial.shDevelopmentgitclonehttps://github.com/brianmwaters/vt-police-tools.gitcdvt-police-tools/virtualenv--python=python3.7env/sourceenv/bin/activatepipinstall--requirementrequirements.txtpipinstall--editable.ContributingBefore submitting a patch, please lint your code by runningpycodestyleandpydocstylein the root directory, andshellcheckon all shell scripts.
Please make sure to alsotestyour code.
Package: vt-py
vt-pyThis is the official Python client library for VirusTotal. With this library
you can interact with theVirusTotal REST API v3and automate your workflow quickly and efficiently.Things you can do with vt-pyScan files and URLsGet information about files, URLs, domains, etcPerform VirusTotal Intelligence searchesManage your LiveHunt rulesets and notificationsLaunch Retrohunt jobs and retrieve matchesManipulate your VirusTotal GraphsAnd much more ...For more information about how to usevt-pyvisit thedocumentationpage.You may also want to take a look at some of ourexample scripts,
where you can find some useful tools that can serve as a guidance on how to usevt-py.
Package: vtpython
virustotal-pythonA very simple implementation of the VirusTotal V3 API. You can examine files/urls/domains/IPs quickly by simply passing the filepath.Installationpip install vtpythonQuickstartfrom vtpython import VirusTotalClient

client = VirtusTotalClient('YOUR-API-KEY')

file_report = client.get_file_report('PATH/TO/FILE')

url_report = client.get_url_report('URL')

domain_report = client.get_domain_report('DOMAIN')

ip_report = client.get_ip_address_report('IP')
Package: vtrace
VTrace - Visualize traceroutes 🚀DescriptionMimicks a primitive version ofGNU traceroutewhile providing a visual map of the route in the browser!InstallationInstall using pip$pipinstallvtraceUsage⚠️Warning:requires elevated priviledges ⚠️# vtrace google.comFor help run$vtrace--helpTools usedPluginREADMEScapyFor creating/sending network packets to implement traceroute functionalities.IPInfoGeolocation service to get the coordinates of IP addresses.FoliumTo implement the visual mapping.ClickTo create the command line interface.
Package: vtracer
VTracer: Python BindingRaster to Vector Graphics Converter built on top of visioncortexArticle|Demo|DownloadBuilt with 🦀 byThe Vision Cortex Research GroupIntroductionvisioncortex VTracer is an open source software to convert raster images (like jpg & png) into vector graphics (svg). It can vectorize graphics and photographs and trace the curves to output compact vector files.Comparing toPotracewhich only accept binarized inputs (Black & White pixmap), VTracer has an image processing pipeline which can handle colored high resolution scans.Comparing to Adobe Illustrator'sImage Trace, VTracer's output is much more compact (less shapes) as we adopt a stacking strategy and avoid producing shapes with holes.VTracer is originally designed for processing high resolution scans of historic blueprints up to gigapixels. At the same time, VTracer can also handle low resolution pixel art, simulatingimage-rendering: pixelatedfor retro game artworks.A technical description of the algorithm is onvisioncortex.org/vtracer-docs.Install (Python)pipinstallvtracerUsage (Python)importvtracerinput_path="/path/to/some_file.jpg"output_path="/path/to/some_file.vtracer.jpg"# Minimal example: use all default values, generate a multicolor SVGvtracer.convert_image_to_svg_py(inp,out)# Single-color example. Good for line art, and much faster than full color:vtracer.convert_image_to_svg_py(inp,out,colormode='binary')# All the bells & whistlesvtracer.convert_image_to_svg_py(inp,out,colormode='color',# ["color"] or "binary"hierarchical='stacked',# ["stacked"] or "cutout"mode='spline',# ["spline"] "polygon", or "none"filter_speckle=4,# default: 4color_precision=6,# default: 6layer_difference=16,# default: 16corner_threshold=60,# default: 60length_threshold=4.0,# in [3.5, 10] default: 4.0max_iterations=10,# default: 10splice_threshold=45,# default: 45path_precision=3# default: 8)Rust LibraryThe (Rust) library can be found oncrates.io/vtracerandcrates.io/vtracer-webapp.
Package: vtracerpy
vtracerpyPython binding forvtracer.Installfrom pypipipinstallvtracerpyfrom sourceInstall rust.curl--proto'=https'--tlsv1.2-sSfhttps://sh.rustup.rs|shsource"$HOME/.cargo/env"rustup-VInstall maturinpipinstallmaturinbuildgit clone https://github.com/orange0-jp/vtracerpy.git
cd vtracerpy
maturin build -i python3 --release
pip install .UsagefrompathlibimportPathfromvtracerpyimportimage_to_svgimportcv2img=cv2.cvtColor(cv2.imread('test/mask.png'),cv2.COLOR_BGR2RGB)result=image_to_svg(img,colormode='color')Path("mask.svg").write_text(result,encoding="utf-8")Argsdefimage_to_svg(image:np.ndarray,colormode:str='color',color_precision:int=8,layer_difference:int=16,hierarchical:str='stacked',path_precision:int=8,mode:str='spline',corner_threshold:int=60,length_threshold:float=4.0,max_iterations:int=10,splice_threshold:int=45,filter_speckle:int=4)->str:"""Convert an image to SVG format with specified parameters.Parameters:- image: (np.ndarray)The input image with shape (H,W,3) to be converted to SVG format.- colormode (str, optional): True color image `color` (default) or Binary image `bw`.- color_precision (int, optional): Number of significant bits to use in an RGB channel. Defaults to 8.- layer_difference (int, optional): Color difference between gradient layers. Defaults to 16.- hierarchical (str, optional): Hierarchical clustering. Can be `stacked` (default) or non-stacked `cutout`. Only applies to color mode.- path_precision (int, optional): Parameter not described in provided options. Defaults to 8.- mode (str, optional): Curve fitting mode. Can be `pixel`, `polygon`, `spline`. Defaults to 'spline'.- corner_threshold (int, optional): Minimum momentary angle (degree) to be considered a corner. Defaults to 60.- length_threshold (float, optional): Perform iterative subdivide smooth until all segments are shorter than this length. Defaults to 4.0.- max_iterations (int, optional): Parameter not described in provided options. Defaults to 10.- splice_threshold (int, optional): Minimum angle displacement (degree) to splice a spline. Defaults to 45.- filter_speckle (int, optional): Discard patches smaller than X px in size. Defaults to 4.Returns:- str: The SVG representation of the input image."""Developmentinit maturin projectmaturinnew--namevtracerpy--mixed-bpyo3vtracerpybuildmaturin develop
pip install .
Package: vtracker
VTrackerFor tracking the relationship between group membership changes across versions.InstallationPyPI:pip install vtrackerUsageInstantiate theVTrackerclass and specify the versions from oldest to newest.Populate the tracker with each unique entity, and specify the state of the entity
at each of the versions. Missing versions have the state of 'Not Present'.Consider the following example which generates the JSON required to display the
following D3 Sankey diagram similar to that of theGTDB Taxon Historytool:fromvtrackerimportVTrackervt=VTracker(('R80','R83','R86.2','R89','NCBI'))vt.add('G000210735',{'R80':'s__Faecalibacterium prausnitzii_B','R83':'s__Faecalibacterium prausnitzii_B','R86.2':'s__Faecalibacterium prausnitzii_B','R89':'s__Faecalibacterium prausnitzii_G','NCBI':'s__Faecalibacterium prausnitzii'})vt.add('G003287485',{'R89':'s__Faecalibacterium prausnitzii_G','NCBI':'s__Faecalibacterium prausnitzii'})vt.add('G003287505',{'R89':'s__Faecalibacterium prausnitzii_G','NCBI':'s__Faecalibacterium prausnitzii'})vt.add('G003293635',{'R89':'s__Faecalibacterium prausnitzii_G','NCBI':'s__Faecalibacterium prausnitzii'})vt.add('G003508795',{'R80':'s__Faecalibacterium prausnitzii_B','R83':'s__Faecalibacterium prausnitzii_B','R86.2':'s__Faecalibacterium prausnitzii_B','R89':'s__Faecalibacterium prausnitzii_G'})sankey_json=vt.as_sankey_json()
Package: vtr-csv-json-converter
CSV to JSON converter.## IntroductionTeaching how to deploy a lib on Pypi at PUC using Poetry and twine### What this project can doRead acsvfile or afolderwith csv’s and convert them toJSONThis project is a program running on terminal, preferably install with pipx:` pipx installvtr-csv-json-converter`To use, just type in:` csv_converter--help`This will list all available