# banal
Commons of Python micro-functions. This basically an out-sourced, shared
utils module.
Rules:
* Must work in Python 2 and Python 3
* Cannot depend on anything but six and the standard library
## Functions
* ``is_sequence``: check if something is list-ish
* ``is_mapping``: check if an object is dict-ish
* ``ensure_list``: make sure an argument is a list, or make it into a single-element list
* ``clean_dict``: remove null values from a dict, recursively
* ``decode_path``: decode a path name to be unicode
* ``hash_data``: generate a SHA1 from a dict of reasonable objects
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
共19个文件
py:7个
txt:5个
pkg-info:2个
资源分类:Python库 所属语言:Python 资源全名:banal-0.3.8.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
资源推荐
资源详情
资源评论
收起资源包目录
banal-0.3.8.tar.gz (19个子文件)
banal-0.3.8
MANIFEST.in 26B
PKG-INFO 687B
LICENSE 1KB
setup.cfg 102B
banal.egg-info
PKG-INFO 687B
requires.txt 4B
not-zip-safe 1B
SOURCES.txt 356B
top_level.txt 6B
namespace_packages.txt 1B
dependency_links.txt 1B
setup.py 1KB
banal
bools.py 356B
filesystem.py 268B
__init__.py 544B
dicts.py 608B
cache.py 1KB
lists.py 898B
README.md 587B
共 19 条
- 1
资源评论
挣扎的蓝藻
- 粉丝: 12w+
- 资源: 15万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功