{ "info": { "author": "sens", "author_email": "hanyueqi123@163.com", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python :: 2.7" ], "description": "This is two function in this package, the first is visit and it visit all the file in the direction which you choose and the file whick you choose in type. It descriped as follow:\r\ndef visit(path,prex=\"\",feature=print,istop=True):\r\n '''\r\n\t[path] is the path you want to visit\r\n\t[prex] is the suffix you want to filter, the default is \"\", that is means visit all \r\n\t[feature] is the function you want to call, default to call the print function and print all the file name with the path,and you cant use it to call you own function \r\n\t[is top] to check the call is the top level, you may not use it \r\n\teg. you can can is like this -- visit(\".\",\"py\",lines)\r\n\tand if you just import visitor you can write like this -- visitor.visit(\".\",\"py\",visitor.lines)\r\n\tany problem or advice mailto hanyueqi123@163.com, thank you.\r\n '''\r\nAn other function is line(), it sum the line all the file, and you can realize you own method by the name parameter and it will call by visit(). It descriped as follow:\r\ndef lines(file_name):\r\n '''\r\n\tThis functon is to count the line in the file \r\n\t[file_name] is the single file you want to visitor\r\n '''", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.5dit.org", "keywords": "", "license": "UNKNOWN", "maintainer": "sens", "maintainer_email": "hanyueqi123@163.com", "name": "file_visitor", "package_url": "https://pypi.org/project/file_visitor/", "platform": "It has ben test on Windows and CentOS 6.4.", "project_url": "https://pypi.org/project/file_visitor/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://www.5dit.org" }, "release_url": "https://pypi.org/project/file_visitor/0.1.11/", "requires_dist": null, "requires_python": null, "summary": "A simple file search tools, you can easily sum all the files lines.", "version": "0.1.11" }, "last_serial": 1012470, "releases": { "0.1.10": [ { "comment_text": "", "digests": { "md5": "3a01a1c67a7ca815757fcf1d5554000f", "sha256": "ead191db3e829ab70564ef0f2e9a65816f17767b1805e910903da0364db9c714" }, "downloads": -1, "filename": "file_visitor-0.1.10.zip", "has_sig": false, "md5_digest": "3a01a1c67a7ca815757fcf1d5554000f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1552, "upload_time": "2014-01-29T03:45:53", "url": "https://files.pythonhosted.org/packages/b9/c1/0667c2b9c329434bdae22841522675ac2f0eae40d87a2fb06228e02c9d5c/file_visitor-0.1.10.zip" } ], "0.1.11": [ { "comment_text": "", "digests": { "md5": "3178bc8cb11cfed3215d33c7ee27c376", "sha256": "916858cf78f47f01afa090fbefb8bb778d469e9ba7bd47d64b9a135e87edf746" }, "downloads": -1, "filename": "file_visitor-0.1.11.zip", "has_sig": false, "md5_digest": "3178bc8cb11cfed3215d33c7ee27c376", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1542, "upload_time": "2014-01-29T03:51:20", "url": "https://files.pythonhosted.org/packages/42/b8/611234e81efd12106d5b8ca7acae56524d9c71bcbfd3610c77541e5affcc/file_visitor-0.1.11.zip" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "c7fa9456ddadf7b294d552238dc8645a", "sha256": "87bc5be600c6ad6b01d9a48a7deb6da7ff5ceaa8e28a3044c87a7fb6b1e698c5" }, "downloads": -1, "filename": "file_visitor-0.1.2.zip", "has_sig": false, "md5_digest": "c7fa9456ddadf7b294d552238dc8645a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1238, "upload_time": "2014-01-28T09:56:02", "url": "https://files.pythonhosted.org/packages/0c/8c/cfbdd1a0dc88b775bcb5acc66f6e2aa1c81ed6d54fef1bb61b815d3c7710/file_visitor-0.1.2.zip" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "34b960c3b08529ed24f17bc1a17f9900", "sha256": "f37df322809a9207b6b0c0c8384b559dcdcbbd33d9cc26eda1583190cba36fe3" }, "downloads": -1, "filename": "file_visitor-0.1.3.zip", "has_sig": false, "md5_digest": "34b960c3b08529ed24f17bc1a17f9900", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1510, "upload_time": "2014-01-28T10:12:39", "url": "https://files.pythonhosted.org/packages/9c/58/b62d8eae4797515ee2c9a7a347effbb18606e41095a6dd6157c39f021d8b/file_visitor-0.1.3.zip" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "2165c21cf6a8dd7c033324f2f3c884d6", "sha256": "fe26a158e27170e8004328ceb027f7f73899af78b739976e5fd89a8c8e2004b3" }, "downloads": -1, "filename": "file_visitor-0.1.4.zip", "has_sig": false, "md5_digest": "2165c21cf6a8dd7c033324f2f3c884d6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1543, "upload_time": "2014-01-29T00:57:43", "url": "https://files.pythonhosted.org/packages/50/04/9db647575c37d67b9fdf8526612ba84c3f183ece062c8257fa228da8f284/file_visitor-0.1.4.zip" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "d8b83f88de709b33e045ca09e509e0c1", "sha256": "7183c2912ed9b1fabc48d4e117a36f8f18c0f1ae715f8220fffcc56ca3e9be51" }, "downloads": -1, "filename": "file_visitor-0.1.5.zip", "has_sig": false, "md5_digest": "d8b83f88de709b33e045ca09e509e0c1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1540, "upload_time": "2014-01-29T01:07:39", "url": "https://files.pythonhosted.org/packages/da/06/c774f7e07c28d459585e9712ea9072c491734672e80b5fb0fc54405550e8/file_visitor-0.1.5.zip" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "e4b1d5ea8456641be9a47c1b93eb7969", "sha256": "012972fa03d4e8af94317b58fab289631ee520be8575ca1e2c330617d73ec3c6" }, "downloads": -1, "filename": "file_visitor-0.1.6.zip", "has_sig": false, "md5_digest": "e4b1d5ea8456641be9a47c1b93eb7969", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1541, "upload_time": "2014-01-29T01:08:59", "url": "https://files.pythonhosted.org/packages/8f/ff/adec3f4b538923644308732702e880e774df805d86c851d64e073d59db0b/file_visitor-0.1.6.zip" } ], "0.1.8": [ { "comment_text": "", "digests": { "md5": "56a68585d7b3d422a80c1bbc937f93f4", "sha256": "14b0caa8046e4b9345e595609cebecd0525b7081f481d0de3ccc389d38f1da43" }, "downloads": -1, "filename": "file_visitor-0.1.8.zip", "has_sig": false, "md5_digest": "56a68585d7b3d422a80c1bbc937f93f4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1545, "upload_time": "2014-01-29T01:43:03", "url": "https://files.pythonhosted.org/packages/71/90/4e6a36f4db3f116b0ae12f2f74d2accf98476d4bdad9d385d484488d8735/file_visitor-0.1.8.zip" } ], "0.1.9": [ { "comment_text": "", "digests": { "md5": "e1e52fc39dd7956558ce3bffbceb0840", "sha256": "43d9c07ec6aa74a61de9f22a52f1d9c0fb2839234b2a4e746193b36956206ff6" }, "downloads": -1, "filename": "file_visitor-0.1.9.zip", "has_sig": false, "md5_digest": "e1e52fc39dd7956558ce3bffbceb0840", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1554, "upload_time": "2014-01-29T03:24:40", "url": "https://files.pythonhosted.org/packages/c9/ea/892bf1530da069de7a609f24af4f538708aacd3a0c51f02f149e563603c1/file_visitor-0.1.9.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3178bc8cb11cfed3215d33c7ee27c376", "sha256": "916858cf78f47f01afa090fbefb8bb778d469e9ba7bd47d64b9a135e87edf746" }, "downloads": -1, "filename": "file_visitor-0.1.11.zip", "has_sig": false, "md5_digest": "3178bc8cb11cfed3215d33c7ee27c376", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1542, "upload_time": "2014-01-29T03:51:20", "url": "https://files.pythonhosted.org/packages/42/b8/611234e81efd12106d5b8ca7acae56524d9c71bcbfd3610c77541e5affcc/file_visitor-0.1.11.zip" } ] }