frua-base is a personal Python library made by the author to follow DRY practices.
My goal is to provide a development framework based on the Python standard library.
My aim is to be generic and tested.
frua-base shall not pull dependencies other than the standard library (except for packaging and documentation) and a pre-approved list of MIT, BSD, Apache 2.0 based dependencies. It should not reimplement the standard library.
This library is free to use and reuse (MIT Licensed).
The base package is frua.base:
It contains:
- frua.base.archive : Tools for archiving (zip, tar)
- frua.base.cmd: Tools for command line execution
- frua.base.code: Tools for code deployment (git repository cloning)
- frua.base.const: Some useful constants
- frua.base.data : Tools for data manipulation (file read, write, head, tail, append to bottom, append to top, merge)
- frua.base.db.sqlite: SQLITE support
- frua.base.fs : Tools for files, directories, users and groups
- frua.base.obj : objects
- frua.base.log : Logging objects and tools
- frua.base.time : Time (datetime) helpers
- requests: Requests allows you to send HTTP/1.1 requests extremely easily .
pip install -e .
Example:
import frua.base.obj as obj
This project has been set up using PyScaffold 4.4. In addition, this project has been set up using pyscaffoldext-markdown