semvec/pypi-packages huggingface dataset:
ASCII-art-tool 1.0.1
The ASCII art tool is a simple library to generate ASCII art from regular images.
License: MIT

# ascii_art
The ascii_art is an open-source library that helps you convert any image into an ASCII-art text file.

## How to get it ?
The ascii_art is a python package that you can simply install using the following command:
```
pip install ASCII-art-tool
```
## How to use it ?
To use our library in your code, you need to import it and intialize it, that's all. It's easy !
```
## Import the library
from ascii_art import generator

## Declaring the path of the input file and the output
input = "C:/Users/default/Desktop/image.jpg"
output = "./ascii_art.txt"

## Intialize an instance of the library
instance = generator.Generator(input=input, output=output)

## Execute the art 
instance.execute()
```
text-prepender 0.1.0
Add text (like legal text) to the top of code without breaking it.
License: MIT
Requires Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*

<!--
Copyright 2021 Arun Donti
SPDX-License-Identifier: MIT
-->
# Text Prepender

[![PyPI version](https://badge.fury.io/py/text-prepender.svg)](https://badge.fury.io/py/text-prepender)

Created in mind to add Legal Text to the top of code

text-prepender recursively goes through a specified directory/list of files, and adds text to the top of supported filetypes.
If there is a filetype that you want to add/know how to add, please make a pull request!

### Parameters

Optional parameters:

| Command Line         | Input                | Description                                                                  |
| -------------------- | -------------------- | ---------------------------------------------------------------------------- |
| -h, --help           |                      | Get description of text-prepender                                            |
| -p, --path           | dirpath              | The path to the directory which text-prepender will start at (default: '.')  |
| -t, --text-file      | filepath             | The path to the file which text-prepender will start at (default: NOTICE)    |
| -i, --extra-ignores  | space delimited list | Additional file paths/names to ignore. Ex. (-i file1 path1 path2)            |
| -v, --enable-verbose |                      | Flag to turn on verbose logging to list skipped files at the end             |

## To Run:

```bash
# run on all files in current directory
text-prepender
# text-prepender --path path/to different directory
```

or

```bash
# run on a specific set of files
text-prepender file1 path/to/file2
```

`text-prepender --text-file path/to/file`

## pre-commit

If you'd like text-prepender to be run automatically when making changes to files in your Git repository, you can install [pre-commit](https://pre-commit.com/) and add the following text to your repositories' `.pre-commit-config.yaml`:

```yaml
  repos:
  - repo: https://github.com/dontirun/text-prepender
      rev: v0.1.0 # The version of text-prepender
      hooks:
      - id: text-prepender
      #  args:
      #    - '--text-file'
      #    - 'NOTICE'
```
## Manual Build

1. Clone the repo
2. Build the package
   - `pip install build`
   - `python -m build`
3. Install the latest version of the package
   - whl
     - `pip install dist/text_prepender-x.x.x-py3-none-any.whl`
   - .tar.gz
     - `pip install dist/text-prepender-x.x.x.tar.gz`

</details>