{ "info": { "author": "Dane Morgan", "author_email": "danemorgan91@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# I wrote file-manip as a tool too cover my tracks when performing pentests. OS independent.\n\n## Functions:\n \n### find_files: Recursive file search, looks for a flag in a filename and returns a list with all files that have that flag in them\n\n find_files(base_path, flag)\n\n### insert_flag: Inserts a flag into a file, doesn't care about file format, if line_no is not provided then it appends the flag to the end of the file\n\n insert_flag(flag, fname, line_no = None)\n\n### replace_flag: Similar to insert_flag, however, replace flag replaces a flag with another flag. \n\n replace_flag(old_flag, new_flag, fname)\n\n### remove_flag: Removes a flag entirely from a file. *old_file and new_file can be the same file\n\n remove_flag(flag, old_file, new_file) \n\n### normalize_str: takes a string and converts to lowercase and normalized to NFKD for tests and comparisons\n\n normalize_str(string)\n\n### compare_normalized: compares strings that are normalized *very very useful when comparing strangly formatted files\n \n compare_normalized(string_0, string_1)\n\n\n## To Do:\n\n- add metadata manipulation", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/deadlift1226/filemanip", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "filemanip", "package_url": "https://pypi.org/project/filemanip/", "platform": "", "project_url": "https://pypi.org/project/filemanip/", "project_urls": { "Homepage": "https://github.com/deadlift1226/filemanip" }, "release_url": "https://pypi.org/project/filemanip/0.0.0/", "requires_dist": null, "requires_python": "", "summary": "a simple module to manipulate files, find and remove/replace flags, etc...", "version": "0.0.0" }, "last_serial": 4670533, "releases": { "0.0.0": [ { "comment_text": "", "digests": { "md5": "59f1c39ff1966d27085b359ee07b4bc4", "sha256": "7fc52b1859f21099058c552bb777b2678250b3d3dd137e5b12cb3e36ac679d16" }, "downloads": -1, "filename": "filemanip-0.0.0.tar.gz", "has_sig": false, "md5_digest": "59f1c39ff1966d27085b359ee07b4bc4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2303, "upload_time": "2019-01-07T22:46:21", "url": "https://files.pythonhosted.org/packages/f9/87/21e48533755e2e9e33b805a639aed88f411905bfa3bc0cc4b6bc5adc48da/filemanip-0.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "59f1c39ff1966d27085b359ee07b4bc4", "sha256": "7fc52b1859f21099058c552bb777b2678250b3d3dd137e5b12cb3e36ac679d16" }, "downloads": -1, "filename": "filemanip-0.0.0.tar.gz", "has_sig": false, "md5_digest": "59f1c39ff1966d27085b359ee07b4bc4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2303, "upload_time": "2019-01-07T22:46:21", "url": "https://files.pythonhosted.org/packages/f9/87/21e48533755e2e9e33b805a639aed88f411905bfa3bc0cc4b6bc5adc48da/filemanip-0.0.0.tar.gz" } ] }