{"id":25866237,"url":"https://github.com/zdodson21/replace-text","last_synced_at":"2026-06-02T21:32:00.754Z","repository":{"id":279113451,"uuid":"937755749","full_name":"zdodson21/replace-text","owner":"zdodson21","description":"A Python package that replaces text in a file or directory with new text supplied by the user","archived":false,"fork":false,"pushed_at":"2025-02-24T16:40:21.000Z","size":36,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-21T22:56:50.211Z","etag":null,"topics":["package","pypi-package","python"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/replace-text/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zdodson21.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-23T20:20:24.000Z","updated_at":"2025-09-06T18:48:13.000Z","dependencies_parsed_at":"2025-02-23T21:25:46.030Z","dependency_job_id":"ab961cf7-c946-44d0-b632-1327cf560dd2","html_url":"https://github.com/zdodson21/replace-text","commit_stats":null,"previous_names":["zdodson21/replace-text"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zdodson21/replace-text","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zdodson21%2Freplace-text","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zdodson21%2Freplace-text/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zdodson21%2Freplace-text/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zdodson21%2Freplace-text/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zdodson21","download_url":"https://codeload.github.com/zdodson21/replace-text/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zdodson21%2Freplace-text/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33838215,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-02T02:00:07.132Z","response_time":109,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["package","pypi-package","python"],"created_at":"2025-03-02T02:28:51.995Z","updated_at":"2026-06-02T21:32:00.737Z","avatar_url":"https://github.com/zdodson21.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# replace-text\n\n## Links\n\n[PyPI Package Page](https://pypi.org/project/replace-text/)  \n[GitHub Repo](https://github.com/zdodson21/replace-text?tab=GPL-3.0-1-ov-file)\n\n## Usage\n\nRun `replace-text -h` or `replace-text --help` will display the help menu\n\n```\nusage: replace-text [-d] [-h] [-o] [-r] [-v] [target]\n\npositional arguments:\n  target                The target file or directory of files\n\noptions:\n  -d, --developer       enables developer console output\n  -h, --help            show this help message and exit\n  -o , --original-text \n                        the text to be replaced\n  -r , --replacement-text \n                        the new text to replace the old\n  -v, --version         displays the version number\n```\n\n## Contributing\n\n### Local Development\n\nFor local development, this project requires the `setuptools` and `wheel` packages.  \nYou can install these tools using `pip` with the following script:\n`pip install setuptools wheel`\n\n### Build Script\n\nA build shell script is included which executes this command:\n\n```shell\npython3 setup.py sdist bdist_wheel;\n```\n\n### Install Locally\n\nAn install shell script is included which executes this command:\n\n```shell\npip install dist/replace_text-0.0.1-py3-none-any.whl --force-reinstall;\n```\n\n### Testing\n\nThe `tests/` directory includes one directory and two test files to test replacing text in a whole directory (`tests/`) or in a single file (`test-file.txt`). You can also run the following test scripts included in the files of this project:\n\n#### Test Directory\n\n```shell\nreplace-text tests -o test -r new;\n```\n\n#### Test File\n\n```shell\nreplace-text tests/test-file.txt -o test -r new;\n```\n\n## Submit Issues / Feature Requests\n\n* [GitHub Issues](https://github.com/zdodson21/replace-text/issues)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzdodson21%2Freplace-text","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzdodson21%2Freplace-text","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzdodson21%2Freplace-text/lists"}