Saravanan666/pypi-org huggingface dataset:
Package: hyram
HyRAM+ Python PackageThe Hydrogen Plus Other Alternative Fuels Risk Assessment Models (HyRAM+) Python package contains modules for the calculation of physical release and risk for alternative fuels.InstallationTo installHyRAM+ from the Python Package Index, use the command:pip install hyramMore instructions on installing Python packages withpipcan be foundhere.To installHyRAM+ from Conda-Forge, use the command:conda install -c conda-forge hyramMore instructions on installing Python packages withcondacan be foundhere.UsageThe HyRAM+ package can be utilized after installation using a standard Python import:importhyramSpecific models can be accessed within the HyRAM+ package.
The main calculations for the physics models can be accessed usinghyram.phys.api.
This includes models such as:create_fluidcompute_mass_flowcompute_tank_mass_paramcompute_thermo_paramcompute_equivalent_tnt_massanalyze_jet_plumeanalyze_accumulationjet_flame_analysiscompute_overpressureThe following are the main model objects that can be accessed usinghyram.phys:FluidOrificeJetFlameSourceEnclosureVentIndoorReleaseBST_methodTNT_methodBauwens_methodFuelPropertiesThe main risk calculations are located inhyram.qra.analysis.conduct_analysis.More information about the specific models and the inputs/outputs for each one can be found in the specific modules themselves.DocumentationThe models and equations used in the HyRAM+ Python package are described in the Technical Reference Manual, located on theHyRAM+ website.Development/ModificationsTo make changes to the source code, either for a specific need or to contribute to HyRAM+, please follow the instructions in theCONTRIBUTINGfile for the HyRAM+ Python package.
Package: hyranote
hyranoteTransform MindNode file to weekly notesUsageusage: hyranote [-h] {dump,generate,g,gen} ...

Hyranote to generate weekly notes for you

optional arguments:
  -h, --help            show this help message and exit

Dump contents:
  {dump,generate,g,gen}
    dump                Dump content of MindNode file to json and exit
    generate (g, gen)   Generate weekly notes from MindNode file
Package: hyray
HyRayGPU ? CuPy : NumPyGPU arrays (via CuPy) when possible, otherwise CPU arrays (via NumPy)Thehyraylibrary provides a single interface to use both NumPy and CuPy, depending on the availability of CuPy, CUDA, or sufficient memory. Withhyraya single implementation can run with CuPy when CuPy is available (on a local machine with a GPU), and still work with NumPy when on GPU or insufficient memory is available (such as on continuous integration servers).
Package: hyrule
Hyrule is a utility library for theHyprogramming language. It can be thought of as the Hy equivalent, or addition, to Python’s standard library. While intended primarily for Hy programs, its functions and classes can be used in Python as with any other Python library; justimport hyrule. Hyrule’s macros, on the other hand, are only really usable in Hy.All of Hyrule’s contents can be imported or required directly from the top-level modulehyrule.Hyrule’s documentation can be read online on Read the Docs.You can run Hyrule’s test suite with the commandpytestand build its documentation with( cd docs;sphinx-build. _build-bhtml ).
Package: hyss
Hyss - High Ympact Style SheetsRationaleDefine styles as python dicts!
All of the power of python, realised to create stylesheets.
Coming soon to a package index near you!FeaturesCreate minified css content from a nested dictionary structureHelper for compound css classes (think 'div p', 'main section')Potential Future FeaturesGenerate helpers for various css features. Already exist for animations.Build an indenter for output css; ease of debugging for usersMeans to convertUsage DemonstrationsHere is a set of examples to illustrate the behaviour of functions within
hyssstylesheet(styles: dict) -> strTakes a fractal dictionary structure and generates a minified css string as
shownfromhyssimportstylesheetcss=stylesheet({'body':{'background-color':'yellow',},'div':{'color':'red'}}print(css)# This prints the following# "body{background-color:yellow;}div{color:red;}"with_linebreaks(css: str) -> strApplies linebreaks to a minified css string, for debugging purposes as shownfromhyss.formatimportwith_linebreaksminified_css="body{background-color:yellow;}div{color:red;}"linebreak_css=with_linebreaks(minified_css)print(linebreaks_css)# This prints "body{\nbackground-color:yellow;\n}\ndiv{\ncolor:red;\n}\n"In a file,linebreak_csswill look as followsbody{background-color:yellow;}div{color:red;}
Package: hys-scraper
'Have your Say' scraperA small utility to scrape the European Commission's 'Have your Say' plattform (https://ec.europa.eu/info/law/better-regulation/have-your-say). Can scrape an initiative's feedback submissions, attachments of these submissions, and the by country and by category statistics.Installationpip3installhys_scraperTested to work with Python 3.9 on a Linux machine and Google Colab notebooks.Getting startedTo get started, you will need the publication id of the initiative you want to scrape. To get this, simply navigate to the initiative on 'Have your Say' and look at the URL - the number at the end is the publication id you will use in the next step. For example, for theAIAct commission adoption initiative, the publication id would be24212003.To scrape an initiative the following is sufficient (replace24212003with the publication id of the initiative you want to scrape):python3-mhys_scraper24212003This will create a new folder in your current working directory with the following layout:24212003_requirements_for_artificial_intelligence/
├── attachments
│   ├── 2488672.pdf
│   ├── 2596917.pdf
│   └── ...
├── attachments.csv
├── categories.csv
├── countries.csv
└── feedbacks.csv

1 directory, 263 filesAdvanced usageThe command line interface has a few more arguments. For example instead of havinghys_scrapercreate a folder in the local working directory to save results into, you can also manually specify a target directory.$ python3 -m hys_scraper -h
Scrape feedback and statistics from the European Commission's 'Have your Say' plattform.

positional arguments:
  PID                   The publication id - what comes after 'p_id=' in the initiative's URL.

optional arguments:
  -h, --help            show this help message and exit
  --dir target_dir, --target_dir target_dir
                        Directory to save the feedback and statistics dataframes to. Defaults to creating a new
                        folder in the current working directory.
  --no_attachments      Whether to skip the download of attachments.
  --sleep_time t        Minimum time between consecutive HTTP requests (in seconds).Alternatively, you can also accesshys_scraperfrom Python:fromhys_scraperimportHYS_Scraperfeedbacks,countries,categories=HYS_Scraper("24212003").scrape()Similar options are available as for the command line interface, check outhelp(HYS_Scraper)for details.
Package: hyssop
hyssophyssopis a python project that defines project hierarchy and creates scalable component architecture which is configurable in yaml format file.prerequest: python 3.6+, pipInstallhyssop with pip:pip install hyssopChange logshyssop1.1.7 - May. 21, 2022:refactor loading and disposing components in order1.1.6.1 - May. 7, 2022:Fix bug of loading components1.1.6 - May. 7, 2022:Localization: using default language messages if the localized message does not exist.Fix bug of component manager gets component failed when importing the same component type with different pathes that create different instances1.1.5 - Oct. 7, 2021:Remove package dependency of "coloredlogs".1.1.4 - Oct. 7, 2021:Fix bug - logger component: sub folder path of logger file.1.1.3 - Mar. 21, 2021:Add parameter "replace_duplicated_code" to Localization import_csv() in util.Fix bug: logger file path is incorrect1.1.1 - Mar. 06, 2021:Fix bugs.1.1.0 - Jan. 10, 2021:Refactor the project and remove the web framework tornado dependencies.1.0.2 - Oct. 14, 2020:Fix bugs.1.0.0 - Aug. 20, 2020:Initalize project.hyssop-aiohttp0.0.7 - May. 7, 2022:Fix exceptions does not raise when loading aiohttp route_decorators0.0.6 - Mar. 27, 2021:Fix bug: add aiohttp.server to default loggers.Addaiohttp-corsapplys apis and views0.0.3 - Mar. 06, 2021:Fix bug of aio client streaming callback.0.0.2 - Feb. 15, 2021:Fix get_argument() of AioHttpRequest with given default value still raise Exception.0.0.1 - Jan. 10, 2021:Integrate withaiohttpweb framework.hyssop-aiodb0.0.7 - Apr. 7, 2021:Fix bug of value convertion in utilFix bug of AsyncEntityUW update().Add timer to reconnect db connections0.0.3 - Feb. 15, 2021:Fix UW class update bug with bool values.0.0.2 - Feb. 02, 2021:Add mysql connection proxy poolFix aiodb mysql cursor retrived inserted row bug0.0.1 - Jan. 10, 2021:Re-implement database module withaiomysql&aiosqlite.
Package: hyssop-extension
hyssop-extensionhyssop-extensionextendshyssopcomponents and utilities.prerequest: python 3.6+, pipInstallhyssop-extension with pip:pip install hyssop_extensionReaddocumentationfor more informationChange log1.0.0 - Sep. 02, 2020:Fix bugs.1.0.0 - Sep. 02, 2020:Initalize project.
Package: hysteria2
hysteria2-pythonPython bindings forhysteria2.InstallCore Building ToolsYou have to install the following tools to be able to install this package successfully.Note: hysteria2 v2.0.3+ requires at least go 1.21, which means hysteria2-python will also
need go 1.21+ to be able to build and install successfully since v2.0.3.goin your PATH. go 1.20.0 and above is recommended. To check go is ready,
typego version. Also, if google service is blocked in your region(such as Mainland China), you have to configure
your GOPROXY to be able to pull go packages. For Chinese users, refer togoproxy.cnfor more
information.cmakein your PATH. To check cmake is ready, typecmake --version.A working GNU C++ compiler(i.e. GNU C++ toolchains). To check GNU C++ compiler is ready, typeg++ --version. These
tools should have been installed in Linux or macOS by default. If you don't have GNU C++ toolchains(especially for
Windows users) anyway:For Linux users: typesudo apt update && sudo apt install g++and that should work out fine.For Windows users: installMinGW-w64orCygwinand make sure you have add them to PATH.Install Packagepip install hysteria2API>>>importhysteria2>>>help(hysteria2)Help on package hysteria2:NAMEhysteria2PACKAGE CONTENTShysteria2FUNCTIONSstartFromJSON(...) method of builtins.PyCapsule instancestartFromJSON(json: str) -> NoneStart Hysteria2 client with JSONSource Code ModificationThis repository, including the package that distributes to pypi,
containshysteriasource code that's been
modified to build the binding and specific API. If without explicitly remark, the version of this package corresponds to
the version of the origin source code tag, so the binding will have full features as the original go distribution will
have. And due to its backward compatibility, there's no plan to generate bindings for older release of hysteria.To make installation of this package easier, I didn't add the originalhysteriasource code as a submodule. To track what modifications have been made to the source code, you can compare it with the
same version under Python binding and corresponding go repository.Tested Platformhysteria2-python works on all major platform with all Python version(Python 3).Below are tested build ingithub actions.PlatformPython 3.7-Python 3.11ubuntu 20.04:heavy_check_mark:ubuntu 22.04:heavy_check_mark:windows-2019:heavy_check_mark:windows-2022:heavy_check_mark:macos-11:heavy_check_mark:macos-12:heavy_check_mark:macos-13:heavy_check_mark:LicenseThe license for this project follows its original go repositoryhysteriaand is
underMIT License.
Package: hysteron
Interacting Hysteron SimulationEvent-based simulation of hysterons (hysteretic 2-state subsystems).Written by Nathan C. Keim, based on algorithms and research by Joseph R. Paulsen and Nathan C. Keim.The core algorithm is inhysteron/hysteron.py.For instructions, see the Jupyter notebookhysteron-howto.ipynb.Free software: Apache Software License 2.0Documentation:https://hysteron.readthedocs.io.If you use this software in published research, please citethis paper:
“Multiperiodic orbits from interacting soft spots in cyclically-sheared amorphous solids.” Nathan C. Keim, Joseph D. Paulsen. Science Advances 7, eabg7685 (2021).
DOI: 10.1126/sciadv.abg7685Development of this software was supported in part by NSF grant no. DMR-1708870 (to N.C.K.).CreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2020-12)First release.
Package: hystorian
What is Hystorian?Keeping track of the post-treatement done on our data can sometimes be cumbersome.Hystorian is a project born from our AFM group to solve this issue. It is a python package with two main functionalities:It handles multiple file format and converted all of them into uniformized hdf5 files.It keeps track of the processing done on the data.Find the link to the paper here:http://dx.doi.org/10.1016/j.ultramic.2021.113345We would be gratefull if you cited it if it was usefull for your researchYou can install the package using pip, you can find it herehttps://pypi.org/project/hystorian/.Simply run:pip install hystorianStructure of an hdf5 fileAn hdf5 file has a tree-like structure consisting of groups (folders) and datasets. Each groups and datasets can have attributes attached to them. An attribute is a small metadata containing informations about the corresponding dataset or group. Here we use them to store general information about the data or parameters of the post-processing.The tree-structure we use in Hystorian is the following :A dataset group, containing all the raw data you want to regroup inside a single hdf5.A metadata group, containing the metadatas of the initial files.A process group, containing the data processed from the original data, or from other processed data.m_applyOur goal was to streamline the process and make the usage of Hystorian as seamless as possible for people already using Python. The key to this is them_applyfunction. It allows the application of any usual python function working on array on a datasets inside an hdf5 and to write the results into the same hdf5, while keeping all the key arguments of the function stored with the datasets inside the hdf5 file. Tutorials below show you how to use it in real case examples.TutorialsA few tutorial were written by R.Bulanadi and can be found in the examples folder of the project, or in the links below:BasicIntermediateProgramming
Package: hyswap
hyswap - HYdrologic Surface Water Analysis PackageOverviewhyswap(HYdrologic Surface Water Analysis Package), is a Python package which provides a set of functions for manipulating and visualizing USGS water data.
Specifically, a number of functions for calculating statistics (e.g., exceedance probabilities, daily historic percentiles) and generating related plots (e.g., flow duration curves, streamflow duration hydrographs) are available.
These methods are provided in a modular fashion as individual functions, and are designed to give the user flexibility in implementation.Project DocumentationFor more information, visit thehyswapdocumentation.InstallationUser Installation viapipOne-liner to installhyswapviapip:pipinstallhyswapNote:hyswaphas 4 dependencies right now,numpy,pandas,scipy, andmatplotlib, these will be installed automatically when installing the package viapip.User Installation From SourceTo installhyswapfrom source, first you will need to clone the repository.
Next, from the root of the repository, run the following commands:pipinstall-rrequirements.txt
pipinstall.Developer InstallationDeveloper installation should be performed from source.
First you will need to clone the repository.
Next, from the root of the repository, run the following commands:pipinstall-rrequirements.txt
pipinstall-rrequirements-dev.txt
pipinstall-e.Testing and Building Documentation LocallyTo test the code and building and test the documentation locally, you must have cloned the source repository, follow the instructions above for a "developer installation" first.To test the package locally, run the following command from the root of the repository:pytestTo build the documentation locally, run the following commands from the root of the repository:cddocs
makedocsRunning the Linting and Formatting Checks LocallyTo run the linting and formatting checks locally, run the following commands from the root of the repository:flake8.
pydocstringformatter.ContributingSee thecontributing guidelinesfor more information.LicenseSee thelicensefor more information.DisclaimerSee thedisclaimerfor more information.
Package: hyta
HyTa - Technical Analysis LibraryFrançais·简体中文·Español·Deutsch·日本語·Português Brasileiro·Italiano·한국어.Nederlands.नेपाली.Türkçe"Hyta" is a novel Python library that provides financial indicators for technical analysis, with a noteworthy emphasis on incremental computation. The library's incremental computation feature makes it particularly suitable for real-time applications or any other application that involves iterative input.As a relatively new project, "hyta" is highly receptive to user feedback and suggestions for improving its API to meet users' unique needs.List of indicatorsThe current version of "hyta" includes a comprehensive set of indicators. However, if your preferred indicator is not included, you can create a ticket through GitHub Issues, and there is a high likelihood that it will be incorporated into a future version of the library.Average Directional Index (ADX)AroonAverage True Range (ATR)Bollinger BandsCommodity Channel Index (CCI)Chaikin Money Flow (CMF)Chande Momentum Oscillator (CMO)Detrended Price Oscillator (DPO)Directional Movement Index (DX)Exponential Moving Average (EMA)Hull Moving Average (HMA)Ichimoku CloudKaufman Adaptive Moving Average (KAMA)Moving Average Convergence Divergence (MACD)Money Flow Index (MFI)MomentumMoving AverageOn Balance Volume (OBV)Percentage Price Oscillator (PPO)Parabolic SAR (PSAR)Rate of Change (ROC)Relative Strength Index (RSI)Simple Moving Average (SMA)Stochastic OscillatorTriangular Moving Average (TMA)True Strength Index (TSI)Ultimate Oscillator (UO)Williams %RWeighted Moving Average (WMA)InstallationpipinstallhytaContactFor the most efficient means of reporting issues, bugs, or corrections, as well as proposing new features, we highly suggest utilizingGitHub Issues.
Package: hytato
hytatoModule for storing python dictionaries in a different format.
Supported down to python 3.3.why?cause why not?Needed a way to store data in a way that fitmyneeds, and so decided to create potato(lib).
Potato works with dictionaries. You could use json for that but as I said, needed something formyneeds.Potato typesThere are two different kinds of potato files: HTATO and STATO.HTATO or hard potato have a fixed number of keys.
STATO or soft potato don't have a fixed number of keys.There are a number of other differences which will be made clearer in the future.
One difference being that STATO files are inherently different. The HTATO files are really just.txt, whereas STATO are zip files.
This means you can store a "tree" of data, and also version historyUsageHTATO example:from hytato import POTATO

#Add the path of the potato file in HTATO class, which will have either the .htato or .stato file extension.
config_potato = POTATO.HTATO('.\\config.htato')

#if it doesn't exist yet, create the potato file
#add the list of keys you want
config_potato.PLANT(['token', 'passcode', 'fatherless'])

#when the potato has been planted, the values to the keys will all be none, so now add the data

config_potato.INJECT({'token': 112233, 'passcode': 'gugugaga', 'fatherless': True})

#if it succeeded, it won't raise an error lol
#but you can also assign it to a variable beforehand
#and then check from the class returned
#i.e:

injection = config_potato.INJECT({'token': 112233, 'passcode': 'gugugaga', 'fatherless': True})
if injection.complete == True:
    print('yipee')

#to access the data from potato, use the stain method:
config = config_potato.STAIN()
#and just use the dictionary it returns
token = config.get('token')
Package: h_yt_downloader
YouTube DownloaderThis is a simple YouTube downloader that uses thepytubelibrary to download videos from YouTube. It is a simple command line application that takes a YouTube video URL and downloads the video to the current working directory.InstallationTo install the application, you can use the following command:pipinstallgit+hhttps://github.com/henishpatel9045/youtube-downloader.gitUsageTo use the application, you can run the following command:yt-downloader
Package: hytek-parser
Hytek Parser:page_with_curl: Table of contents:page_with_curl: Table of contents:dart: About:sparkles: Features:rocket: Technologies:white_check_mark: Requirements:checkered_flag: Starting:memo: License:dart: AboutThis is a parser for files generated by Hytek's Meet Manager. Currently this has been tested on files generated by Meet Manager 8.0.Supported filetypes:hy3(merge exports),hyv(event exports), andxls(individual event reportdata-onlyexports).:sparkles: Features:heavy_check_mark:hy3merge export parsing:heavy_check_mark:hyvevent export parsing:heavy_check_mark:xlsparser for event result reports.:rocket: TechnologiesThe following tools were used in this project:AttrsAEnum:white_check_mark: RequirementsAll that you need installed isPython3.9 or higher.:checkered_flag: StartingTo install this, simply runpipinstallhytek_parserHowever, using a virtual environment manager such asPoetryis highly recommended.:memo: LicenseThis project is under license from MIT. For more details, see theLICENSEfile.Made with :heart: byNino MaruszewskiBack to top
Package: hytest
Introductionhytestis a generic open source test-automation framework. It's mainly but not only used for QA system testing.Maybe your first question is what's the difference comparing it withpytestorRobot Framework?Well, I like the way of setup/teardown of Robot Framework over that of pytest.The former is simpler and more intuitive than the latter. The order of multiple layer's setup/teardown is strictly obeyed, which is especially critical for system testing.  But the order of setups/teardowns of pytest is not very strict,see thisBut Robot Framework creates its own "language" to write test cases instead of using python directly. It's much less flexible to write test cases, and it makes it hard to deal with complex data structure.So, if you like Robot Framework's way of setup/teardown,  and want to write tests in python, you could try hytest.InstallationpipinstallhytestDocumentationUser Guide中文教程链接Screenshots
Package: hytmf
This is a testing micro-framework forHy.To use it, wrap everyassertin thetest-casemacro call like
this:(require[hytest[test-case]])(test-case(assert(=TrueTrue)))(test-case(assert(=FalseTrue)))When you run the tests you will see the source code of each test and a
pass/fail indicator like this:$ hy testtest.hy
Test:   (assert (= True True))
Pass:   ✔
Test:   (assert (= False True))
Traceback (most recent call last):
  File "/home/chrism/dev/hytmf/virtualenv/bin/hy", line 10, in <module>
    sys.exit(hy_main())
  File "/home/chrism/.pyenv/versions/3.5.5/lib/python3.5/runpy.py", line 263, in run_path
    pkg_name=pkg_name, script_name=fname)
  File "/home/chrism/.pyenv/versions/3.5.5/lib/python3.5/runpy.py", line 96, in _run_module_code
    mod_name, mod_spec, pkg_name, script_name)
  File "/home/chrism/.pyenv/versions/3.5.5/lib/python3.5/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/chrism/dev/hytmf/testtest.hy", line 5, in <module>
    (test-case (assert (= False True)))
AssertionError