best-before-0.1.0
توضیحات
UNKNOWN
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | best-before-0.1.0 |
| نام | best-before |
| نسخه کتابخانه | 0.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Friedrich Paetzke |
| ایمیل نویسنده | paetzke@fastmail.fm |
| آدرس صفحه اصلی | http://git.vanneva.com/best-before.git |
| آدرس اینترنتی | https://pypi.org/project/best-before/ |
| مجوز | BSD |
best-before
===========
.. image:: https://travis-ci.org/paetzke/best-before.svg?branch=master
:target: https://travis-ci.org/paetzke/best-before
.. image:: https://coveralls.io/repos/paetzke/best-before/badge.png?branch=master
:target: https://coveralls.io/r/paetzke/best-before?branch=master
.. image:: https://pypip.in/v/best-before/badge.png
:target: https://pypi.python.org/pypi/best-before/
Copyright (c) 2014, Friedrich Paetzke (paetzke@fastmail.fm)
All rights reserved.
Decorate your Python functions with a date of expiry.
An example:
.. code:: python
from best_before import best_before
@best_before('2014-06-06')
def my_func():
pass
If you run this code after 2014-06-06 it will explode - or just throw an exception.
To install ``best-before`` just install with ``pip``.
.. code:: bash
$ pip install best-before
نحوه نصب
نصب پکیج whl best-before-0.1.0:
pip install best-before-0.1.0.whl
نصب پکیج tar.gz best-before-0.1.0:
pip install best-before-0.1.0.tar.gz