{ "info": { "author": "jmerdich", "author_email": "jake@merdich.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 1.8", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "Natural Duration Field\n======================\nExpose a duration value to your staff and users in a non-hideous\nmanner. Allows you to accept input such as \"3 days and 2 minutes\"\nor even \"6years,32 min & 503ms\", and optionally renders values\nto the user in a similar manner. \n\nRequirements\n------------\n - Django 1.8 (the first one with a duration field)\n - Python 2.7, 3.4, or PyPy (should work with 3.3, but I haven't tested it)\n\nUsage\n-----\nInsert a `NaturalDurationField` into a form somewhere. The `human_values` kwarg tells whether\nto render initial values in a nice, humanized fashion (2 days and 30 minutes) or the usual \ndjango fashion (2 00:30:00). At no point is precision lost when resaved.\n\nOther Notes\n-----------\nCopyright Jake Merdich, 2015, released under New BSD license.\n\nLargely inspired by the [Juration](https://github.com/domchristie/juration) javascript library.", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/jmerdich/django-natural-duration/tarball/0.1", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jmerdich/django-natural-duration/", "keywords": "forms,timedelta,humanize", "license": "New BSD", "maintainer": null, "maintainer_email": null, "name": "django-natural-duration", "package_url": "https://pypi.org/project/django-natural-duration/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-natural-duration/", "project_urls": { "Download": "https://github.com/jmerdich/django-natural-duration/tarball/0.1", "Homepage": "https://github.com/jmerdich/django-natural-duration/" }, "release_url": "https://pypi.org/project/django-natural-duration/0.1/", "requires_dist": null, "requires_python": null, "summary": "A human-readable duration form field for Django", "version": "0.1" }, "last_serial": 1682139, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "552fed4762d35f2b521b3aa701f33834", "sha256": "0ba2c5463343d463de9d1608f892bd006dc5dbf57a73f018e75e4c036da96a85" }, "downloads": -1, "filename": "django-natural-duration-0.1.tar.gz", "has_sig": false, "md5_digest": "552fed4762d35f2b521b3aa701f33834", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5496, "upload_time": "2015-08-18T11:16:27", "url": "https://files.pythonhosted.org/packages/86/87/8dc41952027efa3cabd7bf7acc2ac9a2fe0f4cb9a959c4dbbf6a44b91954/django-natural-duration-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "552fed4762d35f2b521b3aa701f33834", "sha256": "0ba2c5463343d463de9d1608f892bd006dc5dbf57a73f018e75e4c036da96a85" }, "downloads": -1, "filename": "django-natural-duration-0.1.tar.gz", "has_sig": false, "md5_digest": "552fed4762d35f2b521b3aa701f33834", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5496, "upload_time": "2015-08-18T11:16:27", "url": "https://files.pythonhosted.org/packages/86/87/8dc41952027efa3cabd7bf7acc2ac9a2fe0f4cb9a959c4dbbf6a44b91954/django-natural-duration-0.1.tar.gz" } ] }