Skip to main content

A DRF serializer field for basic iso8601 duration strings

Project description

rest_framework_duration_iso_field

DurationIsoField

parses and serializes iso8601 <-> datetime.timedelta

Caveats

  • does not support date ranges
  • does not support years/months
  • does not support embedded dates

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rest_framework_duration_iso_field-0.0.2.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file rest_framework_duration_iso_field-0.0.2.tar.gz.

File metadata

  • Download URL: rest_framework_duration_iso_field-0.0.2.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.2

File hashes

Hashes for rest_framework_duration_iso_field-0.0.2.tar.gz
Algorithm Hash digest
SHA256 434ce85ade38bb833c0caa8c1e726c15f2dba8785f3a2ce6fc451ead45be49e2
MD5 f81676dea985b9c9fd71b2a427726c79
BLAKE2b-256 3bca951e5731426371305debde3363e2ed6cb6fa1507a1fa8c12f4da043df50d

See more details on using hashes here.

File details

Details for the file rest_framework_duration_iso_field-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: rest_framework_duration_iso_field-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.2

File hashes

Hashes for rest_framework_duration_iso_field-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5b2305b1b4d62b3aa54848eaf89b5b046683253c203d9151ece792926cb0d8f1
MD5 2dda5f496c5685d563f30054bbcf24b7
BLAKE2b-256 a1b5701e1b5542565212366a7b1d5aa65344feaed2e21855f42c15b3fc0c029e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page