Metadata-Version: 2.1
Name: thumbor-expire
Version: 0.1.2
Summary: Add timeout verification for thumbor
Home-page: https://github.com/HonQii/thumbor-expire.git
License: MIT
Keywords: thumbor,expire
Author: HonQii
Author-email: honqi3014@gmail.com
Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: libthumbor (>=1.3.2,<2.0.0); python_version >= "2" and python_version < "3"
Requires-Dist: libthumbor (>=2.0.1,<3.0.0); python_version >= "3.6"
Project-URL: Repository, https://github.com/HonQii/thumbor-expire.git
Description-Content-Type: text/markdown

# thumbor-expire
Add timeout verification for thumbor

## Use 

* Server side

thumbor config file set `URL_SIGNER = thumbor_expire.base64_hmac_sha1_expire`


* Client side

use `from thumbor_expire.crypto import CryptoURL` class and pass expire argument, accept type `:obj:`int` | :obj:`float` | :obj:`datetime.timedelta` | \
        :obj:`datetime.datetime` | :obj:`datetime.time`, optional`

