semvec/pypi-packages huggingface dataset:
python-todo-comments 0.3.0
A cli that will search for and parse TODO comments in a directory's python modules.
License: MIT
Requires Python: >=3.7,<4.0

# Python # TODO:  


This project provides a cli that takes a directory as an argument, and returns the `# TODO:` comments from all the python modules under that directory.

It will output in a markdown-friendly way, and is meant as a repeatable way to keep on top of all of the little todos that are peppered throughout a project.


## Installation

`pip install python-todo-comments`



## Usage

The basic command is `py-todos` combined with the following arguments:

- No argument: will search and parse the current working directory
- `-d` or `--dir` will search and parse the directory provided
- `-o` or `--output` will write the output to the provided filename
- `-h` or `--help` will provide the command's help context
HowMonoPy 0.3
A Python wrapper for the c library from how-monochromatic.
License: MIT

# HowMonoPy

A Python wrapper for the c library from [how-monochromatic](https://github.com/SebTee/how-monochromatic).

#### If you need to cite this software, please cite the [how-monochromatic repository](https://github.com/SebTee/how-monochromatic) that this code wraps.

Currently supports Linux and Windows.

## Example

See the [how-monochromatic ParseBCG documentation](https://sebtee.github.io/how-monochromatic/how-monochromatic-0.1.0.0/ParseBCG.html#v:parse) for the input string format.

### Code

```python
import HowMonoPy

g = "1 green 2 green 1 0\n" \
    "1 blue 3 blue 1 0 \n" \
    "1 red 4 green 0 1 \n" \
    "1 red 6 red 1 0 \n" \
    "2 red 3 red 1 0 \n" \
    "2 blue 5 blue 1 0 \n" \
    "3 green 4 green 1 0 \n" \
    "3 green 6 red 0 1 \n" \
    "4 red 5 red 1 0 \n" \
    "4 red 6 green 0 1 \n" \
    "4 blue 6 blue 1 0 \n" \
    "5 green 6 green 1 0 "

print(HowMonoPy.how_mono(g))

```

### Output

```
0.5
```