UNKNOWN
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
best-before-0.1.0.tar.gz
(1.6 kB
view details)
Built Distribution
File details
Details for the file best-before-0.1.0.tar.gz
.
File metadata
- Download URL: best-before-0.1.0.tar.gz
- Upload date:
- Size: 1.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 429946a37cfaae17b31b915d4db8298146317ebc8d863d5edb6ac399cba506c1 |
|
MD5 | 9f59dcea737e8ba8506d6835f7c803c9 |
|
BLAKE2b-256 | aeae5e16227f0f593b4192d52d7d8b44c91dff37954c14b1d29d1ea635dded6d |
File details
Details for the file best_before-0.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: best_before-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65cc58549502199bde189b3fc6cfe6477a554ea780ec328058eef24d5b8f6f11 |
|
MD5 | 857032b5c05d7bd445a9cba926c35828 |
|
BLAKE2b-256 | 0fbc5e1d786e63566a202bbd1cfcbaaa585c474985959bd2a9379a7900ed1502 |