Self tracking your online life!
Refactor your software using programming language independent string replacement.
Helps by renaming directories, filenames and file contents in a case-preserving manner.
## How does it work
Imagine we want to rename a library called SomeThing to AnotherName.
It will first normalize “SomeThing” to [“some”, “thing”] and “AnotherName” to [“another”, “name”], and build patterns on this.
Then, when matching and replacing, it will memorize the casing pattern and separator on e.g. “Some-thing” to replace it with the same convention, like so: “Another-name”.
This works for:
- file contents
Binaries are just copied, and warnings are currently shown for png and jpg files containing logo or icon.
pip install rebrand
rebrand run <OLD> <NEW> <LOCATION> # e.g. rebrand run ancient modern .
- Implement radically faster matching
- More options (such as disabling image warnings, verbosity, ignore patterns)
- Switch from fire back to argparse
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size rebrand-0.0.4-py2.py3-none-any.whl (7.1 kB)||File type Wheel||Python version py2.py3||Upload date||Hashes View|
|Filename, size rebrand-0.0.4.tar.gz (5.0 kB)||File type Source||Python version None||Upload date||Hashes View|
Hashes for rebrand-0.0.4-py2.py3-none-any.whl