A Django field for storing fuzzy date information
Project description
Django Interval
django-interval is a Django app. It provides
model fields to store date information with some extra data stored in
additional fields. The additional fields are composed of a _sort, a _from
and a _to field that store data that is generated from the string stored in
the main model field.
Installation
Install django-interval and add django_interval to your
INSTALLED_APPS
add the django_interval.urls to your urlpatterns:
urlpatterns += [path("", include("django_interval.urls"))]
Use either the django_interval.fields.FuzzyDateParserField or the
django_interval.fields.FuzzyDateRegexField in your models. Both
come with sensible defaults (a parser method in the FuzzyDateParserField
and a list of regexes in the FuzzyDateRegexField), but it is possible
to pass custom parser or regexes as arguments.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_interval-0.2.4.tar.gz.
File metadata
- Download URL: django_interval-0.2.4.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
602ee36e1310ff14f0573542850d81e95a7b88ea86c2f69227308c885cd5eccc
|
|
| MD5 |
315d579540d0f14735d462b693db9163
|
|
| BLAKE2b-256 |
21a032b436d68a8db91b0c93627cd0b4a96640120ba1ca2a75d896f83ab6dd72
|
Provenance
The following attestation bundles were made for django_interval-0.2.4.tar.gz:
Publisher:
publish.yml on b1rger/django-interval
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
django_interval-0.2.4.tar.gz -
Subject digest:
602ee36e1310ff14f0573542850d81e95a7b88ea86c2f69227308c885cd5eccc - Sigstore transparency entry: 162536348
- Sigstore integration time:
-
Permalink:
b1rger/django-interval@a12a48749e6d5a728f9e0032362d5daf4de74dc7 -
Branch / Tag:
refs/tags/v0.2.4 - Owner: https://github.com/b1rger
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a12a48749e6d5a728f9e0032362d5daf4de74dc7 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file django_interval-0.2.4-py3-none-any.whl.
File metadata
- Download URL: django_interval-0.2.4-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e2d02c272c17dd298c0f9466c1c605a87684f2f9645a084d1534bf4287d7edb4
|
|
| MD5 |
3096b6e596cc6cc3a0c272aadb3a5cc5
|
|
| BLAKE2b-256 |
0aee64a07462b29f483377673890d1675c1855625ef8724e893dbaa67a25532a
|
Provenance
The following attestation bundles were made for django_interval-0.2.4-py3-none-any.whl:
Publisher:
publish.yml on b1rger/django-interval
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
django_interval-0.2.4-py3-none-any.whl -
Subject digest:
e2d02c272c17dd298c0f9466c1c605a87684f2f9645a084d1534bf4287d7edb4 - Sigstore transparency entry: 162536350
- Sigstore integration time:
-
Permalink:
b1rger/django-interval@a12a48749e6d5a728f9e0032362d5daf4de74dc7 -
Branch / Tag:
refs/tags/v0.2.4 - Owner: https://github.com/b1rger
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a12a48749e6d5a728f9e0032362d5daf4de74dc7 -
Trigger Event:
workflow_dispatch
-
Statement type: