Skip to main content

Python-Charmers

header PyPI version GitHub version Execute Python-Charmers Upload to PyPI with Poetry license

A collection of useful python programs.

Installation

  1. 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"
      
  2. 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
        
  3. 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
    

Pyenv + Poetry

  • Pyenv is a python installation manager.
  • Poetry 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.

$ 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.

# If you use Poetry to set up the environment.
$ poetry run pycharmers-show
|       command       |                         path                         |
|:-------------------:|:-----------------------------------------------------|
|            book2img | pycharmers.cli.book2img:book2img                     |
|         cv-cascades | pycharmers.cli.cvCascades:cvCascades                 |
|               :     |              :                                       |
|            tweetile | pycharmers.cli.tweetile:tweetile                     |
|           video2gif | pycharmers.cli.video2gif:video2gif                   |
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 cvWindow to control frames.
form-auto-fill-in Auto fill in your form using your saved information (or answer on the spot).
jupyter-arrange Arrange Jupyter Notebook.
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
revise_text Revise word file.
pycharmers-show Show all Python-Charmers's command line programs.
tweetile Divide one image into three so that you can tweet beautifully.
video_of_lyric Create a lyric Video.
video_of_typing Create a typing video. Before using this program, please do the following things
video2gif Convert Video into Gif.

Metadata

Release files for pycharmers 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pycharmers 0.2.0
File Size Uploaded Provenance Actions
pycharmers-0.2.0.tar.gz 183.7 kB Without provenance Details for pycharmers-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pycharmers 0.2.0
File Interpreter ABI Platform Actions
pycharmers-0.2.0-py3-none-any.whl Python 3 none any Details for pycharmers-0.2.0-py3-none-any.whl

Total release size: 396.5 kB

Release files / pycharmers-0.2.0.tar.gz

Download URL pycharmers-0.2.0.tar.gz
Size 183.7 kB
Tags Source
SHA-256 checksum
How to use checksums
7d17eb2346a47151b8b9b946db0314e589c688b5f868e78f30d91e7b2ef041c8
BLAKE2b-256 checksum
How to use checksums
680f465d5f4ba1dd89517c8b826161a90edf18834a745115cb04dcfb4eaf0032
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.6 CPython/3.8.10 Linux/5.8.0-1036-azure

Release files / pycharmers-0.2.0-py3-none-any.whl

Download URL pycharmers-0.2.0-py3-none-any.whl
Size 212.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d7f150dfaebd32433af39fccc6ff8ffdb265cded4fe641ccc88ba5d371c6bac4
BLAKE2b-256 checksum
How to use checksums
1eb87835eb976a75ca2ecd0770b218c967803213556b9f046aaa71809f121efb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.6 CPython/3.8.10 Linux/5.8.0-1036-azure

Security for pycharmers 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page