{ "info": { "author": "Niklas Lindstr\u00c3\u00b6m", "author_email": "lindstream@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "========================================================================\r\nOort\r\n========================================================================\r\n\r\nOort is a a Python_-based toolkit for accessing RDF_ graphs as plain objects.\r\n\r\nIt uses RDFLib_ for the heavy lifting.\r\n\r\n.. _RDF: http://www.rdfabout.net\r\n.. _Python: http://python.org\r\n.. _RDFLib: http://rdflib.net\r\n\r\nOverview\r\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\n``oort.rdfview``\r\n Contains classes and functions used for defining RDF queries and selectors, \r\n i.e. declarations used to pick properties and associated sub-queries from a\r\n chosen resource (similar to how many ORM-toolkits work).\r\n\r\n``oort.util.queries``\r\n Some basic base ``RdfQuery`` subtypes for common use (e.g. getting at \r\n localized annotation properties such as ``rdfs:label`` and similar).\r\n\r\n``oort.util.graphs``\r\n A collection of basic \"filesystem-to-graph\" utilities.\r\n\r\nHow?\r\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\nBy subclassing ``oort.rdfview.RdfQuery`` and adding attributes which are \r\ninstances of one of the Selector subclasses from that package, you define a set \r\nof rdf properties which are to be retrieved about a given subject (from a given \r\ngraph, in a given language). The selectors are given a ``URIRef`` which \r\ndetermines the property. Or a ``Namespace``, in which case the name of the \r\nattribute will be used.\r\n\r\nThese are some of the predefined classes from ``oort.util.queries``::\r\n\r\n class Typed(RdfQuery):\r\n rdfType = one(RDF.type)\r\n\r\n class Labelled(RdfQuery):\r\n label = localized(RDFS)\r\n\r\n class Annotated(Labelled):\r\n comment = localized(RDFS)\r\n\r\n class Resource(Annotated, Typed):\r\n pass\r\n\r\nSelectors can also be given ``RdfQuery`` types (or names of types, to enable \r\ne.g. cyclic references) which are used to describe their selected resources \r\nrecursively. Use like this::\r\n\r\n SIOC = Namespace(\"http://rdfs.org/sioc/ns#\")\r\n\r\n class Item(Annotated):\r\n _rdfbase_ = SIOC # sets default namespace base for this RdfQuery\r\n name = localized()\r\n description = localized()\r\n seeAlso = each(RDFS) >> Annotated\r\n\r\nThe overloaded ``>>`` is just sugar for::\r\n\r\n seeAlso = each(RDFS).viewed_as(Annotated)\r\n\r\nPredefined selectors in ``oort.rdfview`` are: ``one``, ``each``, \r\n``one_where_self_is``, ``each_where_self_is``, ``collection``, ``localized``, \r\n``i18n_dict``, ``each_localized`` and ``localized_xml``.\r\n\r\nRdfQueries are either directly instantiated with an RDFLib ``Graph`` instance, \r\nlanguage (string) and ``URIRef`` instance, or used via ``QueryContext``, which \r\nfacilitates this and other things.\r\n\r\nSe more examples (and test source code) at the `Oort Website`_.\r\n\r\n.. _`Oort Website`: http://oort.to\r\n\r\nThe latest development version can be installed from the\r\n`Oort SVN Trunk `_.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://oort.to/", "keywords": "rdf graph toolkit database orm programming", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "Oort", "package_url": "https://pypi.org/project/Oort/", "platform": "any", "project_url": "https://pypi.org/project/Oort/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://oort.to/" }, "release_url": "https://pypi.org/project/Oort/0.4/", "requires_dist": null, "requires_python": null, "summary": "A toolkit for accessing RDF graphs as plain objects.", "version": "0.4" }, "last_serial": 802604, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "edf0d8fe3864a2d4f1e07835d0d7fc2f", "sha256": "c1a6ac1a10548bba32c0065864ca31d6481662961247a8ed5cf30f40c49cb83e" }, "downloads": -1, "filename": "Oort-0.1-py2.4.egg", "has_sig": false, "md5_digest": "edf0d8fe3864a2d4f1e07835d0d7fc2f", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 35352, "upload_time": "2006-09-26T22:52:07", "url": "https://files.pythonhosted.org/packages/2d/54/87b2d350fb98b18e78144574d16b1b5f8f57e549da7bc65fcef294ae0968/Oort-0.1-py2.4.egg" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "06b9c0593dda944aebf8b1ef56e83803", "sha256": "b8d3262a22c2773111ea3b7ea977ddd6e5fb003a73a5577892e1f4ed04afb954" }, "downloads": -1, "filename": "Oort-0.2-py2.4.egg", "has_sig": false, "md5_digest": "06b9c0593dda944aebf8b1ef56e83803", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 48890, "upload_time": "2006-09-29T00:57:56", "url": "https://files.pythonhosted.org/packages/47/3f/6a7a17d12ede593372b61d141d2fda7a80728a75c5aa427bd46cca5c7f91/Oort-0.2-py2.4.egg" }, { "comment_text": "", "digests": { "md5": "23ca720c74c3df2179b8be347682461a", "sha256": "6dd7dffab7f8c89b6cdfc4db81c32fbebae35cf764ae5b6805e20b4929a56742" }, "downloads": -1, "filename": "Oort-0.2.tar.gz", "has_sig": false, "md5_digest": "23ca720c74c3df2179b8be347682461a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17121, "upload_time": "2006-09-29T00:57:41", "url": "https://files.pythonhosted.org/packages/82/22/610344beebe103e8e1514c365eee1a0a86d2cc6b0925eca40b1a2e29d998/Oort-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "e10a50df3f11842df193f392af5192d0", "sha256": "8fdafe0467d8ee19636f224cf885e11dc376bdc3a15b7978ca9b21ef5d2c783d" }, "downloads": -1, "filename": "Oort-0.3-py2.4.egg", "has_sig": false, "md5_digest": "e10a50df3f11842df193f392af5192d0", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 55098, "upload_time": "2006-10-03T21:12:31", "url": "https://files.pythonhosted.org/packages/d7/66/9a5159820bb03cc5e9c4c06516a20c3d9175a61ad5abdffe7aff1ae6da8d/Oort-0.3-py2.4.egg" }, { "comment_text": "", "digests": { "md5": "a61d2ffadf29baebb4eb0722d42d40e5", "sha256": "3d40c3c993e2cc8dfc5ad0e9921c5d9f185779d133741c547c1baa1d69377416" }, "downloads": -1, "filename": "Oort-0.3.tar.gz", "has_sig": false, "md5_digest": "a61d2ffadf29baebb4eb0722d42d40e5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19205, "upload_time": "2006-10-03T21:13:00", "url": "https://files.pythonhosted.org/packages/13/c1/b017f73d2e52077aa05f423d95522e29e8416d229929f56b0b4aa4e07ed7/Oort-0.3.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "3e645d9f3f08c51414e7814fadeac5dd", "sha256": "17f0345080ff2e43d68e592b63b99ada74f01c57ea64365c8bc9f959990209c6" }, "downloads": -1, "filename": "Oort-0.3.1-py2.4.egg", "has_sig": false, "md5_digest": "3e645d9f3f08c51414e7814fadeac5dd", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 58309, "upload_time": "2006-12-23T20:11:07", "url": "https://files.pythonhosted.org/packages/d2/4a/f17c27710c71df7515a190e73051e0fe4618f98b9861353ca461ea08336b/Oort-0.3.1-py2.4.egg" }, { "comment_text": "", "digests": { "md5": "85949f2c5eefdbc3b28aa1f7e69c08ca", "sha256": "0d13916a6b52c529218fb3166531bdb106770bf20c349c30dde2f1c216c2fefd" }, "downloads": -1, "filename": "Oort-0.3.1.tar.gz", "has_sig": false, "md5_digest": "85949f2c5eefdbc3b28aa1f7e69c08ca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20364, "upload_time": "2006-12-23T20:09:04", "url": "https://files.pythonhosted.org/packages/6b/9a/b1f37c98a356e764815ebae60a244529d2caf3dc9613d7bd7e1670c4e860/Oort-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "27ba78facee1025fae2180f88df95221", "sha256": "ce58a7bc93ad8bef7f4c14158d5c1113e96d48e7435a6829d97c4acacbaf39f8" }, "downloads": -1, "filename": "Oort-0.3.2-py2.5.egg", "has_sig": false, "md5_digest": "27ba78facee1025fae2180f88df95221", "packagetype": "bdist_egg", "python_version": "2.5", "requires_python": null, "size": 63435, "upload_time": "2007-02-12T22:53:51", "url": "https://files.pythonhosted.org/packages/c0/2a/eec8a10f86777e89cb4ce0003aa31dac6abac296427b06fd4ffc2ecc7140/Oort-0.3.2-py2.5.egg" }, { "comment_text": "", "digests": { "md5": "b43afa746bbbbc790604df3d71477423", "sha256": "69cce31e30514c366c2c233ce29ec0bbc8e748386fdd20bff7b835b90c887791" }, "downloads": -1, "filename": "Oort-0.3.2.tar.gz", "has_sig": false, "md5_digest": "b43afa746bbbbc790604df3d71477423", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23025, "upload_time": "2007-02-12T22:53:27", "url": "https://files.pythonhosted.org/packages/c5/e3/6e73408230a9c0b7807661f7dcbbef20ae3f8578ee3ebbeb8891b565b7eb/Oort-0.3.2.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "6b0787318bfe0d2ce497934ad1674fff", "sha256": "d9a8c34fc3714a3a7f923c54843bb3d22ca926318f9d39b9acc8dc66f4d8bacc" }, "downloads": -1, "filename": "Oort-0.4-py2.5.egg", "has_sig": false, "md5_digest": "6b0787318bfe0d2ce497934ad1674fff", "packagetype": "bdist_egg", "python_version": "2.5", "requires_python": null, "size": 44019, "upload_time": "2007-10-07T17:34:27", "url": "https://files.pythonhosted.org/packages/e9/9f/279763f0108d3c76fc534f6c0aee532b7b71e62498a48ffc96fece66856c/Oort-0.4-py2.5.egg" }, { "comment_text": "", "digests": { "md5": "944ce5ac7ad7c555f4d0b48ae29c23d8", "sha256": "7bb7acd2effd143a3f60739efd81eaea03d9d4c77ee4165cc9f046dc940c40fc" }, "downloads": -1, "filename": "Oort-0.4.tar.gz", "has_sig": false, "md5_digest": "944ce5ac7ad7c555f4d0b48ae29c23d8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16787, "upload_time": "2007-10-07T17:34:26", "url": "https://files.pythonhosted.org/packages/72/20/142323cb4a8e5d4d17800eb7a16caa41b94da2f2f6ae3ac0c266d401d99c/Oort-0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6b0787318bfe0d2ce497934ad1674fff", "sha256": "d9a8c34fc3714a3a7f923c54843bb3d22ca926318f9d39b9acc8dc66f4d8bacc" }, "downloads": -1, "filename": "Oort-0.4-py2.5.egg", "has_sig": false, "md5_digest": "6b0787318bfe0d2ce497934ad1674fff", "packagetype": "bdist_egg", "python_version": "2.5", "requires_python": null, "size": 44019, "upload_time": "2007-10-07T17:34:27", "url": "https://files.pythonhosted.org/packages/e9/9f/279763f0108d3c76fc534f6c0aee532b7b71e62498a48ffc96fece66856c/Oort-0.4-py2.5.egg" }, { "comment_text": "", "digests": { "md5": "944ce5ac7ad7c555f4d0b48ae29c23d8", "sha256": "7bb7acd2effd143a3f60739efd81eaea03d9d4c77ee4165cc9f046dc940c40fc" }, "downloads": -1, "filename": "Oort-0.4.tar.gz", "has_sig": false, "md5_digest": "944ce5ac7ad7c555f4d0b48ae29c23d8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16787, "upload_time": "2007-10-07T17:34:26", "url": "https://files.pythonhosted.org/packages/72/20/142323cb4a8e5d4d17800eb7a16caa41b94da2f2f6ae3ac0c266d401d99c/Oort-0.4.tar.gz" } ] }