Saravanan666/pypi-org huggingface dataset:
Package: harmony-transaction-generator
Transaction Generator Python libraryThis is for python 3.6+ onlyA transaction generator library for the Harmony Blockchain. It utilizes theCLIto generate transactions.Documentation can be foundhereand example scripts
that use the transaction generator can be found in the root of this directory with the suffix_example.pyNote that this only works on MacOS or Linux. It could possibly work on WSL, but this is untested.InstallYou can install the library from pypi using the following command:python3 -m pip install harmony-transaction-generatorYou will require the latest version ofpyhmy(which may not install if you already have it). You can get the latest with the following command:python3 -m pip install pyhmy --upgradeDevelopment InstallationClone this repo and run:make installExamplesExample script when running for devnet can be seenhereYou can runlocalnet_example.pyif you have a localnet running. To start a localnet, reference the main harmony repo
to set up your ev environment, then runtest/debug.shin the main repo.The localnet is an easy way to develop your scripts without relying or using real network currency.Important note about funding keysOne must have keys in the keystore that have funds on ALL shards (if one wishes to funds accounts on all shards).
Note that one account does NOT have to have funds on all shard, but across all accounts in the keystore, there should be funds on all shardsThis is because the library only does same shard transfers when funding to be conservative.How it worksThe docs can be foundhere.Take a look at thelocalnet_example.pyfor some idea of how it works.
Essentially, it follows a source / sink model for transaction generation (explained more in thestartfunctionhere). Moreover, the annotations of the config inlocalnet_example.pyshould give a better idea of how to use the library.A video demoing library can be seenhereAnalysisTheanalysismodule of this library has averify_transactionfunction that looks at the transaction logs and checks
if said transactions appear on the blockchain. Refer toherefor mode details
on how it works.The library logs everything it can, so one can read the log files to analyze it. The filepath/filename can be accessed with
thefilenameattribute of the logger, for exampletx_gen.Loggers.transaction.filename.Note that all times in the logs are in UTC.CaveatThe package has NOT been thoroughly tested so please report bugs and/or PR fixes if you find any, thank you!Troubleshooting Errors While TestingPossible fixesBackup and clear keystore at~/.hmy_cli/account-keysUpdate pyhmy to latest version, can be checkedhere.Check version withpython3 -m pip list | grep pyhmyIfcurrent balance is not enough for requested transfer, try increasing the 'INIT_SRC_ACC_BAL_PER_SHARD' value in the config file
Package: harmonyTS
HarmonyHarmony is a unified framework for data visualization, analysis and interpretation of scRNA-seq data measured across discrete time points.Harmony constructs an augmented affinity matrix by augmenting the kNN graph affinity matrix with mutually nearest neighbors between successive time points. This augmented affinity matrix forms the basis for generated a force directed layout for visualization and also serves as input for computing the diffusion operator which can be used for trajectory detection using PalantirInstallation and dependenciesHarmony has been implemented in Python3 and can be installed using:$> pip install harmonyTS
 $> pip install palantirHarmony depends on a number ofpython3packages available on pypi and these dependencies are listed insetup.pyAll the dependencies will be automatically installed using the above commandsTo uninstall:$> pip uninstall harmonyTSIf you would like to determine gene expression trends, please installRprogramming language and the R packageGAM. You will also need to install the rpy2 module using$> pip install rpy2UsageA tutorial on Harmony usage and results visualization for single cell RNA-seq data can be found in this notebook:http://nbviewer.jupyter.org/github/dpeerlab/Harmony/blob/master/notebooks/Harmony_sample_notebook.ipynbThe datasets generated as part of the manuscript and harmozined using Harmony are available for exploration at:endoderm-explorer.comCitationsHarmony was used to harmonize datasets across multiple time points in our manuscript characterizing mouse gut endoderm development.  This manuscript is available atNature. If you use Harmony for your work, please cite our paper.
Package: harness
Harness is a language-neutral meta-framework for building serverless-style
services.All you need to know is available here:https://wire-in.devThere are a bunch ofexamplesyou can find in this repository in the
corresponding dir.ChangelogandContributing guideyou can find in the documentation.InstallationAt least Python 3.7 is required to use Harness SDK.$pip3install"harness[sdk]"LicenseHarness isBSD licensed.
Package: harness-featureflags
Python SDK For Harness Feature FlagsTable of ContentsIntroRequirementsQuickstartFurther ReadingBuild InstructionsIntroUse this README to get started with our Feature Flags (FF) SDK for Python. This guide outlines the basics of getting started with the SDK and provides a full code sample for you to try out.
This sample doesn’t include configuration options, for in depth steps and configuring the SDK, for example, disabling streaming or using our Relay Proxy, see thePython SDK Reference.For a sample FF Python SDK project, see our testtest python project.RequirementsPython 3.7or newer (python --version)pipFor Mac usersif you don't already have pyenv or something similar installed for managing python versionQuickstartTo follow along with our test code sample, make sure you’ve:Created a Feature Flag on the Harness Platformcalled harnessappdemodarkmodeCreated a server SDK key and made a copy of itInstall the SDKInstall the python SDK using pippython-mpipinstallharness-featureflagsCode SampleThe following is a complete code example that you can use to test theharnessappdemodarkmodeFlag you created on the Harness Platform. When you run the code it will:Connect to the FF service.Report the value of the Flag every 10 seconds until the connection is closed. Every time the harnessappdemodarkmode Flag is toggled on or off on the Harness Platform, the updated value is reported.Close the SDK.fromfeatureflags.clientimportCfClientfromfeatureflags.configimport*fromfeatureflags.evaluations.auth_targetimportTargetfromfeatureflags.utilimportlogimportosimporttime# API KeyapiKey=os.getenv('FF_API_KEY',"changeme")# Flag NameflagName=os.getenv('FF_FLAG_NAME',"harnessappdemodarkmode")defmain():# Create a Feature Flag Clientclient=CfClient(apiKey)# Create a target (different targets can get different results based on rules.  This include a custom attribute 'location')target=Target(identifier='HT_1',name="Harness_Target_1",attributes={"location":"emea"})# Loop forever reporting the state of the flagwhileTrue:result=client.bool_variation(flagName,target,False)log.info("Flag variation%s",result)time.sleep(10)if__name__=="__main__":main()Running the example$exportFF_API_KEY=<yourkeyhere>
$python3examples/getting_started/getting_started.pyRunning the example with DockerIf you dont have the right version of python installed locally, or dont want to install the dependancies you can
use docker to quickly get started# Install the packagedockerrun-v$(pwd):/app-w/apppython:3.7-slimpython-mpipinstall-t./localharness-featureflags# Run the scriptdockerrun-ePYTHONPATH=/app/local-eFF_API_KEY=$FF_API_KEY-v$(pwd):/app-w/apppython:3.7-slimpythonexamples/getting_started/getting_started.pyAdditional ReadingFor further examples and config options, see thePython SDK Reference.For more information about Feature Flags, see ourFeature Flags documentation.Harnessis a feature management platform that helps teams to build better software and to
test features quicker.=======
History1.0.1 (2021-07-07)First release on PyPI.
Package: harobed.paster_template.advanced_package
Features supportsnamespace support (handle multiple namespaces levels)buildout supportInstallInstall the template :$ sudo easy_install harobed.paster_template.advanced_packageUsingCreate a new package with advanced_package template :$ paster create -t advanced_package my.new.package package=my.new.packageYou can answer True to buildout question to install buildout files (bootstrap.py and buildout.cfg).
Package: harold
haroldA control systems package for Python>=3.8.IntroductionThis package is written with the ambition of providing a full-fledged control
systems software that serves a control engineer/student/researcher with complete
access to the source code with permissive rights (seeLICENSEfile).
Moreover, via working with a proper high-level computer programming language
many proprietary software obstacles are avoided and users can incorporate this
package into their workflow in any way they see fit.Quick Reference and DocumentationThe documentation is online atReadTheDocs. A brief tutorial about the basics
can be found under the notebooks folder to seeharoldin action.RoadmapThe items that are in the pipeline and what possibly lies ahead is enumerated
in ourroadmap.Useful LinksThere is already an almost-matured control toolbox which is led by
Richard Murray et al. (click for the Github page) and it can perform
already most of the essential tasks. Hence, if you want to have
something that resembles the basics of matlab control toolbox, you should give
it a try. However, it is somewhat limited to SISO tools and also relies on
SLICOT library which can lead to installation hassle and/or licensing
problems for nontrivial tasks.You can also use the tools available in SciPysignalmodule for basics
of LTI system manipulations. SciPy is a powerful all-purpose scientific
package. This makes it extremely useful however admittedly every discipline
has a limited presence hence the limited functionality. If you are looking
for a quick LTI system manipulation and don’t want to install yet another
package, then it might be the tool for you.Instead, if you are interested in robust control you probably would
appreciate theSkogestad-Pythonproject. They are replicating the
code parts of the now-classic book completely in Python. Awesome!Help Wanted!If you are missing out a feature, or found a bug, get in contact. Such
reports and PR submissions are more than welcome!ContactIf you have questions/comments feel free to shoot one toharold.of.python@gmail.comor join the Gitter chatroom.
Package: haros
HAROS is a framework for quality assurance of ROS-based code, mostly based onstatic analysis- which consists onextracting informationfrom the source codewithout executing it(and, sometimes, even without compiling it).
Its main goal is theearly detection of problemsin the software development life cycle, which would otherwise go unnoticed into later stages or even into production.Try it yourself:there is a demo page of the HAROS visualizer available onGitHub.Tutorials:on GitHubandon YouTube.More info:short video presentationon YouTube.Current StatusHAROS is still being developed, as of August 2021.
Help improve HAROS by participating in a shortuser survey.InstallingSeeINSTALLfor installation methods and instructions.How to UseSeeUSAGEfor basic commands and usage instructions.Bugs, Questions and SupportCheck whether your question has an answer in theFAQ.Please use theissue trackerfor issues or feature requests directly related to HAROS.For issues related to plugins, please use the respective plugin repository.If you run into errors, or feel that something is not working, run HAROS in debug mode, so the log files do not miss any information, e.g.,haros --debug analyse ...Then, you can share the log file, found by default within~/.haros/log.txt.CitingSeeCITING.ContributingSeeCONTRIBUTING.AcknowledgmentUntil March 2021, this work was financed by the ERDF – European Regional Development Fund through the Operational Programme for Competitiveness and Internationalisation - COMPETE 2020 Programme and by National Funds through the Portuguese funding agency, FCT - Fundação para a Ciência e a Tecnologia within project PTDC/CCI-INF/29583/2017 (POCI-01-0145-FEDER-029583).
Package: haros-plugin-rv-gen
HAROS RV Generation PluginThis package provides aHAROSplugin to generate runtime monitors based onHPLspecifications.
In essence, this plugin is just a wrapper for theHPL RV ROSlibrary.InstallingInstalling a pre-packaged release:pipinstallharos-plugin-rv-genInstalling from source:gitclonehttps://github.com/git-afsantos/haros-plugin-rv-gen.gitcdharos-plugin-rv-gen
pipinstall-e.UsageAnnotate systems and nodes with HPL properties in HAROS files to have runtime monitor generation take place.Generated monitors can be found in theexportdirectory of the HAROS home directory (e.g.,~/.haros/export/haros_plugin_rv_gen).Bugs, Questions and SupportPlease use theissue tracker.ContributingSeeCONTRIBUTING.
Package: harpies
Helps you to generate link previews on the fly! Useharpiesto get
the information of a webpage to generate a preview, then you know how
you want to style the preview with the information.InstallationYou can install harpies using pip,pipinstallharpiesRequires Python 3 or above to run. If you have Python 2 installed too,
make sure to use the right pip.Usage>>> import harpies
>>> data = harpies.preview_data("iamlizu.com")
>>> print(data)
{"title": "S M Mahmudul Hasan", "description": "WordPress security expert, creates technological contents in spare times, mostly found on tech forums,
part-time gamer, listens to electronic music.", "image": "https://iamlizu.com/wp-content/uploads/2019/10/iamlizu.com-cover.png", "url": "https://iamlizu.com/"}Please look for logs at ‘~/Documents/harpies.log’
Package: harpoontools
Harpoon ToolsCLI tools usingHarpoonfeaturesToolsipinfo: provides information on an IP address (ASN and location)asninfo: provides information on an ASN numberdns: provides DNS information on a domain or IPdnsresolve: provinde IP information on a list of domainsasncount: count IP addresses by ASN numberscountrycount: count IP addresses by countrieshtraceroute: traceroute adding AS and geolocation of IPs (you need to have traceroute installed)myip: get your public IP and location from ipinfo.ioInstallInstallHarpoonand then harpoontools :pip install harpoon
pip install harpoontoolsConfigure Harpoon and download static files:harpoon config -u
harpoon configLicenceThis code is licensed under GPLv3
Package: harp-protocol
harp-protocolHarp protocol implementation in PythonFree software: MIT licenseDocumentation:https://harp-protocol.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2020-03-17)First release on PyPI.
Package: harp-python
harp-pythonA low-level interface to data collected with theHarpbinary protocol.Data modelThe interface makes use of a Pydantic data model generated from Harp device schema definitions. The schema data classes are used to automatically generate binary readers for each device.All binary data files from a single device need to be stored in the same folder alongside the device meta-schema, nameddevice.yml. Each register file should have the following naming convention<deviceName>_<registerAddress>.bin.For example, for a dataset collected with aBehaviordevice, you might have:📦device.harp
 ┣ 📜Behavior_0.bin
 ┣ 📜Behavior_1.bin
...
 ┗ 📜device.ymlHow to useCreate device reader object from schemaimportharpreader=harp.create_reader("device.harp")Read data from named registerreader.OperationControl.read()Access register metadatareader.OperationControl.register.addressCreate device reader object with UTC datetime formatreader=harp.create_reader("device.harp",epoch=harp.REFERENCE_EPOCH)Read data with message type informationreader.OperationControl.read(keep_type=True)Read data from a specific filereader.OperationControl.read("data/Behavior_10.bin")
Package: harrison
harrisonTime a block of code.Use as the context expression of awithstatement:>>> from harrison import Timer
>>> with Timer() as t:
>>>     ...
>>> print(t.elapsed_time_ms)
12345When a description string is passed on initialization, the elapsed time will
be printed on completion, keyed by this description.>>> with Timer('My expensive block of code'):
>>>     ...
My expensive block of code: 12345 msYou can also start and stop a Timer explicitly:timer=Timer()timer.start()some_expensive_function(...)print(timer.elapsed_time_s)another_expensive_function(...)timer.stop()print(timer.elapsed_time_s)You can also time each execution of a function using a decorator:fromharrisonimportprofile@profile('Describes the function')defsome_function():pass# Without args, the function name (e.g. 'some_function') will be used# as the description.@profile()defanother_function():passYou can also useRegisteredTimer, which groups together a bunch of named
timers, provides utilities for serializing their times, and an optional global
timer registry.Named after John Harrison, the English carpenter and clockmaker who
invented themarine chronometer.Similar librariesThis is similar to the librarycontexttimer, but that library is licensed
under the GPLv3 which is more restrictive than two-clause BSD license used
here.Development./dev.pyinit
./dev.pytestContributeIssue Tracker:https://github.com/metabolize/harrison/issuesSource Code:https://github.com/metabolize/harrisonPull requests welcome!SupportIf you are having issues, please let us know.AcknowledgementsThis project was packaged byPaul Melnikowwhile atBody Labs. Thanks
to Body Labs for the repository transfer.LicenseThe project is licensed under the two-clause BSD license.
Package: harrix-pylib
harrix-pylibCommon functions for working in Python.Quick startExamples of using the library:importharrixpylibashh.clear_directory("C:/temp_dir")importharrixpylibashmd_clean=h.remove_yaml_from_markdown("""---categories: [it, program]tags: [VSCode, FAQ]---# Installing VSCode""")print(md_clean)# Installing VSCodeInstallPip:pip install harrix-pylib.Pipenv:pipenv install harrix-pylib.UpdatePip:pip update harrix-pylib.Pipenv:pipenv update harrix-pylib.DevelopmentSeedevelopment.md.
Package: harrix-pyssg
Harrix-Static-Site-GeneratorIn development.A simple static website generator in Python.InstallPip:pip install harrix-pyssgPipenv:pip update harrix-pyssgUpdatePip:pipenv install harrix-pyssgPipenv:pipenv update harrix-pyssgDevelopmentIf you don't havepipenvinstalled, then you can install it via the commands:python-mpipinstallvirtualenvpython-mpipinstallpipenvInstalling packages by filePipfile:pipenvinstall--devpipenvshell
Package: harry
harry is a command line utility that will convert a HTTP Archive (har)
into a JMeter test plan (jmx)Why?JMeter is a tool used to test the reponses for a given HTTP request.
However, a typical webpage is comprised of dozens of such requests. To
accurately test the performance of a webpage with JMeter, you would need
to perform a great deal of manual entry.HTTP Archives are great for recording all of the requests made on a page
- exactly the data one would need to replicate all the requests for a
JMeter test.This reads in a HTTP Archive, spanning one or multiple pages, and
generates a JMeter test plan to replicate the requests. This can then be
directly used by JMeter to begin testing.
Package: harry-potter
Create your own WizardAuthorsLemon -Lemon's GitHubAna Sofia -Ana Sofia's GitHubSamuel -Samuel's GitHubProject OverviewOur project is Harry Potter-based and is split into five different functions:Wizard Name GeneratorThis function takes a theme like "American" or "bizarre" and utilizes OpenAI to create a wizard name.Choose a Harry Potter Themed AnimalIt takes in a house, and based on that house, it prompts the user with a set of questions and returns an animal.Choose Hogwarts HouseIt takes your house preference like the sorting hat would.Choose a Harry Potter-themed CandyTakes the number of candies and chooses them randomly from a pre-defined list.Generate a Harry Potter Fighting SpellIt takes the number of spells to be generated, utilizes Latin prefixes and suffixes, and randomly mixes them to create a fighting spell. The spells are returned in a 2D array where the inner array has four elements: the Latin prefix and suffix, and the English translation.Usage and installationCreate a pipenv-managed virtual environment and install the latest version of the package installed: pipenv install -ihttps://test.pypi.org/simple/harry-potter==0.0.3. (Note that if you've previously created a pipenv virtual environment in the same directory, you may have to delete the old one first. Find out where it is located with the pipenv --venv command.)Activate the virtual environment: pipenv shell.Run pip install openaiRun pip install python-dotenvRun OPENAI_API_KEY=[Your API key]Create a Python program file that imports your package and uses it: from harry_potter.create_wizard import CreateWizardCreate an instance of a wizard: wizard = CreateWizard()Print the functions: e.g. print(wizard.wizardNameGenerator("american"))Exit the virtual environment: exit.ContributeClone the repositorygit clone https://github.com/software-students-fall2023/3-python-package-exercise-loki.gitInstall the virtual environmentpython3 -m venv .venvsource .venv/bin/activateInstall the requiermentspip3 install -r requirements.txtInstall pyton-dotenvpip install python-dotenv
Package: har-server
Simple programmable HTTP API server.The server is programmable using elements from theHTTP Archive(HAR)
specification originally developed byJan Odvarkoand theW3Cweb-performance working group.  It was never moved beyond draft in the
W3C.  Jan Odvarko has maintained the specification on his blog.  I created
this project after discovering themockbinservice created byMashape(nowKongHQ).  Unfortunatelymockbindoes not meet my exact needs.UsageThe primary use case is to return programmed responses to specified
requests.  The response is POSTed to service along with a matching request.
Both are specified as HAR objects – the request is aHAR requestand
the response is aHAR responsePOST /responses HTTP/1.1
Host: 127.0.0.1:8080
Content-Type: application/json
Content-Length: 733

{
   "request": {
      "method": "GET",
      "url": "http://example.org/status",
      "httpVersion": "HTTP/1.1",
      "cookies": [],
      "headers": [],
      "queryString": [],
      "postData": {},
      "headersSize": -1,
      "bodySize": 0
   },
   "response": {
      "status": 200,
      "statusText": "OK",
      "httpVersion": "HTTP/1.1",
      "cookies": [],
      "headers": [
         {"name":"Content-Type", "value":"application/json"}
      ],
      "content": {
         "mimeType": "application/json",
         "encoding": "json",
         "text": {
            "service": "my-service",
            "status": "ok"
         }
      },
      "redirectURL": "",
      "headersSize": -1,
      "bodySize": -1
   }
}

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 49
Link: <http://127.0.0.1:8080/hosts>; rel=host-map; method=GET
Link: <http://127.0.0.1:8080/requests>; rel=requests; method=GET
Link: <http://127.0.0.1:8080/responses>; rel=add-response; method=POST
Link: <http://127.0.0.1:8080/responses>; rel=clear-responses;
  method=PURGE

{
   "effective_url": "http://127.0.0.1:32443"
}After this message is sent, the service will respond toGET /statuson port 32443 with the registered response:GET /status HTTP/1.1
Host: 127.0.0.1:32443

HTTP/1.1 200 OK
Content-Type: application/json

{
  "service": "my-service",
  "status": "ok"
}
Package: harshit
Harshit SquareIt takes an integer as an input and prints it square.Installationpip install harshitHow to use it?fromharshitimportharshitharshit.square()OROpen terminal and typepython harshit.pyLicenseÂ© 2021 Harshit MehraThis repository is licensed under the MIT license. See LICENSE for details.
"# harshit"