{ "info": { "author": "Gabriel Gore", "author_email": "gabriel59kg@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython" ], "description": "# mass_replace\n\n[![PyPI version](https://badge.fury.io/py/mass-replace.svg)](https://badge.fury.io/py/mass-replace) [![PyPi](https://img.shields.io/pypi/pyversions/Django.svg)](https://pypi.org/project/mass-replace/) [![Build Status](https://travis-ci.org/Kilo59/mass_replace.svg?branch=master)](https://travis-ci.org/Kilo59/mass_replace) [![Coverage Status](https://coveralls.io/repos/github/Kilo59/mass_replace/badge.svg?branch=master)](https://coveralls.io/github/Kilo59/mass_replace?branch=master) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)\n\n## Use case\n\n`mass_replace` \"Walkthrough\" through a specified `root_folder` and perform find and replace operations on every file of the specified type.\n\n* If `Python 3` is installed on your system it can be run as `mass_replace.py` Python script\n* Can be run as a standalone Window Executable (`.exe`)\n\n--------------------------------------------\n\n## \u26a0\ufe0f **WARNING** \u26a0\ufe0f\nEVERY FILE OF THE SPECIFIED TYPE NESTED UNDERNEATH THE `root_folder` WILL BE SUBJECT TO FIND AND REPLACE OPERATIONS\n\n------------------------------------------------\n\n## Installation and usage\n\n### To run as a standalone `.exe`\n\n1. Download `mass_replace_windows_executable.zip`\n2. Extract zip file.\n3. Set configuration settings\n - from `mass_replace/` open `config.yaml` with any text editor.\n - set `filetypes` to control which filetypes will be \"operated on\".\n - set `replacement_paris` to control the find and replace operations to be performed on each file.\n - set 'root_folder' to set the parent folder under which the operations will be performed.\n4. Run `mass_replace.exe`\n - Double click `mass_replace.exe`\n - or run from command line/powershell \u2714\ufe0f\n\n```yaml\n# mass_replace config file\nroot_folder: C:\\Users\\username\\Documents\\docs_go_here_folder\nfiletypes:\n - csv\n - xml\n - txt\nreplacement_pairs:\n old_text1: new_text1\n old_text2: new_text2\n puff_daddy: diddy\n```\n\n### Ease of Use suggestions\n\nTo make the use of `mass_replace.exe` easier.\nCreate shortcuts of `mass_replace.exe` and `config.yaml` and place them somewhere easy to get to.\nDo not move the actual files or the application will not work.\n\n![image](https://user-images.githubusercontent.com/13108583/39159212-5f284ca0-4732-11e8-8014-dbedd0f349c0.png)\n\n\n", "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/Kilo59/mass_replace", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "mass-replace", "package_url": "https://pypi.org/project/mass-replace/", "platform": "", "project_url": "https://pypi.org/project/mass-replace/", "project_urls": { "Homepage": "https://github.com/Kilo59/mass_replace" }, "release_url": "https://pypi.org/project/mass-replace/0.0.3/", "requires_dist": [ "pyaml" ], "requires_python": ">=3.5.0", "summary": "Walkthrough directories and find and replace txt on select filetypes.", "version": "0.0.3" }, "last_serial": 4664623, "releases": { "0.0.2": [ { "comment_text": "", "digests": { "md5": "bb4361c28dba8bd7a8e2656daaffb920", "sha256": "00f1e3d6ee6e88084a9e1327e7d10c2c40b5101cfea8f98a6484877100d1c8a0" }, "downloads": -1, "filename": "mass_replace-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "bb4361c28dba8bd7a8e2656daaffb920", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5.0", "size": 5261, "upload_time": "2018-12-10T00:53:10", "url": "https://files.pythonhosted.org/packages/3a/bb/9d647c6f386472dbf5fb6e3d07f81fefccd30d02b35b9349a3e649b9869f/mass_replace-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8a1e6f3c5597d3564e627206b25a2396", "sha256": "3dcbb3a59b8c4bff976e225953c3dcf10e9b6093804776230e388dbe36a7f48d" }, "downloads": -1, "filename": "mass_replace-0.0.2.tar.gz", "has_sig": false, "md5_digest": "8a1e6f3c5597d3564e627206b25a2396", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5.0", "size": 4803, "upload_time": "2018-12-10T00:53:12", "url": "https://files.pythonhosted.org/packages/19/9f/365464a7e94df7b690314964c183789fd33408d6cbf4614240b05194c301/mass_replace-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "7faef8ba91730c5595a941234030676c", "sha256": "b30e32115732fbfde48d960ccfff61c41fd3f8f82ba5d1d270ddacf5241acfa9" }, "downloads": -1, "filename": "mass_replace-0.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7faef8ba91730c5595a941234030676c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.5.0", "size": 5596, "upload_time": "2019-01-06T01:13:22", "url": "https://files.pythonhosted.org/packages/41/0e/d8abf27a9e10ac56a7a5c6396534f14a7f34ac8d88ce5b4019366058f114/mass_replace-0.0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8a664ef72aa5a00bb1dfbf10fd382257", "sha256": "5998b2458d7c28a8f72946a6ac17424e6a75fe6d30d12af477a8f8e008913245" }, "downloads": -1, "filename": "mass_replace-0.0.3.tar.gz", "has_sig": false, "md5_digest": "8a664ef72aa5a00bb1dfbf10fd382257", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5.0", "size": 4819, "upload_time": "2019-01-06T01:13:24", "url": "https://files.pythonhosted.org/packages/7e/a2/1bbfa655c01ca642569eebd118a75a8dc2841ec11435315f96783b89a157/mass_replace-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7faef8ba91730c5595a941234030676c", "sha256": "b30e32115732fbfde48d960ccfff61c41fd3f8f82ba5d1d270ddacf5241acfa9" }, "downloads": -1, "filename": "mass_replace-0.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7faef8ba91730c5595a941234030676c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.5.0", "size": 5596, "upload_time": "2019-01-06T01:13:22", "url": "https://files.pythonhosted.org/packages/41/0e/d8abf27a9e10ac56a7a5c6396534f14a7f34ac8d88ce5b4019366058f114/mass_replace-0.0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8a664ef72aa5a00bb1dfbf10fd382257", "sha256": "5998b2458d7c28a8f72946a6ac17424e6a75fe6d30d12af477a8f8e008913245" }, "downloads": -1, "filename": "mass_replace-0.0.3.tar.gz", "has_sig": false, "md5_digest": "8a664ef72aa5a00bb1dfbf10fd382257", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5.0", "size": 4819, "upload_time": "2019-01-06T01:13:24", "url": "https://files.pythonhosted.org/packages/7e/a2/1bbfa655c01ca642569eebd118a75a8dc2841ec11435315f96783b89a157/mass_replace-0.0.3.tar.gz" } ] }