Python package, which has utility code like files, http-request, convert, datetime, command, trim, round, and so on.
pip install git+https://github.com/tomoki171923/python-util#egg=pyutilOR
Pipfile
[packages]
pyutil = {git = "https://github.com/tomoki171923/python-util.git", editable = true, ref = "main"}OR
requirements.txt
pyutil @ git+https://github.com/tomoki171923/python-util@maine.g. sample.py
from pyutil.command import execCmd
from src.pyutil.date_time import DateTime
cmd = "ls -l"
execCmd(cmd)
date_time:DateTime = DateTime()
print(date_time.today())
print(date_time.now())brew install pre-commit
pre-commit installdocker-compose builddocker-compose run --rm app pipenv install PACKAGE_NAMEdocker-compose run --rm app pipenv updatedocker-compose up app