{ "info": { "author": "Niklas Andersson", "author_email": "nandersson900@gmail.com", "bugtrack_url": null, "classifiers": [ "Framework :: Django", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "Operating System :: OS Independent", "Topic :: Software Development" ], "description": "django-unixdatetimefield\n========================\n\n[![Build Status](https://travis-ci.org/Niklas9/django-unixdatetimefield.svg?branch=master)](https://travis-ci.org/Niklas9/django-unixdatetimefield)\n[![Latest Version](https://img.shields.io/pypi/v/django-unixdatetimefield.svg?style=flat) ](https://pypi.python.org/pypi/django-unixdatetimefield/)\n[![Downloads](https://pepy.tech/badge/django-unixdatetimefield/week)](https://pepy.tech/project/django-unixdatetimefield)\n\nProvides a UnixDateTimeField for your Django models.\n\nI have found this especially useful when integrating Django into legacy\ndatabases, where the typical DateTime column type is rather stored as a Unix\ntimestamp (http://en.wikipedia.org/wiki/Unix_time).\n\nUnixDateTimeField is based on the implementation of the standard Django\nDateTimeField, making it 100% compatible with all features and options it\nsupports.\n\nUsage\n-----\n\nFirst you'll need to attach a UnixDateTimeField to your model. This acts as a\nthe equivalence of a Django PositiveIntegerField at the database level but\nprovides a Django DateTimeField at the ORM abstraction layer.\n\nExample model:\n\n\tfrom django_unixdatetimefield import UnixDateTimeField\n\n\tclass MyModel(models.Model):\n\t\tcreated_at = UnixDateTimeField()\n\nPython ORM query:\n\n >>> m = MyModel()\n >>> m.created_at = datetime.datetime(2015, 2, 21, 19, 38, 32, 209148)\n >>> m.save()\n\nDatabase:\n\n sqlite> select created_at from mymodel;\n 1426967129\n\nEnjoy!\n\nInstallation\n------------\n\nInstall with pip (or easy_install)::\n\n\tpip install django-unixdatetimefield\n\nLicense\n-------\n\nBSD, just as the main Django project. See LICENSE file in root of this repo.\n\nContributing\n------------\n\nThis project accepts contributions via GitHub pull requests.\n\n* follow Google's Python style guide\n https://google.github.io/styleguide/pyguide.html\n* make commits of logical units, messages should include what changed and why\n and be written in past tense\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Niklas9/django-unixdatetimefield", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "django-unixdatetimefield", "package_url": "https://pypi.org/project/django-unixdatetimefield/", "platform": "", "project_url": "https://pypi.org/project/django-unixdatetimefield/", "project_urls": { "Homepage": "https://github.com/Niklas9/django-unixdatetimefield" }, "release_url": "https://pypi.org/project/django-unixdatetimefield/1.0.3/", "requires_dist": [ "django" ], "requires_python": "", "summary": "UnixDateTimeField in Django", "version": "1.0.3" }, "last_serial": 4869257, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "105edcf1d240116e55bd37aa74a8f99b", "sha256": "28896cd87a0f642a9eef1cc81fb7e5aafcf23414656d1c3485230425824b19d3" }, "downloads": -1, "filename": "django-unixdatetimefield-0.1.0.tar.gz", "has_sig": false, "md5_digest": "105edcf1d240116e55bd37aa74a8f99b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3070, "upload_time": "2015-03-21T15:20:26", "url": "https://files.pythonhosted.org/packages/e4/7d/6c0d187c7351acbfba6a97c667b3df5949908d532d2ca0a44131de3b8ecd/django-unixdatetimefield-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "2aee5a56c7d773ea450bde64d7c4c2a4", "sha256": "b0406a64aebfcf409c7376afb17d945e7d24cc3dc23dd2e2ae89b41238c7ba3a" }, "downloads": -1, "filename": "django-unixdatetimefield-0.1.1.tar.gz", "has_sig": false, "md5_digest": "2aee5a56c7d773ea450bde64d7c4c2a4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3218, "upload_time": "2015-03-21T19:49:43", "url": "https://files.pythonhosted.org/packages/7e/95/124bf1b062841302d4b787badb4db5daebfb1edd4d354c75af8458f36a69/django-unixdatetimefield-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "c1505e3ef0edfb8cdd3866827eea9fe3", "sha256": "c1c8f3d24bb4016085a6b7f0661bbb5cea69536d8392769f3802bb7b4ac9703c" }, "downloads": -1, "filename": "django-unixdatetimefield-0.1.2.tar.gz", "has_sig": false, "md5_digest": "c1505e3ef0edfb8cdd3866827eea9fe3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3234, "upload_time": "2015-03-21T19:57:45", "url": "https://files.pythonhosted.org/packages/58/c5/0c0244d941db2fff777ca341d0575e72dafe196bdf7b0aa7db7d0f6b352b/django-unixdatetimefield-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "65f0aff3b961e4378b1f0f944d038ec3", "sha256": "ea9672d75e5107503ce46bfab0727255b07c85ddd7221c7e3bdfeac31a64d5bb" }, "downloads": -1, "filename": "django-unixdatetimefield-0.1.3.tar.gz", "has_sig": false, "md5_digest": "65f0aff3b961e4378b1f0f944d038ec3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3716, "upload_time": "2015-03-27T08:25:23", "url": "https://files.pythonhosted.org/packages/28/49/aa23453fe461701642452ca0aa0f3648be0848885a12ce56a1aabdacbb4e/django-unixdatetimefield-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "050c89d5cf89f4b8201fcc77053d62de", "sha256": "ed4a4c8c9cc28884931427e3487d796b68f16a2f60ce54c429d2b566890aeea7" }, "downloads": -1, "filename": "django-unixdatetimefield-0.1.4.tar.gz", "has_sig": false, "md5_digest": "050c89d5cf89f4b8201fcc77053d62de", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3826, "upload_time": "2016-02-13T17:05:09", "url": "https://files.pythonhosted.org/packages/fc/bf/cb005f3a397ad710d22f0a3668d8ef31a1d3095e3155b07b9ea68d921b7c/django-unixdatetimefield-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "3bafc44eaf0caf5c6939c7ef558369ed", "sha256": "666502956096eb00a16c76866f5a6c9fe1b5ad47642882fe10aae4923a48e2ea" }, "downloads": -1, "filename": "django-unixdatetimefield-0.1.5.tar.gz", "has_sig": false, "md5_digest": "3bafc44eaf0caf5c6939c7ef558369ed", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4141, "upload_time": "2016-12-14T23:14:43", "url": "https://files.pythonhosted.org/packages/71/ab/753243dc53b52ad6220d45d30000a31522918e906ef8ad1b3397c35fdd3e/django-unixdatetimefield-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "63543615b9438a44d7f17be69e7cec18", "sha256": "2a2b67fecebc030e3705e1a7dca7ee525749a029d0126e93d7158aeea5d951a4" }, "downloads": -1, "filename": "django-unixdatetimefield-0.1.6.tar.gz", "has_sig": false, "md5_digest": "63543615b9438a44d7f17be69e7cec18", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4188, "upload_time": "2016-12-15T14:38:29", "url": "https://files.pythonhosted.org/packages/77/af/fa84cbe455b3f3607066eca3a4b046fd6f580066aad75bf1b077b60fe4b0/django-unixdatetimefield-0.1.6.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "3f80a9d6182988f9ebfb97f42eb2ff81", "sha256": "283dbda0aedb3e4cfcf3668911e6e7fa733cd0880b47cb1977e30094e2382ceb" }, "downloads": -1, "filename": "django_unixdatetimefield-1.0.0-py2-none-any.whl", "has_sig": false, "md5_digest": "3f80a9d6182988f9ebfb97f42eb2ff81", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 4841, "upload_time": "2019-02-23T21:17:04", "url": "https://files.pythonhosted.org/packages/42/5e/7edc02e6b607717151dad65d29f1d1e5927a79754b5009dc4ca011e47843/django_unixdatetimefield-1.0.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f0d059605b55254f96cb652c7702e639", "sha256": "7f069388ad50223279cb1dda1ed750b9476c28248e08b4a3024f34d911746be5" }, "downloads": -1, "filename": "django-unixdatetimefield-1.0.0.tar.gz", "has_sig": false, "md5_digest": "f0d059605b55254f96cb652c7702e639", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4113, "upload_time": "2019-02-23T21:17:06", "url": "https://files.pythonhosted.org/packages/a8/9f/d02949688763b7589acf63d31189db9c9deb6ab37b5a874712dd7c9d6c71/django-unixdatetimefield-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "e1e870920e34f57c4eb3ce9224ff02c1", "sha256": "8c56643ba6ce7d1d6f0fc4c85d58510981f051b1f388e7714f8f1e58e0b752f4" }, "downloads": -1, "filename": "django_unixdatetimefield-1.0.1-py2-none-any.whl", "has_sig": false, "md5_digest": "e1e870920e34f57c4eb3ce9224ff02c1", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 4842, "upload_time": "2019-02-24T14:28:24", "url": "https://files.pythonhosted.org/packages/ad/b5/87464ea9252df950ff63af703762caf15f015b3b78e7b26ec0285a722936/django_unixdatetimefield-1.0.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a7dc04a53860ee440e917360d7f14c27", "sha256": "420981fbec1442bb7907e9ee05f872e94a6402cefbe98449f89e1f68673158bc" }, "downloads": -1, "filename": "django-unixdatetimefield-1.0.1.tar.gz", "has_sig": false, "md5_digest": "a7dc04a53860ee440e917360d7f14c27", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3313, "upload_time": "2019-02-24T14:28:26", "url": "https://files.pythonhosted.org/packages/98/c0/6d2e5d467c09832df05c36fb670f6fbfc3bc3f962b14c97428822d26544e/django-unixdatetimefield-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "75d93dc4c50e49c78c1a625a2f817edc", "sha256": "4e567dbd853d0a8718a71d92f8f3c7108b605f3b3994e7f7fe7ea05a3b0c67d7" }, "downloads": -1, "filename": "django_unixdatetimefield-1.0.2-py2-none-any.whl", "has_sig": false, "md5_digest": "75d93dc4c50e49c78c1a625a2f817edc", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 6663, "upload_time": "2019-02-24T14:32:54", "url": "https://files.pythonhosted.org/packages/5d/01/b875b3829c91a3d77e6c2b54b35073727c545cca179e12540ef6f7b408db/django_unixdatetimefield-1.0.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e3b5e12c2fb5c1c8026ce1a5df43af8a", "sha256": "aec466b57fb595c78b31a8bb85dc727395003a19864644265bcf88c3a1def869" }, "downloads": -1, "filename": "django-unixdatetimefield-1.0.2.tar.gz", "has_sig": false, "md5_digest": "e3b5e12c2fb5c1c8026ce1a5df43af8a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4216, "upload_time": "2019-02-24T14:32:55", "url": "https://files.pythonhosted.org/packages/ef/c1/ce364a9097c50d8073484ee13475eb6e191bc3206001f54e9b4d1e5ac9d2/django-unixdatetimefield-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "24953e51033159f90b92cba6ea81c9f9", "sha256": "51007d5f30505e2da8fb2d4f6c40c698fdeeadae4f73db72d4de3f41e8f06060" }, "downloads": -1, "filename": "django_unixdatetimefield-1.0.3-py2-none-any.whl", "has_sig": false, "md5_digest": "24953e51033159f90b92cba6ea81c9f9", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 6666, "upload_time": "2019-02-26T11:01:59", "url": "https://files.pythonhosted.org/packages/6e/27/eda4abbdf40fbdae49e7460b9162beab755e391600d31d4b89bd9e498361/django_unixdatetimefield-1.0.3-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b88f37b662dc7f2028ec710f239b3f59", "sha256": "e1a230ed87dc3d75a2ce0d8841f8fa9d3c8f76503b3bd8f256d7eb0e8ad85585" }, "downloads": -1, "filename": "django-unixdatetimefield-1.0.3.tar.gz", "has_sig": false, "md5_digest": "b88f37b662dc7f2028ec710f239b3f59", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4484, "upload_time": "2019-02-26T11:02:01", "url": "https://files.pythonhosted.org/packages/e1/51/7fb314888c14256ce42f749afaa833b53355aab61d96ccdf50c934d87291/django-unixdatetimefield-1.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "24953e51033159f90b92cba6ea81c9f9", "sha256": "51007d5f30505e2da8fb2d4f6c40c698fdeeadae4f73db72d4de3f41e8f06060" }, "downloads": -1, "filename": "django_unixdatetimefield-1.0.3-py2-none-any.whl", "has_sig": false, "md5_digest": "24953e51033159f90b92cba6ea81c9f9", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 6666, "upload_time": "2019-02-26T11:01:59", "url": "https://files.pythonhosted.org/packages/6e/27/eda4abbdf40fbdae49e7460b9162beab755e391600d31d4b89bd9e498361/django_unixdatetimefield-1.0.3-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b88f37b662dc7f2028ec710f239b3f59", "sha256": "e1a230ed87dc3d75a2ce0d8841f8fa9d3c8f76503b3bd8f256d7eb0e8ad85585" }, "downloads": -1, "filename": "django-unixdatetimefield-1.0.3.tar.gz", "has_sig": false, "md5_digest": "b88f37b662dc7f2028ec710f239b3f59", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4484, "upload_time": "2019-02-26T11:02:01", "url": "https://files.pythonhosted.org/packages/e1/51/7fb314888c14256ce42f749afaa833b53355aab61d96ccdf50c934d87291/django-unixdatetimefield-1.0.3.tar.gz" } ] }