Saravanan666/pypi-org huggingface dataset:
Package: hashfields
hashfieldsSelectively hash, drop, or keep fields from a flat file (e.g. CSV).Install withpip:pipinstallhashfieldsOr visit theReleases pagefor pre-built, self-contained executables.ExampleGiven this input CSV:column1,column2,column3,column4
r1c1,r1c2,r1c3,r1c4
r2c1,r2c2,r2c3,r2c4
r3c1,r3c2,r3c3,r3c4
r4c1,r4c2,r4c3,r4c4And this configuration:SHA256hash algorithmdropcolumn1,column3skipcolumn2E.g.echo "column1,column2,column3,column4r1c1,r1c2,r1c3,r1c4r2c1,r2c2,r2c3,r2c4r3c1,r3c2,r3c3,r3c4r4c1,r4c2,r4c3,r4c4" | hashfields --alg sha256 --drop column1 column3 --skip column2hashfieldsproduces this CSV:column2,column4r1c2,fb66e41761a74ea0c042e1c226c04fa2ce1a1334d7063d86230d17f33f109b68r2c2,6051c006caee661a6ccb390b8cf7a43230c5cd7b54861f7306a598b612f924b9r3c2,7e32c53b7729f5dce7ac54232b7f2d93d6c78ed19fc8d096b0fde948f513e9dcr4c2,f8d0624d128daf97c61ec28f4396e8f14be2ca2940d18fdf33e939cda9bd1824Seehttps://docs.calitp.org/hashfieldsfor more details.
Package: hashfish
SECURITY NOTICETHIS MODULE MAY NOT BE SUITABLE FOR FULL PRODUCTION USEIT MAY OR MAY NOT BE SECURE - NO SEURITY EXPERT HAS CHECKED.IF YOU ARE GOING TO USE THIS MODULE, PLEASE REVIEW THE CODE FIRST,OR ASK A SECURITY EXPERT TO DO SO.IntroductionThe hashfish python module allows you to easily use salted HMACs for data hashing. It acts as a simple "wrapper" for some of the functions in the hmac module from the standard library. Hashfish allows you to hash data and check the hashes using a quick and easy implementation; one function is for hashing, one for generating secure salt, and one function is for checking (+ one for testing).UsageThe usage for hashfish is simple; an example script is shown below:import hashfishmsg = 'Hello, world!' # Messagekey = 'Some key...' # Key/Passwordslt = hashfish.new_salt() # Length of choice may be used by changing the length keyword argument. Default is 16 characters long.dmd = 'sha256' # Algorithm to use. See hmac.new(...).mac = hashfish.new_salty_hmac(msg, key, slt, dmd) # Actually create the HMAC.print(verify_salty_hmac(mac, msg, key, dmd)) # Test if verified. Should return [bool] True.Technical ⚙️TestingIn order to test the module, either run as main or callhashfish.test().The test code is pretty much the same as the example code.CreditsCredits go to:Pigeon Nation :]
Package: hashflow-python
Install Packagespip install hashflow-pythonExample UsageInitialize the clientfromhashflow.clientimportClient# create a new client with a private key (string or bytearray)hflow=Client(private_key='0x4f3edf983ac636a65a842ce7c78d9aa706d3b113bce9c46f30d7d21715b23b1d',network_id=1,node='https://mainnet.infura.io/v3/00000000000000000000000000000000')Interacting with the protocol# set eip 1559 gas fees. in options. Nonce is optional and only needed if resubmitting a tx.options={'maxFeePerGas':500000000000,'maxPriorityFeePerGas':5000000000,'nonce':11}# create a new hashflow poolhflow.main.factory.create_pool(name='hash42',signer=signer,admin=admin,options=options)# fetch pool addresses deployed using operations keyhflow.main.factory.pools(operations,options)# set hashflow allowancehflow.main.erc20.set_maximum_allowance(token,options)# check allowancehflow.main.erc20.allowance(token,owner,spender,options)# To add Eth liquidity set token address to zero addresshflow.main.router.add_liquidity_private_pool(pool,token,amount,options)hflow.main.router.add_liquidity_public_pool(pool,token,amount,options)# Optionally pass binance account address to transfer funds directlyhflow.main.router.remove_liquidity_private_pool(pool,token,amount,recipient=binance,options)# To remove liquidity from public pools LPs must burn native h-tokenshflow.main.router.remove_liquidity_public_pool(pool,token,burn_amount,options)# Transfer assets to CeFi venues to rebalancehflow.main.pool.transfer_assets(pool,token,recipient,amount,options)# generate quotequote=utils.Quote(pool,eoa,trader,effective_trader,base_token_address,quote_token_address,base_token_amount,quote_token_amount,fees,expiry,flag,txid,k_value,trade_eoa)# hash quotequote_digest=hflow.main.hash_quote(quote)# hash quote for EOAquote_digest=hflow.main.hash_quote_eoa(quote)# sign quotesigned_quote=utils.sign_digest(quote_digest,signer_private_key)# trade#effective_base_token_amount is optional arg if you wanna do routing.hflow.main.router.trade_single_hop(quote,signed_quote,effective_base_token_amount,options)
Package: hashflow-taker-sdk
Python Hashflow Taker APIUses theaiohttppython library.Setuppipinstall-rrequirements.txtRunning basic testpython-mhashflow.apiRunning unit testspytestBuilding Instructionspython3-mpipinstall--upgradebuild
python3-mbuildPublishing Instructionspython3-mpipinstall--upgradetwine
python3-mtwineupload--repositorytestpypidist/*
Package: hashID
Identify the different types of hashes used to encrypt data and especially passwords.This tool replaceshash-identifier, which
is outdated!hashID is a tool written in Python 3 which supports the
identification of over 220 unique hash types using regular expressions.
A detailed list of supported hashes can be foundhere.It is able to identify a single hash, parse a file or read multiple
files in a directory and identify the hashes within them.
hashID is also capable of including the correspondinghashcatmode and/orJohnTheRipperformat in its output.hashID works out of the box with Python 2 ≥ 2.7.x or Python 3 ≥ 3.3 on any platform.Note: When identifying a hash on *nix operating systems use single
quotes to prevent interpolationInstallationYou can install, upgrade, uninstall hashID with these commands:$pipinstallhashid$pipinstall--upgradehashid$pipuninstallhashidOr you can install by cloning the repository:$sudoapt-getinstallpython3git$gitclonehttps://github.com/psypanda/hashid.git$cdhashid$sudoinstall-g0-o0-m0644doc/man/hashid.7/usr/share/man/man7/$sudogzip/usr/share/man/man7/hashid.7Alternatively you can grab the latest releasehere.Usage$./hashid.py[-h][-e][-m][-j][-oFILE][--version]INPUTParameterDescriptionINPUTinput to analyze (default: STDIN)-e, –extendedlist all hash algorithms including salted passwords-m, –modeshow corresponding hashcat mode in output-j, –johnshow corresponding JohnTheRipper format in output-o FILE, –outfile FILEwrite output to file (default: STDOUT)–helpshow help message and exit–versionshow program’s version number and exitScreenshot$./hashid.py'$P$8ohUJ.1sdFw09/bMaAQPTGDNi2BIUt1'Analyzing '$P$8ohUJ.1sdFw09/bMaAQPTGDNi2BIUt1'
[+] Wordpress ≥ v2.6.2
[+] Joomla ≥ v2.5.18
[+] PHPass' Portable Hash$./hashid.py-mj'$racf$*AAAAAAAA*3c44ee7f409c9a9b'Analyzing '$racf$*AAAAAAAA*3c44ee7f409c9a9b'
[+] RACF [Hashcat Mode: 8500][JtR Format: racf]$./hashid.pyhashes.txt--File 'hashes.txt'--
Analyzing '*85ADE5DDF71E348162894C71D73324C043838751'
[+] MySQL5.x
[+] MySQL4.1
Analyzing '$2a$08$VPzNKPAY60FsAbnq.c.h5.XTCZtC1z.j3hnlDFGImN9FcpfR1QnLq'
[+] Blowfish(OpenBSD)
[+] Woltlab Burning Board 4.x
[+] bcrypt
--End of file 'hashes.txt'--Resourceshttp://pythonhosted.org/passlib/index.htmlhttp://openwall.info/wiki/johnhttp://openwall.info/wiki/john/sample-hasheshttp://hashcat.net/wiki/doku.php?id=example_hashes
Package: hashily
hashily 0.0.6hashily is a python module that performs a variety of text decoding and encoding functions. It also various functions for encrypting and decrypting text using various ciphers.PyPi:https://pypi.org/project/hashilyDocs:https://hashily.readthedocs.io/en/latest0UpdatesAdded new functions:pigLatinChangeIntegerclass's name toASCIIBug Fixes1InstallationYou may use pip or a similar tool to install latest versions of hashily from the PyPi. To Install the Module -Install the Stable Version:# Linux/macOS
python3 -m pip install -U hashily

# Windows
py -3 -m pip install -U hashilyInstall the Beta Version:pip install git+https://github.com/MystYT-21/hashily.git2UsageTo import the Module, you can do like this ->>>importhashily2.1Examples>>>importhashily# Use the .encode() function to Encode the Text>>>print(hashily.Caesar.encode("Hey"))'Khb'# Use the .decode() function to Decode the Text>>>print(hashily.Caesar.decode("Khb, Krz duh brx?"))'Hey, How are you?'>>>print(hashily.Octal.encode("Good! You?"))'107 157 157 144 41 40 131 157 165 77'>>>print(hashily.Octal.decode("111 40 141 155 40 147 157 157 144 40 164 157 157 40 72 51"))'I am good too :)'3Available FunctionsThe following functions are currently available:CiphersEncodingTransformROT13BinaryreverseAtBashHexadecimaltitlelizeBaconOctalpasswordA1Z26ASCIItokenCaesarUrlEncodingaltCaseMorseCodeUnicodePointfirstLetter-Base32pigLatin4FeedbackIf you have any feedback, please reach out to us at ourDiscordShow some love to these guys!A special thanks to them; they helped me a lot throughout this entire project.[Co-Dev]oliii[Co-Dev]ThuliumitationAnd if you are still reading this, I hope you have a wonderful day.
Package: hashish
Hashish=======A simple mixin that provides password hashing functionality.  It uses aconfigurable salt count to set a field.  It is designed to be easy to usein most instancesExample Usage with SqlAlchemy-----------------------------:::pythonclass Account(Base,HashishMixin):__PASSWORD_FIELD__ = "password_hash"  # Defaults to "hash"__SALT_COUNT__ = 4  # Defaults to 2password_hash = Column(String)test_account = Account()test_account.password = "SuperSecretPasswordYo!"test_account.validate("SuperSecretPasswordYo!")  # True if the hashes match using the same salt.Initial Release
Package: hashit
Project is hosted onpypiandlaunchpadHashit, an hashing applicationDescriptionHashit, is an hashing application used as an verification tool, intendet to replace the “standard” linux hashing utilities such as
md5sum, sha1sum and so on. One of the main reasons why this program was develop was to create an easy-to-use command line tool for
newcomers and professionals alike to hash/verify files and other data. For more see our homepage atcjavad.github.io/hashitWhat is this magic (hashing)Hashing - The Greatest Idea In ProgrammingA quote fromhere, which i think sums up the hole thing pretty well.
Even though, that stament is purely opinion based, i still thing there is some weigth in it, because you can do so many things with “hashing”.
First of all the concept of hashing is that you can, with an matematical algorithm generate a string that is unique to that piece of data, but
you cannot turn that string into the data again, this is done by generating a string which size is constant (or at least not changing from data to data).
And this is actually extreamlly useful, because this enables you to generate a string that is smaller than the original while still being totally unique,
this can be using in databases for bigdata where you can create a lookup table without needing to use the hole amount of data, it can also be used to verify data
such as passwords and file-checksums, which by the way is what this program is. I use the standard python hashes libary hashlib, which comes with most versions of
python, some function like crc32 are from other libaries, i use these to hash some files and store the results in a checksum-file, which can be read back and check
if the files have changed, this is very important when it comes to packaging, and other critical files, were one must be absoulutly sure that the file has not
been changed, because if it has it could be due to corruption or infection of some kind of malware, so by making sure that the package is the same as the original.
Some file systems use these hashes to make sure that the files havn’t been alteret externally.For more seedocs/hashesand thewikipedia pageBackgroundHashit is an hashing program which can be uses to hash and verify
muliple files on a system. I got the idea from an ubuntu iso image which
have this hash table, so i got the idea to make such a program using
python.I also found that the linux ‘standard’ hashing commands was named like this:md5sumsha1sumsha256sumcksumsumhashname + sum, which i thougth was a pretty lame naming convention.Notice:some hashes as blake2b and blake2s is not supported in python2.I would recommend python3 for this program as its version of hashlib
supports sha3 (Keccak)And for compatibly reasons does detect not work for sha3 yet. so basicly to many confusions between sha2 and sha3BSD can be useful with the -A –append because then multiple diffrent hashtypes can be stored
in the same file, good for multi-sized file validation. (remember -m)UsageSeedocs/usageChangelogSeedebian/changelogWorks with python2 and python3. (python3 is recommended)
Package: hashitaggi
Get related hashtagsTested against Windows 10 / Python 3.10 / Anacondapip install hashitaggifromhashitaggiimportget_hashtagsdf=get_hashtags(hashtags=['jiujitsu','bjj'],opera_browser_exe=r"C:\Program Files\Opera GX\opera.exe",opera_driver_exe=r"C:\ProgramData\anaconda3\envs\dfdir\operadriver.exe",userdir=r"C:\operabrowserprofile2",)print(df)
Package: hashkernel
hashkernelKernel to build and run python code inside hashstoreInstallationpipinstallhashkernelSetup dev environment with conda## Cleanup old environments.deactivate
condaenvremove-nhk36
condaenvremove-nhk37## Create envscondacreate-y-nhk36python=3.6
condacreate-y-nhk37python=3.7
.activatehk37
pipinstall-e.[dev].deactivate
.activatehk36
pipinstall-e.[dev]##run smoke test watchersniffer
Package: hashlib
Provides the SHA-224, SHA-256, SHA-384, SHA-512 hash algorithms in addition to
platform optimized versions of MD5 and SHA1.  If OpenSSL is present all of its
hash algorithms are provided.This is a stand alone packaging of the hashlib library included with Python 2.5
so that it can be used on older versions of Python (tested on 2.3 and 2.4).
Package: hashlib-additional
HASHLIB-ADDITIONAL - ADDITIONAL HASHLIB-COMPATIBLE HASHING DIGESTShttps://pypi.org/project/hashlib-additional/https://github.com/rfinnie/python-hashlib-additionalAboutThis module packages several additional hashing digests in a
hashlib-compatible format. It implements the following digests:null - Always outputs null byte “hashes”, with a configurable
digest_sizerandom - Always outputs random “hashes”, with a configurable
digest_sizecrc32 - CRC32 digest, 4 byte digest_sizeadler32 - Adler-32 digest, 4 byte digest_sizefletcher16 - Fletcher 8-bit implementation, 2 byte digest_sizefletcher32 - Fletcher 16-bit implementation, 4 byte digest_sizefletcher64 - Fletcher 32-bit implementation, 8 byte digest_sizecksum - Unix cksum checksum, 4 byte digest_sizesysv - Unix System V checksum, 2 byte digest_sizebsd - BSD checksum, 2 byte digest_sizeudp - UDP checksum, 2 byte digest_sizetwoping - 2ping checksum, 2 byte digest_sizeUnless stated, all digest outputs are big-endian (network byte order).“sysv”, “bsd” and “cksum” results are just the hash (in byte form), even
though technically the full checksum (as returned by “sum” and “cksum”)
is comprised of the decimal hash and input length, separated by a space.Example>>> import hashlib_additional
>>> digest = hashlib_additional.new('crc32')
>>> digest.update(b'foo')
>>> digest.hexdigest()
'8c736521'>>> hashlib_additional.algorithms_available
{'adler32', 'bsd', 'cksum', 'crc32', 'fletcher16', 'fletcher32',
 'fletcher64', 'null', 'random', 'sysv', 'twoping', 'udp'}>>> digest = hashlib_additional.twoping(b'bar')
>>> digest.digest()
b'+\x9e'LicenseCopyright (c) 2019-2020 Ryan FinniePermission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the
“Software”), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Package: hashlist-NickNackGus
HashListThis is a package for a list that can display the minimal differences between instances of this type.This is best demonstrated with Python's go-to metasyntatic values:menu=[HashList(['egg','bacon']),HashList(['egg','sausage','bacon']),HashList(['egg','spam']),HashList(['egg','bacon','spam']),HashList(['egg','bacon','sausage','spam']),HashList(['spam','bacon','sausage','spam']),HashList(['spam','egg','spam','spam','bacon','spam']),HashList(['spam','spam','spam','egg','spam']),HashList(['spam','spam','spam','spam','spam','spam','baked beans','spam','spam','spam','spam']),HashList(['lobster thermidor aux crevettes with a mornay sauce, garnished with truffle pâté and a fried egg on top','spam'])]# Headerend=', 'foriinrange(len(menu)):ifi==len(menu)-1:end=': 'print('Combo{}'.format(i),end=end)print("Item")print("-"*100)# Table of indiciesforentryinmenu[0].diff(menu[1:]):end=', 'foriinrange(len(entry['matches'])):match=entry['matches'][i]ifi==len(entry['matches'])-1:end=': 'print('{!r:>7}'.format(match),end=end)print(entry['item'])Output:Combo 0, Combo 1, Combo 2, Combo 3, Combo 4, Combo 5, Combo 6, Combo 7, Combo 8, Combo 9: Item
----------------------------------------------------------------------------------------------------
      0,       0,       0,       0,       0,    None,       1,       3,    None,    None: egg
      1,       2,    None,       1,       1,       1,       4,    None,    None,    None: bacon
   None,       1,    None,    None,       2,       2,    None,    None,    None,    None: sausage
   None,    None,       1,       2,       3,       0,       0,       0,       0,       1: spam
   None,    None,    None,    None,    None,       3,       2,       1,       1,    None: spam
   None,    None,    None,    None,    None,    None,       3,       2,       2,    None: spam
   None,    None,    None,    None,    None,    None,       5,       4,       3,    None: spam
   None,    None,    None,    None,    None,    None,    None,    None,       4,    None: spam
   None,    None,    None,    None,    None,    None,    None,    None,       5,    None: spam
   None,    None,    None,    None,    None,    None,    None,    None,       6,    None: baked beans
   None,    None,    None,    None,    None,    None,    None,    None,       7,    None: spam
   None,    None,    None,    None,    None,    None,    None,    None,       8,    None: spam
   None,    None,    None,    None,    None,    None,    None,    None,       9,    None: spam
   None,    None,    None,    None,    None,    None,    None,    None,      10,    None: spam
   None,    None,    None,    None,    None,    None,    None,    None,    None,       0: lobster thermidor aux crevettes with a mornay sauce, garnished with truffle pâté and a fried egg on top
Package: hashmerge
hashmerge: a Python library to merge deep hasheshashmerge is a port of the excellent Perl moduleHash::Mergewritten by Jens Rehsack.It merges two arbitrarily deep hashes into a single hash. That
is, at any level, it will add non-conflicting key-value pairs from one
hash to the other, and follows a set of specific rules when there are key
value conflicts (as outlined below).  The hash is followed recursively,
so that deeply nested hashes that are at the same level will be merged
when the parent hashes are merged. Please note that self-referencing
hashes, or recursive references, are not handled well by this method.Values in hashes are considered to be either lists or tuples (ARRAY),
dictionaries (HASH), or otherwise are treated asSCALARs. By default,
the data passed to the merge function will be cloned using thecopy.deepcopymethod; however, if necessary, this behavior can be changed to use as many of
the original values as possible, usingset_clone_behavior.Because there are a number of possible ways that one may want to merge
values when keys are conflicting, hashmerge provides several preset
methods for your convenience, as well as a way to define you own.These are (currently):Usageimport hashmerge
    merger = hashmerge.HashMerge()
    print(merger.merge({'d': 123, 'l': [1]}, {'e': 456, 'l': [2]}))

    merger2 = hashmerge.HashMerge(hashmerge.RIGHT_PRECEDENT)
    print(merger2.merge({'d': 123, 'l': [1]}, {'e': 456, 'l': [2]}))Left PrecedenceThis is the default behavior.The values buried in the left hash will never
be lost; any values that can be added from the right hash will be
attempted.Right PrecedenceSame as Left Precedence, but with the right
hash values never being lostStorage PrecedenceIf conflicting keys have two different
storage mediums, the 'bigger' medium will win; arrays are preferred over
scalars, hashes over either.  The other medium will try to be fitted in
the other, but if this isn't possible, the data is dropped.Retainment PrecedenceNo data will be lost; scalars will be joined
with arrays, and scalars and arrays will be 'hashified' to fit them into
a hash.NotesNow you can safely abandon Perl.
Package: hashnode
HashnodeThis is a wrapper around the hashnode GraphQL API using python.docs :hereDependeniesPython 3.8 (but could work with older versions >3.4)requestsgraphql-coregql installation:pip install --pre gql[all]This implements a hasnode class that could be used as suchhashnode=Hashnode("myapitoken")hashnode.get_feed("COMMUNITY")# a response object containing your feed for the community sectioninstallationpipinstallhashnodeMade by Josias Aurel (me)Contributors welcome
Package: hashnode-py
Hashnode_Pyhashnode_pyis a Python package designed to interact with the Hashnode GraphQL API. With this library, you have the ability to publish, update, or delete your articles and drafts. Additionally, it offers various functionalities to seamlessly interact with your publication directly from your code.FeaturesPublish, Update, and Delete Articles/DraftsGet your hashnode data including: posts, publications, followers, subscriptions and many moreAccess your feed posts and apply filtersInstallationInstall hashnode_py with pippipinstallhashnode-pyUsage/ExamplesFirst get your Hashnode Personal Access Token fromhereThen jump in to your codefromhashnode_pyimportHashnodeClientclient=HashnodeClient("...ad0a")Publish New Articlepublication=client.get_publication("<YOUR_BLOG_DOMAIN_NAME>")print(publication.publish_post(title="this is test title",content="this is a test content",tags_slug=[{"slug":"test","name":"Test"}]))The message will be displayed indicating that the post has been successfully published, along with the post's ID.Update The Articlepost_id="POST_ID"print(publication.update_post(post_id=post_id,title="[UPDATE] this is test title"))The message will be displayed indicating that the post has been successfully updated, along with the post's ID.Delete The Articleprint(publication.remove_post(post_id=post_id))The message will be displayed indicating that the post has been successfully removed, along with the post's ID.Publish Draftdraft=publication.get_drafts()[0]print(publication.publish_draft(draft_id=draft.id))The message will be displayed indicating that the draft has been successfully published, along with the post's ID.LicenseMITContributingContributions are always welcome!
Package: hash-ocr
hash-ocrAn ocr designed to read in game textsInstallationYou can install the package via pip:pipinstallhash-ocrUsageimportcv2fromhash_ocrimportcompute_distancesfromhash_ocrimportget_wordimg=cv2.imread("test_data/382.png",cv2.IMREAD_GRAYSCALE)img=cv2.threshold(img,128,255,cv2.THRESH_BINARY)[1]print(get_word(img))# 382fordincompute_distances(img):print(d)# [('3', 24.0), ('8', 66.0), ('2', 74.0), ('7', 77.0), ...]# [('8', 24.0), ('6', 60.0), ('0', 62.0), ('3', 68.0), ...]# [('2', 20.0), ('3', 70.0), ('1', 76.0), ('7', 85.0), ...]LicenseThis project is licensed under the terms of the MIT license.ContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.ContactIf you want to contact me you can reach me atpradishbijukchhe@gmail.com.