drupal-hash-utility-1.0.0
توضیحات
A hashing utility built from Drupal7 specification.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | Unix |
| نام فایل | drupal-hash-utility-1.0.0 |
| نام | drupal-hash-utility |
| نسخه کتابخانه | 1.0.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Elliott Neal |
| ایمیل نویسنده | elliott.neal@ghostlyhaks.com |
| آدرس صفحه اصلی | https://gitlab.com/thaxoo/drupal_hash_utility |
| آدرس اینترنتی | https://pypi.org/project/drupal-hash-utility/ |
| مجوز | MIT license |
========
Overview
========
A hashing utility built from Drupal7 specification.
* Free software: MIT license
Installation
============
::
pip install drupal-hash-utility
Documentation
=============
To use the project:
.. code-block:: python
import drupal_hash_utility
drash = DrupalHashUtility()
# Read the Help Docs
print(help(drash))
# Generate Drupal7 Hash
password = 'P@ssw0rd'
encoded = drash.encode(password)
# Verify Password Against Hash
drash.verify(password, encoded)
# Get Hash Summary
drash.summary(encoded)
Development
===========
To run the all tests run::
tox
Note, to combine the coverage data from all the tox environments run:
.. list-table::
:widths: 10 90
:stub-columns: 1
- - Windows
- ::
set PYTEST_ADDOPTS=--cov-append
tox
- - Other
- ::
PYTEST_ADDOPTS=--cov-append tox
Changelog
=========
0.3.3 (2019-08-15)
------------------
* First release on PyPI.
1.0.0 (2019-08-16)
------------------
* Added cli.
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl drupal-hash-utility-1.0.0:
pip install drupal-hash-utility-1.0.0.whl
نصب پکیج tar.gz drupal-hash-utility-1.0.0:
pip install drupal-hash-utility-1.0.0.tar.gz