Saravanan666/pypi-org huggingface dataset:
Package: heimdall-valid-bank
HeimdallHeimdall is the guardian of the rainbow bridge, which is the onlu way to Asgard (heaven) bouding with Midgard (earth) os nordic mithology, for this project Heimdall is responsible for not letting invalid bank data to be accepted.Bank Account ValidateHeimdall is a Python package which validates the main brazilian banks: Itaú, Bradesco, Caixa, Banco do Brasil, Citibank, Santander, Banrisul and Nubank.
For the remaining ones it is used a default validation:Agency is required to have 1 up to 5 digitsAgency Branch is required to have 0 up to 2 charactersAccount is required to have 1 up to 12 digitsAccount Branch is required to have 0 up to 2 charactersBasic UsageInstall with pip:pip install wheel && pip install heimdall_valid_bankTo validate the entire bank account, follow these steps:from heimdall_valid_bank.data_bank_validate import DataBankValidate

valid_bank = DataBankValidate(
                bank_code='001',
                agency='1584',
                digit_agency='9',
                account='00210169',
                digit_account='6'
            ).start()

if valid_bank == True:
    print('Bank Valid')
else:
    print('Bank Invalid')You can also validate in stages, usingBankValidate,AgencyValidate,AccountValidate,:Examples:basic agency validation:from heimdall_valid_bank.agency_validate import AgencyValidate

valid_bank = AgencyValidate(
                bank_code='237',
                agency='2377-8'
            ).start()

if valid_bank == True:
    print('Agency Valid')
else:
    print('Agency Invalid')validation with agency branchfrom heimdall_valid_bank.agency_validate import AgencyValidate

valid_bank = AgencyValidate(
                bank_code='001',
                agency='1584',
                digit_agency='9'
            ).start()

if valid_bank == True:
    print('Agency Valid')
else:
    print('Agency Invalid')agency validation by passing the branch directly at the agency, if you have:from heimdall_valid_bank.agency_validate import AgencyValidate

valid_bank = AgencyValidate(
                bank_code='001',
                agency='1584-9'
            ).start()

if valid_bank == True:
    print('Agency Valid')
else:
    print('Agency Invalid')LicenseHeimdall is released under the MIT license. See the bundledLICENSEfile for details.CreditsThais RibeiroBruna Baleste
Package: heimer-tools
Heimer toolsNB:This is Beta sofwtare.Python code to read and transformHeimermaps.Heimer maps are concept maps. I find the software to edit them is very intuitive, and I use them a lot.Since I use other tools for PKM (Personal Knowledge Management) I have started to create tools to transform between
the Heimer format and others that I use.The first transformation is from a Heimer file tographvizdotformat.Here's the simple Heimer test map:And here's the dot output:Installationpip3installheimer-toolsRunningmake-dotalz-filedot-filewherealz-fileis the path of the.alzfile you cant to convert, anddot-fileis the path opf the.dotfile you want to generate.To generate a.pngfile from the generated dotfile,
you'll need to installGraphvizand then runcdnotebooks
dot-Tpnggoopy.dot>goopy.pngRoadmapheimer-toolsalready handles images: here is the output from a realwork in progress:It's Beta software, but it's already functional enough to be useful.
Package: heinlein
heinleinheinleinis a high-level tool for interacting with local versions of astronomical survey datasets.heinleinempowers astronomers who work with large survey datasets to stop thinking about files and start thinking about astronomy. Let's say you had downloaded some catalogs from the Dark Energy Survey. You could add these catalogs to heinlein with a single command:> heinlein add hsc catalog /path/to/catalogsOnce this is done retrieving data in a python script becomes a simple as:from heinlein import load dataset
import astropy.units as u

des = load_dataset("des")
catalog = data.cone_search(center=(141.23246, 2.32358), radius=120*u.arcsec)
#Returns a standard astropy tableheinleinunderstands that it's pointless to load an entire dataset when you only need one small piece of it, so it contains tools to intelligently portions of the data based on what's needed at the moment. You can easily setup your previously-downloaded catalogs to work with these features by calling:> heinlein split des /path/to/catalogsheinleinalso knows that if you're getting data from one part of the sky, there's a decent chance you'll come back and try to get data from a nearby part of the sky.heinleincaches data so queries nearby a perviously-queried area will return substantially faster.Butheinleindoesn't only work with catalogs. For analyses that rely on photometry, it can be necesary to remove objects from a catalog that fall within a mask provided by the survey team (often because of a nearby bright star). It's easy to useheinleinto manage these masks and apply them to catalogs:des = load_dataset("des")
data = data.cone_search(center=(141.23246, 2.32358), radius=120*u.arcsec, dtypes=["catalg", "mask"])
catalog = data["catalog"]
mask = data["mask"]
masked_catalog = catalog[mask]heinleinwill happily keep track of any data you give it, but it only contains built-in tools for certain datatypes (currently catalogs and masks).Currently supported surveys:DES, HSC SSP, CFHTLSData types with built-in utilities:Catalogs (plaintext (csv, tsv etc), sqlite)
Masks (.fits, .reg, mangle)Interested in adding something to these lists? Don't hesitate to add it in "Issues."
Package: hein-robots
hein_robotshein_robotsis an easy-to-use package that provides a common interface for controlling robots used by the Hein Lab.
Currently the Kinova Gen3 is the only robot supported, with support for the Universal Robots UR3 and the North Robotics
N9 on the roadmap.RequirementsPython 3.6+InstallationDownload the v2.2.0 Kortex API .whl package (required for controlling the Kinova Gen3):https://artifactory.kinovaapps.com:443/artifactory/generic-public/kortex/API/2.2.0/kortex_api-2.2.0.post31-py3-none-any.whlInstall the downloaded package withpip:$ pip install <path to kortex_api-2.2.0.post31-py3-none-any.whl>Install the latesthein_robotspackage withpip:$ pip install hein_robotsLicenseThis project is licensed under the terms of the MIT license.
Package: heishamon-rules-minify
HeishaMon Rules MinifyA Python CLI to minify Heishamon rulesHeishaMonis a project to read out a Panasonic air-water heat pump using an ESP8266 board. The HeishaMon firmware also supports the use of rules, to control the heatpump from within the HeishaMon itself. Since the ruleset must be stored within HeishaMon, its size must be limited. Therefore, it is best to use short function and variable names in order to maximize the number of rules that can be stored. Moreover, the rules library does not support comments in a ruleset, making it hard to read and maintain a ruleset, but also making it hard to share the ruleset with other.This project aims to overcome these issues by making it possible write a ruleset with comments and descriptive function and variables names, and then minifying it. This way it is still possible to maximize the number of rules on the HeishaMon.Note: The minifier should work for both the rule library used in version 3.2.3 andthis updated rule libaray version. In the rule library from version 3.2.3, the elseif statement cannot be usedInstallationpython3-mpipinstallheishamon_rules_minifyUsage exampleStart by creating a ruleset that adheres to the HeishaMon rules syntax, but can use the following extras:Single line comments starting with--or block comments between--[[and]].Custom function and variable names will be minified to only keep the capital letters, so for example#WaterTemperaturewill become#WT.When the ruleset is finished, minify it using the following command:heishamon-rules-minify[input_file][output_file]This will shorten all custom function and variable names and remove all unneeded spaces and newlines.Release History0.0.1Initial versionContributingFork it (https://github.com/yourname/yourproject/fork)Create your feature branch (git checkout -b feature/fooBar)Commit your changes (git commit -am 'Add some fooBar')Push to the branch (git push origin feature/fooBar)Create a new Pull Request
Package: heisskleber
Heisskleber🇩🇪Heißkleberm: "hot glue".Heisskleber is a versatile library designed to seamlessly "glue" together various data producers and consumers across a multitude of protocols including zmq, mqtt, udp, serial, influxdb, and cmdline. With the ambition to extend into REST API interactions and file operations, Heisskleber offers both synchronous and asynchronous interfaces to cater to a wide range of IoT connectivity needs.FeaturesMultiple Protocol Support: Easy integration with zmq, mqtt, udp, serial, influxdb, and cmdline. Future plans include REST API and file operations.Custom Data Handling: Customizable "unpack" and "pack" functions allow for the translation of any data format (e.g., ascii encoded, comma-separated messages from a serial bus) into dictionaries for easy manipulation and transmission.Synchronous & Asynchronous Versions: Cater to different programming needs and scenarios with both sync and async interfaces.Extensible: Designed for easy extension with additional protocols and data handling functions.InstallationYou can installHeisskleberviapipfromPyPI:$pipinstallheisskleberConfiguration files for zmq, mqtt and other heisskleber related settings should be placed in the user's config directory, usually$HOME/.config. Config file templates can be found in theconfigdirectory of the package.Quick StartHere's a simple example to demonstrate how Heisskleber can be used to connect a zmq source to an mqtt sink:"""A simple forwarder that takes messages from"""fromheisskleber.serialimportSerialSubscriber,SerialConffromheisskleber.mqttimportMqttPublisher,MqttConfsource=SerialSubscriber(config=SerialConf(port="/dev/ACM0"))sink=MqttPublisher(config=MqttConf(host="127.0.0.1",port=1883,user="",password=""))whileTrue:topic,data=source.receive()sink.send(data,topic="/hostname/"+topic)All sources and sinks come with customizable "unpack" and "pack" functions, making it simple to work with various data formats.It is also possible to do configuration via yaml files, placed at$HOME/.config/heisskleberand named according to the protocol in question.See thedocumentationfor detailed usage.DevelopmentInstall poetrycurl -sSL https://install.python-poetry.org | python3 -clone repositorygit clone https://github.com/flucto-gmbh/heisskleber.git
cd heissklebersetupmake installLicenseDistributed under the terms of theMIT license,Heisskleberis free and open source software.IssuesIf you encounter any problems,
pleasefile an issuealong with a detailed description.
Package: heist
Heist creates network tunnels for distributing and managing agents. While it has
been originally built to deploy and manage Salt Minions, it can be used to
distribute and manage other agents or plugins if extended to do so.Using Heist is very easy, Start by downloading Heist. Just install viapip:pipinstallheistHeist ManagerIn order to run Heist you will need to specify a Heist manager. An example of a
heist manager issalt.minionbut this will require a user to install theheist-saltproject:pipinstallheist-saltMaking Your RosterA Roster is a file used by Heist to map login information to the
systems in your environment. This file can be very simple and just
needs to tell Heist where your systems are and how to log into them
via ssh. Open a file calledroster.cfgand add the data needed to connect
to a remote system via ssh:system_name:host:192.168.4.4username:fredpassword:freds_passwordNoteThis example is very simple, heist supports virtually all available authentication
options for ssh.The roster files typically all live inside of a roster directory. But to get
started we will execute a single roster file with Heist using thesalt.minionHeist
manager:heistsalt.minion-Rroster.cfgAssuming your roster is correct, heist will now connect to the remote
system and deploy thesalt.minionbinary.Tear DownHeist is able to automatically clean up as well! Just soft kill
your heist application and it will reach out to all connections, tell them to
remove the deployed artifacts from the target systems and stop the service!
Like a proper heist these should be no evidence left behind!Using Heist to Deploy Salt MinionsIf you want to use Heist to deploy and manage Salt, you will need to installheist-salt.Additional DocumentationIf you want to read more about how to use Heist and its internals please
take a look at Heist’s documentation here:https://heist.readthedocs.io/en/latest/
Package: heist-salt
AboutThe whole point of Heist is to make deployment and management
of Salt easy!Before you start please be advised that a more detailed quickstart is
available in the docs forheist-salt.What is POP?This project is built withpop, a Python-based
implementation ofPlugin Oriented Programming (POP). POP seeks to bring
together concepts and wisdom from the history of computing in new ways to solve
modern computing problems.For more information:Intro to Plugin Oriented Programming (POP)pop-awesomepop-createWhat is Heist?This project is built withHeist, a POP
plugin that creates network tunnels for distributing and managing agents. While
it has been originally built to deploy and manage Salt (heist-salt),
it can be used to distribute and manage other agents or plugins if extended to
do so.Please see the Heist-Saltgetting startedto get quickly started with Heist-Salt.
Package: hejmdal
Hejmdal is a package for handling the backend for python systems handling variometer data. One can use it to get data from various sources, such as through sql queries to databases, reading from files, or downloading of data directly from servers. One can then work with the data directly, or use one of the provided tools to turn it into other recognisable formats. The package will by default keep the data in memory, while the resulting output formats also allows one to save them to files when needed.
Package: hejtado-quido
This microservice provides an interface to the hardware box called Quido, which is able to handle power state of the Boiler. Alsi it has connected thermometer for Boiler temperature checking.Installationtarxvfzhejtado-quido-<version>.tar.gzcdhejtado-quido-<version>pythonsetup.pyinstallStart Hejtadohejtado-quidoBy default it starts on localhost, port 5001, so you can consume the API on URL:http://127.0.0.1:5001/api/v1You can modify the default setting in settings.py file. Later I will add the support for environment variables instead of settings.py.
Package: heka-py
heka-py is a Python client for the “Heka” system of application logging and
metrics gathering developed by theMozilla Servicesteam. The Heka system is meant to make
life easier for application developers with regard to generating and sending
logging and analytics data to various destinations. It achieves this goal (we
hope!) by separating the concerns of message generation from those of message
delivery and analysis. Front end application code no longer has to deal
directly with separate back end client libraries, or even know what back end
data storage and processing tools are in use. Instead, a message is labeled
with a type (and possibly other metadata) and handed to the Heka system,
which then handles ultimate message delivery.More information about how Mozilla Services is using Heka (including what is
being used for a router and what endpoints are in use / planning to be used)
can be found onheka-docs.A pre-rendered version of this documentation is available onheka-py.
Package: heka-py-raven
heka-py-raven is a plugin extension forheka-py
<http://github.com/mozilla-services/heka-py>.  heka-py-raven
provides logging extensions to capture stacktraces and some frame
information such as local variables to faciliate debugging.The plugin acts as a thin wrapper around the Raven
<https://github.com/dcramer/raven> library for Sentry.More information about how Mozilla Services is using heka (including what is
being used for a router and what endpoints are in use / planning to be used)
can be found on theRead The Docs page.This version of heka-py-raven is compatible with version 3 of the
Sentry protocol.  This should make it compatible with Sentry 5.1->5.4
and Raven clients upto, but not including Raven 3.5.To install heka-py-raven use:pip install heka-py-raven[protocol_v3]
Package: heksher
heksher SDK for pythonThis is a library for using aheksherserver from within python.
Compatible with python 3.7, 3.8, and 3.9. The library contains both an asynchronous client, as well as a thread-based
client. Also included are stub clients to make testing without a service simple.Example usage# main.pyfromcontextvarsimportContextVarfromheksherimportAsyncHeksherClient,Settinguser=ContextVar('user',default='guest')classApp:...asyncdefstartup(self):...# initialize the client, and set it as the process' main clientself.heksher_client=AsyncHeksherClient('http://heksher.service.url',update_interval=60,context_features=['user','trust','theme'])# set certain context features to be retrieved either from string constants or# context variablesself.heksher_client.set_defaults(user=user,theme="light")awaitself.heksher_client.set_as_main()asyncdefshutdown(self):awaitself.heksher_client.close()...cache_size_setting=Setting('cache_size',type=int,configurable_features=['user','trust'],default_value=10)deffoo(trust:str):...# should be run after App.startup is completedcache_size=cache_size_setting.get(trust=trust)...Thread-based client usage is nearly identical.
Package: hel
helBel Lisp in PythonWARNING: This repo is in development. It was automatically generated withmkpylib. If you're reading this message, it means that I use this repo for my own purposes right now. It might not do anything at all; the default functionality isprint('TODO').If you really want to try it out, feel free. I recommend reading through thetestsand commit history to see if it does what you need, orask mefor status updates.Stay tuned!Installpip3 install -U helOr develop locally:git clone https://github.com/shawwn/hel ~/hel
cd ~/hel
python3 setup.py developUsageimporthelprint('TODO')LicenseMIT. SeeLICENSEfile.ContactA library byShawn Presser. If you found it useful, please considerjoining my patreon!My Twitter DMs are always open; you shouldsend me one! It's the best way to reach me, and I'm always happy to hear from you.Twitter:@theshawwnPatreon:https://www.patreon.com/shawwnHN:sillysaurusxWebsite:shawwn.com
Package: hela
hela: write your data catalog as codeYou probably already have your data job scripts version controlled, but what about your data catalog?
The answer:write your data catalog as code!Storing your data catalog and data documentation as code makes your catalog searchable, referenceable, reliable, platform agnostic, sets you up for easy collaboration and much more!
This library is built to fit small and large data landscapes, but is happiest when included from the start.Hela(or Hel) is the norse mythological collector of souls, and the Swedish word for "whole" or "all of it".Helais designed to give everyone a chance to build a data catalog, with a low entry barrier: pure python code.Links:docspypishowcase catalogInstallingUsing pip:pip install helaUsing poetry:poetry add helaRoadmapThese are up-coming features in no particular order, but contributions towards these milestones are highly appreciated! To read more about contributing check outCONTRIBUTING.md.Search functionality in web appMore integrations (Snowflake, Redshift)More feature rich dataset classesData lineage functionality (both visualized in notebooks and web app)Prettier docs page(Mega) Quick startIf you want to read more check out thedocs page. If you do not have patience for that, the following is all you need to get started.First of all build your own dataset class by inheriting theBaseDatasetclass. This class will hold most of your project specific functionality such as read/write, authentication etc.classMyDatasetClass(BaseDataset):def__init__(self,name:str,# Requireddescription:str,# Optional but recommendedcolumns:list,# Optional but recommendedrich_description_path:str=None,# Optional, used for web apppartition_cols:list=None,# Optional but recommended# folder: str = None, # Only do one of either folder or databasedatabase:str=None,# Optional, can also be enriched via Catalog)->None:super().__init__(name,data_type='bigquery',folder=None,database=database,description=description,rich_description_path=rich_description_path,partition_cols=partition_cols,columns=columns)# Do more of your own init stuffdefmy_func(self)->None:# Your own dataset functionpass# Now instantiate your dataset class with one example columnmy_dataset=MyDatasetClass('my_dataset','An example dataset.',[Col('my_column',String(),'An example column.')])Now that you have a dataset class, and instantiated your first dataset, you can start populating your
data catalog.fromhelaimportCatalogclassMyCatalog(Catalog):my_dataset=my_datasetThat's it! You now have a small catalog to keep building on. To view it as a web page you can
add the following code to a python script, and in the future add it in whichever CI/CD tool you use.
This will generate anindex.htmlfile that you can view in your browser or host on e.g. github pages.fromhelaimportgenerate_webpagegenerate_webpage(MyCatalog,output_folder='.')To view what a bigger data catalog can look like check out theshowcase catalog.
Package: helasentilex
HelaSentiLex (Hela Sentiment Lexicon)Python API for Sinhala Sentiment Lexicon with 14000+ sentiment tagged Sinhala wordsSetup environmentMake sure you have Python >= 3.6 bypython --versionAdditionally, you’ll need to make sure you have pip available by runningpip --versionTo install pip seeinstalling pipInstall helasentilex package using the commandpip install helasentilexGetting startedLet's begin with showing how easy it is to find sentiments of Sinhala words using helasentilex>>> import helasentilex
>>> helasentilex.sentiment('යහපත්')
1
>>> helasentilex.sentiment('අමිහිරි')
-1
>>> helasentilex.sentiment('පුටුව')
0If the input word does not exist in our sentiment lexicon or the input is invalid then it will returnNone>>> helasentilex.sentiment(23)
NoneYou can enter a sentence as a string and get sentiment scores for available words in the sentiment lexicon>>> helasentilex.sentiments('ඔබේ සැප දුක කෙසේද')
{'ඔබේ': 0, 'සැප': 1, 'දුක': -1, 'කෙසේද': None}If the input is invalid then it will return an empty dictionary>>> helasentilex.sentiments(23)
{}Defining labels1: POSITIVE (ධනාත්මක)
-1: NEGATIVE (ඍණාත්මක)
 0: OBJECTIVE (මධ්‍යස්ථ හෝ උදාසීන)ContributingWant to report a bug, contribute some code, or improve documentation? Excellent! fork our repository and start
contributing.Adding new words to the sentiment lexiconTo add new words along with their sentiment scoresOpenhelasentilex/lexicon.csvfileAppendnew_word,sentiment_scoreSort words in ascending orderSave changes to your forked repo and make a pull requestLove helasentilex? Give our repo astar!
Package: helcli
HelCLI is an opinionated way to create and organize your command line programs,
and aims to help bootstrap the process and provide a foundation that works for
most use cases.In the most simplest form, HelCLI requires three lines of code to have a
functional command line program.fromhelcliimportHelCLIcli=HelCLI(sub_commands='command_dir',description='A simple CLI')cli.run()Installpip install helcliDocumentationTo see some examples of HelCLI in use see theexample project, or thedocumentation.