File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 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```
3136pip install -r requirements.txt -r test-requirements.txt
32- nosetests
37+ py.test
3338```
3439
3540To test more runtimes, tox can be used
4449
4550```
4651pip 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
You can’t perform that action at this time.
0 commit comments