Skip to content
This repository has been archived by the owner on Jun 14, 2018. It is now read-only.

graycarl/moon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

moon

自用的一些类库

SqlAlchemy Wrap

SQLAlchemy的封装,模仿Flask-SQLAlchemy但是解除了对Flask的依赖,可以方便的用在一些非Flask代码中。

LazyProxy

werkzeug.local中的LocalProxy抄出来,可以用于实现各种全局对象。

Config Tool

简单的配置文件处理。

main.py:

from moon.config import setconf
setconf("prjname", "~/.user-config", AA="BB")


end of config.py:

from moon.config import exportconf
exportconf("prjname", globals())

About

Self used tools of python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages