没有合适的资源?快使用搜索试试~ 我知道了~
attrs:没有样板的Python类-开源
共83个文件
py:34个
rst:22个
pyi:7个
0 下载量 86 浏览量
2021-04-15
03:54:52
上传
评论
收藏 182KB ZIP 举报
温馨提示
attrs是一个Python软件包,可让您编写类而不会遇到通常的麻烦。 它的最终目标是帮助您编写简洁而正确的软件,而又不会减慢代码的速度。 attrs提供了一个类装饰器,并提供了一种方法来声明性地定义该类的属性。 这样就可以对类的属性进行简洁明了的概述,易于理解的__repr__,完整的比较方法集等等,而所有这些都无需重复编写沉闷的样板代码并且不会对运行时性能产生负面影响。 使用attrs,您可以编写正确且具有自我说明性的代码,而再次编写类将为您带来快乐!
资源推荐
资源详情
资源评论
收起资源包目录
20.3.0.zip (83个子文件)
python-attrs-attrs-3241bf4
MANIFEST.in 541B
README.rst 5KB
codecov.yml 175B
mypy.ini 62B
.github
CONTRIBUTING.rst 10KB
FUNDING.yml 59B
PULL_REQUEST_TEMPLATE.md 2KB
CODE_OF_CONDUCT.rst 3KB
SECURITY.yml 160B
workflows
main.yml 3KB
CHANGELOG.rst 41KB
src
attr
validators.py 11KB
exceptions.py 2KB
_config.py 514B
_version_info.pyi 209B
__init__.pyi 13KB
_compat.py 7KB
converters.py 2KB
validators.pyi 2KB
setters.pyi 567B
_funcs.py 13KB
converters.pyi 380B
__init__.py 2KB
py.typed 0B
_version_info.py 2KB
_next_gen.py 4KB
setters.py 1KB
exceptions.pyi 539B
filters.py 1KB
_make.py 86KB
filters.pyi 214B
AUTHORS.rst 752B
tox.ini 3KB
LICENSE 1KB
setup.py 4KB
.pre-commit-config.yaml 754B
conftest.py 650B
docs
glossary.rst 5KB
types.rst 3KB
contributing.rst 105B
conf.py 5KB
overview.rst 4KB
init.rst 12KB
backward-compatibility.rst 878B
index.rst 3KB
examples.rst 20KB
Makefile 7KB
extending.rst 9KB
license.rst 315B
docutils.conf 53B
how-does-it-work.rst 5KB
api.rst 21KB
hashing.rst 5KB
python-2.rst 1KB
why.rst 11KB
changelog.rst 30B
_static
attrs_logo_white.png 5KB
attrs_logo.png 7KB
attrs_logo.svg 7KB
tests
test_validators.py 19KB
test_next_gen.py 6KB
test_init_subclass.py 967B
test_config.py 1KB
test_version_info.py 2KB
test_setattr.py 12KB
test_converters.py 3KB
test_hooks.py 5KB
utils.py 2KB
test_dunders.py 23KB
__init__.py 0B
typing_example.py 4KB
test_funcs.py 18KB
test_make.py 57KB
test_slots.py 15KB
strategies.py 5KB
test_functional.py 18KB
test_annotations.py 11KB
test_filters.py 2KB
.readthedocs.yml 184B
.gitignore 129B
changelog.d
.gitignore 0B
towncrier_template.rst 801B
pyproject.toml 1KB
共 83 条
- 1
资源评论
weixin_38729221
- 粉丝: 2
- 资源: 935
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功