{"id":16550586,"url":"https://github.com/agusmakmun/changewords","last_synced_at":"2026-06-05T12:31:27.664Z","repository":{"id":62561671,"uuid":"145978186","full_name":"agusmakmun/changewords","owner":"agusmakmun","description":"Simply python tool to change or replace the text string in the files. This tool pretty nice for programmers if somehow they want to replace/change their codes for many files, eg: function, class, variable, etc for recursive files or not.","archived":false,"fork":false,"pushed_at":"2018-08-25T09:13:13.000Z","size":12,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-15T00:48:38.573Z","etag":null,"topics":["changewords","python","python-tools","text","text-processing","text-replace","text-replacer","words-changer","words-replacer"],"latest_commit_sha":null,"homepage":"https://asciinema.org/a/198512","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/agusmakmun.png","metadata":{"files":{"readme":"README.rst","changelog":"changewords/__init__.py","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-24T10:29:36.000Z","updated_at":"2022-08-09T04:33:18.000Z","dependencies_parsed_at":"2022-11-03T15:15:31.186Z","dependency_job_id":null,"html_url":"https://github.com/agusmakmun/changewords","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agusmakmun%2Fchangewords","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agusmakmun%2Fchangewords/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agusmakmun%2Fchangewords/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agusmakmun%2Fchangewords/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/agusmakmun","download_url":"https://codeload.github.com/agusmakmun/changewords/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241871224,"owners_count":20034426,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["changewords","python","python-tools","text","text-processing","text-replace","text-replacer","words-changer","words-replacer"],"created_at":"2024-10-11T19:34:55.575Z","updated_at":"2026-06-05T12:31:27.655Z","avatar_url":"https://github.com/agusmakmun.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"===================\nchangewords\n===================\n\n|pypi version| |build status|\n\nSimply python tool to change or replace the text string in the files.\nThis tool pretty nice for programmers if somehow they want to replace/change their codes for many files,\neg: ``function``, ``class``, ``variable``, etc for recursive files or not.\n\n\nInstallation\n============\n\nInstall from PyPI:\n\n::\n\n    $ pip install changewords\n\n\nUsage\n--------------\n\n::\n\n    usage: changewords.py [-h] [-p PATH] [-ft FILE_TYPE] [-fs FROM_STRING]\n                          [-ts TO_STRING]\n\n    Python tool to change or replace the strings in files.\n\n    optional arguments:\n      -h, --help            show this help message and exit\n      -p PATH, --path PATH  the starting path or parent path name\n                            by default is current path/folder.\n      -ft FILE_TYPE, --file_type FILE_TYPE\n                            file type you are looking for, eg: '.py', '.txt'\n                            by default is '.py' (python files)\n      -fs FROM_STRING, --from_string FROM_STRING\n                            the string to change/replace\n      -ts TO_STRING, --to_string TO_STRING\n                            the string replacement\n\n\nExample\n--------------\n\n::\n\n    $ changewords -p=changewords_test -ft=.py -fs=helloworld -ts=mantabjiwa\n\n    # or\n\n    $ changewords --path=changewords_test --file_type=.py --from_string=helloworld --to_string=mantabjiwa\n\n\n\nRunning tests\n--------------\n\nTo run the test use:\n\n::\n\n    $ python tests.py\n\n\n.. |pypi version|\n   image:: https://img.shields.io/pypi/v/changewords.svg\n   :target: https://pypi.python.org/pypi/changewords\n\n.. |build status| image:: https://travis-ci.org/agusmakmun/changewords.svg?branch=master\n   :target: https://travis-ci.org/agusmakmun/changewords\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagusmakmun%2Fchangewords","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagusmakmun%2Fchangewords","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagusmakmun%2Fchangewords/lists"}