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.

Files for vfxnaming, version 1.1.5b0
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

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page