Skip to content

Commit 3b9847c

Browse files
committed
Update readme & add badges
1 parent b941539 commit 3b9847c

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
[<img src="https://travis-ci.org/tinify/tinify-python.svg?branch=master" alt="Build Status">](https://travis-ci.org/tinify/tinify-python)
1+
[![MIT License](http://img.shields.io/badge/license-MIT-green.svg) ](https://github.com/tinify/tinify-python/blob/main/LICENSE)
2+
[![CI](https://github.com/tinify/tinify-python/actions/workflows/run-tests.yml/badge.svg)](https://github.com/tinify/tinify-python/actions/workflows/run-tests.yml)
3+
![PyPI](https://img.shields.io/pypi/v/tinify)
4+
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/tinify)
5+
![PyPI - Wheel](https://img.shields.io/pypi/wheel/tinify)
6+
27

38
# Tinify API client for Python
49

@@ -29,7 +34,7 @@ tinify.from_file('unoptimized.png').to_file('optimized.png')
2934

3035
```
3136
pip install -r requirements.txt -r test-requirements.txt
32-
nosetests
37+
py.test
3338
```
3439

3540
To test more runtimes, tox can be used
@@ -44,7 +49,7 @@ tox
4449

4550
```
4651
pip install -r requirements.txt -r test-requirements.txt
47-
TINIFY_KEY=$YOUR_API_KEY nosetests test/integration.py
52+
TINIFY_KEY=$YOUR_API_KEY py.test test/integration.py
4853
```
4954

5055
## License

0 commit comments

Comments
 (0)