An open API service indexing awesome lists of open source software.

https://github.com/soc221b/namanager

A filename/dirname manager which could determine whether paths is expected and you could also automatically rename it.
https://github.com/soc221b/namanager

checker filename filesystem format insensitive manager mv rename

Last synced: over 1 year ago
JSON representation

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

Awesome Lists containing this project

README

          

=========
namanager
=========

.. include-documentation-begin-marker

.. image:: https://img.shields.io/travis/iendeavor/namanager/master.svg?style=flat&label=Linux
:target: https://travis-ci.org/iendeavor/namanager
:alt: see build status of Unix-like: https://travis-ci.org/iendeavor/namanager

.. image:: https://img.shields.io/codecov/c/github/iendeavor/namanager/master.svg?style=flat
:target: https://codecov.io/gh/iendeavor/namanager
:alt: see code coverage status: https://codecov.io/gh/iendeavor/namanager

.. image:: https://img.shields.io/pypi/v/namanager.svg?style=flat
:target: https://pypi.python.org/pypi/namanager

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

.. include-documentation-end-marker

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:

.. code-block:: sh

pip install namanager

* Sometimes, you need to install on offline environments, hence that you could download *wheel* s from `PyPI `_ or by **pip**:

.. code-block:: sh

pip download namanager

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

.. code-block:: sh

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

Running
~~~~~~~

1) Configure your *settings.json*.

2) Run command

.. code-block:: sh

namanager

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

.. code-block:: sh

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