Skip to content

common python code for office use. like dir,file,etc.

License

Notifications You must be signed in to change notification settings

liujuanjuan1984/officy

Repository files navigation

officy

common python code for office use. like dir,file,etc.

Install

pip install officy
pip install -r requirements.txt

How to use?

from officy import Dir,JsonFile
Dir(".").black()
JsonFile("temp.json").read({})

Code Format

Install:

pip install black
pip install isort

Format:

isort .
black -l 80 -t py37 -t py38 -t py39 -t py310 .
black -l 120 -t py37 -t py38 -t py39 -t py310 .

Version

tool: bumpversion

config: .bumpversion.cfg

  1. bugfix: bumpversion patch

  2. feature: bumpversion minor

  3. breaking change: bumpversion major

git push origin master --tags

About

common python code for office use. like dir,file,etc.

Topics

Resources

License

Stars

Watchers

Forks

Packages