Saravanan666/pypi-org huggingface dataset:
Package: hdlConvertorAst
hdlConvertorAstThis library contains universalHDL AST nodes(Hardware Description Language Abstract Syntax Tree = objects for representation of code constructs) for SystemVerilog, VHDL and others. This AST can be generated from SV/VHDL code byhdlConvertorand it can also be converted to VHDL/SV/JSON/SystemC/... and other formats usinghdlConvertorAst.to module.
Note that the conversion of AST of different languages requires an extra care.
E. g. the VHDL AST and SV AST will have a different type names and thus the direct transpilation usinghdlConvertorAst.to modulewill not yield working code. If source and target language differs the translation is required. For this translations and post processing you can usehdlConvertorAst.translate moduleDoc shared withhdlConvertor.Intended as a support library forcode generatorscode parserscompilers/transpilersSupported languagesIEEE 1076-2008 (VHDL 2008)and all previous standard, (currently withouttool_directiveandPSL)IEEE 1800-2017 (SystemVerilog 2017)and all previous standards.SystemC 2.3.3HdlConvertor JSONhwtSimApi basic_rtl_sim_model (python interpreted RTL simulator)hwt (hardware construction framework (HCL) with algorithmic synthesis (HLS))List of selected unique features of this librarysingle straightforward universal AST for all languages, wide spectrum of import/export languagesautomatic parenthesis resolution in expressions based on operator priority/associativityclever white-spaces, constant and expression formatingcomments preserved as doc of objectsInstallation# note this may be older version than you see in reposudopip3installhdlConvertorAst# or download repository and runsudopython3setup.pyinstall# if you are using version from git rather uninstall# old library first if required# sudo pip3 uninstall hdlConvertorAstSimilar projectsfasm- Python, FPGA Assembly (FASM) Parser and Generator
Package: hdlg
HDLG is a modern GUI for hdl-dump with Batch installation capabilities.hdl-dump:https://github.com/ps2homebrew/hdl-dumpwLaunchELF:https://github.com/ps2homebrew/wLaunchELFPreview as of October 2022.Installationpip install --user hdlgTo run hdlg, typehdlginto any terminal, command prompt, app launcher, or the start menu.If you wish to manually install from the source, take a look atBuilding.To-doCraft initial GUI with Qt.Push to PyPI and add relevant Badges.Add PyInstaller make file.Add local PS2 HDD connection option.List installed games of selected HDD.Show HDD information like Disk Size, Space Used, and such.Add ability to install a new game to selected HDD.Add batch installation support by selecting more than one file.Create a file based settings system.Add per-install settings like startup, flags, and DMA mode.Add ability to format an HDD for use with a PS2 withpfsshell.Add ability to rename the Game Name of installed games.Add ability to extract an installed game from the PS2 HDD.Add ability to view an installed game's sector table.Add ability to set a custom icon to an installed game.Add remote PS2 HDD (samba) connection option.Add Inno Setup script.Add Linux support.Add macOS support.BuildingThis project requiresPoetry, so feel free to take advantage and use it for its various conveniences like
building sdist/wheel packages, creating and managing dependencies, virtual environments, and more.Note:Source Code may have changes that may be old, not yet tested or stable, or may have regressions.Only run or install from Source Code if you have a good reason. Examples would be to test for regressions, test
changes (either your own or other contributors), or to research the code (agreeing to theLICENSE).Poetryis required as it's used as thePEP 517build system, virtual environment manager, dependency manager,
and more.Install from Source Codegit clone https://github.com/rlaphoenix/hdlg.git
cd hdlg
pip install --user .Building source and wheel distributionspoetry buildYou can specify-fto buildsdistorwheelonly. Built files can be found in the/distdirectory.Packing with PyInstallerpoetry run python pyinstaller.pyThe build is now available at./dist.
Package: hdlib
hdlibHyperdimensional Computing Library for building Vector Symbolic Architectures in Python 3.Vector-Symbolic Architectures (VSA, a.k.a. Hyperdimensional Computing) is an emergent computing paradigm that works by combining vectors in a high-dimensional space for representing and processing information. This approach recently shown promise in various domains for dealing with different kind of computational problems, including artificial intelligence, cognitive science, robotics, natural language processing, bioinformatics, medical informatics, cheminformatics, and internet of things among other scientific disciplines.Here we presenthdlib, a Python library for designing Vector-Symbolic Architectures. It is distributed under the MIT license as a Python package through PyPI and Conda on theconda-forgechannel.GitHub releases are also available on Zenodo athttps://doi.org/10.5281/zenodo.7996502.Please refer to the officialWikifor any information about the implemented modules and how to use the library.Here is the table of content:Getting startedInstallinghdlibDependenciesVector-Symbolic ArchitecturesHyperdimensional Vectors and SpaceArithmetic operationsExamplesWhat is the Dollar of Mexico?Supervised Machine Learning ModelStepwise Feature SelectionSupport and contributionsCreditsPlease credit our work in your manuscript by citing:Cumbo et al., (2023). hdlib: A Python library for designing Vector-Symbolic Architectures. Journal of Open Source Software, 8(89), 5704,https://doi.org/10.21105/joss.05704Support and contributionsLong-term discussion and bug reports are maintained viaGitHub Issues, while code review is managed viaGitHub Pull Requests.Please, (i) be sure that there are no existing issues/PR concerning the same bug or improvement before opening a new issue/PR; (ii) write a clear and concise description of what the bug/PR is about; (iii) specifying the list of steps to reproduce the behavior in addition to versions and other technical details is highly recommended.For additional information about how to contribute, please visit theCONTRIBUTINGsection.Copyright © 2022Fabio Cumbo. SeeLICENSEfor additional details.
Package: hd-llz
Infohd_llz 2019-02-26Author: Liu lizhen <hero1153@sina.com>Copyright: This module has been placed in the public domain.version:0.0.0.1Classes:hand_detector: detect the hand in the imageFunctions:test(): test functionhand_detector():  a classhand_detector.detect_hand_predict(image): return the number of hand, hand position,and the confidenseHow To Use This Module.. image:: funny.gif
:height: 100px
:width: 100px
:alt: funny cat picture
:align: centerexample code:sudo pip install tensorflow==1.5.0
.. code:: python
from hd_llz import hand_detector as hd
import cv2hd1=hd.hand_detector()hd1.test()
hd3=hand_detector()
imf=os.path.join(self.site_package_path,'test.jpg')
print imf
image=cv2.imread(imf)
print(hd3.detect_hand_predict(image))Refresh
Package: hdlparse
Hdlparse is a simple package implementing a rudimentary parser for VHDL and Verilog. It is not capable of fully parsing the entire language. Rather, it is meant to extract enough key information from a source file to create generated documentation.This library is used by theSymbolatordiagram generator.For VHDL this library can extract component, subprogram, type, subtype, and constant declarations from a package. For Verilog it can extract module declarations (both 1995 and 2001 syntax).RequirementsHdlparse requires either Python 2.7 or Python 3.x and no additional libraries.The installation script depends on setuptools. The source is written in
Python 2.7 syntax but will convert cleanly to Python 3 when the installer
passes it through 2to3.DownloadYou can access the Hdlparse Git repository fromGithub. You can install direct from PyPI with the “pip”
command if you have it available.InstallationHdlparse is a Python library. You must have Python installed first to use it. Most modern Linux distributions and OS/X have it available by default. There are a number of options available for Windows. If you don’t already have a favorite, I recommend getting one of the“full-stack” Python distrosthat are geared toward scientific computing such as Anaconda or Python(x,y).You need to have the Python setuptools installed first. If your OS has a package manager, it may be preferable to install setuptools through that tool. Otherwise you can use Pip:>pipinstallsetuptoolsThe easiest way to install Hdlparse is fromPyPI.>pipinstall--upgradehdlparseThis will download and install the latest release, upgrading if you already have it installed. If you don’t havepipyou may have theeasy_installcommand available which can be used to installpipon your system:>easy_installpipYou can also usepipto get the latest development code from Github:>pipinstall--upgradehttps://github.com/kevinpt/hdlparse/tarball/masterIf you manually downloaded a source package or created a clone with Git you can install with the following command run from the base Hdlparse directory:>pythonsetup.pyinstallOn Linux systems you may need to install with root privileges using thesudocommand.After a successful install the Hdlparse library will be available.DocumentationThe full documentation is available online at themain Hdlparse site.
Package: hdl-registers
The hdl-registers project is an open-source HDL register interface code generator fast enough to run
in real time.
It makes FPGA/ASIC development more fun by automating a lot of time-consuming manual work.
It also minimizes the risk of bugs by removing the need for duplicate information.Read moreSee documentation on the website:https://hdl-registers.comCheck out the source code on GitHub:https://github.com/hdl-registers/hdl-registersThe following features are supported:Register fieldsBit.Signed/unsigned fixed-point bit vector.Enumeration.Positive/negative-range integer.Register arrays.Default registers.Register constants.Registers can be defined using
aTOML/JSON/YAML data fileor thePython API.
The following code can be generated:VHDLAXI-Lite register file wrapper using records and native VHDL types for values.Support packages for compact and efficient simulation.C++Complete class with setters and getters for registers and fields.Includes an abstract interface header for unit test mocking.C headerwith register addresses and field information.HTMLwebsite with documentation of registers and fields.The tool can also be extended bywriting your own code generatorusing a simple but powerful API.This project is mature and used in many production environments.
The maintainers place high focus on quality, with everything having good unit test coverage and a
thought-out structure.
Package: hdmc
HDMapConverter (hdmc)A tool for converting from Lanelet2 maps to Apollo OpenDRIVE mapsApollo OpenDriveApollo is an architecture for autonomous driving developed by Baidu. They have made a modified version of the OpenDrive standard to suit their needs better.This project aims to create a tool for generating maps in the Apollo version of the OpenDrive specification using data from Lanelet2 maps.Installation from source to systemIn theconverter/folder (containingsetup.py):pip install -e ./Usageusage: python3 -m hdmc [-h] input_file output_file

positional arguments:
  input_file                  Input filename
  output_file                 Output filename

optional arguments:
  -h, --help            show this help message and exitOutputbase_map.txtis received as result. To use it in Apollo architecture,bin_map_generatorandgenerate_routing_topo_graphscripts should be used.
Package: hdmf-zarr
hdmf-zarrThehdmf-zarrlibrary implements a Zarr backend for HDMF as well as convenience classes for integration of Zarr with PyNWB to support writing of NWB files to Zarr.Status:The Zarr backend isunder developmentand may still change. See theoveriew pagefor an overview of the available features and known limitations of hdmf-zarr.Latest ReleaseCI / Health StatusCiting hdmf-zarrIf you use HDMF or hdmf_zarr in your research, please use the following citation:A. J. Tritt, O. Ruebel, B. Dichter, R. Ly, D. Kang, E. F. Chang, L. M. Frank, K. Bouchard,“HDMF: Hierarchical Data Modeling Framework for Modern Science Data Standards,”2019 IEEE International Conference on Big Data (Big Data),
Los Angeles, CA, USA, 2019, pp. 165-179, doi: 10.1109/BigData47090.2019.9005648.HDMF-Zarr, RRID:SCR_022709DocumentationSee thehdmf-zarrdocumentation for detailshttps://hdmf-zarr.readthedocs.io/en/latest/UsageThe library is intended to be used in conjunction with HDMF.hdmf-zarrmainly provides
with theZarrIOclass an alternative to theHDF5IOI/O backend that ships with HDMF.
To support customization of I/O settings,hdmf-zarrprovidesZarrDataIO(similar toH5DataIOin HDMF). UsingZarrIOandZarrDataIOworks much in the same way asHDF5IO.
To ease integration with the NWB data standard and PyNWB,hdmf-zarrprovides theNWBZarrIOclass as alternative topynwb.NWBHDF5IO. See the tutorials included with the documentation for more details.
Package: hdmi2usb.modeswitch
# HDMI2USB-mode-switchHelper tool to figuring out the state and information about HDMI2USB boards and
managing the firmware on them.Runmake condato setup a conda environment with everything you need, good
for development and testing.Runpython3 setup.py installif you want to install on your system.Make sure you install the [udev rules inside the udev directory](./udev).Before sending a pull request, make suremake testandmake checkpass.There are three ways to runhdmi2usb-mode-switch:1. As root
1. Install the
[unbind-helper](https://github.com/timvideos/HDMI2USB-mode-switch/blob/master/unbind-helper.c)
as a setuid binary
1. Install the
[udev-rules](https://github.com/timvideos/HDMI2USB-mode-switch/tree/master/udev)
which sets the permissions of the unbind to thevideogroup.
Package: hdmi-cec-to-adb
HDMI CEC to ADBTurns off an Android TV using a Raspberry Pi and adb shell commands. Not all Android TVs respect the HDMI "standby"
command (even if the HDMI-CEC settings are enabled) and as result, the won't turn off automatically when a
standby broadcast message is sent via HDMI.This package aims to solve that usingpython-cec/libcecandadb(Android Debug Bridge). When a broadcast
standby command has been sent, this program sends an adb shell command to turn off the TV using key input.InstallationThere are a few steps to getting all the pieces working.Android TV SetupTurn on your Android TV "Developer Mode" and enable adb debug logging.Install RaspbianFor this setup to work, you will need a Raspberry PI and will need to complete the guide fromPiMyLifeUp. This basically installs a Raspberry PI with
Raspbian andcec-clientwhich is required to communicate with HDMI and used by this library.Copy adb keysYou will need to copy public and private keys to your/home/pi/.android/folder on the Raspberry PI. These could be
taken from any computer wereadbis installed. These allow from communication over TCP/IP and to turn off the TV.Install hdmi_cec_to_adbOnce your Raspberry PI is setup, install hdmi_cec_to_adb and setup a cron to automatically start on boot.# assuming you have virtualenvwrapper already installedmkvirtualenvhdmi_cec_to_adb

pipinstallhdmi-cec-to-adb# Add the following to your crontab and make sure you use your TV IP AddressSHELL=/bin/bash
@rebootsource/home/pi/.virtualenvs/hdmi_cec_to_adb/bin/activate&&start_hdmi_cec_monitor--tv_ip_address=192.168.1.99--adb_key_filepath=/home/pi/.android/adbkey
Package: hdob
hdob - The Hex, Decimal, Octal, Binary converterThis is a simple tool to convert integer between hex, decimal, octal and binary.The most cool thing is you can toggle the bit by mouse clicking. It's useful whenyou are the person who usually read the datasheet.System RequirementPython3Installpython3-mpipinstall--userhdobRunMake sure the ~/.local/bin is in your path.hdob
Package: hdpitkinter
High-DPI-TkinterSharpen blurry Tkinter scaling on Windows 10 high DPI displaysInstallationInstall using pippipinstallhdpitkinterUsageReplace tkinter.Tk() to hdpitkinter.HdpiTk()# from tkinter import TkfromhdpitkinterimportHdpiTk# root = Tk()root=HdpiTk()# After that use like Tk instanceroot.mainloop()LicenseMIT LicenseThankshttps://stackoverflow.com/questions/41315873/attempting-to-resolve-blurred-tkinter-text-scaling-on-windows-10-high-dpi-disp
Package: hdpws
SynopsisThis library provides a simple python interface to
NASA'sHeliophysics Data Portal's(HDP) Space Physics Archive, Search, and Extract
(SPASE) Web Service.  This library implements
the client side of theHDP RESTful web services.
For more general details about the HDP web services, seehttps://heliophysicsdata.gsfc.nasa.gov/WebServices/.Code ExampleThis package contains example code calling most of the available web services.
To run the included example, do the followingpython -m hdpwsThe followingJupyter notebooksdemonstrate
different features of the library:Simple Query Example(ipynb file)demonstrating a simple query.Example with data retrievalusingcdasws(ipynb file).These notebooks will eventually be available onBinder.MotivationThis library hides the HTTP and JSON/XML details of the HDP web
services. A python developer only has to deal with python objects and
methods.DependenciesAt this time, the only dependency are:requestsThe critical dependencies above will automatically be installed when this
library is.InstallationTo install this package$ pip install -U hdpwsAPI ReferenceRefer tohdpws package API referenceor use the standard python help mechanism.from hdpws import HdpWs
help(HdpWs)TestsThe tests directory containsunittesttests.ContributorsBernie Harris.e-mailfor support.LicenseThis code is licensed under theNASA Open Source Agreement(NOSA).
Package: hdroller
A Python library for computing dice probabilities.Installingpip install hdrollerFeaturesImplemented in pure Python for high interoperability.Weights are Pythonints, providing exact results even for large numbers of dice.Dice support all standard operators as well as an extensive library of functions.Dice pool system allows for flexible yet efficient solutions to common problems.Also handles multivariate distributions (though less tested).API documentationGitLab.ExamplesJupyterLite notebooksSee thisJupyterLite distributionfor a collection of interactive examples.ApplicationsAbility score rolling method calculatorCortex PrimecalculatorLegends of the WulincalculatorAdvanced Dungeons & Dragons1st edition ability score methodsSource for these methods.Method I:All scores are recorded and arranged in the order the player desires. 4d6 are rolled, and the lowest die (or one of the lower) is discarded.Method II:All scores are recorded and arranged as in Method I. 3d6 are rolled 12 times and the highest 6 scores are retained.Method III:Scores rolled are according to each ability category, in order, STRENGTH, INTELLIGENCE, WISDOM, DEXTERITY, CONSTITUTION, CHARISMA. 3d6 are rolled 6 times for each ability, and the highest score in each category is retained for that category.Method IV:3d6 are rolled sufficient times to generate the 6 ability scores, in order, for 12 characters. The player then selects the single set of scores which he or she finds most desirable and these scores are noted on the character record sheet.importhdroller"""The @ operator means "roll the left die, then roll that many of the right die and sum".Integers are treated as a die that always rolls that number.Therefore:* 3 @ hdroller.d6 means 3d6.* hdroller.d6 @ 3 means roll a d6 and multiply the result by 3."""method1=6@hdroller.d6.keep_highest(num_dice=4,num_keep=3)method2=(3@hdroller.d6).keep_highest(12,6)# num_keep defaults to 1.method3=6@(3@hdroller.d6).keep_highest(6)method4=(6@(3@hdroller.d6)).keep_highest(12)importnumpyimportmatplotlib.pyplotaspltfig,ax=plt.subplots()ax.plot(method1.outcomes(),method1.pmf(percent=True))ax.plot(method2.outcomes(),method2.pmf(percent=True))ax.plot(method3.outcomes(),method3.pmf(percent=True))ax.plot(method4.outcomes(),method4.pmf(percent=True))ax.set_title('AD&D 1e ability score methods')ax.legend(['Method I','Method II','Method III','Method IV'])ax.set_xlabel('Total of ability scores')ax.set_xlim(50,100)ax.set_ylim(0)ax.grid(True)plt.show()
Package: hdr-plot
hdr-plot for HdrHistogramA standalone plotting script forhttps://github.com/giltene/wrk2andhttps://github.com/HdrHistogram/HdrHistogram.This is just a quick and unsophisticated script to quickly plot the
HdrHistograms directly from the output ofwkr2benchmarks.For example:how to runinstallation:pip3 install --upgrade --user hdr-plotusage:usage: hdr_plot.py [-h] [--output OUTPUT] [--title TITLE] [--nosummary]
                   [--noversion] [--units UNITS]
                   [--percentiles-range-max PERCENTILES_RANGE_MAX]
                   [--summary-fields SUMMARY_FIELDS]
                   files [files ...]

Plot HDRHistogram latencies.

positional arguments:
  files                 List HDR files to plot

optional arguments:
  -h, --help            show this help message and exit
  --output OUTPUT       Output file name (default: latency.png)
  --title TITLE         The plot title
  --nosummary           Do not plot the summary box
  --noversion           Does not plot the version of hdr-plot
  --units UNITS         The latency units (ns, us, ms)
  --percentiles-range-max PERCENTILES_RANGE_MAX
                        The maximum value of the percentiles range, e.g.
                        99.9999 (i.e. how many nines to display)
  --summary-fields SUMMARY_FIELDS
                        List of fields to show in the summary box. A comma-
                        separated list of: min, max, mean, median, p50, p90,
                        p99, p999, p9999, ..., p999999. Default:
                        median,p999,p9999,maxThen runwrkwith the-Loption and store the output into a file, like:wrk -t2 -c100 -d30s -R2000 -L http://127.0.0.1:8080/index.html &> result.outFinally plot the percentile distribution:hdr-plot --output myplot.png --title "My plot" ./result.out [...]You can provide more files to be plotted on the same graph:hdr-plot --output myplot.png --title "My plot" ./sample/file1.out ./sample/file2.out ./sample/file3.outPlease note that the name of the file is used as label for the plot legend.AcknowledgementsA special thank to@Manuelbernhardtfor providing PRs for a lot of improvements!LicenseCopyright © 2018-2023 Bruno Bonacci - Distributed under theApache License v 2.0
Package: hdr-random
hdr-randomA library based onProbably
Management.See the initial work from Doug Hubbard:A MULTI-DIMENSIONAL,
COUNTER-BASED PSEUDO RANDOM NUMBER GENERATOR AS A STANDARD FOR MONTE
CARLO SIMULATIONSInstallpipinstallhdr_randomHow to useHere is the way to generate a sequence of 10 random numbers: see the
classHDRandomx=HDRandom(entity=10,varId=2,seed3=3,seed4=4)forcinrange(1,10):print(x.generate(c))0.18532938009593636
0.9937039703363553
0.09836426738183945
0.7941507144132629
0.7279702170053497
0.03101965703535825
0.41562155552674085
0.06352685287129134
0.8691775795305148
Package: hdrstats
hdrstatsimage base calculations and statistical analysisFree software: Mozilla Public License 2.0 (MPL 2.0)Documentation:https://hdrstats.readthedocs.io.FeaturesTODOLicenceCopyright (c) 2019 Stephen WasilewskiThis Source Code Form is subject to the terms of the Mozilla PublicLicense, v. 2.0. If a copy of the MPL was not distributed with thisfile, You can obtain one athttp://mozilla.org/MPL/2.0/.CreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2020-03-26)First release on PyPI.
Package: hdss
HDSSHDSS - Hand-Drawn Shape SimulationInstallationpip install hdssAbout hdssShape recognition is an essential property of the human intellect. We recognize objects even
if they differ in size, position, orientation, or are severely deformed. For example, we quickly
identifyheartsin the image below.Such distorted forms, "hand-drawn shapes," are handy to test various recognition technologies.Herewe show how to usehdss packageto generate these objects by using two simple python functions.