Skip to main content
Hashish
=======

A simple mixin that provides password hashing functionality. It uses a
configurable salt count to set a field. It is designed to be easy to use
in most instances

Example Usage with SqlAlchemy
-----------------------------

:::python
class Account(Base,HashishMixin):
__PASSWORD_FIELD__ = "password_hash" # Defaults to "hash"
__SALT_COUNT__ = 4 # Defaults to 2

password_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

Metadata

Release files for hashish 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hashish 0.1.1
File Size Uploaded Provenance
hashish-0.1.1.tar.gz 2.2 kB Without provenance Details

Release files / hashish-0.1.1.tar.gz

Download URL hashish-0.1.1.tar.gz
Size 2.2 kB
Tags Source
SHA-256 checksum
How to use checksums
542363cc0d62d1363aa93f93a69670d9c3c60c508e4fbfda57d712db8740e1a4
BLAKE2b-256 checksum
How to use checksums
8a8af86337e6ae5c75b5f37c10de757062a687030b9b08269faad15ace75c96c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for hashish 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page