{ "info": { "author": "Martijn Faassen", "author_email": "faassen@startifact.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.5" ], "description": "more.pathtool: info about paths in Morepath apps\n================================================\n\n``more.pathtool`` lets you create a tool that generates information\nabout paths in a Morepath application. This way you can see exactly\nwhat paths a Morepath application supports, including views and mounted\napplications. It does this by reading the configuration information of\na Morepath application.\n\nTo create such a tool you do the following, for instance in \n``tool.py`` of your project::\n\n from more.pathtool import path_tool\n from .someplace import SomeApp\n\n\n def my_path_tool():\n SomeApp.commit()\n path_tool(SomeApp)\n\nwhere ``SomeApp`` is the application you want to query, typically the\nroot application of your project.\n\nNow you need to hook it up in ``setup.py`` to you can have the tool\navailable::\n\n entry_points={\n 'console_scripts': [\n 'morepathtool = myproject.tool:my_path_tool',\n ]\n },\n\nYou also need to include ``more.pathtool`` in your setup requirements.\n\nAfter you install your project, you should now have a ``morepathtool``\ntool available that lets you query your project for path information.\n\nBy default the path tool generates a CSV file with information in it\nabout paths in your application::\n\n $ morepathtool paths.csv\n\nYou can open it in a spreadsheet application such as Excel or\nOpenOffice Calc. Note that if you your locale is European you have to\nadd ``-csv-dialect=europe`` to set the CVS writer to use ``;``` as the\ndelimiter instead of ``,`` so that Excel can read it.\n\nColumns\n-------\n\nThe columns in the CSV file are as follows:\n\npath\n The URL path. If this is a named view, the view name is appended\n with a ``+``. If this is an absorb path, the ``/...`` is appended.\n If this is an internal view, the path will be ``internal``.\n\ndirective\n The directive used.\n\nfilename\n The filename in which this configuration was made.\n\nlineno\n The line number of the configuration.\n\nmodel\n A dotted name to the model class exposed.\n\npermission\n A dotted name to the permission used for the path. Or ``public`` if no\n permission declared, or ``internal`` if this is an internal view. ``path``\n and ``mount`` directives have no permission.\n\nview_name\n The view name predicate, if any. By default this is empty. ``path``\n and ``mount`` directives have no view name.\n\nrequest_method\n The request method predicate. By default this is ``GET` ``path`` and\n ``mount`` directives have no request method predicates.\n\nextra_predicates\n Whether there are additional predicates in use. Go to the actual code\n to see them.\n\nCHANGES\n*******\n\n0.6.1 (2016-11-09)\n==================\n\n- Fix README; it was naming the csv-dialect option wrong.\n\n0.6 (2016-11-09)\n================\n\n- Added the ``--csv-dialect`` option so you can indicate the CSV\n dialect to use.\n\n- Added a ``europe`` dialect where the delimiter is ``;``, not\n ``,``. This to support Excel in Europe, as its CSV format is\n locale-dependent. (why...)\n\n0.5 (2016-11-01)\n================\n\n- Initial public release.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/morepath/more.pathtool", "keywords": "morepath", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "more.pathtool", "package_url": "https://pypi.org/project/more.pathtool/", "platform": "", "project_url": "https://pypi.org/project/more.pathtool/", "project_urls": { "Homepage": "https://github.com/morepath/more.pathtool" }, "release_url": "https://pypi.org/project/more.pathtool/0.6.1/", "requires_dist": null, "requires_python": "", "summary": "Information about path configuration in Morepath", "version": "0.6.1" }, "last_serial": 2450570, "releases": { "0.5": [ { "comment_text": "", "digests": { "md5": "365ab57b013b0dc0f5fad9756761ab2d", "sha256": "dc3dfe7d4d6da3d524ac2ece1843d4496c867324078497fe6ec1ad792831fe81" }, "downloads": -1, "filename": "more.pathtool-0.5.tar.gz", "has_sig": false, "md5_digest": "365ab57b013b0dc0f5fad9756761ab2d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9039, "upload_time": "2016-11-01T05:39:00", "url": "https://files.pythonhosted.org/packages/47/2d/22c938547508e38c0799391d25b39b9017bcee1d261ca18bd155abb8551f/more.pathtool-0.5.tar.gz" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "48a0aa5a1543bf87c4dbb7e9e1708418", "sha256": "03f2dcb8b28a733d49d079957adf89a1e26f41f252655d510e83980e2e100300" }, "downloads": -1, "filename": "more.pathtool-0.6.tar.gz", "has_sig": false, "md5_digest": "48a0aa5a1543bf87c4dbb7e9e1708418", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8048, "upload_time": "2016-11-09T08:51:18", "url": "https://files.pythonhosted.org/packages/39/a2/a5846438eecc1f377709172c400bfc0f7f3d5749b8cc0f73edbada55118c/more.pathtool-0.6.tar.gz" } ], "0.6.1": [ { "comment_text": "", "digests": { "md5": "3f5535e17c04b027e13297a874101327", "sha256": "af21a8364f4b15cd748492abd9a46c0024957ebe96bb771e060e775846924e09" }, "downloads": -1, "filename": "more.pathtool-0.6.1.tar.gz", "has_sig": false, "md5_digest": "3f5535e17c04b027e13297a874101327", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8095, "upload_time": "2016-11-09T09:01:41", "url": "https://files.pythonhosted.org/packages/43/12/e114e13cad4979165ac285768caf778ee7fa012b5ce43d39f4b056d00b3f/more.pathtool-0.6.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3f5535e17c04b027e13297a874101327", "sha256": "af21a8364f4b15cd748492abd9a46c0024957ebe96bb771e060e775846924e09" }, "downloads": -1, "filename": "more.pathtool-0.6.1.tar.gz", "has_sig": false, "md5_digest": "3f5535e17c04b027e13297a874101327", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8095, "upload_time": "2016-11-09T09:01:41", "url": "https://files.pythonhosted.org/packages/43/12/e114e13cad4979165ac285768caf778ee7fa012b5ce43d39f4b056d00b3f/more.pathtool-0.6.1.tar.gz" } ] }