best-before
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)
| File | Size | Uploaded | |
|---|---|---|---|
| best-before-0.1.0.tar.gz | 1.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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 |