{ "info": { "author": "Rui Gomes", "author_email": "rui.tech@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "To install it please do:\n python setup.py install\nor:\n easy_install fsdir\n\nThis is a simple, but handy module,\ndo a recursive walk returning file and folder information. But with much better performance then os.walk.\nFor: OSX and Linux.\n\n\nCurrent version 0.8.4\n----\nThe 0.8.3 bring code clean up over the 0.8.2\nAnd add the following improvements:\n fsdir.error fuction now return all the files and dirs that couldnt be process\n Inode of the files and dirs add the the output.\n\n\nPS:This module calculate the size in disk not the size of the file.\n\n\n== Usage:==\n===fsdir.go(path='The path',summary=[True|False], crc32=[True|False])===\n #The true/false flag enable or disable the summary and crc32 mode\n\n\n== Example: ==\n=== Summary off, CRC32 off ===\n{{{\n>>>import fsdir\n>>> fsdir.go(path=\".\")\n[{'permGroup': 'rwx', 'permOwner': 'rwx', 'permOthers': 'r-x', 'Owner': 1000, 'Path': '.', 'Type': 'D', 'Size': 4}, {'permGroup': 'rwx', 'permOwner': 'rwx', 'permOthers': 'r-x', 'Owner': 1000, 'Path': './fsdir.so', 'Type': 'F', 'Size': 40}]\n}}}\n\n=== Summary off, CRC32 On ===\n{{{\nfsdir.go(path=\".\",crc32=True)\n[{'permGroup': 'rwx', 'permOwner': 'rwx', 'permOthers': 'r-x', 'Owner': 1000, 'Path': '.', 'Type': 'D', 'Size': 4}, #Directory's never return CRC32 \n{'permGroup': 'rwx', 'CRC32': 2117939917, 'permOwner': 'rwx', 'permOthers': 'r-x', 'Owner': 1000, 'Path': './fsdir.so', 'Type': 'F', 'Size': 40}]\n}}}\n\n=== Summary On. ===\n{{{\n>>>import fsdir\n>>> fsdir.go(path=\".\",summary=True)#Summary is off by default.\n[{'Dirs': 1, 'Files': 1, 'Size': 44}]\n}}}\n\n\n===== Files that are ignored, or Error out ======\nfsdir.error()\nReturn a list with the path to the file and the error\n\n\nNote: Permission always return 3 char string. \n\"rwx\" If the premession is active or - if is not: \nExample a file just with read permission will be \"r--\"\n\n=== where: ===\n {{{\n*list[x][\"permGroup\"]=Permission to the Group\n*list[x][\"permOwner\"]=Permission to the Owner \n*list[x][\"permOthers\"]=Permission to the Others\n*list[x][\"CRC32\"]=CRC32 hash #If crc32 flag true\n*list[x][\"Owner\"]=numeric id\n*list[x][\"Path\"]=Full Path to the file/dir\n*list[x][\"Type\"]=F|D (F=File, D=Directory)\n*list[x][\"Size\"]=Size in Kilobytes\n*list[x][\"Inode\"]=The inode of the file\n}}}\n\n", "description_content_type": null, "docs_url": "https://pythonhosted.org/fsdir/", "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://fsdir.googlecode.com", "keywords": null, "license": "GPL v2", "maintainer": null, "maintainer_email": null, "name": "fsdir", "package_url": "https://pypi.org/project/fsdir/", "platform": "*nix/OSx", "project_url": "https://pypi.org/project/fsdir/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://fsdir.googlecode.com" }, "release_url": "https://pypi.org/project/fsdir/0.8.4/", "requires_dist": null, "requires_python": null, "summary": "File System Scan", "version": "0.8.4" }, "last_serial": 792167, "releases": { "0.7": [ { "comment_text": "", "digests": { "md5": "3320bfa09e27adbdf88a06e36de57d42", "sha256": "5263babbc54efa0d498eb6e273c1f0e042644e368759b7a82b0442b4500b1854" }, "downloads": -1, "filename": "fsdir-0.7.tar.gz", "has_sig": false, "md5_digest": "3320bfa09e27adbdf88a06e36de57d42", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5260, "upload_time": "2012-03-26T03:39:22", "url": "https://files.pythonhosted.org/packages/dc/c9/9c9885abf4481c58b0c5e3c79ca2bde62bf5ccf0355962edac38fe4c8ef2/fsdir-0.7.tar.gz" } ], "0.8": [ { "comment_text": "", "digests": { "md5": "4b9786d8400800a44984630eca498d64", "sha256": "4ec772d0a2d9b1bfd750e50c6e601324b4a0f79230b82721c08e85dc6a185ebb" }, "downloads": -1, "filename": "fsdir-0.8.tar.gz", "has_sig": false, "md5_digest": "4b9786d8400800a44984630eca498d64", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5187, "upload_time": "2012-12-03T04:43:01", "url": "https://files.pythonhosted.org/packages/23/ee/2a7ef0ade2fefc6e23ae81af606d1a717b1f1836541de240958b10208061/fsdir-0.8.tar.gz" } ], "0.8.3": [ { "comment_text": "", "digests": { "md5": "0dc78c4f2a60de832eb7c2166c9c741b", "sha256": "179072118b7fa71b2aa0cbcae5770af5f104dd33331332d7a0a9ffebb0790b09" }, "downloads": -1, "filename": "fsdir-0.8.3.tar.gz", "has_sig": false, "md5_digest": "0dc78c4f2a60de832eb7c2166c9c741b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5553, "upload_time": "2012-12-26T07:01:00", "url": "https://files.pythonhosted.org/packages/53/dc/7240808366e685f37d3994d13c0fe10613929c8493366907ae0514dc595d/fsdir-0.8.3.tar.gz" } ], "0.8.4": [ { "comment_text": "", "digests": { "md5": "d8f7e0015e5390fd8fe21918edf409ab", "sha256": "b7ce82aaa7c1347524374fc85ddc966ae96431b9fc2578945899f8bd686c3551" }, "downloads": -1, "filename": "fsdir-0.8.4.tar.gz", "has_sig": false, "md5_digest": "d8f7e0015e5390fd8fe21918edf409ab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6261, "upload_time": "2012-12-26T07:06:24", "url": "https://files.pythonhosted.org/packages/c8/9a/ca1af2f4ffe7bf5ddeced5daad542e96b5b0eb0163e4ca003201e4318da0/fsdir-0.8.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d8f7e0015e5390fd8fe21918edf409ab", "sha256": "b7ce82aaa7c1347524374fc85ddc966ae96431b9fc2578945899f8bd686c3551" }, "downloads": -1, "filename": "fsdir-0.8.4.tar.gz", "has_sig": false, "md5_digest": "d8f7e0015e5390fd8fe21918edf409ab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6261, "upload_time": "2012-12-26T07:06:24", "url": "https://files.pythonhosted.org/packages/c8/9a/ca1af2f4ffe7bf5ddeced5daad542e96b5b0eb0163e4ca003201e4318da0/fsdir-0.8.4.tar.gz" } ] }