Saravanan666/pypi-org huggingface dataset:
Package: hmpol
Molecular Moments and Polarizabilities CalculatorOverviewThe Python code is designed for calculating higher-order moments and polarizabilities of small molecules. It is a versatile tool that provides insights into the molecular properties essential for understanding electronic structure and molecular interactions. The moments and polarizabilites so calculated are used as the parameter sets for the SCME code.FeaturesMoments CalculationDipole Moment:Measure of the separation of positive and negative charges within a molecule.Quadrupole Moment:Describes the distribution of charge within a molecule in terms of quadrupole tensors.Octapole Moment:Characterizes higher-order charge distributions beyond quadrupoles.Hexadecapole Moment:Captures even higher-order charge distributions, providing a comprehensive view of molecular charge.Polarizabilities CalculationDipole-Dipole Polarizability:Reflects the ability of a molecule to induce a dipole moment in an adjacent molecule.Dipole-Quadrupole Polarizability:Measures the interaction between the dipole moment of one molecule and the quadrupole moment of another.Quadrupole-Quadrupole Polarizability:Quantifies the influence of quadrupole moments on the polarization of adjacent molecules.How to UseInstallation:pipinstallmolecular-moments-polarizabilities-calculatorUsage:frommolecular_calculatorimportMolecularPropertiesCalculator# Create a molecule objectmolecule=MolecularPropertiesCalculator(molecule_structure)# Calculate momentsdipole=molecule.calculate_dipole_moment()quadrupole=molecule.calculate_quadrupole_moment()octapole=molecule.calculate_octapole_moment()hexadecapole=molecule.calculate_hexadecapole_moment()# Calculate polarizabilitiesdipole_dipole_polarizability=molecule.calculate_dipole_dipole_polarizability()dipole_quadrupole_polarizability=molecule.calculate_dipole_quadrupole_polarizability()quadrupole_quadrupole_polarizability=molecule.calculate_quadrupole_quadrupole_polarizability()Examplefrommolecular_calculatorimportMolecularPropertiesCalculator# Define a water moleculewater_structure={'atoms':['O','H','H'],'coordinates':[[0.000,0.000,0.000],[0.758,0.586,0.000],[-0.758,0.586,0.000]]}# Create a molecule objectwater_molecule=MolecularPropertiesCalculator(water_structure)# Calculate momentsdipole_moment=water_molecule.calculate_dipole_moment()quadrupole_moment=water_molecule.calculate_quadrupole_moment()# Calculate polarizabilitiesdipole_dipole_polarizability=water_molecule.calculate_dipole_dipole_polarizability()dipole_quadrupole_polarizability=water_molecule.calculate_dipole_quadrupole_polarizability()print(f"Dipole Moment:{dipole_moment}Debye")print(f"Quadrupole Moment:{quadrupole_moment}Debye*angstrom")print(f"Dipole-Dipole Polarizability:{dipole_dipole_polarizability}Debye^2")print(f"Dipole-Quadrupole Polarizability:{dipole_quadrupole_polarizability}Debye^3*Å^2")
Package: hmPy
PurposehmPy is a Python library for building HMIs.Installing hmPyTo install the latest version of hmPy using pip:$ pip install hmPyRunning TestshmPy’s test suite can be run usingtox:$ toxNote that pep8 compliance is required for the tests to pass.Example CodeFor those of you who want to hit the ground running:from hmpy import Interface
from hmpy.views import ButtonView, LCDView

# Create the base interface
hmi = Interface()

# Initialize counter to 0
count = 0

# Initialize an LCD View and a button View
lcd = LCDView()
btn = ButtonView("Increment")

def increment_count():
    lcd.value += 1

# Call the increment count method whenever the button is pressed
btn.on_press(increment_count)

# Add the views to the interface
hmi.add_view(lcd)
hmi.add_view(btn)

# Launch the interface
hmi.start()For more detailed documentation and advanced examples, see the full documentation.DocumentationFull documentation and tutorial available atRead the Docs.
Package: hmrcCurrencyRate
hmrc_currency_rate module (Other Currency to GBP)v0.2.0 is releasedthe month input can be'1'or'01'DescriptionThis module convert other currencies rate to GBP from the data on HMRCThe return result is default as pd.DataFramehmrc_to_dataframe(month, year):

dataframeHow to useAssume we would like to get the currency rate at Jan/2017from hmrcCurrencyRate import hmrc

hmrc.hmrc_to_dataframe('01', '2017'):
Package: hmrs-mission-control
Heterogeneous Multi-Robots Mission ControlOverviewHeterogeneous Multi-Robots Mission Controlis an architecture for the development of applications, capable of coordinating multi-robot missions subject to uncertainty in properties of the available robots in the Software Engineering Lab (LES) at University of Brasilia.Keywords:Software architecture, cooperative heterogeneous robots, multi-robots systems, Cyber-physical systemsLicenseThe source code is released under aMIT license.Authors: Gabriel Rodrigues, Vicente Moraes and Gabriel F P AraujoAffiliation:LESMaintainers:Gabriel Rodrigues,Vicente Moraes,Gabriel F P AraujoHeterogeneous Multi-Robots Mission Controlis research code, expect that it changes often and any fitness for a particular purpose is disclaimed.Environment dependenciespython 3, pipUsed IDE: vscode, plugin pythonmacOS aditional dependencies
brew install libmagicDevelopmentInstall poetrypoetry easy the process of managing python dependenciesPIP$pipinstallpoetryAlternatively, macOS brew$brewinstallpoetryInstall dependenciesInside the project folder (after clone)$poetryinstall$poetryshellRun a Controlled ExperimentInside poetry environment (after poetry shell)python evaluation/experiment_gen_lab_samples/experiment_gen.pyTestTests should be put on /tests folder and are executed with the following command.$poetryrunpytest-v--cov.Linter$flake8--statisticsRunSelect the exec shell$poetryshellThen, Execute Simulation$python./run.pyDependencyAdd New DependencyTo add new dependencies use the following command.$poetryinstall[name]This command will add the dependency to the Pipfile and poetry.lock assuring that the execution can be reproduced in another environment (after dependencies are updated withpoetry installcommand )Add New Dev DependencySame as previous dependencies, but for development libraries such as the ones used for test.$poetryinstall[name]--devNote that other systems after pulling updates will need a reexecution ofpoetry install --dev
Package: hmrsplanner
Heterogeneous Multi-Robots Systems PlannerEnv Depenciespython 3, pipUsed IDE: vscode, plugin pythonInstal pipenvpipenv easy the process of managing python dependenciesPIP$pipinstallpyenvAlternatively, macOS brew$brewinstallpipenvInstall dependenciesInside the project folder (after clone)$pyenvinstall3.8.2$pipinstallpipenv$pipenvinstall$pipenvshell(gmrs env)%pipenvinstall--devRunSelect the exec shell$pipenvshellThen, Execute Simulation$python./simulator/run.pyTestTests should be put on /tests folder and are executed with the following command.$pytest-v--cov.Linter$flake8--statisticsDependencyAdd New DependencyTo add new dependencies use the following command.$pipenvinstall[name]This command will add the dependency to the Pipfile and Pipfile.lock assuring that the execution can be reproduced in another environment (after dependencies are updated withpipenv installcommand )Add New Dev DependencySame as previous dependencies, but for development libraries such as the ones used for test.$pipenvinstall[name]--devNote that other systems after pulling updates will need a reexecution ofpipenv install --dev
Package: hms-abcc40
Anybus CompactCom 40 REST interfaceInterface for accessing Anybus CompactCom 40 modules via RESTInstallationTo install this package, simply usepippipinstallhms-abcc40UsageTo print the module nameimporthms.abcc40my_module=hms.abcc40.CompactCom40("1.2.3.4")print(my_module.module_name)LicenseApache License 2.0
Package: hms_base
This Python module is very simple and allow you to connect to the HMS network
with the protocol already implemented.FeaturesA basic HMS microservice can do the following:Connect to the messaging serverPublish a message with a topic keyReceive and handle messages from various topic keysAnd that’s it. All these functions are provided by this Python module.Installinghms_base isavailable on PyPIso
you can register it as a dependency for microservices your create.Be sure to respect semantic versioning for non-breaking changes:hms_base>=2.0,<3LicenseThis project is brought to you under MIT license. For further information,
please read the providedLICENSE.txtfile.
Package: hmsclient
This project aims to be an up to date Python client to interact with the Hive metastore
using the Thrift protocol.InstallationInstall it withpip install hmsclientor directly from sourcepythonsetup.pyinstallUsageUsing it from Python is simple:fromhmsclientimporthmsclientclient=hmsclient.HMSClient(host='localhost',port=9083)withclientasc:c.check_for_named_partition('db','table','date=20180101')Regenerate the Python thrift libraryThehmsclient.pyis just a thin wrapper around the generated Python code to
interact with the metastore through the Thrift protocol.To regenerate the code using a newer version of the.thriftfiles, you can
usegenerate.py(note: you need to havethriftinstalled, seehere)pythongenerate.py--helpUsage:generate.py[OPTIONS]Options:--fb303_urlTEXTTheURLwherethefb303.thriftfilecanbedownloaded--metastore_urlTEXTTheURLwherethehive_metastore.thriftfilecanbedownloaded--packageTEXTThepackagewheretheclientshouldbeplaced--subpackageTEXTThesubpackagewheretheclientshouldbeplaced--helpShowthismessageandexit.Otherwise the defaults will be used.
Package: hmsclient-hive-3
This repo is just a rebuild of @gglanzani great work here:https://github.com/gglanzani/hmsclient.
All I have done is to regenerate the code according to the authors instructions (below).
After installing all the prereqs, the command ran to regenerate the code was:pythongenerate.py--metastore_urlhttps://raw.githubusercontent.com/apache/hive/branch-3.0/standalone-metastore/src/main/thrift/hive_metastore.thriftBelow: the original writers notesThis project aims to be an up to date Python client to interact with the Hive metastore
using the Thrift protocol.InstallationInstall it withpip installhmsclient-hive-3or directly from sourcepythonsetup.pyinstallUsageUsing it from Python is simple:fromhmsclientimporthmsclientclient=hmsclient.HMSClient(host='localhost',port=9083)withclientasc:c.check_for_named_partition('db','table','date=20180101')Regenerate the Python thrift libraryThehmsclient.pyis just a thin wrapper around the generated Python code to
interact with the metastore through the Thrift protocol.To regenerate the code using a newer version of the.thriftfiles, you can
usegenerate.py(note: you need to havethriftinstalled, seehere)pythongenerate.py--helpUsage:generate.py[OPTIONS]Options:--fb303_urlTEXTTheURLwherethefb303.thriftfilecanbedownloaded--metastore_urlTEXTTheURLwherethehive_metastore.thriftfilecanbedownloaded--packageTEXTThepackagewheretheclientshouldbeplaced--subpackageTEXTThesubpackagewheretheclientshouldbeplaced--helpShowthismessageandexit.Otherwise the defaults will be used.
Package: hmta
hmta - How Much Time AnimeDo you wanna know how much time would take you to watch an anime? Well, this is your tool.InstallationArchyay-ShmtaFedoraComing soon...UsagehmtaIt will prompt you for the anime name, and then you would have to select the correct anime or season.
After that, it will give you an estimate of how much time it would take you to watch that anime.
Package: hmtaipy
hmtaipy - Python API Wrapper for hmtaiTHERE WILL BE NO UPDATE Only if requested, if you want me to add something just open an issuespyhmtai is a Python library that serves as an API wrapper for hmtai, a service that provides random anime images based on various categories. This wrapper allows you to easily integrate hmtai functionality into your Python applications.InstallationYou can install pyhmtai using pip:pipinstallhmtaipyHere's a basic example of how to use pyhmtai:from hmtaipy import pyhmtai

# Create an instance of pyhmtai
hmtai = pyhmtai()

# SFW Example
sfw_image = hmtai.sfw('hug') # OPTIONAL .download()
print(f"SFW Image URL: {sfw_image}")

# NSFW Example
nsfw_image = hmtai.nsfw('hentai') #OPTIONAL .download()
print(f"NSFW Image URL: {nsfw_image}")Methods.download()
Downloads the image associated with the current URL. The image will be saved as image.jpg in the current directory. (Next update it will save as the name of the URLsfw(arg)
Sets the function name for a Safe For Work (SFW) category image. Available SFW functions include:SFW (Safe For Work) CategoriesCategoryCategoryCategorywavehugcrywinkcuddleslapteafiveglompbonkhappyholdpunchnomsmilepokethrowlickbullybitebooppatdancelikekisssleepnosebleedkickthreatentickleblushdepressionwolf_artsfeedjahy_artsneko_artssmugcoffee_artswallpaper------------------mobileWallpaper------------------NSFW (Not Safe For Work) CategoriesCategoryCategoryCategoryanalhentaicreampieassmasturbationgangbangbdsmpublicfootjobcumeroboobjobclassicorgyhandjobpantsuelvesboobsglassesyurithighscuckoldnsfwMobileWallpaperahegaoblowjobnsfwNekopussytentaclesuniformgifzettaiRyouikiInformationIf you want to help to the repository open an issues, or do a pull requests
Package: hmvpack-NG
HANDLING MISSING DATAPROJECT 3, UCS633 - Data Analysis and Visualization
Nikhil Gupta  
COE17
Roll number: 101703371Output is the dataset which contains no missing values and this dataset is streamed to a new csv file whose name is provided by the user.Installationpip install hmvpack_NGNote the name has an underscore not a hyphen. If installation gives error or package is not found after installing, install as sudo.Recommended - test it out in a virtual environment.To use via command lineThe package contains two functions i.e there are two ways of handling missing data. First two arguments are same for accessing both functions.Deleting the row with missing values.HMVcli infile.csv outfile.csv DReplacing the missing values by mean of the values of that particular featureHMVcli infile.csv outfile.csv RTo use in .py scriptFor Deletion function ->from hmvlib.models import delete_record
delete_record('infile.csv', 'oufile.csv')For Replacement function ->from hmvlib.models import replace_record
replace_record('infile.csv', 'oufile.csv')Can email me for any issues or suggestions
Package: hmx-v2-python
Python SDK for HMXv2This library is tested against Python versions 2.7, 3.4, 3.5, 3.9, and 3.11.InstallationThis package is available on PyPI. To install run the command below:$ pip install hmx-v2-pythonGetting StartedTheClientobject contains two major attributes: Public and Private. As the names suggest, Public is for public functions that don't require an Ethereum private key, and Private is for functions specifically for the given key. For more comprehensive examples, please refer to theexamplesdirectory as well as thetests.Public functionsfromhmx2.hmx_clientimportClientfromhmx2.constantsimportMARKET_ETH_USDfromhmx2.enumimportAction## Using publicly access functions#hmx_client=Client(rpc_url=RPC_URL)# Get oracle price, adaptive price, and price impact of a new positionclient.public.get_price(MARKET_ETH_USD,Action.SELL,1000)# Get market informationclient.public.get_market_info(MARKET_ETH_USD)# Get sub account in address formatclient.public.get_sub_account(1)# Get position IDclient.public.get_position_id(some_account,some_sub_account_id,MARKET_ETH_USD)# Get position infoclient.public.get_position_info(some_account,some_sub_account_id,MARKET_ETH_USD)Private functionfromhmx2.hmx_clientimportClientfromhmx2.constantsimportMARKET_ETH_USDfromhmx2.constantsimportCOLLATERAL_USDCefromhmx2.enumimportAction## Initailized client with private key#hmx_client=Client(eth_private_key=PRIVATE_KEY,rpc_url=RPC_URL)# Get public address of the ethereum keyclient.private.get_public_address()# Deposit ETH as collateralclient.private.deposit_eth_collateral(sub_account_id=0,amount=10.123)# Deposit ERC20 as collateral. This function will automatically# approve CrossMarginHandler if needed.client.private.deposit_erc20_collateral(sub_account_id=0,token_address=COLLATERAL_USDCe,amount=100.10)# Create a market ordercreate_market_order=client.private.create_market_order(sub_account_id=0,market_index=MARKET_ETH_USD,buy=Action.BUY,size=100,reduce_only=False)print(create_market_order)# Create a trigger order# trigger_above_threshold = The current price must go above (if True) or below (if False)# the trigger price in order for the order to be executedcreate_order=client.private.create_trigger_order(sub_account_id=0,market_index=MARKET_ETH_USD,buy=Action.BUY,size=100,trigger_price=1800,trigger_above_threshold=True,reduce_only=False)print(create_order)# Update the orderupdate_order=client.private.update_trigger_order(0,create_order["order"]["orderIndex"],Action.SELL,50,1700,True,False)print(update_order)# Cancel the ordercancel_order=client.private.cancel_trigger_order(0,update_order["order"]["orderIndex"])Running TestsTo run tests, you will need have to clone the repo, update .env, and run:$ make testPlease note that to run tests, Tenderly account is required.LicenseThe primary license for HMXOrg/v2-sdk-python is the MIT License, seehere.
Package: hn2016-falwa
Important: this python package has been renamed from `hn2016_falwa` to `falwa` since version v1.0.0.

This python package contains modules to compute the finite-amplitude
local wave activity (FALWA) and reference state (U_ref) in the following papers:
Huang and Nakamura (2016, JAS): http://dx.doi.org/10.1175/JAS-D-15-0194.1
Huang and Nakamura (2017, GRL): http://onlinelibrary.wiley.com/doi/10.1002/2017GL073760/full
Nakamura and Huang (2018, Science): https://doi.org/10.1126/science.aat0721
Neal et al (2022, GRL): https://agupubs.onlinelibrary.wiley.com/doi/full/10.1029/2021GL097699

The current version of the library handles calculation of FALWA in a spherical barotropic model and QGPV fields on 
isobaric surfaces.

The functions in this library can compute the tracer equivalent-latitude relationship
proposed in Nakamura (1996) (Also, see Allen and Nakamura (2003)) and the (zonal mean)
finite-amplitude wave activity in spherical geometry as in Nakamura and Solomon (2010).

Links:    
- Source code: http://github.com/csyhuang/hn2016_falwa/
Package: hnap
Python clients for HNAP devicesGeneric HNAP client and specialized clients for  motion sensorts, sirens,
routers, water detectors and more.Useful linksProduct pageREST API in NodeJShttps://github.com/waffelheld/dlink-device-trackerhttps://github.com/bikerp/dsp-w215-hnaphttps://github.com/postlund/dlink_hnapAPI for smart plugs:https://github.com/bikerp/dsp-w215-hnap/blob/master/js/soapclient.js
Package: hnapi
Python Hacker News API WrapperA minimalistic wrapper for the Hacker News APIInstallationVia PIP:pipinstallhnapiTo install the latest development version:gitclonehttps://github.com/IThinkImOKAY/hnapicdhnapipipinstall.UsageImport the wrapper:>>>fromhnapiimporthackernewsSet your user agent:>>>hn=hackernews(user_agent='[description]:[version] by @[username]')Get an item:Returns a dictionary>>>hn.item('1'){'by': 'pg', 'descendants': 15, 'id': 1, 'kids': [15, 234509, 487171, 454426, 454424, 454410, 82729], 'score': 57, 'time': 1160418111, 'title': 'Y Combinator', 'type': 'story', 'url': 'http://ycombinator.com'}Get a user:Returns a dictionary>>>hn.user('test'){'about': '', 'created': 1175289467, 'delay': 0, 'id': 'test', 'karma': 1, 'submitted': [1043201, 1029445, 1026445, 586568, 418362, 418361, 11780]}Get the max item:Returns an integer>>>hn.max_item()27743784Get stories by type:Returns a list of integersTheget_stories()function takes a requiredkindargument.
It must be one of the following:‘new’‘top’‘best’‘ask’‘show’‘job’>>>hn.get_stories(kind='ask')[27743303, 27742459, 27743368, 27742048, 27739960, 27739957, 27743011, 27719928, 27741278, 27740921, 27740599, 27729059, 27737668, 27722254, 27739126, 27738779, 27733316, 27737402, 27736487, 27736404, 27736293, 27710539, 27729202, 27710097, 27740763, 27725805, 27730349, 27727072, 27710270, 27734110, 27730677, 27736526, 27740141, 27727802, 27720970, 27731873, 27735679, 27728069, 27718990, 27718806, 27727403, 27722579, 27722321, 27714299, 27729577, 27721200, 27720447, 27715246, 27711355, 27710263, 27717304, 27716627, 27725274, 27742922, 27742599, 27741124, 27740932, 27740744, 27740658, 27740465, 27740187, 27739064, 27738847, 27738710, 27738663, 27738404, 27738247]Get changed items:Returns a list of integers>>>hn.changed_items()[27743787, 27743786, 27743217, 27742092, 27740163, 27743304, 27741560, 27743687, 27742448, 27740617, 27742512, 27743782, 27740550, 27741551, 27743573, 27743454, 27741466, 27743468, 27743603, 27743751, 27743412, 27743649, 27742124, 27743632, 27743773, 27739665, 27742073, 27742149, 27734473, 27743427, 27743665, 27740936, 27741910, 27743303, 27739596, 27734676, 27737064, 27738312, 27743788, 27741026, 27742824, 27740204, 27737718]Get changed profiles:Returns a list of strings>>>hn.changed_profiles()['floatingatoll', 'asd3rz', 'nrmitchi', 'plorkyeran', 'shivekkhurana', 'danudey', 'billyharris', 'Lammy', 'reaperducer', 'BugWatch', 'trdtaylor1', 'kennywinker']
Package: hnccorr
HNCcorrThe HNCcorr algorithm identifies cell bodies in two-photon calcium imaging movies. We provide a Python 3 implementation as well as a legacy Matlab implementation. The software is freely available for non-commercial use. See license file for details.The HNCcorr algorithm is described in ourArXiv paper:Q Spaen, R Asín-Achá, and DS Hochbaum. (2017). HNCcorr: A novel combinatorial approach for cell identification in calcium-imaging movies. arXiv:1703.01999.Example (Python)fromhnccorrimportHNCcorr,Moviefromhnccorr.exampleimportload_example_datamovie=Movie("Example movie",load_example_data()# downloads sample Neurofinder dataset)H=HNCcorr.from_config()# Initialize HNCcorr with default configurationH.segment(movie)H.segmentations# List of identified cellsH.segmentations_to_list()# Export list of cells (for Neurofinder)See thequickstartguide for more details.Installation Instructions for Python 3You can install HNCcorr directly from the Python Package Index with pip:pipinstallhnccorrOn Windows you may need to install aC-compiler for Python.Installation Instructions for MatlabThe Matlab implementation was used to generate the results in the eNeuro manuscript and is now superseded by the Python implementation. The Matlab implementation is available in thematlabfolder. See the README file in thematlabfolder for instructions.DocumentationThe documentation is hosted atReadTheDocs.TestsThe tests for HNCcorr use thepytestpackage. You can execute them with thepytestcommand in the main directory.