{ "info": { "author": "Daniel Holth", "author_email": "dholth@fastmail.fm", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.4", "Programming Language :: Python :: 2.5", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3" ], "description": "markerlib\n=========\n\nCompile or interpret PEP 345 environment markers.\n\nUsage::\n\n >>> import markerlib\n >>> marker = markerlib.compile(\"os.name == 'posix'\")\n >>> marker(environment=markerlib.default_environment(),\n override={'os.name':'posix'})\n True\n >>> marker(environment=markerlib.default_environment(),\n override={'os.name':'nt'})\n False\n\nThe implementation uses the ast to compile environment markers as Python\nstatements with a limited set of allowed node types.\n\n\n\n0.6.0\n=====\n- Allow _ where . was previously used ('os.name' -> 'os_name')\n\n0.5.2\n=====\n- Restore 'as_function' bw/compat synonym for 'compile'\n\n0.5.1\n=====\n- Include 'empty marker' heuristic in markerlib itself\n\n0.5\n===\n- One final release until it's just a part of distribute\n\n0.4\n===\n- Cache compiled marker functions with weakref.WeakValueDictionary\n- Rename markerlib.as_function to markerlib.compile\n\n0.3\n===\n- Might work on Python 2.5 (includes needed parts of the ast module from\n Python 2.6+)\n- Include 100% test coverage, tox config file\n\n0.1\n===\n- Initial version", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://bitbucket.org/dholth/markerlib/", "keywords": "packaging pep345", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "markerlib", "package_url": "https://pypi.org/project/markerlib/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/markerlib/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://bitbucket.org/dholth/markerlib/" }, "release_url": "https://pypi.org/project/markerlib/0.6.0/", "requires_dist": null, "requires_python": null, "summary": "A compiler for PEP 345 environment markers.", "version": "0.6.0" }, "last_serial": 794526, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "ff68e730ee644cc74a33651af7ddfef8", "sha256": "5a581485f4f48cf839f0b70de583b09d61cba0d4109239efe90ac84f111ac840" }, "downloads": -1, "filename": "markerlib-0.1.tar.gz", "has_sig": false, "md5_digest": "ff68e730ee644cc74a33651af7ddfef8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2868, "upload_time": "2012-06-29T10:11:02", "url": "https://files.pythonhosted.org/packages/ae/fe/b0509d3da94fec008ca9e6c98cb7e3faa28003e5125a946c5def5dc8aef5/markerlib-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "3af8f3f781b7d41486699139e2cac942", "sha256": "104f91c7eb773356fc177e3e638f0db9e66f6c4784712cbff4f06d52a56cabc6" }, "downloads": -1, "filename": "markerlib-0.2.tar.gz", "has_sig": false, "md5_digest": "3af8f3f781b7d41486699139e2cac942", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2943, "upload_time": "2012-06-29T10:27:37", "url": "https://files.pythonhosted.org/packages/ae/fe/615f540750ff62931c47739f00889c4b7e7586402ae028d3bad74fb01033/markerlib-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "5d9a3c42ea589b05dfe4cea050b9080c", "sha256": "70ba4e8aeac0be2f9b5eff4430d8be9a67423e6b1c43d5e1d8b222d4f5f0540d" }, "downloads": -1, "filename": "markerlib-0.3.tar.gz", "has_sig": false, "md5_digest": "5d9a3c42ea589b05dfe4cea050b9080c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5003, "upload_time": "2012-07-08T07:03:06", "url": "https://files.pythonhosted.org/packages/ef/e4/a1b094b4bf79307cbecc198380e8bc7456804a54e05314562dcbb4557d91/markerlib-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "ada6ef8400ee7b8d608b6dbcecba5340", "sha256": "1207408dfa3d6519d786fb0327d26b64b04d3c3453efbc3e6f02b1613400b56e" }, "downloads": -1, "filename": "markerlib-0.4.tar.gz", "has_sig": false, "md5_digest": "ada6ef8400ee7b8d608b6dbcecba5340", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5223, "upload_time": "2012-07-24T04:04:17", "url": "https://files.pythonhosted.org/packages/18/0d/97251e253ba99c517881a9e62047ce74454d02a658fc947fa5e46289e6fe/markerlib-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "b1731d428bc3b7808625e5d056d65771", "sha256": "7dbbf0776054af00286aa8fcb3363744352bceb337063dc6de887e96579bf31d" }, "downloads": -1, "filename": "markerlib-0.5.tar.gz", "has_sig": false, "md5_digest": "b1731d428bc3b7808625e5d056d65771", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3636, "upload_time": "2012-08-27T23:00:54", "url": "https://files.pythonhosted.org/packages/35/ef/cdd02a22fd3b787404c84423454f57686c3282be7840429ef30220a4658a/markerlib-0.5.tar.gz" } ], "0.5.1": [ { "comment_text": "", "digests": { "md5": "01f26746e17da3b11ee132482bca7f20", "sha256": "98cf290f692aeadc3e9732338a506b1f482c56bdd10940dcca7199c8beb8025e" }, "downloads": -1, "filename": "markerlib-0.5.1.tar.gz", "has_sig": false, "md5_digest": "01f26746e17da3b11ee132482bca7f20", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3799, "upload_time": "2012-08-27T23:08:47", "url": "https://files.pythonhosted.org/packages/25/8b/4052f987e7c7eb8f81c138dcd959f54da2116e848dfad183c7ac8c29ff8e/markerlib-0.5.1.tar.gz" } ], "0.5.2": [ { "comment_text": "", "digests": { "md5": "cff08e67c6502615c24061bf21a016a5", "sha256": "3e0edb5444c80e00961ba8cbb5843040e029509d4feaefb9176c4db7296ef642" }, "downloads": -1, "filename": "markerlib-0.5.2.tar.gz", "has_sig": false, "md5_digest": "cff08e67c6502615c24061bf21a016a5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3595, "upload_time": "2012-09-03T16:28:47", "url": "https://files.pythonhosted.org/packages/78/bb/6aa5709edafaa60b98e2ceac0617b66294abdbbc0ac21b5e66c5df2045f4/markerlib-0.5.2.tar.gz" } ], "0.6.0": [ { "comment_text": "", "digests": { "md5": "169e4da7e0e5c538e0a863d18d285395", "sha256": "fd234e1dc3bb0929fa8c7c608c6a39151e637026ae817a91ee8c2c5e48e63754" }, "downloads": -1, "filename": "markerlib-0.6.0-py27-none-any.whl", "has_sig": false, "md5_digest": "169e4da7e0e5c538e0a863d18d285395", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 4814, "upload_time": "2013-05-07T03:44:20", "url": "https://files.pythonhosted.org/packages/b9/5a/ec9ed58ef44d33e6cf50c9c6c8edba07623ca7ce57e9423caef9ff0e8851/markerlib-0.6.0-py27-none-any.whl" }, { "comment_text": "", "digests": { "md5": "dc56a59074005dee9ceee5349ba99a89", "sha256": "2fdb3939441f5bf4f090b1979a34f84a11d33eed6c0e3995de88ae5c06b6e3ae" }, "downloads": -1, "filename": "markerlib-0.6.0.tar.gz", "has_sig": false, "md5_digest": "dc56a59074005dee9ceee5349ba99a89", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3798, "upload_time": "2013-05-07T03:44:13", "url": "https://files.pythonhosted.org/packages/d1/ba/ce29589707d8679b648517d936a2f08e3e18143d49822339d3cc35819c92/markerlib-0.6.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "169e4da7e0e5c538e0a863d18d285395", "sha256": "fd234e1dc3bb0929fa8c7c608c6a39151e637026ae817a91ee8c2c5e48e63754" }, "downloads": -1, "filename": "markerlib-0.6.0-py27-none-any.whl", "has_sig": false, "md5_digest": "169e4da7e0e5c538e0a863d18d285395", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 4814, "upload_time": "2013-05-07T03:44:20", "url": "https://files.pythonhosted.org/packages/b9/5a/ec9ed58ef44d33e6cf50c9c6c8edba07623ca7ce57e9423caef9ff0e8851/markerlib-0.6.0-py27-none-any.whl" }, { "comment_text": "", "digests": { "md5": "dc56a59074005dee9ceee5349ba99a89", "sha256": "2fdb3939441f5bf4f090b1979a34f84a11d33eed6c0e3995de88ae5c06b6e3ae" }, "downloads": -1, "filename": "markerlib-0.6.0.tar.gz", "has_sig": false, "md5_digest": "dc56a59074005dee9ceee5349ba99a89", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3798, "upload_time": "2013-05-07T03:44:13", "url": "https://files.pythonhosted.org/packages/d1/ba/ce29589707d8679b648517d936a2f08e3e18143d49822339d3cc35819c92/markerlib-0.6.0.tar.gz" } ] }