semvec/pypi-packages huggingface dataset:
easy-pass 0.1
A library to hash passwords and manage them.
License: MIT
Keywords: sha-256hash,password

# Easy_pass

This library I made is for managing hashes and passwords. It is very easy to use and implements the SHA-256 algorithm.
I also made a blog post about this : https://sahalcode.wordpress.com/2021/02/01/easy_pass-for-easy-storage-of-passwords/

# Usage
```
passobject = password_lib.Password(password="password", # hash the word "password"
                                       iters=500000) # hash it using 5000 iterations

passobject.hash # display the word "password"'s hash

validation = password_lib.validate(hash1 = passobject.hash, # is passobject.hash the same as the hash as of "password1"
                                   password = "password1",
                                   iters2 = 500000)
```
lektor-gemini-capsule 0.2
Simple plugin to produce Gemini capsules with lektor.
License: MIT
Keywords: Lektor plugin

# Lektor Gemini capsule

This plugin for Lektor adds support for dual-generation of web and [Gemini][gmi]
content.


## Using this


### Steps

1. Install `lektor-gemini-capsule`
2. Create your templates under `templates/MODEL.gmi`
3. `lektor build` and profit!

Note that if your web server is the same as your Gemini server, you may be able
to copy the whole site once and serve both protocols from the same resulting
directory.
Check your server's documentation.

### Details

In order to install the plugin you can add following to your `.lektorproject`
file:

    [packages]
    lektor-gemini-capsule = 0.2

Or follow the [official plugin instructions][lektorplugins].


## How it works

This plugin generates a corresponding `index.gmi` whenever Lektor generates an
`index.html` file.

It does so by reusing the one model <--> one template concept, so you will have
to create a template for each model.


## Disabling Gemini for specific models

If you would like to skip Gemini generation for a specific model, you can use
following in your model's `.ini`:

    [fields._skip_gemini]
    type = boolean
    default = True


## The `md2gemini` Jinja filter

This plugin defines an `md2gemini` Jinja filter, but by default it just passes
the text as it is defined.

This limitation is due to an incompatibility between md2gemini and Lektor when
it comes to a common dependency called mistune (the Markdown parser).

This filter is defined and its use is encouraged in the hope that this
incompatibility is solved soon and the resulting Gemini capsules are more
Gemini-friendly without any added effort.

[lektorplugins]: https://www.getlektor.com/docs/plugins/
[gmi]: https://gemini.circumlunar.space/