Skip to main content

Python convenient utilities for personal usage

Project description


Convenient Python utilities for personal usage


pip install markkk


sub-module: check_text_encoding

  • is_ascii
  • check_non_ascii_index
  • is_ascii_only_file
  • check_file_by_line
  • ensure_no_zh_punctuation
  • replace_punc_for_file


from markkk.pyutils import *

is_ascii("。") # this returns false


Install package using local version

clone this repo

git clone

go to project root

cd python-utils

create virtual env for this project

python3 -m venv venv
source venv/bin/activate
pip install --upgrade pip setuptools  wheel
pip install -r requirements.txt

install this package in editable mode

pip install -e .[dev]

Run Unittest

at project root



Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for markkk, version 0.0.6
Filename, size File type Python version Upload date Hashes
Filename, size markkk-0.0.6-py3-none-any.whl (4.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size markkk-0.0.6.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page