semvec/pypi-packages huggingface dataset:
mechanical-markdown 0.7.0
Run markdown recipes as shell scripts
License: MIT

# Mechanical Markdown

[![PyPI version](https://badge.fury.io/py/mechanical-markdown.svg)](https://badge.fury.io/py/mechanical-markdown)
[![codecov](https://codecov.io/gh/dapr/mechanical-markdown/branch/main/graph/badge.svg)](https://codecov.io/gh/dapr/mechanical-markdown)

If you are using markdown to create tutorials for your users, these markdown files will often be a series of shell commands that a user will copy and paste into their shell of choice, along with detailed text description of what each command is doing.

If you are regularly releasing software and having to manually verify your tutorials by copy pasting commands into a terminal every time you create a release, this is the package for you.

The mechanical-markdown package is a Python library and corresponding shell script that allow you to run annotated markdown tutorials in an automated fashion. It will execute your markdown tutorials and verify the output according to expected stdout/stderr that you can embed directly into your markdown tutorials. 

# Installing 

This package requires a working python3 environment. You can install it using pip:

```bash
pip install mechanical-markdown
```

This will install the Python module, and create the ```mm.py``` CLI script.

# Quick Start

Check out the [examples](./examples) for some quick and easy examples.

# Usage

## CLI

A command line utility called ```mm.py``` is included with this package.

```bash
% mm.py --help
usage: mm.py [-h] [--dry-run] [--manual] [--shell SHELL_CMD] markdown_file

Auto validate markdown documentation

positional arguments:
  markdown_file

optional arguments:
  -h, --help            show this help message and exit
  --dry-run, -d         Print out the commands we would run based on markdown_file
  --manual, -m          If your markdown_file contains manual validation steps, pause for user input
  --shell SHELL_CMD, -s SHELL_CMD
                        Specify a different shell to use
```

## API

Creating a MechanicalMarkdown instance from a string which contains a markdown document:
```python
from mechanical_markdown import MechanicalMarkdown

mm = MechanicalMarkdown(markdown_string, shell="bash -c")
```

MechanicalMarkdown methods 

```python
# Returns a string describing the commands that would be run
output = mm.dryrun()
print(ouput)

# Run the commands in the order they were specified and return a boolean for succes or failure
# Also returns a report summarizing what was run and stdout/sterr for each command
success, report = exectute_steps(manual, validate_links=False, link_retries=3)
print(report)


```

# Contributing

Issues and contributions are always welcome! Please make sure your submissions have appropriate unit tests (see [tests](tests/)).

This project was created to support [dapr/quickstarts](https://github.com/dapr/quickstarts). We're sharing it with the hope that it might be as usefull for somebody else as it was for us.
makaonion 0.0.3
Dot-Onion Services Manager Client
License: MIT
Requires Python: >=3.7
Keywords: tor,hosting,onion,hidden,services

## **Onion - Dot-Onion and hidden services manager and client** 
---
Dot-Onion provides a client for fast and easy Hidden services management. Helps in controlling services in one session.
<br>    

### **Installation**
```bash
pip install dot-onion
```

<br>

### **OS Support**
- Linux

---
### **SORRY😥, DOCUMENTATION NOT AVAILABLE YET❗*



# **:- Change Log -:**

> **0.0.1** -- [ 13 JUNE 2023 ]  
> [ NOTICE ]  
> [ ! ] - Initial Release
ve-power-meter 0.1.0
Power meeasurement tool for the NEC Vector Engine
License: MIT

# ve-power-meter

Power measurement tool for NEC Vector Engine

## Installation

```
pip install ve-power-meter
```

## Usage

```
$ ve-power-meter
timestamp,power.draw,temperature.core,temperature.memory
2023/06/13 12:15:10.275,47.04,45,40
2023/06/13 12:15:11.292,47.04,45,40
2023/06/13 12:15:12.309,47.01,45,40
2023/06/13 12:15:13.326,47.01,47,44
2023/06/13 12:15:14.342,145.38,49,50
2023/06/13 12:15:15.358,173.39,50,50
2023/06/13 12:15:16.373,173.39,51,52
2023/06/13 12:15:17.390,170.48,51,53
2023/06/13 12:15:18.405,170.48,51,54
2023/06/13 12:15:19.421,177.39,52,54
```

### Notes:

- `vecmd` must be available at `/opt/nec/ve/mmm/bin/vecmd` (tested with mmm v1.3.78).
- Metrics are printed out every second.
- `temperature.core` is the average temperature of all cores (Celsius).
- `temperature.memory` is the average temperature of all HBM modules (Celsius).
- `power.draw` is `AUX 12V V * AUX 12V C + Edge 12V V * Edge 12V C` (Watts).
dot-onion 0.0.2
Dot-Onion Services Manager Client
License: MIT
Requires Python: >=3.7
Keywords: tor,hosting,onion,hidden,services

## **Onion - Dot-Onion and hidden services manager and client** 
---
Dot-Onion provides a client for fast and easy Hidden services management. Helps in controlling services in one session.
<br>    

### **Installation**
```bash
pip install dot-onion
```

<br>

### **OS Support**
- Linux

---
### **SORRY😥, DOCUMENTATION NOT AVAILABLE YET❗*



# **:- Change Log -:**

> **0.0.1** -- [ 13 JUNE 2023 ]  
> [ NOTICE ]  
> [ ! ] - Initial Release
gauth 1.0.8
Tool to help migrate Google Authenticator from phone to desktop
License: MIT
Requires Python: >=3.6

GAuth
====

Command Line tool to migrate Google Authenticator from phone to desktop.

# How to use it

`pip install gauth` and check the help using `gauth -h`.

## Installation of optional shared system libraries

For reading QR codes with `ZBAR` QR reader, the zbar library must be installed.
If you do not use the `ZBAR` QR reader, you do not need to install the zbar shared library. Note: The `ZBAR` QR reader is the showed for me the best results and is thus default QR Reader.

For a detailed installation documentation of [pyzbar](https://github.com/NaturalHistoryMuseum/pyzbar#installation).

### Linux (Debian, Ubuntu, …)

    sudo apt-get install libzbar0

### Linux (OpenSUSE)

    sudo zypper install libzbar0

### Linux (Fedora)

    sudo dnf install zbar

### Linux (Arch Linux)

    pacman -S zbar

### Mac OS X

    brew install zbar

### Windows

#### zbar

The zbar DLLs are included with the Windows Python wheels. However, you might need additionally to install [Visual C++ Redistributable Packages for Visual Studio 2013](https://www.microsoft.com/en-US/download/details.aspx?id=40784). Install `vcredist_x64.exe` if using 64-bit Python, `vcredist_x86.exe` if using 32-bit Python. For more information see [pyzbar](https://github.com/NaturalHistoryMuseum/pyzbar)

# Release

```
pip install --upgrade twine
python setup.py sdist
twine upload dist/*
```
# YAML example

```
---
keys:
  - Name:    TEST1
    Secret:  1234567
    Issuer:  ABC
    Type:    totp

  - Name:    TEST2
    Secret:  1234455
    Issuer:  CDE
    Type:    totp
```

# Reference

[extract_otp_secrets v2.4.3](https://github.com/scito/extract_otp_secrets)