Welcome to Python-Charmers’s documentation!¶
A collection of useful python programs.
Installation¶
Install MySQL:
- Debian/Ubuntu:
$ sudo apt-get install python3-dev default-libmysqlclient-dev build-essential
- Red Hat/Cent OS:
% sudo yum install python3-devel mysql-devel
- macOS:
# Install MySQL server $ brew install mysql # If you don't want to install MySQL server, you can use mysql-client instead: $ brew install mysql-client $ echo 'export PATH="/usr/local/opt/mysql-client/bin:$PATH"' >> ~/.zprofile $ export PATH="/usr/local/opt/mysql-client/bin:$PATH"
Install Python-Charmers (There are two ways to install):
Create an environment for Python-Charmers using Pyenv and Poetry (recommended)
$ pyenv install 3.8.9 $ pyenv local 3.8.9 $ python -V Python 3.8.9 $ poetry install
Install in a specific environment
Install from PyPI:
$ sudo pip install Python-Charmers
Alternatively: install PyGuitar from the GitHub source:
$ git clone https://github.com/iwasakishuto/Python-Charmers.git # If you want to use the latest version (under development) $ git clone -b develop https://github.com/iwasakishuto/Python-Charmers.git $ cd Python-Charmers $ sudo python setup.py install
Install driver for
selenium
.Selenium
requires a driver to interface with the chosen browser, so please visit the documentation to install it.# 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
CLI¶
CLI is a command line program that accepts text input to execute operating system functions.
command |
description |
---|---|
Convert Book into Sequential Images. |
|
Control the OpenCV cascade Examples. |
|
Paper Scanner using OpenCV. |
|
Convert the image like a pencil drawing. |
|
Use |
|
Auto fill in your form using your saved information (or answer on the spot). |
|
Arrange Jupyter Notebook. |
|
Display url using the default browser. |
|
Analyze PDF and extract various elements. |
|
String replacement in a file using regular expression |
|
Render templates. |
|
Create a |
|
Revise word file. |
|
Show all Python-Charmers’s command line programs. |
|
Divide one image into three so that you can tweet beautifully. |
|
Create a lyric Video. |
|
Create a typing video. Before using this program, please do the following things |
|
Convert Video into Gif. |
Contents¶
- pycharmers package
- Subpackages
- pycharmers.cli package
- Submodules
- pycharmers.cli.book2img module
- pycharmers.cli.cvCascades module
- pycharmers.cli.cvPaperScanner module
- pycharmers.cli.cvPencilSketch module
- pycharmers.cli.cvWindow module
- pycharmers.cli.form_auto_fill_in module
- pycharmers.cli.image2pptx module
- pycharmers.cli.jupyter_arrange module
- pycharmers.cli.openBrowser module
- pycharmers.cli.pdfmine module
- pycharmers.cli.regexp_replacement module
- pycharmers.cli.render_template module
- pycharmers.cli.requirements module
- pycharmers.cli.revise_text module
- pycharmers.cli.show module
- pycharmers.cli.tweetile module
- pycharmers.cli.video2gif module
- pycharmers.cli.video_of_lyric module
- pycharmers.cli.video_of_typing module
- Module contents
- Submodules
- pycharmers.matplotlib package
- pycharmers.opencv package
- Submodules
- pycharmers.opencv.backsub module
- pycharmers.opencv.binary module
- pycharmers.opencv.cascade module
- pycharmers.opencv.cvui module
- pycharmers.opencv.drawing module
- pycharmers.opencv.editing module
- pycharmers.opencv.morphology module
- pycharmers.opencv.project module
- pycharmers.opencv.tracking module
- pycharmers.opencv.video_image_handler module
- pycharmers.opencv.windows module
- Module contents
- Submodules
- pycharmers.sdk package
- pycharmers.utils package
- Submodules
- pycharmers.utils.argparse_utils module
- pycharmers.utils.audio_utils module
- pycharmers.utils.color_utils module
- pycharmers.utils.download_utils module
- pycharmers.utils.driver_utils module
- pycharmers.utils.environ_utils module
- pycharmers.utils.generic_utils module
- pycharmers.utils.inspect_utils module
- pycharmers.utils.json_utils module
- pycharmers.utils.monitor_utils module
- pycharmers.utils.numpy_utils module
- pycharmers.utils.pandas_utils module
- pycharmers.utils.pil_utils module
- pycharmers.utils.print_utils module
- pycharmers.utils.soup_utils module
- pycharmers.utils.ssh_utils module
- pycharmers.utils.subprocess_utils module
- pycharmers.utils.templates module
- pycharmers.utils.tkinter_utils module
- Module contents
- Submodules
- pycharmers.cli package
- Module contents
- Subpackages