{ "info": { "author": "Alan Franzoni", "author_email": "username@franzoni.eu", "bugtrack_url": null, "classifiers": [], "description": ".. -*- restructuredtext -*-\n\n========\nannopyte\n========\nAnnotations and metadata processing for Python\n----------------------------------------------\n\n\nOverview\n========\n\nThis is designed to add and process annotations to python objects, a-la `Java Annotations `_.\n\nAnnotations are just metadata, something that is not directly used by code itself but can be queried by other parts of the program.\n\nPython itself doesn't need special low-level implementations in order to support metadata, this library's target is just to provide\na standard way of setting and querying metadata from python objects.\n\nPython 3 actually contains a basic version of metadata, but it's limited to the arguments and return values of functions; this library is designed to extend\nsuch support to other objects, so you can annotate a class, a function or any object with any kind of data.\n\n\nCurrent status\n==============\n\nCurrently contains a `PEP-3107 `_ compatible signature annotation implementation\nfor Python 2.x.\n\nExample code\n============\n\nBasic function annotation::\n\n >>> from annopyte.annotations.signature import annotate_f\n >>> @annotate_f(\"return_value_annotation\", param1=\"asd\", param2=\"fgh\")\n ... def myfunc(param1, param2=None):\n ... pass\n ... \n >>> print myfunc.__annotations__\n {'return': 'return_value_annotation', 'param2': 'fgh', 'param1': 'asd'}\n >>>\n\nProspective code ( to be done )\n===============================\n\nThat's the basic idea I'd like to implement for metadata usage::\n\n class Author(Annotation)\n name = \"default\"\n\n @Author(name=\"John Doe\")\n class MyClass(object):\n pass\n\n >>> query_for_metadata(\"mypackage\", Author, name=\"John Doe\")\n []\n >>>\n\nThat's it.\n\nHomepage\n========\nhttp://annopyte.franzoni.eu\n\nSupport and discussions\n=======================\n\npydenji-users@googlegroups.com\n\nhttps://groups.google.com/d/forum/pydenji-users\n\nContact me\n==========\n\nAlan Franzoni (please note: write LITERALLY username in the email address!)", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://annopyte.franzoni.eu", "keywords": "annotations metadata", "license": "APL 2.0", "maintainer": null, "maintainer_email": null, "name": "annopyte", "package_url": "https://pypi.org/project/annopyte/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/annopyte/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://annopyte.franzoni.eu" }, "release_url": "https://pypi.org/project/annopyte/0.3.1/", "requires_dist": null, "requires_python": null, "summary": "python based tool for annotation and annotation processing.", "version": "0.3.1" }, "last_serial": 786279, "releases": { "0.1.0": [], "0.2": [ { "comment_text": "", "digests": { "md5": "a31f629997425980b8e21044e5ca2311", "sha256": "7260c91483a984eac88b377313cd7b51837e1897a42e4a0ba0bd736ef64ac520" }, "downloads": -1, "filename": "annopyte-0.2.tar.gz", "has_sig": false, "md5_digest": "a31f629997425980b8e21044e5ca2311", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3104, "upload_time": "2011-07-12T12:48:33", "url": "https://files.pythonhosted.org/packages/e5/52/c401dac43558bfcfa3287030d40e5f919bba65acb51999d57420a4eb367c/annopyte-0.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "74b993bf149cd243f8e4134bf04b0e6b", "sha256": "aa3b216f051892fc1e6dc8f3a3f25074344d8e85f1bcf50996c2307137f7d785" }, "downloads": -1, "filename": "annopyte-0.2.1.tar.gz", "has_sig": false, "md5_digest": "74b993bf149cd243f8e4134bf04b0e6b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3222, "upload_time": "2011-07-12T12:53:54", "url": "https://files.pythonhosted.org/packages/01/40/e08c5ecd0468b0d7d9561beebe38f182de675627e1452172d4095fdebf14/annopyte-0.2.1.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "0877d1d88b7e1211d26e1039cdf3dbfa", "sha256": "1fea7f6e748074959ce1dd04be7b1c92935ef8c260315c9d788744fd6191b05e" }, "downloads": -1, "filename": "annopyte-0.3.0.tar.gz", "has_sig": false, "md5_digest": "0877d1d88b7e1211d26e1039cdf3dbfa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4101, "upload_time": "2013-01-24T16:49:34", "url": "https://files.pythonhosted.org/packages/13/cf/59a75b188df580b7a48a99600635ca3b4204fb542b4b7cde5fe87f5f32b3/annopyte-0.3.0.tar.gz" }, { "comment_text": "", "digests": { "md5": "bb5c00f7890e5523b9f4804841b4d3d3", "sha256": "b962bf225cba0391e6ed42ee8eabd493250093e61a86e61f0ffec74c1b8b245c" }, "downloads": -1, "filename": "annopyte-0.3.0.zip", "has_sig": false, "md5_digest": "bb5c00f7890e5523b9f4804841b4d3d3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8382, "upload_time": "2013-01-24T16:52:00", "url": "https://files.pythonhosted.org/packages/8a/f1/25ce7799bcca894cbfc86d99074d05c52f42ad7fe0b6684da63cf0cf36c4/annopyte-0.3.0.zip" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "faf18296f56fadb1da878d0329fa1c3e", "sha256": "de78362cb01584ca23b9ffb9a9ad0f1ed678b84d2948eb0942c31e49225cfc9b" }, "downloads": -1, "filename": "annopyte-0.3.1.zip", "has_sig": false, "md5_digest": "faf18296f56fadb1da878d0329fa1c3e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8573, "upload_time": "2013-01-24T16:56:44", "url": "https://files.pythonhosted.org/packages/72/2d/e4c7aafe8b783368c3fdce8b71e629c23b4a356676746f21ec10ecfd92f5/annopyte-0.3.1.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "faf18296f56fadb1da878d0329fa1c3e", "sha256": "de78362cb01584ca23b9ffb9a9ad0f1ed678b84d2948eb0942c31e49225cfc9b" }, "downloads": -1, "filename": "annopyte-0.3.1.zip", "has_sig": false, "md5_digest": "faf18296f56fadb1da878d0329fa1c3e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8573, "upload_time": "2013-01-24T16:56:44", "url": "https://files.pythonhosted.org/packages/72/2d/e4c7aafe8b783368c3fdce8b71e629c23b4a356676746f21ec10ecfd92f5/annopyte-0.3.1.zip" } ] }