semvec/pypi-packages huggingface dataset:
l298pwm 0.0.2
A module to assist in controlling an L298N H-Bridge motor driver including speed control via pwm.
Keywords: l298n,motor,robot,raspberry pi,pi

# l298pwm Module
This module is designed to be used with three GPIO pins on the Raspberry Pi.
The enable pin sets the speed and the other two the direction
This module also allows to change the direction of the motor rotation in case forward and backward are reversed

## Usage
First, create an instance of l298pwm using 3 GPIO pin numbers from the raspberry pi as
attributes. Use the GPIO number as opposed to the board number.

attributes are in following order: enable pin, pin 1, pin 2, direction
most l298n board name them: ena, in1, in2

direction takes a value 0 or 1 to swap directions

```python
from l298pwm import Motor
motor_a = Motor(11, 12, 13, 0)
```

Then, using methods from l298n, a motor can be activated in the desired direction.
you can give a speed in percentage for the forward and backward method between 0 and 100
if no speed is given it will be set to 100, else a pwm signal will be set to lower the speed

```python
motor_a.forward(80)
motor_a.backward()
motor_a.stop()
```

## Contributions
If you see areas for improvement in this module, please submit an issue or
feel free to email me. All contributions are welcome.


01/01/2021: Added direction override

31/12/2020: Added speed control
ankiwictionary 0.0.1
Anki cards generating from Wictionary pages
Keywords: anki card generation wictionary russian

CLI for generating Anki flashcards from wictionary.org pages. **Works only with russian words**.

# ankiwictionary

```
Usage: ankiwictionary [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  gen-cards  Generate flashcards from passed WORDS
  search     Search for the passed WORDS in wictionary
```

## Features

* Generating cloze cards
* Examples processing

## Usage

```commandline
➜  tmp ankiwictionary gen-cards самоопределяться луддит дихотомия привинтивный дискурс конструктивный
Word "самоопределяться" processed successfully
Word "луддит" processed successfully
Word "дихотомия" processed successfully
[Error] Word "привинтивный" not found
Word "дискурс" processed successfully
Word "конструктивный" processed successfully
➜  tmp ankiwictionary search привинтивный
Results for "привинтивный":
➜  tmp ankiwictionary search люмпед
Results for "люмпед": люмпен, люмпен-пролетариат, люмпенизация, люмпен-пролетарий, люмпен-интеллигенция, люмпенский, люмпенизироваться, люмпенизировать, люмпенствовать, люмпен-интеллигент
```

## Important details

* Generated file should be imported to Anki using "Import File" button. Set "Fields separated by" to `~` and activate the "Allow HTML in fields" checkbox.
l298n-speed 0.0.6
A module to assist in controlling an L298N H-Bridge motor driver including speed control via pwm.
Keywords: l298n,motor,robot,raspberry pi,pi

# l298n-speed Module
This module is designed to be used with three GPIO pins on the Raspberry Pi.
The enable pin sets the speed and the other two the direction
This module also allows to change the direction of the motor rotation in case forward and backward are reversed

## Usage
First, create an instance of l298n-speed using 3 GPIO pin numbers from the raspberry pi as
attributes. Use the GPIO number as opposed to the board number.

attributes are in following order: enable pin, pin 1, pin 2, direction
most l298n board name them: ena, in1, in2

direction takes a value 0 or 1 to swap directions

```python
from l298n import motor
motor_a = motor(11, 12, 13, 0)
```

Then, using methods from l298n, a motor can be activated in the desired direction.
you can give a speed in percentage for the forward and backward method between 0 and 100
if no speed is given it will be set to 100, else a pwm signal will be set to lower the speed

```python
motor_a.forward(80)
motor_a.backward()
motor_a.stop()
```

## Contributions
If you see areas for improvement in this module, please submit an issue or
feel free to email me. All contributions are welcome.


01/01/2021: Added direction override

31/12/2020: Added speed control
salt-ttp 0.1.0
SALTSTACK TTP Modules
Requires Python: >=3.6

# SALTSTACK TTP

Repository to store TTP based SALTSTACK modules:

- salt-ttp execution module
- salt-ttp runner module

TTP modules [pull request](https://github.com/saltstack/salt/pull/58754)

## Motivation

[TTP](https://github.com/dmulyalin/ttp) is a library for parsing semi structured text using templates. 

TTP execution and runner modules allow to run commands against minions to obtain text output, parse it using TTP templates and return structured data.

Sample use cases that TTP can help to address:

- reporting across several minions by parsing text output and returning text tables
- transforming text data in structured format for storing in mine
- time series data can be produced using TTP templates and pushed to databases using returners
- compliance testing by parsing text into structured data with further processing and analysis to detect deviations
- Given that text data can be transformed into structured data of arbitrary hierarchy, this modules can significantly expand functionality in the area of minions state analysis and processing.

## Installation

To use TTP execution module make sure to install salt-ttp on minion, to use TTP runner module make sure to install salt-ttp on master. 

From [PyPi distribution](https://pypi.org/project/salt-ttp/0.1.0/):

```
pip install salt-ttp
```

From GitHub repository:

```
python -m pip install git+https://github.com/dmulyalin/salt-ttp
```

To use templates from [TTP templates collection](https://github.com/dmulyalin/ttp_templates), need to install them as well:

```
pip install ttp_templates
```

# How to use

Run commands to explore doc strings for further usage:

```
salt minion-id sys.doc ttp
```