semvec/pypi-packages huggingface dataset:
keyppc 0.0.1
A simple library to bind your mouse and keyboard.
Requires Python: >=3.7

# keyppc Documentation

##### _PFPC(password, savepath, exceptions)_

|_argument_|_optional_|_default_|_available_|
|---|---|---|---|
|password|_no_| | [ string type ] |
|savepath|_yes_|"./"| [ string type ]|
|exceptions|_yes_|[]| [ list-pynput-key type ]|
|penalty|_yes_|"start chrome.exe"| [ string type ]|

##### Example of using this library

    from keyppc.keyppc import PFPC
    from pynput.keyboard import KeyCode, Key
    exceptions = [Key.esc, Key.ctrl, Key.end, KeyCode(char = 'o')]
    savepath = "./"
    password = "abcdefg"
    penalty = "start chrome.exe"
    PFPC(
      password = password,
      savepath = savepath,
      exceptions = exceptions,
      penalty = penalty
    ).run(chances = 5, verbose = True)
obsidianhtml-md-mermaid-fork 0.1.5
Bugfix special characters of md_mermaid, because the dev doesn't want to fix the bug.

# md_mermaid
> This is a fork that we had to make to publish ObsidianHTML without the bug in the original md_mermaid package. The rest of this readme comes from there.

mermaid extension for Python-Markdown to add support for mermaid graph inside markdown file

## Installation

For `pip` installation (only python version >=3.x) :

~~~shell
pip install markdown
pip install md-mermaid
~~~

## Usage

In your python script :

~~~python
import markdown

text = """
# Title

Some text.

​~~~mermaid
graph TB
A --> B
B --> C
​~~~

Some other text.

​~~~mermaid
graph TB
D --> E
E --> F
​~~~
"""

html = markdown.markdown(text, extensions=['md_mermaid'])

print(html)
~~~

Output will result in :

~~~html
<h1>Title</h1>
<p>Some text.</p>
<div class="mermaid">
graph TB
A --> B
B --> C
</div>

<p>Some other text.</p>
<div class="mermaid">
graph TB
D --> E
E --> F
</div>

<script>mermaid.initialize({startOnLoad:true});</script>

~~~

The `<script>...</script>` line appears only once even if there are several graphs in the file.

> Note that the extension name have a '_' not a '-'.

> Attention : don't forget to include in your output html project the two following mermaid files :
>
> * mermaid.css (optional, can be customised)
> * mermaid.min.js (can be download here [here](https://unpkg.com/mermaid@8.1.0/dist/))