Package: pycharmers
Python-CharmersA collection of useful python programs.InstallationInstallMySQLDebian/Ubuntu$sudoapt-getinstallpython3-devdefault-libmysqlclient-devbuild-essentialRed Hat/Cent OS%sudoyuminstallpython3-develmysql-develmacOS# Install MySQL server$brewinstallmysql# If you don't want to install MySQL server, you can use mysql-client instead:$brewinstallmysql-client$echo'export PATH="/usr/local/opt/mysql-client/bin:$PATH"'>>~/.zprofile$exportPATH="/usr/local/opt/mysql-client/bin:$PATH"InstallPython-Charmers(There are two ways to install):Create an environment for Python-Charmers usingPyenvandPoetry(recommended)$pyenvinstall3.8.9
$pyenvlocal3.8.9
$python-V
Python3.8.9
$poetryinstallInstall in a specific environmentInstall from PyPI:$sudopipinstallPython-CharmersAlternatively: install PyGuitar from the GitHub source:$gitclonehttps://github.com/iwasakishuto/Python-Charmers.git# If you want to use the latest version (under development)$gitclone-bdevelophttps://github.com/iwasakishuto/Python-Charmers.git
$cdPython-Charmers
$sudopythonsetup.pyinstallInstalldriverforselenium:Seleniumrequires a driver to interface with the chosen browser, so please visit thedocumentationto 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.$wgethttps://chromedriver.storage.googleapis.com/<Suitable.Driver.Version>/chromedriver_mac64.zip
$unzipchromedriver_mac64.zip
$mvchromedriver/usr/local/bin/chromedriver
$chmod+x/usr/local/bin/chromedriverPyenv + PoetryPyenvis a python installation manager.Poetryis a packaging and dependency manager.I recommend you to use these tools toavoid the chaosof the python environment. See other sites for how to install these tools.$pyenvinstall3.8.9
$pyenvlocal3.8.9
$python-V
Python3.8.9
$poetryinstall$poetryrunpycharmers-show
$poetryrunbook2imgCLICLIis a command line program that accepts text input to execute operating system functions.# If you use Poetry to set up the environment.$poetryrunpycharmers-show|command|path||:-------------------:|:-----------------------------------------------------||book2img|pycharmers.cli.book2img:book2img||cv-cascades|pycharmers.cli.cvCascades:cvCascades||:|:||tweetile|pycharmers.cli.tweetile:tweetile||video2gif|pycharmers.cli.video2gif:video2gif|commanddescriptionbook2imgConvert Book into Sequential Images.cv-cascadesControl the OpenCV cascade Examples.cv-paper-scannerPaper Scanner using OpenCV.cv-pencil-sketchConvert the image like a pencil drawing.cv-windowUsecvWindowto control frames.form-auto-fill-inAuto fill in your form using your saved information (or answer on the spot).jupyter-arrangeArrange Jupyter Notebook.openBrowserDisplay url using the default browser.pdfmineAnalyze PDF and extract various elements.regexp-replacementString replacement in a file using regular expressionrender-templateRender templates.requirements-createCreate arequirements.textrevise_textRevise word file.pycharmers-showShow all Python-Charmers's command line programs.tweetileDivide one image into three so that you can tweet beautifully.video_of_lyricCreate a lyric Video.video_of_typingCreate a typing video. Before using this program, please do the following thingsvideo2gifConvert Video into Gif.