Saravanan666/pypi-org huggingface dataset:
Package: hpproj
HealPixProjection is a project to allow easy and efficient projection of healpix maps onto planar grids. It can be used as a standalone programcutsky$cutsky0.00.0--mapfilenamesHFI_SkyMap_857_2048_R2.00_full.fitsor as a python functionfromhpprojimportcutskyresult=cutsky([0.0,0.0],maps={'Planck 857':{'filename':'HFI_SkyMap_857_2048_R2.00_full.fits'}})or as a python class, for optimization when producting several cutsfromhpprojimportCutSky,to_coordcutsky=CutSky({'Planck 857':{'filename':'HFI_SkyMap_857_2048_R2.00_full.fits'}})result=cutsky.cut_fits(to_coord([0.,0.])NoteFor science applications requiring high photometric accuracy, we recommend the drizzlib software developed by CADE, which uses a flux-conserving drizzling method to reproject data between HEALPix and local WCS. Drizzlib is available as standalone software (IDL python) here:http://cade.irap.omp.eu/dokuwiki/doku.php?id=software. An online interface, drizzweb, is available here:http://drizzweb.irap.omp.eu/.FeaturesGalactic and equatorial system supportedAll projection system fromwcslibProject several healpix maps at once, efficiently !Output infits,pngorvotablefor the central point source photometryInstallationInstallhpprojusing pip :$pipinstallhpprojor by running setuptools onsource$pythonsetup.pyinstallContributeIssues TrackerSource CodeSupportIf you are having issues, please let us know.LicenseThis project is licensed under the LGPL+3.0 license.
Package: hprose
# Hprose for PythonHproseis a High Performance Remote Object Service Engine.It is a modern, lightweight, cross-language, cross-platform, object-oriented, high performance, remote dynamic communication middleware. It is not only easy to use, but powerful. You just need a little time to learn, then you can use it to easily construct cross language cross platform distributed application system.Hprosesupports many programming languages, for example:AAuto QuickerActionScriptASPC++DartDelphi/Free PascaldotNET(C#, Visual Basic…)GolangJavaJavaScriptNode.jsObjective-CPerlPHPPythonRuby…ThroughHprose, You can conveniently and efficiently intercommunicate between those programming languages.This project is the implementation of Hprose for Python.
Package: hpr-scratcher
If you like to write your own extensions or get more features, you may want to check outhttps://github.com/fdev31/pyprlandInstallationpip install hpr-scratcherORcopy and rename the__init__.pyfile to some accessible path, do not forget to add +x to itFeaturesAllow showing & hiding sliding scratchpadsAllow auto-hide when the focus is lostSupports optional animation from top, bottom, left or rightReload config without restartUsageAs an example, defining two scratchpads:termwhich would be a kitty terminal on upper part of the screenvolumewhich would be a pavucontrol window on the right part of the screenIn yourhyprland.confadd something like this:exec-once=hpr-scratcher# Repeat this for each scratchpad you needbind=$mainMod,V,exec,hpr-scratcher toggle volumewindowrule=float,^(pavucontrol)$windowrule=workspace special silent,^(pavucontrol)$bind=$mainMod,A,exec,hpr-scratcher toggle term$dropterm=^(kitty-dropterm)$windowrule=float,$droptermwindowrule=workspace special silent,$droptermwindowrule=size 75% 60%,$droptermThen in $HOME/.config/hypr/scratchpads.json add:{"term":{"command":"kitty --class kitty-dropterm","animation":"fromTop","margin":50,"unfocus":"hide"},"volume":{"command":"pavucontrol","animation":"fromRight"}}And you'll be able to toggle pavucontrol with MOD + V.Command-line optionsreload: reloads the configuration filetoggle <scratchpad name>: toggle the given scratchpadshow <scratchpad name>: show the given scratchpadhide <scratchpad name>: hide the given scratchpadNote: with no argument it runs the daemon (doesn't fork in the background)Scratchpad OptionscommandThis is the command you wish to run in the scratchpad.
For a nice startup you need to be able to identify this window inhyprland.conf, using--classis often a good idea.animationType of animation to usenull/""/ not defined"fromTop""fromBottom""fromLeft""fromRight"offset (optional)number of pixels for the animation.unfocus (optional)allow to hide the window when the focus is lost when set to "hide"margin (optional)number of pixels for the marginChangelog0.6.0animation names are case-insensitive nowdrophyprctldependencyauto-restarts applications when needed0.5.0windows can slide from any direction now (values for "animation" property):fromTopfromBottomfromLeftfromRightmake "class" option obsoleteFIX: code reloadingFIX: misc improvements0.4.0the offset is now optionalthe margin can be configured nowFIX: fast repetition of show/hide sequencesFIX: automatic hide on focus lost doesn't trigger before the window takes the focus0.3.0add animation (only "fromTop" now, but can be switched off)pid used in most commands (more reliable)FIX: stop pinning the windowsFIX: debug tracesFIX: close processes on exit (should be configurable ?)0.2.0add a "reload" command re-reading the configurationallow automatic hiding on focus0.1.0first version, close to no options
Package: hps360pen
HP Spectre x360 penhps360pen is a sample tool to map HP Spectre x360 ap00xxxx stock pen buttons.For now, only the pen's bottom button is supported and is mapped to emulate the right mouse button.Quick startInstall hps360pen using pippipinstallhps360penAt the console, start hps360penhps360penBy default, hps360pen try to use the ELAN PEN event device. If it fails, you can
try to list available evdev and choose the right device.hps360pen--listCreditsThis sample tool useevdevandclick.
Package: hp-sdn-client
A Python library that makes interaction with the HP SDN Controller REST API easyAuthor: Dave Tucker, Hewlett PackardDocumentationFull documentation is availablehereUsage ExampleTo use the library:import hpsdnclient as hp
controller = '10.44.254.129'
auth = hp.XAuthToken(user='sdn', password='skyline', server=controller)
api = hp.Api(controller=controller, auth=auth)

api.get_datapaths()Running with DockerTo run an interactive python prompt using Docker:docker run -it davetucker/hp-sdn-clientSample ApplicationPlease see examples/short_detour.pyRunning the TestsThe unit tests can be run with tox. Make sure you have modified hpsdnclient/tests/tests.py before you run:tox -e py27 -v -- -vtox.ini has py26, py27 and py33 environments, but only py27 is supported today.For functional testing, a working HP VAN SDN Controller is required. Mininet is used to generate a test topology.Set your environment variables on your workstation and mininet VM as follows:export SDNCTL="10.44.254.129"
export SDNUSER="sdn"
export SDNPASS="skyline"It is recommended to download the Mininet VM. On the VM, start the following topology:sudo mn --topo tree,2,6 --mac --switch ovsk --controller remote,ip=$SDNCTLRun the functional tests using:tox -e functionalThe functional test for applciation uploads requires access to the internet to donwload a sample appliction.
Package: hps-nyu
This library contains modules for developing the platform for the games
played in CSCI-GA 2965, Heuristic Problem Solving with Prof. Dennis Shasha at NYU.The following modules are available:serversTheserverspackage contains a Python 3 server classes that can use
either sockets orZeroMQfor trasportation of
messages. Both servers support sending and recieving of large messages
and sending to one or all clients.clientsTheclientspackage contains clients for the server in a few languages.
They all implement the similar interface. Currently, Python 3, C++ and Java
clients are implemented. See theclients/README.rstfor details on the clients.See thedocsdirectory for the API documentation for all the modules
and classes.InstallingTo install the server module, runpip install --user hps-nyuThis will install the package in the current user’s home directory, and does not
require root access. It can now be imported directly into your Python script.To import a particular server class, usefrom hps.servers import <ServerClass>.For installing clients, see the README.rst file in the individual client directories.ContributingWe hope that this can be ever growing library for the course. Please feel free to
send in pull requests with bug fixes, new features or even entirely new modules
that may be relevant for the course.
Package: hpsspy
OverviewHPSSPy is aPythonpackage for interacting with theHPSStape storage
system atNERSC.  It is currently being developed onGitHub.RequirementsHPSSPy assumes that the HPSS utilitieshsi and htarare installed.  As of
2023, these utilities are only available within theNERSCenvironment.LicenseHPSSPy is free software licensed under a 3-clause BSD-style license. For details see
theLICENSE.rstfile.
Package: hp-tracker
HP TrackerTracking lib for python regardingposta.hrparcels.Usage>>>fromhp_trackerimportHPTracker>>>track=HPTracker()>>>track.track("LG616677175XX")'{"23.12.2020 02:10:00": "Event information"}'ExceptionsTrackingNetworkError- Exception raised for errors with network connection or target server.TrackingStatusError- Exception raised for errors with tracking number.Installing HP TrackerHP Tracker is available on PyPI:$python-mpipinstallhp-tracker
Package: hpvsim
This repository contains the code for the Starsim suite’s human papillomavirus simulator, HPVsim. HPVsim is a flexible agent-based model that can be parameterized with country-specific vital dynamics, structured sexual networks, co-transmitting HPV genotypes, B- and T-cell mediated immunity, and high-resolution disease natural history. HPVsim is designed with a user-first lens: it is implemented in pure Python, has built-in tools for simulating commonly-used interventions, has been extensively tested and documented, and runs in a matter of seconds to minutes on a laptop. Useful complexity was not sacrificed: the platform is flexible, allowing bespoke scenario modeling.HPVsim is currently under active development.InstallationThe easiest way to install is simply via pip:pip install hpvsim. Alternatively, you can clone this repository, then runpip install-e.(don’t forget the dot!) in this folder to installhpvsimand its dependencies. This will makehpvsimavailable on the Python path. The first time HPVsim is imported, it will automatically download the required data files (~30 MB).Usage and documentationDocumentation is available athttps://docs.hpvsim.org. Additional usage examples are available in thetestsfolder.ContributingIf you wish to contribute, please follow the Starsim style guide at:https://github.com/amath-idm/styleguide. See the code of conduct readme for more information.DisclaimerThe code in this repository was developed by IDM, the Burnet Institute, and other collaborators to support our joint research on HPV. We’ve made it publicly available under the MIT License to provide others with a better understanding of our research and an opportunity to build upon it for their own work. Note that HPVsim depends on a number of user-installed Python packages that can be installed automatically viapip install. We make no representations that the code works as intended or that we will provide support, address issues that are found, or accept pull requests. You are welcome to create your own fork and modify the code to suit your own modeling needs as contemplated under the MIT License.
Package: hpx-bitly
## Installationpip install hpx-bitly## Run testsYour username is the lowercase name shown when you login to bitly, your access token can be fetched using the following (http://dev.bitly.com/authentication.html):curl -u “username:password” -X POST “https://api-ssl.bitly.com/oauth/access_token”To run the tests either export the environment variable or set it up inline before callingnosetests:bitly-api-python $ BITLY_ACCESS_TOKEN=<accesstoken> nosetests## API Documentationhttp://dev.bitly.com/
Package: hpxml-version-translator
HPXML Version TranslatorThis package converts an HPXML file to a newer version.RequirementsPython >=3.6InstallationIn general, we recommended to use a virtual environment or conda environment and then installing with pip, like so:pip install hpxml-version-translatorDeveloper InstallationIf you want to do work on the repo, clone this repo and install in development mode.cd path/to/repo
pip install -e ".[dev]"How to useCommand Linehpxml_version_translator -h
usage: hpxml_version_translator [-h] [-o OUTPUT] [-v {2.0,2.1,2.2,2.2.1,2.3,4.0,3.0}] hpxml_input

HPXML Version Translator, convert an HPXML file to a newer version

positional arguments:
  hpxml_input           Filename of hpxml file

optional arguments:
  -h, --help            show this help message and exit
  -o OUTPUT, --output OUTPUT
                        Filename of output HPXML file. If not provided, will go to stdout
  -v {2.0,2.1,2.2,2.2.1,2.3,4.0,3.0}, --to_hpxml_version {2.0,2.1,2.2,2.2.1,2.3,4.0,3.0}
                        Version of HPXML to translate to, default: 3.0In a Python scriptfromhpxml_version_translatorimportconvert_hpxml_to_versionconvert_hpxml_to_version("3.0","path/to/in.xml","path/to/out.xml")It also works with path-like objects and binary file-like objects.
Package: hpy
HPy: a better API for PythonWebsite:hpyproject.orgCommunity:HPy Discord serverMailing list:hpy-dev@python.orgSummaryHPy is a better API for extending Python
in C. The old C API is specific to the current implementation of CPython.
It exposes a lot of internal details which makes it hard to:implement it for other Python implementations (e.g. PyPy, GraalPy,
Jython, IronPython, etc.).experiment with new things inside CPython itself: e.g. using a GC
instead of refcounting, or to remove the GILguarantee binary stabilityHPy is a specification of a new API and ABI for extending Python that is
Python implementation agnostic and designed to hide and abstract internal
details such that it:can stay binary compatible even if the underlying Python internals change significantlydoes not hinder internal progress of CPython and other PythonsPlease read thedocumentationfor more details on HPy motivation, goals, and features, for example:debug mode for better developer experiencesupport for incremental porting from CPython API to HPyCPython ABI for raw performance on CPythonand othersDo you want to see how HPy API looks in code? Check out
ourquickstart example.You may also be interested in HPy'sAPI reference.This repository contains the API and ABI specification and implementation
for the CPython interpreter. Other interpreters that support HPy natively: GraalPy
and PyPy, provide their own builtin HPy implementations.Why should I care about this stuff?the existing C API is becoming a problem for CPython and for the
evolution of the language itself: this project makes it possible to make
experiments which might be "officially" adopted in the futurefor PyPy, it will give obvious speed benefits: for example, data
scientists will be able to get the benefit of fast C librariesandfast
Python code at the same time, something which is hard to achieve nowthe current implementation is too tied to CPython and proved to be a
problem for almost all the other alternative implementations. Having an
API which is designed to work well on two different implementations will
make the job much easier for future ones: going from 2 to N is much easier
than going from 1 to 2arguably, it will be easier to learn and understand than the massive
CPython C APISee alsoPython Performance: Past, Present,
Futureby Victor Stinner.What doesHPymean?The "H" inHPystands for "handle": one of the key idea of the new API is to
use fully opaque handles to represent and pass around Python objects.Donate to HPyBecome a financial contributor and help us sustain the HPy community:Contribute to HPy.
Package: hpyculator
hpyculatorPackage基于python3.10https://github.com/HowieHz/hpyculator这个仓库是hpyculator的附属模块，如开发hpyculator插件需要此模块此模块还包含若干子模块, 为实用工具安装方法pip install hpyculator文档文档https://hpyculator.readthedocs.io/zh_CN/latest/utils_api/index.html更新日志更新日志https://github.com/HowieHz/hpyculator/blob/main/docs/changelog_hpyculator_module.md
Package: hqdata-api-wrapper
HQData API WrapperThis is a Python package that provides a convenient wrapper for interacting with the HQData API.
It allows you to easily run and fetch job/result data from the HQData service.InstallationYou can install the package using pip:pipinstallhqdata-api-wrapperExamplesHere's a simple example of how to use theHQDataclass from thehqdata_api_wrapperpackage:fromhqdata_api_wrapperimportHQData# Create an instance of HQData workerworker=HQData(apikey="your_api_key")# Create an instance of HQData worker without debug prints and without autofetching / waiting for resultsworker=HQData(apikey="your_api_key",autofetch=False,debug_messages=False)# Example: list available modules and their fieldsmodules=worker.modules()print(modules)# Example: run scrape module#module parameter = module name#payload = dictionary of required/optional module fieldsresult=wroker.run(module="scrape",payload={"url":"https://hqdata.com","contact_details":False,"recursive_contact_details":False,"pattern_scan":False,"js_scenario":"click://button[@aria-label='Example Xpath'];send_keys://input[@class='example']:Test Value;scroll:y:750"})# Example: list jobs and optional filtersresult=worker.fetch(page="2",status="success")# Example: fetch resultresult=worker.fetch(id=job_id)# Example: fetch html of scraping jobresult=worker.fetch(id=job_id,fetch="html")
Package: hql-parser
hql_parserA parser package which extracts fields, types and comments from a HIVE DDL. For instance, given the nextddl.sqlfileCREATETABLE`school.student`(`dni`varchar(100)COMMENT'Identificator National Number',`first_name`varchar(10)COMMENT'First name',`second_name`varchar(50)COMMENT'Second name',`age`intCOMMENT'How old is this student',`nickname`varchar(30)COMMENT'Nickname',`flg_estado`smallintCOMMENT'Flag (1 - Active, 0 - No Active)')CLUSTEREDBY(dni)INTO1BUCKETSROWFORMATSERDE'org.apache.hadoop.hive.ql.io.orc.OrcSerde'STOREDASINPUTFORMAT'org.apache.hadoop.hive.ql.io.orc.OrcInputFormat'OUTPUTFORMAT'org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat'LOCATION'hdfs://nnha/data/environment/datalake/school/student'TBLPROPERTIES('last_modified_by'='root','last_modified_time'='1662590768','numFiles'='1600','totalSize'='1913197','transactional'='true','transient_lastDdlTime'='1666985788')It can be parsed as followed:fromhql_parserimportDDL_Handlerddlh=DDL_Handler()obj=ddlh.file_parser('ddl.sql')print(obj)The result is a three-items list:Position 0: schema namePosition 1: table namePosition 2: a list of table field with following the format{'field': '', 'ttype': '', 'comment': ''}This example prints the next output['school','student',[{'field':'dni','ttype':'varchar(100)','comment':'Identificator National Number'},{'field':'first_name','ttype':'varchar(10)','comment':'First name'},{'field':'second_name','ttype':'varchar(50)','comment':'Second name'},{'field':'age','ttype':'int','comment':'How old is this student'},{'field':'nickname','ttype':'varchar(30)','comment':'Nickname'},{'field':'flg_estado','ttype':'smallint','comment':'Flag (1 - Active, 0 - No Active)'}]]On the other hand, we can parse a content variable as next:obj=ddl_parser(ddl_content_str)
Package: hqm
Hybrid Quantum ModelsThis library comprises a collection of functions and classes tailored to manage quantum algorithms or circuits that have the capability to interface with two of the most prevalent deep learning libraries, TensorFlow and Torch. Furthermore, the library incorporates a set of predefined hybrid models for tasks such as classification and regression.To delve deeper into the significance of this library, let's break down its key components and functionalities. Firstly, it offers a diverse set of tools for the manipulation and execution of quantum algorithms. These algorithms harness the principles of quantum mechanics to perform operations that transcend the capacities of classical computers. The library provides an intuitive interface for fully leveraging their potential, ensuring seamless interaction with TensorFlow and Torch, two widely adopted Deep Learning frameworks.Additionally, the library goes the extra mile by including a set of predefined hybrid models. These models are ready-made solutions for common machine learning tasks such as classification and regression. They seamlessly blend the power of quantum circuits with the traditional deep learning approach, offering developers an efficient way to address various real-world problems.In summary, this library serves as a versatile bridge between the realms of quantum computing and Deep Learning. It equips developers with the tools to harness the capabilities of quantum algorithms while integrating them effortlessly with Tensorflow and Torch. Furthermore, the inclusion of prebuilt hybrid models simplifies the development process for tasks like classification and regression, ultimately enabling the creation of advanced AI solutions that transcend classical computing limitations.Click here to access the documentation!!!This library has been developed and tested mostly for QAI4EO (Quantum Artificial Intelligence for Earth Observation) tasks!!!InstallationThis package is stored onPyPi, you can easily install it using pippipinstall--upgradehqm--no-depsAlthough certain elements of this library draw from PyTorch or TensorFlow and Pennylane, these packages are not included in the library's prerequisites, and therefore, they will not be automatically installed.UsageThe central concept of this package is illustrated in the figure below. In essence, the package generates an embedding of a user-defined quantum circuit (chosen from the available options) into a quantum layer, which is also customizable by the user. This quantum layer can subsequently be converted into a Keras layer or a Torch layer, allowing it to be seamlessly combined with other classical or quantum layers.A full description of each module can be found in the documentation.How to contributeClick here
Package: hqporner-api
HQPorner APIDescriptionHQPorner API is an API for HQPorner. It allows you to fetch information from videos using regexes and requests.Disclaimer[!IMPORTANT] HQPorner API is in violation to HQporner's ToS!Copyright Information: I have no intention of stealing copyright protected content or slowing down
a website. Contact me at my E-Mail, and I'll take this Repository immediately offline.QuickstartHave a look at theDocumentationfor more detailsInstall the library withpip install hqporner_apifromhqporner_api.apiimportClient,Quality# Initialize a Client objectclient=Client()# Fetch a videovideo_object=client.get_video("<insert_url_here>")# Download the videovideo_object.download(quality=Quality.BEST,output_path="your_output_path + title.mp4")# Videos by actressactress_generator=client.get_videos_by_actress("anissa-kate")forvideoinactress_generator:print(video.title)# etc...# Search for videosvideos=client.search_videos(query="Your query here")forvideoinvideos:print(video.title)# SEE DOCUMENTATION FOR MOREChangelogSeeChangelogfor more details.ContributionDo you see any issues or having some feature requests? Simply open an Issue or talk
in the discussions.Pull requests are welcome :)LicenseLicensed under the LGPLv3 LicenseCopyright (C) 2023–2024 Johannes HabelSupportLeave a star on the repository. That's enough :)
Package: hqsbase
# HQSbaseBasic functionality for configuration and evaluation of symbolic expressions for all python projects of [HQS Quantum Simulations](https://quantumsimulations.de)This software is still in the beta stage. Functions and documentation are not yet complete and breaking changes can occur.## Contributing
The components of this package will be reorganized soon. For the moment please contact us on github or via [email](mailto:info@quantumsimulations.de) before working on contributions to avoid diverging development.