"""
utility class for handling meta data
"""

import os

class Project():

    # file path
    file = "/Users/davidrug/Library/Preferences/Maxon/Maxon Cinema 4D R25_EBA43BEE/python39/libs/pydeationlib/metadata.py"

    def __new__(self, thinker="InterfaceGuy", category="diverse", name="testProject"):
        # writes metadata to file

        # metadata
        self.thinker = thinker
        self.category = category
        self.name = name

        # write metadata to file
        with open(self.file, "w") as f:
            f.write(
                f'THINKER = "{self.thinker}"\nCATEGORY = "{self.category}"\nPROJECT_NAME = "{self.name}"')

"""
utility class for handling meta data
"""

import os

class Project():

    # file path
    file = "/Users/davidrug/Library/Preferences/Maxon/Maxon Cinema 4D R25_EBA43BEE/python39/libs/pydeationlib/metadata.py"

    def __new__(self, thinker="InterfaceGuy", category="diverse", name="testProject"):
        # writes metadata to file

        # metadata
        self.thinker = thinker
        self.category = category
        self.name = name

        # write metadata to file
        with open(self.file, "w") as f:
            f.write(
                f'THINKER = "{self.thinker}"\nCATEGORY = "{self.category}"\nPROJECT_NAME = "{self.name}"')

utility class for handling meta data # file path # writes metadata to file # metadata # write metadata to file