code-simplify

A python tool library that covers a wide range of common tools to simplify your work and reduce repetitive code.


Keywords
python, http, utils, logger, httputils, python3, tools, utils-lib
License
MIT
Install
pip install code-simplify==1.1.0

Documentation

code-simplify

A python tool library that covers a wide range of common tools to simplify your work and reduce repetitive code.

What is in it

  • http utils based on aiohttp, including SSE HANDLER, HEAD, GET, POST, OPTIONS, PUT, PATCH, DELETE.
  • logger template based on logging in std.
  • common crud based on SQLAlchemy, including GET, LIST, CREATE, BULK SAVE, UPDATE, TOTAL, GET PAGING, DELETE, PHYSICAL DELETE, EXECUTE SQL

How to use

just see examples package.

How to install

PyPI (recommend)

$ pip install code-simplify

Local compilation

$ git clone git@github.com:Yaocool/code-simplify.git
$ pip install wheel
$ python setup.py bdist_wheel
$ pip install ./dist/code_simplify-*-py3-none-any.whl