Skip to main content

best-before

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

Metadata

Release files for best-before 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for best-before 0.1.0
File Size Uploaded
best-before-0.1.0.tar.gz 1.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for best-before 0.1.0
File Interpreter ABI Platform
best_before-0.1.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 4.6 kB

Release files / best-before-0.1.0.tar.gz

Download URL best-before-0.1.0.tar.gz
Size 1.6 kB
Tags Source
SHA-256 checksum
How to use checksums
429946a37cfaae17b31b915d4db8298146317ebc8d863d5edb6ac399cba506c1
BLAKE2b-256 checksum
How to use checksums
aeae5e16227f0f593b4192d52d7d8b44c91dff37954c14b1d29d1ea635dded6d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / best_before-0.1.0-py2.py3-none-any.whl

Download URL best_before-0.1.0-py2.py3-none-any.whl
Size 3.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
65cc58549502199bde189b3fc6cfe6477a554ea780ec328058eef24d5b8f6f11
BLAKE2b-256 checksum
How to use checksums
0fbc5e1d786e63566a202bbd1cfcbaaa585c474985959bd2a9379a7900ed1502
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page