{ "info": { "author": "Joppe Geluykens and Roeland Matthijssens", "author_email": "joppe@youngwolves.co", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v2 (GPLv2)", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "A wrapper for libfaketime, introducing timezone-awareness.\n==========================================================\n\nA wrapper around `python-libfaketime `__\nthat introduces awareness for (django) timezones.\n\n\nInstallation\n------------\n\nInstall with **pip**:\n\n.. code-block:: sh\n\n $ pip install libfaketime-tz-wrapper\n\n\nSetup\n-----\n\nlibfaketime needs the LD_PRELOAD variable to be set.\n\nIf you run your tests in PyCharm, add it to the environment variables of your test configuration in PyCharm:\n\n.. code-block::\n\n name: LD_PRELOAD\n value: /home/foo//vendor/libfaketime/src/libfaketime.so.1\n\nIf you run tests in the command line, export this environment variable when running the test command:\n\n.. code-block:: sh\n\n $ LD_PRELOAD=/home/foo//vendor/libfaketime/src/libfaketime.so.1 \n\nIn both cases, replace the part with the correct path to where the libfaketime package was installed.\n\n\nUsage\n-----\n\n.. code-block:: python\n\n import datetime\n\n from libfaketime import fake_time\n\n def get_tomorrow():\n return datetime.date.today() + datetime.timedelta(days=1)\n\n\n @fake_time('2014-01-01 00:00:00')\n def test_get_tomorrow():\n assert get_tomorrow() == datetime.date(2014, 1, 2)", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/jppgks/python-libfaketime-tz-wrapper/tarball/1.1.1", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jppgks/python-libfaketime-tz-wrapper", "keywords": null, "license": "GPLv2", "maintainer": null, "maintainer_email": null, "name": "libfaketime-tz-wrapper", "package_url": "https://pypi.org/project/libfaketime-tz-wrapper/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/libfaketime-tz-wrapper/", "project_urls": { "Download": "https://github.com/jppgks/python-libfaketime-tz-wrapper/tarball/1.1.1", "Homepage": "https://github.com/jppgks/python-libfaketime-tz-wrapper" }, "release_url": "https://pypi.org/project/libfaketime-tz-wrapper/1.1.1/", "requires_dist": null, "requires_python": null, "summary": "A wrapper around python-libfaketime that introduces timezone-awareness.", "version": "1.1.1" }, "last_serial": 2254674, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "61840e1f7e51abee1a5e1d2526b5908c", "sha256": "8a98221e7d5e47ac93b931f241cbd48ced244209c4040dbf2ecd66ebbd80b4af" }, "downloads": -1, "filename": "libfaketime-tz-wrapper-0.1.0.tar.gz", "has_sig": false, "md5_digest": "61840e1f7e51abee1a5e1d2526b5908c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4075, "upload_time": "2016-07-27T08:27:11", "url": "https://files.pythonhosted.org/packages/63/87/bf6677cc5f93239c2cbf5386c971ed8ce0556159680339ef9b21c7e2e501/libfaketime-tz-wrapper-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "d0638a4a102fa0235cfe55da1f8ddbbb", "sha256": "030abc1465f47e81fe88d90971cf6d61abcff3747559fcaa9789a2667c9a3205" }, "downloads": -1, "filename": "libfaketime-tz-wrapper-0.1.1.tar.gz", "has_sig": false, "md5_digest": "d0638a4a102fa0235cfe55da1f8ddbbb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3948, "upload_time": "2016-07-27T08:33:39", "url": "https://files.pythonhosted.org/packages/98/93/39566e46ca535adb01ecb4416df4a7e12be6afc7a0a4edc339890242627a/libfaketime-tz-wrapper-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "2a76982936fddebb5ce5fe505ee0bd26", "sha256": "d95b0a2e0d983bd3fa6ef0ade61d0dbabb95f39bec8344cfe77e879efc578ced" }, "downloads": -1, "filename": "libfaketime-tz-wrapper-0.1.2.tar.gz", "has_sig": false, "md5_digest": "2a76982936fddebb5ce5fe505ee0bd26", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3942, "upload_time": "2016-07-27T08:48:46", "url": "https://files.pythonhosted.org/packages/5f/f1/6169c9da7aa1b852fd9afcfae87c806f9562ba9aa3a0a85692b775ec5c98/libfaketime-tz-wrapper-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "1631455d00a714482af4f3fb0bd7bb5f", "sha256": "87e9b10dcf8cc96025bf5697ea3e916b5aafd58aa9b1b7b4aaaddb562f3da644" }, "downloads": -1, "filename": "libfaketime-tz-wrapper-0.1.3.tar.gz", "has_sig": false, "md5_digest": "1631455d00a714482af4f3fb0bd7bb5f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3944, "upload_time": "2016-07-27T09:07:09", "url": "https://files.pythonhosted.org/packages/5a/12/a21387175475aef26a75bbf78c630e348d5fdbe4b51ca2a5e87090c384f2/libfaketime-tz-wrapper-0.1.3.tar.gz" } ], "1.0.0": [], "1.0.1": [ { "comment_text": "", "digests": { "md5": "21bc420f05fa4e3d30760d9c1dfd73e4", "sha256": "77b51ff8a5c408b785c412cca95eebd4d6114ea689fc672904799e1e130dac4a" }, "downloads": -1, "filename": "libfaketime-tz-wrapper-1.0.1.tar.gz", "has_sig": false, "md5_digest": "21bc420f05fa4e3d30760d9c1dfd73e4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2620, "upload_time": "2016-07-27T11:45:50", "url": "https://files.pythonhosted.org/packages/a1/96/e1e80775dced61c89d59fa13a2ac3af413204876b5e91061facb19f9e2e7/libfaketime-tz-wrapper-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "128c2ab64d1e2f1c0b12ad082d381878", "sha256": "0a657c67a04f4c2ee9b9615bf41975a16ab08c92534923bd5ab0a60ed5eb12d1" }, "downloads": -1, "filename": "libfaketime-tz-wrapper-1.0.2.tar.gz", "has_sig": false, "md5_digest": "128c2ab64d1e2f1c0b12ad082d381878", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2675, "upload_time": "2016-07-28T07:42:18", "url": "https://files.pythonhosted.org/packages/e6/97/b5508793337b016b7d05539252fb0ed445bd1f7775fd728cafa65c777d0d/libfaketime-tz-wrapper-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "12d099c5d8f452e44e1f19917a97e646", "sha256": "e97b126db08fa44ed9543607c6ad4b9e28e008d8c52e2467e4741f176c7421d8" }, "downloads": -1, "filename": "libfaketime-tz-wrapper-1.0.3.tar.gz", "has_sig": false, "md5_digest": "12d099c5d8f452e44e1f19917a97e646", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2676, "upload_time": "2016-07-28T10:06:49", "url": "https://files.pythonhosted.org/packages/35/4e/6bff6baf4e84852a73f566ae9fe06ba21c2c8a5216658215654cc3c19e93/libfaketime-tz-wrapper-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "0a5d827c2602f24efc1f20cfbfa0b7c6", "sha256": "109766ecdf91507aac9b46325519778705bcb38dc695288a9b3cb159cfad0544" }, "downloads": -1, "filename": "libfaketime-tz-wrapper-1.0.4.tar.gz", "has_sig": false, "md5_digest": "0a5d827c2602f24efc1f20cfbfa0b7c6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2821, "upload_time": "2016-07-28T11:39:37", "url": "https://files.pythonhosted.org/packages/14/8c/707267992135a2adadd9a15d87274cf9e2a4554864115775c50edf130e78/libfaketime-tz-wrapper-1.0.4.tar.gz" } ], "1.0.5": [ { "comment_text": "", "digests": { "md5": "02939e2701b66a806ff005d2663dd69f", "sha256": "cf6010048df717b05215e0b5b7e0608df94afe476ad92e617226a2d7268d96d6" }, "downloads": -1, "filename": "libfaketime-tz-wrapper-1.0.5.tar.gz", "has_sig": false, "md5_digest": "02939e2701b66a806ff005d2663dd69f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2806, "upload_time": "2016-07-28T11:51:07", "url": "https://files.pythonhosted.org/packages/aa/a1/c4240a80187335bdbfa906e1fc8cb0d2be0b190550a7036a3f264797fb5c/libfaketime-tz-wrapper-1.0.5.tar.gz" } ], "1.0.6": [ { "comment_text": "", "digests": { "md5": "277393d25e014877db2532bff5b49dfb", "sha256": "41b10780514bce49e8a0fa19919a18fdd1c14b0e709890a62a313a811f2459e6" }, "downloads": -1, "filename": "libfaketime-tz-wrapper-1.0.6.tar.gz", "has_sig": false, "md5_digest": "277393d25e014877db2532bff5b49dfb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2818, "upload_time": "2016-07-28T12:10:03", "url": "https://files.pythonhosted.org/packages/4b/fd/5f9bf9fe27ed3400a5ff9b731db38ba693517e39727fd9b40aea665ba014/libfaketime-tz-wrapper-1.0.6.tar.gz" } ], "1.0.7": [ { "comment_text": "", "digests": { "md5": "cd763c2087f64d6a1141f7eee3273db0", "sha256": "66172464f6356baeeadb1d8fdb2e1df21165dec62894ae2a0ae8b431e07ac805" }, "downloads": -1, "filename": "libfaketime-tz-wrapper-1.0.7.tar.gz", "has_sig": false, "md5_digest": "cd763c2087f64d6a1141f7eee3273db0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2821, "upload_time": "2016-07-28T12:22:53", "url": "https://files.pythonhosted.org/packages/e4/4a/f4c5be5f4d57339a2a28765278b65854883ca35d63d53fe88f7c2820741c/libfaketime-tz-wrapper-1.0.7.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "3e1ca4e07bc2475e8e123328363ba987", "sha256": "ffdf997c9bc61fcb288fbab6a9b56bf2d06185c9115cb237437e5d40c8cb0fd2" }, "downloads": -1, "filename": "libfaketime-tz-wrapper-1.1.0.tar.gz", "has_sig": false, "md5_digest": "3e1ca4e07bc2475e8e123328363ba987", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2616, "upload_time": "2016-08-01T06:05:57", "url": "https://files.pythonhosted.org/packages/da/e8/c329f82272852bacee6f138b54041a6204f74264f896d52bf431e6611dff/libfaketime-tz-wrapper-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "ab0ada8827c4f478661e5f1f0a4cddcf", "sha256": "775b9cd1f335cad9673e0945f55468146beb33700ba4a55728f2983dc63eed78" }, "downloads": -1, "filename": "libfaketime-tz-wrapper-1.1.1.tar.gz", "has_sig": false, "md5_digest": "ab0ada8827c4f478661e5f1f0a4cddcf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2631, "upload_time": "2016-08-01T06:30:59", "url": "https://files.pythonhosted.org/packages/d3/7d/a48a198416b42e89b89097f1e70dd267dcbf99caa8e68262523e4ae1c67d/libfaketime-tz-wrapper-1.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ab0ada8827c4f478661e5f1f0a4cddcf", "sha256": "775b9cd1f335cad9673e0945f55468146beb33700ba4a55728f2983dc63eed78" }, "downloads": -1, "filename": "libfaketime-tz-wrapper-1.1.1.tar.gz", "has_sig": false, "md5_digest": "ab0ada8827c4f478661e5f1f0a4cddcf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2631, "upload_time": "2016-08-01T06:30:59", "url": "https://files.pythonhosted.org/packages/d3/7d/a48a198416b42e89b89097f1e70dd267dcbf99caa8e68262523e4ae1c67d/libfaketime-tz-wrapper-1.1.1.tar.gz" } ] }