Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

UNKNOWN

Project description

https://travis-ci.org/paetzke/best-before.svg?branch=master https://coveralls.io/repos/paetzke/best-before/badge.png?branch=master https://pypip.in/v/best-before/badge.png

Copyright (c) 2014, Friedrich Paetzke (paetzke@fastmail.fm) All rights reserved.

Decorate your Python functions with a date of expiry.

An example:

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.

$ pip install best-before

Release history Release notifications

This version
History Node

0.1.0

History Node

0.0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
best_before-0.1.0-py2.py3-none-any.whl (3.0 kB) Copy SHA256 hash SHA256 Wheel 3.4 May 6, 2014
best-before-0.1.0.tar.gz (1.6 kB) Copy SHA256 hash SHA256 Source None May 6, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page