Skip to main content

Naming conventions library

Project description

Naming Conventions Library

Build Status Documentation Status Coverage Status

Installation

pip install vfxnaming

Documentation

Naming Conventions Docs

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?)

This is completely based on Copyright (c) 2017 Cesar Saez work. I highly recommend his Website-Blog and the video tutorial series on his YouTube Channel

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?

  1. Implemented a special Token for numbers with the ability to handle pure digits and version like strings (e.g.: v0025) with padding settings.
  2. Implemented Separators, so not only underscores can be used, but also hyphens, dots, etc, in any combination.
  3. Switched the entire test suite to pytest which is what I use.
  4. 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vfxnaming-1.1.6b0.tar.gz (12.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page