semvec/pypi-packages huggingface dataset:
best-before 0.1.0
UNKNOWN
License: 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