将用户名和密码存储在$HOME
userpass的Python项目详细描述
#用户密码
[![最新的pypi版本](https://img.shields.io/pypi/v/userpass.svg)](https://pypi.org/project/userpass) [![特拉维斯CI](https://img.shields.io/travis/zYeoman/userpass/master.svg)](https://travis-ci.org/zYeoman/userpass) [![codecov](https://img.shields.io/codecov/c/github/zYeoman/userpass/master.svg)](https://codecov.io/gh/zYeoman/userpass) [![支持的python版本](https://img.shields.io/pypi/pyversions/userpass.svg)](https://pypi.org/project/userpass) [![许可证](https://img.shields.io/pypi/l/userpass.svg)](https://choosealicense.com/licenses)
目录
- [安装](安装)
- [用法](用法)
- [许可证](许可证)
##安装
userpass在[pypi](https://pypi.org)上作为通用的 wheel和在linux/macos和windows上可用,并支持 python 2.7/3.5+和pypy。
`bash $ pip install userpass `
##用法
`python from userpass import User # Userinfo file will be stored in `~/.user` file. user = User('.user') username = user.username password = user.password user.del_user() `
##许可证
userpass是根据 [麻省理工学院许可证](https://choosealicense.com/licenses/mit)。