Skip to content

A filename/dirname manager which could determine whether paths is expected and you could also automatically rename it.

License

Notifications You must be signed in to change notification settings

soc221b/namanager

Repository files navigation

namanager

see build status of Unix-like: https://travis-ci.org/iendeavor/namanager

see code coverage status: https://codecov.io/gh/iendeavor/namanager

image

A file or/and directory name manager which could determine names are/aren't expectable, and you could also automatically rename it.

Features

  • Match or ignore particular files/directories.
  • Supports checking of most common format of letter-cases (upper, lower, camel, and pascal-case).
  • Supports checking of convention of word separators (underscore-to-dash/dash-to-underscore).

How to use?

Installation

  • First of all check you already have pip installed, and then just type in:
pip install namanager
  • Sometimes, you need to install on offline environments, hence that you could download wheel s from PyPI or by pip:
pip download namanager

After moved wheels (involve dependencies) into your env, you could manually install it by following commands:

pip install namanager-x.x.x-py2.py3-none-any.whl

Running

  1. Configure your settings.json.
  2. Run command
namanager

If the settings file doesn't existed in your current working directory or CWD:

namanager --settings /path/to/your/settings

About

A filename/dirname manager which could determine whether paths is expected and you could also automatically rename it.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published