Naming conventions library
Naming Conventions Library
pip install vfxnaming
A complete suite of tools to manage naming conventions from one or more "Rules repositories". Structure naming rules with your own custom tokens and separators. Then use the library to solve names following those rules so your naming is consistent, and also to parse metadata from exisiting names (cus a name is basically a collection of metadata right?)
Why no fork from Cesar's Repo? I found myself using and modifying his code to fit my needs. Not only that, but he has an AMAZING video tutorial series on this topic and my code deviated a bit too much from what he shows in the videos.
What are the main differences from Cesar's?
- Implemented a special Token for numbers with the ability to handle pure digits and version like strings (e.g.: v0025) with padding settings.
- Implemented Separators, so not only underscores can be used, but also hyphens, dots, etc, in any combination.
- Switched the entire test suite to pytest which is what I use.
- Refactored the code to make it a bit more modular. Which in turn makes it less portable, but it was getting too long otherwise with my modifications.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size vfxnaming-1.1.5b0.tar.gz (11.7 kB)||File type Source||Python version None||Upload date||Hashes View hashes|