Metadata-Version: 2.1
Name: Python-Charmers
Version: 0.1.0
Summary: A collection of useful python programs.
Home-page: UNKNOWN
Author: Shuto Iwasaki
Author-email: cabernet.rock@gmail.com
License: MIT
Project-URL: Bug Reports, https://github.com/iwasakishuto/PythonUtils/issues
Project-URL: Source Code, https://github.com/iwasakishuto/PythonUtils
Project-URL: Say Thanks!, https://twitter.com/cabernet_rock
Platform: UNKNOWN
Classifier: Development Status :: 1 - Planning
Classifier: Environment :: Console
Classifier: Intended Audience :: Other Audience
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: numpy
Requires-Dist: scipy
Requires-Dist: matplotlib
Requires-Dist: opencv-contrib-python
Requires-Dist: Pillow
Requires-Dist: requests
Requires-Dist: selenium
Requires-Dist: lxml
Requires-Dist: html5lib
Requires-Dist: beautifulsoup4
Requires-Dist: Jinja2
Requires-Dist: numpy-stl
Requires-Dist: moviepy
Requires-Dist: PyMuPDF
Requires-Dist: wcwidth
Requires-Dist: camelot-py
Requires-Dist: python-xlib
Requires-Dist: PyAutoGUI
Provides-Extra: tests
Requires-Dist: pytest ; extra == 'tests'

# Python-Charmers

[![header](https://github.com/iwasakishuto/Python-Charmers/blob/master/image/header.png?raw=true)](https://github.com/iwasakishuto/Python-Charmers)
[![PyPI version](https://badge.fury.io/py/Python-Charmers.svg)](https://pypi.org/project/Python-Charmers/)
[![GitHub version](https://badge.fury.io/gh/iwasakishuto%2FPython-Charmers.svg)](https://github.com/iwasakishuto/Python-Charmers)
![Python package](https://github.com/iwasakishuto/Python-Charmers/workflows/Python%20package/badge.svg)
![Upload Python Package](https://github.com/iwasakishuto/Python-Charmers/workflows/Upload%20Python%20Package/badge.svg)
[![license](https://img.shields.io/github/license/mashape/apistatus.svg?maxAge=2592000)](https://github.com/iwasakishuto/Python-Charmers/blob/master/LICENSE)

A collection of useful python programs.

## Installation

1. Install **`Python-Charmers`** (There are two ways to install):
    - **Install from PyPI (recommended):**
        ```sh
        $ sudo pip install Python-Charmers
        ```
    - **Alternatively: install PyGuitar from the GitHub source:**
        ```sh
        $ git clone https://github.com/iwasakishuto/Python-Charmers.git
        $ cd Python-Charmers
        $ sudo python setup.py install
        ```
2. Install **driver** for `selenium`:
**`Selenium`** requires a driver to interface with the chosen browser, so please visit the [documentation](https://selenium-python.readthedocs.io/installation.html#drivers) to install it.
    ```sh
    # Example: Chrome
    # visit "chrome://settings/help" to check your chrome version.
    # visit "https://chromedriver.chromium.org/downloads" to check <Suitable.Driver.Version> for your chrome.
    $ wget https://chromedriver.storage.googleapis.com/<Suitable.Driver.Version>/chromedriver_mac64.zip
    $ unzip chromedriver_mac64.zip
    $ mv chromedriver /usr/local/bin/chromedriver
    $ chmod +x /usr/local/bin/chromedriver
    ```

### Pyenv + Poetry

- [Pyenv](https://github.com/pyenv/pyenv) is a python installation manager.
- [Poetry](https://python-poetry.org/) is a packaging and dependency manager.

I recommend you to use these tools to **avoid the chaos** of the python environment. See other sites for how to install these tools.

```sh
$ pyenv install 3.8.9
$ pyenv local 3.8.9
$ python -V
Python 3.8.9
$ poetry install 
$ poetry run pycharmers-show
$ poetry run book2img
```

## CLI

**CLI** is a command line program that accepts text input to execute operating system functions.

|       command       |                                 description                                  |
|:-------------------:|:-----------------------------------------------------------------------------|
|            book2img | Convert Book into Sequential Images.                                         |
|         cv-cascades | Control the OpenCV cascade Examples.                                         |
|    cv-paper-scanner | Paper Scanner using OpenCV.                                                  |
|    cv-pencil-sketch | Convert the image like a pencil drawing.                                     |
|           cv-window | Use :meth:`cvWindow <pycharmers.opencv.windows.cvWindow>` to control frames. |
|          lyricVideo | Create a lyric Video.                                                        |
|   form-auto-fill-in | Auto fill in your form using your saved information (or answer on the spot). |
|         openBrowser | Display url using the default browser.                                       |
|             pdfmine | Analyze PDF and extract various elements.                                    |
|  regexp-replacement | String replacement in a file using regular expression                        |
|     render-template | Render templates.                                                            |
| requirements-create | Create a ``requirements.text``                                               |
|     pycharmers-show | Show all Python-Charmers's command line programs.                            |
|            tweetile | Divide one image into three so that you can tweet beautifully.               |
|           video2gif | Convert Video into Gif.                                                      |

