Skip to content

Commit 254247e

Browse files
committed
add badges for v0.2.1
1 parent 9352e93 commit 254247e

File tree

4 files changed

+31
-8
lines changed

4 files changed

+31
-8
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,18 @@
22
[![Version](https://img.shields.io/pypi/v/utype)](https://pypi.org/project/utype/)
33
[![Python Requires](https://img.shields.io/pypi/pyversions/utype)](https://pypi.org/project/utype/)
44
[![License](https://img.shields.io/badge/license-Apache%202.0-blue)](https://github.com/utilmeta/utype/blob/main/LICENSE)
5+
[![CI](https://img.shields.io/github/actions/workflow/status/utilmeta/utype/test.yaml?branch=main&label=CI)](https://github.com/utilmeta/utype/actions?query=branch%3Amain+)
6+
[![Test Coverage](https://img.shields.io/codecov/c/github/utilmeta/utype?color=green)](https://app.codecov.io/github/utilmeta/utype)
57
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
8+
[![Downloads](https://pepy.tech/badge/utype/month)](https://pepy.tech/project/utype)
69

7-
8-
utype is a data type & schema declaration & parsing library based on Python type annotations, enforce type and constraints at runtime
10+
utype is a data types declaration & parsing library based on Python type annotations,
11+
enforce types and constraints for classes and functions at runtime
912

1013
* Version: `0.2.1` [test]
1114
* Author: [@voidZXL](https://github.com/voidZXL)
1215
* License: Apache 2.0
16+
* Source Code: [https://github.com/utilmeta/utype](https://github.com/utilmeta/utype)
1317
* Documentation: [https://utype.io](https://utype.io)
1418
* 中文文档: [https://utype.io/zh](https://utype.io/zh)
1519

docs/en/README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,25 @@
33
<a href="https://pypi.org/project/utype/" target="_blank">
44
<img src="https://img.shields.io/pypi/v/utype" alt="">
55
</a>
6+
<a href="https://pypi.org/project/utype/" target="_blank">
7+
<img src="https://img.shields.io/pypi/pyversions/utype" alt="">
8+
</a>
69
<a href="https://github.com/utilmeta/utype/blob/main/LICENSE" target="_blank">
7-
<img src="https://img.shields.io/badge/license-Apache%202.0-blue" alt="">
10+
<img src="https://img.shields.io/badge/license-Apache%202.0-blue" alt="">
11+
</a>
12+
<a href="https://github.com/utilmeta/utype/actions?query=branch%3Amain+" target="_blank">
13+
<img src="https://img.shields.io/github/actions/workflow/status/utilmeta/utype/test.yaml?branch=main&label=CI" alt="">
14+
</a>
15+
<a href="https://app.codecov.io/github/utilmeta/utype" target="_blank">
16+
<img src="https://img.shields.io/codecov/c/github/utilmeta/utype?color=green" alt="">
817
</a>
918

1019
utype is a data type declaration and parsing library based on Python type annotations, which can parse and convert data according to your declared type and data structure at runtime
1120

1221
* Version: `0.2.1` [Test]
1322
* Author: <a href="https://github.com/voidZXL" target="_blank">@voidZXL</a>
1423
* License: Apache 2.0
15-
* Code Repository: <a href="https://github.com/utilmeta/utype" target="_blank"> https://github.com/utilmeta/utype.</a>
24+
* Code Repository: <a href="https://github.com/utilmeta/utype" target="_blank">https://github.com/utilmeta/utype</a>
1625

1726
## Motivation
1827

docs/zh/README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,26 @@
33
<a href="https://pypi.org/project/utype/" target="_blank">
44
<img src="https://img.shields.io/pypi/v/utype" alt="">
55
</a>
6+
<a href="https://pypi.org/project/utype/" target="_blank">
7+
<img src="https://img.shields.io/pypi/pyversions/utype" alt="">
8+
</a>
69
<a href="https://github.com/utilmeta/utype/blob/main/LICENSE" target="_blank">
710
<img src="https://img.shields.io/badge/license-Apache%202.0-blue" alt="">
811
</a>
12+
<a href="https://github.com/utilmeta/utype/actions?query=branch%3Amain+" target="_blank">
13+
<img src="https://img.shields.io/github/actions/workflow/status/utilmeta/utype/test.yaml?branch=main&label=CI" alt="">
14+
</a>
15+
<a href="https://app.codecov.io/github/utilmeta/utype" target="_blank">
16+
<img src="https://img.shields.io/codecov/c/github/utilmeta/utype?color=green" alt="">
17+
</a>
18+
919

10-
utype 是一个基于 Python 类型注解的数据类型声明与解析库,能够在运行时根据你声明的类型和数据结构对数据进行解析转化
20+
utype 是一个基于 Python 类型注解的数据类型声明与解析库,能够在运行时根据你的声明对类与函数的参数进行解析转化
1121

1222
* 版本:`0.2.1`【测试】
1323
* 作者:<a href="https://github.com/voidZXL" target="_blank">@voidZXL</a>
1424
* 协议:Apache 2.0
15-
* 开源仓库:<a href="https://github.com/utilmeta/utype" target="_blank">https://github.com/utilmeta/utype</a>
25+
* 代码:<a href="https://github.com/utilmeta/utype" target="_blank">https://github.com/utilmeta/utype</a>
1626

1727
## 需求动机
1828

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
setup(
88
name="utype",
99
version=__version__,
10-
description="Declare & parse data types / dataclasses / functions",
10+
description="Declare & parse types / dataclasses / functions based on Python type annotations",
1111
long_description=long_description,
1212
long_description_content_type="text/markdown",
1313
author="XuLin Zhou",
@@ -31,7 +31,7 @@
3131
'Topic :: Software Development :: Libraries :: Python Modules',
3232
'Topic :: Internet',
3333
],
34-
requires=[
34+
install_requires=[
3535
'typing-extensions>=4.1.0',
3636
],
3737
python_requires=">=3.7",

0 commit comments

Comments
 (0)