{ "info": { "author": "Justin Quick", "author_email": "justquick@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Utilities" ], "description": "Django Human DateTime Parsing\n==============================\n\n:Authors:\n Justin Quick \n:Version: 0.1\n\nThis tool uses the `parsedatetime package `_ to turn human readable form input (like 'tomorrow 7PM') into ``datetime`` objects (like datetime.datetime(2010, 4, 9, 19, ...)).\nThis app requires ``parsedatetime`` and ``pytz``. \nThe app comes with a set of fields to replace Django's own DateTimeField, DateField, and TimeField. Get them by using::\n\n from humandt.fields import HumanDateTimeField, HumanTimeField, HumanDateField\n \nThen use them however you like as form fields in your own Django Forms::\n\n from django.forms import Form\n \n class ExampleForm(Form):\n datetime = HumanDateTimeField(required=False)\n time = HumanTimeField(required=False)\n date = HumanDateField(required=False)\n\nExample Project\n================\n\nDownload the most recent sourcecode and start up the development server. Make sure you have the most recent version of django::\n\n git clone git://github.com/justquick/django-human-datetime.git\n cd django-human-datetime\n pip install parsedatetime pytz django\n python setup.py install\n cd example_project\n python manage.py runserver\n \nIf all goes well it will be available at http://127.0.0.1:8000/. There is an example form up there that just spits out the parsed date/time input. Look at the example_project.views for useage example.\nTo test the humandt app, stop the server and run this::\n\n python manage.py test humandt", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/justquick/django-human-datetime", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "django-human-datetime", "package_url": "https://pypi.org/project/django-human-datetime/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-human-datetime/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/justquick/django-human-datetime" }, "release_url": "https://pypi.org/project/django-human-datetime/0.1/", "requires_dist": null, "requires_python": null, "summary": "Uses the parsedatetime package to parse human readable date/time expressions into Django fields", "version": "0.1" }, "last_serial": 789826, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "ecff600a0625d1cd4909b4d0e95c0d6f", "sha256": "31f4c68ff40f46585c8ae510867f2561f691dd279fc77b2076974ddf6b94b628" }, "downloads": -1, "filename": "django-human-datetime-0.1.tar.gz", "has_sig": false, "md5_digest": "ecff600a0625d1cd4909b4d0e95c0d6f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3159, "upload_time": "2011-08-08T11:17:00", "url": "https://files.pythonhosted.org/packages/27/66/7d28dce5f117e9e4c553b9b925775cbf359354472f2887d9e32b08f8ff63/django-human-datetime-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ecff600a0625d1cd4909b4d0e95c0d6f", "sha256": "31f4c68ff40f46585c8ae510867f2561f691dd279fc77b2076974ddf6b94b628" }, "downloads": -1, "filename": "django-human-datetime-0.1.tar.gz", "has_sig": false, "md5_digest": "ecff600a0625d1cd4909b4d0e95c0d6f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3159, "upload_time": "2011-08-08T11:17:00", "url": "https://files.pythonhosted.org/packages/27/66/7d28dce5f117e9e4c553b9b925775cbf359354472f2887d9e32b08f8ff63/django-human-datetime-0.1.tar.gz" } ] }