Valid EDTF provides validity testing against EDTF levels 1-3. You might find it most useful for tasks involving date validation and comparison. Typical usage often looks like this:
#!/usr/bin/env python
from valid_edtf import isLevel1
if isLevel1(edtf_candidate):
print "The date, %s, is level 1 edtf validated" % edtf_candidate
EDTF specification can be viewed here.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Valid EDTF-0.1.0.tar.gz
(6.0 kB
view details)
File details
Details for the file Valid EDTF-0.1.0.tar.gz.
File metadata
- Download URL: Valid EDTF-0.1.0.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
187693512bd36afc5c7524610bd75e2997ce515031aafd4468abf815a202b21c
|
|
| MD5 |
a5924a52cecb36dabc6210a6e721a3d0
|
|
| BLAKE2b-256 |
17c3ac8344c505372da89186239efc2df43f223dc9004c3cb396277e64e9855c
|