Saravanan666/pypi-org huggingface dataset:
Package: hvlbuzz
{width=25%}HVLBuzz is a simulation tool to calculate the surface gradient of
overhead power lines and predict the audible noise and electromagnetic
field at ground.Install•Usage•📖 DocsHVLBuzzInstallationOperating SystemDownload🪟 Windows (64 bit)🐧 Linuxpip install hvlbuzz🍏 Macpip install hvlbuzzDevelopment setupIt is recommended that you use a Python virtual envioronement to run
HVLBuzz. Run the following command to create folder calledkivy_venvinside which your environement will live.The latest version of
Python this code has been tested with was 3.10python-mvenvkivy_venvActivate your virtual environement by runningkivy_venv\Scripts\activate.bat# 🪟.kivy_venv/bin/activate# 🐧 / 🍏Then install hvlbuzz into your environement as followspipinstall.
pipinstallgarden.matplotlib/This will also install an executable python script in your environmentsbinfolder.UsageTo run the binary obtained in the install part, runhvlbuzzAlternatively, the module is can also be started from python:python-mhvlbuzzorpythonhvlbuzzCompiling your own packaged versionThe source code can also be compiled by yourself usingPyInstallerusing the providedhvlbuzz/buzz.specfile.pyinstallerhvlbuzz/buzz.specAbuzz.exebinary will be available in a (newly created if
non-existing)dist\buzzfolder.CreditsHVLBuzz was designed as a Student Thesis of Aldo Tobler,
supervised by Sören Hedtke and Christian Franck from the High Voltage
Lab (HVL), D-ITET, ETH.This tool is completely free to use as is and only requires freely
availablePythonlibraries to run. The GUI
is based on theKivyframework, while the
mathematical computations and plot generation rely the widely usedNumPyandMatplotlib.
Package: hvor
HvorHar du en eller flere koordinater innenfor Norges geografiske grenser som du
gjerne skulle visst mer om?hvorer et Python-bibliotek for å hente ut ulike
typer data for koordinater i Norge. Data som kan hentes inkluderer:Kommunedata (kommune og kommunenummer)Fylkesdata (fylke og fylkesnummer)Flere typer data vil bli lagt til etterhvert!InstalleringSå enkelt sompip install hvorBrukFor et enkeltpunkt med latitude og longitude, brukpoint>>>fromhvorimportpoint>>>point(61.7327867684485,5.540150406971685){'kommunenumer':[4602],'kommune':['Kinn'],'fylkesnummer':[46],'fylke':['Vestland']}For flere koordinater, igjen med latitude og longitude, brukpoints(merkspå slutten)>>>fromhvorimportpoints>>>coordinates={"lat":[63.414109,69.14579124011655],"lon":[10.416230,18.15361374220361]}>>>points(coordinates){'kommunenummer':[5001,5419],'kommune':['Trondheim','Sørreisa'],'fylkesnummer':[50,54],'fylke':['Trøndelag','Troms og Finnmark']}Vipps, så har du kommune- og fylkesdata for koordinatene. (*men kun hvis
nøklene for bredde- og lengdegradlistene dine hetlatoglon😅).CreditsTusen takk tilrobhopfor deling av kommune- og fylkesdata.Kartverket for offentliggjøring av kartdata som robhop baserte seg på.
Package: hvplot
hvPlot makes data analysis and visualization simpleBuild StatusCoverageLatest dev releaseLatest releasePythonDocsBinderSupportHome|Installation instructions|Getting Started Guide|Reference Guides|Examples|License|SupporthvPlot provides a familiar, high-level API for visualizationThe API is based on the familiar Pandas.plotAPI and the innovative.interactiveAPI.hvPlot works with the tools you know and lovehvPlotsupports a wide range of data sources includingPandas,Polars,XArray,Dask,Streamz,Intake,GeoPandasandNetworkX.supports the plotting backendsBokeh,MatplotlibandPlotly.exposes the powerful tools from theHoloVizecosystem in a familiar and convenient API.hvPlot isthe simplest way to benefit from theHoloVizecosystem for data exploration.hvPlot can be used for exploration, reporting and data appsCheck outthis blog postto see how easy it is to create an interactive dashboard with hvPlot and Panel.Mini getting-startedHead over to thegetting started guidefor more!InstallhvPlot can be installed on Linux, Windows, or Mac withconda:condainstallhvplotor withpip:pipinstallhvplotPlease note that for versions ofjupyterlab<3.0, you must install the JupyterLab extension manually with:jupyterlabextensioninstall@pyviz/jupyterlab_pyvizPlotting dataWork with your data source:importnumpyasnpimportpandasaspdidx=pd.date_range('1/1/2000',periods=1000)df=pd.DataFrame(np.random.randn(1000,4),index=idx,columns=list('ABCD')).cumsum()Import the hvPlot extension for your data source and optionally set the plotting backend:importhvplot.pandas# Optional: hvplot.extension('matplotlib') or hvplot.extension('plotly')Use the.hvplotAPI as you would use the Pandas or Xarray.plotAPI:df.hvplot()Interactive data appsJust add.interactiveand replace your normal arguments withPanel widgetsorIpywidgets.importpanelaspnpn.extension()df.interactive(width=600).head(n=pn.widgets.IntSlider(start=1,end=5,value=3))How to find documentation from your notebook or editorTo see the available arguments for a specifickindof plot runhvplot.help(kind='scatter')In a notebook or ipython environment the usualhelpand?will provide you with documentation.TABandSHIFT+TABcompletion will help you navigate.LicensehvPlot is completely free and open-source. It is licensed under theBSD 3-Clause License.Support & FeedbackUsage questions and showcases ->HoloViz CommunityBug reports and feature requests ->GithubDeveloper discussions ->DiscordFor more detail check out theHoloViz Community Guide.ContributionsWe would love to work with you no matter whether you want to contribute to issue management, PRs, documentation, blog posts, community support or social media communication.To get started with the code or docs check out theDeveloper Guide.
Package: hvppyautocapture
hvppyautocaptureA simple python script to capture a series of images.$hvppyautocapture
>firstpage?147>lastpage?446>Clicktopleftcornerofthecaptureregion
>x:743,y:10>Clickbottomrightcornerofthecaptureregion
>x:1801,y:1378>nextpagebutton[right/pagedown/...]?right
>filenameprefix?file
>initialdelay[seconds]?5>waittimebeforeeachcapture?[seconds]2>waittimeaftereachcapture?[seconds]1
Package: hvps
HVPS🤔 What is this?This is a Python package for controlling high voltage power supplies (HVPS) over serial port.
The aim is to provide a unified pythonic interface for different HVPS models.Along with the Python package, a minimal set of bindings for Node.js is also provided. A nodered node is also available.
They both rely on the Python package to be installed in order to work.Currently onlyCAENandisegbrands are supported.⚙️ InstallationInstallation viapipis supported.
To install the latestpublished version, run:pipinstallhvpsTo install the package from source, including development dependencies, clone the repository and run:pipinstall.[dev]👨‍💻 UsageThere is a hierarchy of objects that represent the HVPS and its components:HVPS: represents the HVPS itself and handles the connection to the serial portModule: represents a module of the HVPS. Some HVPS support multiple modules over the same connectionChannel: represents a channel of the HVPSConnectionfromhvpsimportCaen,Isegimportlogging# connection interface is common to all HVPS# if no serial port is specified, the first available port will be used# if no baudrate is specified, the default baudrate will be used# if connect=False, the connection will not be established (useful for testing)# if logging_level is specified, the logger will be configured accordinglyhvps=Caen(port="/dev/ttyUSB0",baudrate=115200,connect=True,logging_level=logging.DEBUG)# connection settings can be accessedprint(f"port:{hvps.port}")print(f"baudrate:{hvps.baudrate}")ModulefromhvpsimportCaen# default connection settingscaen=Caen()module=caen.module()# get the first module (module 0)# if multiple modules are present, they can be accessed by index e.g. caen.module(1)# get the module's nameprint(f"module name:{module.name}")ChannelfromhvpsimportCaencaen=Caen()module=caen.module(0)print(f"number of channels:{module.number_of_channels}")channel=module.channel(2)# get channel number 2# get monitoring parametersprint(f"vmon:{channel.vmon}")print(f"vset:{channel.vset}")# set values (remote mode must be enabled)# turn on channelchannel.turn_on()channel.vset=300.0# 300 V⚠️ DisclaimerThe development of this package is mostly based on documentation with access to only a few models of HVPS.If you use this package, it is very possible you find a bug or some oversight.
You are encouraged to make apull requestor to create
anissueto report a bug, to request additional features or to suggest
improvements.
Package: hv-uploader
# Heavy UploaderPython script for uploading and managing content on the Heavy Cloud Service (https://enzienaudio.com)### Installing`$ pip install hv-uploader`### Upgrading`$ pip install hv-uploader -U`(Note: this will also update any dependencies)---## Development### Creating and uploading new package version`$ pip install twine`Update the `version` string in [setup.py](https://github.com/enzienaudio/hv-uploader/blob/master/setup.py#L8) to the date of version upload.`$ rm -rf ./dist/``$ python setup.py sdist bdist_wheel``$ twine upload dist/* `
Package: hvvabfahrtsmonitor
HVV AbfahrtsmonitorTo be used with links generated athttps://abfahrten.hvv.de/Generated urls need to be changed to include api/monitors (See Sample file contents)UsagefromhvvabfahrtsmonitorimportHvvAbfahrtsmonitormonitor=HvvAbfahrtsmonitor(file,schema_file)monitor.get_times()#Get a dict of lists of times, in minutes, for when the buses/metros/trains are due next.Sample file contents (JSON){"data":[{"name":"S","url":"https://abfahrten.hvv.de/api/monitors/a038583f-f72b-4e4e-ba22-9d9903ced316"},{"name":"B","url":"https://abfahrten.hvv.de/api/monitors/f76a6c23-a682-4297-aa99-f815157e2bca"}]}Sample schema_file (JSON schema){"$schema":"http://json-schema.org/draft-07/schema#","title":"Hvv Schema","definitions":{"departure":{"type":"object","properties":{"delay":{"type":"string"},"direction":{"type":"string"},"hasDelay":{"type":"boolean"},"icon":{"type":"object"},"line":{"type":"string"},"station":{"type":"string"},"time":{"type":"string"}},"required":["hasDelay","line","time"]}},"type":"object","properties":{"data":{"type":"object","properties":{"attributes":{"type":"object","properties":{"departures":{"type":"array","items":{"$ref":"#/definitions/departure"}}}}}}}}
Package: hvwfg
hvwfgPython wrapper for the Hypervolume calculation code of theWalking Fish GroupThis package needsCythonandnumpyto be installed.pythonsetup.pyinstallUsageimportnumpyasnpimporthvwfg# Fitness vector assuming minimizationobj=np.array([[0.3,0.6],[0.4,0.4],[0.6,0.2]])ref=np.array([1.1,1.1])hvwfg.wfg(obj,ref)Depending on the input size, the fastest code is selected.
Package: hw01
Lenovo HW01Library to work with Lenovo HW01. To be used in place of AndroidLenovo Healthyapp.DependenciesbluepyTraffic analysisIn order to analyse communication between official Android appLenovo Healthyand Lenovo HW01 device, additional appNordicSemiconductor/Android-nRF-Connectis used to perform traffic logging.It allows us to write an API library to interact with the watch without using the official Android app.DebuggingScan for Bluetooth devices:$>sudohcitoollescan
LEScan...
XX:XX:XX:XX:XX:XXHW01Connect to Bluetooth device:sudogatttool--device=XX:XX:XX:XX:XX:XX-I-trandom[XX:XX:XX:XX:XX:XX][LE]>connect
AttemptingtoconnecttoXX:XX:XX:XX:XX:XX
ConnectionsuccessfulList device characteristics:[XX:XX:XX:XX:XX:XX][LE]>primary
attrhandle:0x0001,endgrphandle:0x0007uuid:00001800-0000-1000-8000-00805f9b34fb
attrhandle:0x0008,endgrphandle:0x0008uuid:00001801-0000-1000-8000-00805f9b34fb
attrhandle:0x0009,endgrphandle:0x000euuid:0000190a-0000-1000-8000-00805f9b34fb
attrhandle:0x000f,endgrphandle:0x0014uuid:0000190b-0000-1000-8000-00805f9b34fb
attrhandle:0x0015,endgrphandle:0xffffuuid:0000fee7-0000-1000-8000-00805f9b34fbDocumentationhw01’s documentationTestpip install -r dev-requirements.txt
./setup.py nosetestsReferencescreotiv/MiBand2My journey towards Reverse Engineering a Smart Band — Bluetooth-LE REXiaomi Mi Band BLE Protocol reverse-engineering and APIHow I hacked my Xiaomi MiBand 2 fitness tracker — a step-by-step Linux guideGet Started with Bluetooth Low Energy on LinuxNordicSemiconductor/Android-nRF-Connect
Package: hw101
Hardware-101 für HardwarebausteineIn diesem Repository befinden sich für verschiedene Hardwarebausteine
grundlegende Informationen wie Datenblätter, Quelltext- und
Schaltungsbeispiele sowie eine Beschreibung.apa102: RGB-LED-Streifen mit dem Chipsatz APA10274HC595: 8Bit-SchieberegisterDS18B20: Temperatursensor (1-WIRE)ESP8266: Microcontroller mit WLAN und Micropython-UnterstützungGertboard: Erweiterungsboard für den Raspberry Pigpiozero: Einfache Bibliothek zur Ansteuerung der GPIO-Pins.HD44780: LCD Controllerled_matrix: Eine 5x7 LED-Matrixlm75: Temperatursensormcp23017: Portexpander (I²C)mcp23s17: Portexpander (SPI)mcp3208: Analog-Digital-Wandler (SPI)mcp3426: Analog-Digtial-Wandler (I²C)mcp4151: Digitalpotentiometer (SPI)mpu6050: Beschleunigungssensor und Gyrometer (I²C)Orange Pi Zero: EinplatinencomputerRGB-LED: LEDs mit vielen FarbenRaspberry Pi: Einplatinencomputerservo: Servomotoren mittels PWMsh1106: OLED Display Treiberssd1306: OLED Display Treiberws2811/ws2812: RGB-LED-Streifenfake-rpi: Hilfe für die ProgrammentwicklungTransistoren: Eine Übersicht (noch sehr übersichtlich)IO-Emulator: Emulator für Eingabe-Ausgabe-Operationen.Hilf mitDu kannst das Projekt mit eigenen Beiträgen ergänzen. Schau dazu bei den"good first issues"nach, welche Themen noch benötigt werden.
Package: hw1lib
IntroductionHw1lib is a library package for the homework1 of Data Engineering Course.This is a package of currency classes for storing FOREX data.Including the classes for the currency pairs listed below:AUD-USDGBP-EURUSD-CADUSD-JPYUSD-MXNEUR-USDUSD-CNYUSD-CZKUSD-PLNUSD-INRThis is a test project, so these classes are designed for special functionality.
Package: hw4lopushanskyy
The Most Popular Genres Among Top Movies Sorted by YearsThe research is based on the data from IMDB, the world’s largest online database of information related to films.How it worksIn order to run the program, you need to download its distribution from PyPI. After the program launch (main() function), you will be prompted to use default data or enter your own. The user can specify the time period from which the films will be selected, as well as the minimum ratings and the number of votes per movie. If the information is entered correctly, the database analysis will begin. When this process is completed, a window will open that will show a bar chart that will show the most popular genres of movies by the selected criteria.AuthorDmytro Lopushanskyy, UCU Computer Science Student,https://github.com/DmytroLopushanskyy
Package: hwapi
hwapi: Happy Wheels API WrapperInstallationRequirement: Python3.6+pip(3) install git+https://github.com/kittenswolf/hwapi.git
pip(3) install -r requirements.txtUsage (async)importasyncioimporthwapiclient=hwapi.client(useragent="test")asyncdeftest():jim=awaitclient.user(2)asyncforlevelinjim.levels("newest","anytime"):print("Replays for Jim's level '{}':".format(level.name))asyncforreplayinlevel.replays("completion_time"):print("    ID:{}- time:{}".format(replay.id,replay.completion_time))featured_levels=awaitclient.featured_levels()print("There are{}featured levels.".format(len(featured_levels)))asyncforlevelinclient.levels("newest","anytime"):user_location=awaitlevel.author.location()user_joined=awaitlevel.author.date_joined()print("{}'s author:{}location:{}, date joined:{}".format(level.name,level.author.name,user_location,user_joined))loop=asyncio.get_event_loop()loop.run_until_complete(test())
Package: hwave
H-waveH-wave is a program for performing unrestricted Hartree-Fock (UHF) approximation and random phase approximation (RPA) for itinerant electron systems. UHF and RPA correspond to simple approximations that deal with fluctuations up to first order and enable analyses of electron correlation effects in materials at a low computational cost. The input files describing the one-body and two-body interactions are based on the Wannier90 format[1]. This allows smooth connection for the software packages that derive the effective models from first principles calculations, such as RESPACK[2], to the analyses of the effective model with H-wave.[1] G. Pizzi et al, J. Phys.: Condens. Matter 32 165902 (2020).
[2] K. Nakmura, Y. Yoshimoto, Y. Nomura et al., Comp. Phys. Commun. 261, 107781 (2021).MethodsHartree-Fock and Random Phase approximationTarget modelsHubbard model, multi-orbital Hubbard modelAvailable physical quantitiesground-state energy, free energy, charge and spin susceptibilities, etc.RequirementPython3 with numpy, scipy, and other library packagesInstallFrom PyPIpython3-mpipinstallhwaveFrom source (if you modify the program)python3-mpipinstallDIRECTORY_OF_THE_REPOSITORYLicenseThe distribution of the program package and the source codes for H-wave follow
GNU General Public License version 3
(GPL v3).Copyright (c) <2022-> The University of Tokyo. All rights reserved.This software was developed with the support of
"Project for Advancement of Software Usability in Materials Science"
of The Institute for Solid State Physics, The University of Tokyo.Official pageH-wave project siteSoftware repositoryUser ManualData RepositoryAuthorsKazuyoshi Yoshimi (ISSP, Univ. of Tokyo),
Yuichi Motoyama (ISSP, Univ. of Tokyo),
Tatsumi Aoyama (ISSP, Univ. of Tokyo),
Kota Ido (ISSP, Univ. of Tokyo),
Takahiro Misawa (ISSP, Univ. of Tokyo),
Taiki Kawamura (Nagoya Univ.),
Akito Kobayashi (Nagoya Univ.),
Takeo Kato (ISSP, Univ. of Tokyo)
Package: hwb
Hand Written Blots AugmentationThis repository contains augmentation from ourpaper.Colab ExampleGetting Startedpip install hwbExample with default parametersImport:from hwb import HandWrittenBlotUsing:blots = HandWrittenBlot()

new_img = blots(img)Done.ContactsIssues should be raised directly in the repository. For professional support and recommendations pleasewelcomedenk@gmail.com.
Package: hwcounter
# hwcounterHighly accurate counter for measuring elapsed time in Python.## Installation``` shell$ pip install hwcounter```## OverviewThis Python extension module uses the hardware timestamp counter toprovide very high precision and accurate measurements of executiontime.The module exposes three main objects. Two are plain functions,`count` and `count_end`, which return the current value of thetimestamp counter. They can be used together to manually track thestart and end of a timing measurement. The third is the `Timer` type,which is to be used as a context manager, wrapping a block of code tobe measured.Using `Timer` to wrap a block of code is to be preferred overmanually using `count` and `count_end`. This is for convenience, as wellas because it factors in the overhead of calling the underlyingmeasurement instructions.### `count()`Returns the current value of the timestamp counter, in cycles.### `count_end()`Returns the current value of the timestamp counter, in cycles. It issuitable for use at the end of a timing measurement.### `Timer`Class that implements the context manager protocol.#### `Timer.cycles`The `cycles` attribute is populated with the elapsed time, in cycles,when the Timer context manager exits.## Example usage``` pythonfrom hwcounter import Timer, count, count_endfrom time import sleepfrom math import sqrt# 1. Manually count cycles elapsed between two pointsstart = count()sqrt(144) / 12elapsed = count_end() - startprint(f'elapsed cycles: {elapsed}')# elapsed cycles: 36486# 2. Use Timer object as context manager to wrap a block of code and measure its timingwith Timer() as t:sleep(1)print(f'elapsed cycles: {t.cycles}')# elapsed cycles: 2912338344```These examples were performed on an Intel Core i5-6267U CPU @2.90GHz. Notice that the sleep for 1 second in the example aboveyields a 2.9 billion cycle count.## NotesThe overhead of calling the underlying measurement instructions istaken into account when using the Timer context manager. In otherwords, the number of cycles it takes to call the machine instructionsare subtracted from the elapsed cycle count automatically.This library returns measurements in processor clock cycles. Forbenchmarking programs and making apples-to-apples comparisons ofchanges in code execution time, this method is sufficient andreliable. If elapsed time in seconds is desired, a conversion fromclock cycles is required: divide the cycle count by the processor'sclock speed (in Hz). This conversion is outside the scope of thismodule.## PortabilityThis extension uses the `RDTSC` and `RDTSCP` instructions on the x86architecture, so it won't work on other platforms. It is Python 3only.
Package: hwetests
hwetestsThe Hardy-Weinberg Equilibrium (HWE) assumption is essential to many population genetics models, which assumes that allele pairs from a given population are random. An HWE test needs to test whether the pairing are random or not.Our python package contains three statistical tests for HWE testing:ASTAUMATUMAT with samplingBothASTAandUMAT with samplingassume ambiguity in the observations whileUMATdoes not.Table of ContentsInstallationQuick tourExamplesCreditsLicenseInstallationUse the package managerpipto install hwetests.pipinstallhwetestsQuick tourTo immediately use our package, you only need to run a single function.ASTAdeffull_algorithm(file_path,is_first_row_contains_columns_names=False,cutoff_value=0.0,should_save_csv=False,should_save_plot=False,title=''):SupposeExamplesHere we show how to use our package with simulated data.
You can find the scripts and the simulated data in:├───src
│├───test
││├───data
│││└───unambiguous_data.csv# for ASTA and UMAT with sampling (contains 50k population, 20 alleles, 0.2 uncertainty, in HWE)│││└───ambiguous_data.csv# for UMAT (contains 100k population, in HWE)││├───scripts
│││└───asta_test.py
│││└───umat_test.py
│││└───umat_with_sampling_test.pyASTA testfromhwetestsimportastaif__name__=='__main__':p_value,statistic,dof=asta.full_algorithm(file_path='../data/ambiguous_data.csv',cutoff_value=4.0)print(f'p-value:{p_value}')print(f'statistic:{statistic}')print(f'degrees of freedom:{dof}')UMAT testfromhwetestsimportumatimportnumpyasnpif__name__=='__main__':# import data from csv file as a numpy arraydata=np.genfromtxt('../data/unambiguous_data.csv',delimiter=',')# run the testp_value=umat.full_algorithm(data)print(f'p-value:{p_value}')UMAT with sampling testfromhwetestsimportumat_with_uncertaintyif__name__=='__main__':p_value=umat_with_uncertainty.full_algorithm(file_path='../data/ambiguous_data.csv')Licenseasasda
Package: hwglance
Video demo on YouTube :https://youtu.be/PMLaksRtqykhwglance: Glance at your computer statusNeed something to keep an eye on your system recources?pip install hwglance-r --refresh INTRefresh = default refresh rate, aka the time for intervals (in seconds). Can be float, e.g. 0.2
But I like 0.5 !-w --wave (True/False) or (1/0)At the bottom are some waves, at least, it aims to be.
Set this to (True) to enable, or (False) to disable this amazing feature.-c --coloring (True/False) or (1/0)The top and bottom banners (Title / Wavey thingy) change color.
Set this to (True) to enable, or (False) to disable this amazing feature.-s --services (True/False) or (1/0)Default: False
Enable this setting to get IP address information.
Package: hw-hivepy
HivePySmall wrapper forHexWay HiveRest API.Installationpipinstallhw-hivepyDependenciespydantic ~= 2.4requests ~= 2.31.0UsagefromhivepyimportHivedefmain()->None:"""Main function."""auth={'server':'http://127.0.0.1','username':'user','password':'password',}hive:Hive=Hive().connect(**auth)# Getting projects and its issueshive.get_projects()hive.get_projects(project_id='some-project-id')hive.get_issues(project_id='some-project-id')# Updating issue fieldshive.update_issue(project_id='some-project-id',issue_id='some-issue-id',status='ready')# Download binary filehive.get_file(project_id='some-project-id',file_id='some-file-id')if__name__=="__main__":main()