Skip to content

A Python package to parse Photoshop TPL files and extract data into JSON format.

License

Notifications You must be signed in to change notification settings

DavyJonesCodes/TPLParserPy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TPLParserPy

Logo

🎨 TPLParserPy

Welcome to TPLParserPy! 🛠️ This Python package is designed to help you parse Photoshop TPL (Tool Preset) files and extract the data into a friendly JSON format. Perfect for anyone who wants to dive deep into TPL files and understand their inner workings! 💡

✨ Features

  • 🔍 Parse Photoshop TPL files with ease.
  • 🗂️ Extract tool names, types, and properties into JSON format.
  • 💾 Save the extracted data for further use or analysis.

🚀 Installation

You can easily install TPLParserPy via pip from PyPI:

pip install tpl-parser

🛠️ Usage

Importing and Using the Library

Here's a quick example of how to use TPLParserPy in your Python project:

from TPLParser import TPLReader

file_path = "path/to/yourfile.tpl"
reader = TPLReader(file_path)
tpl_data = reader.read_tpl()
reader.save_to_json("output.json")

Command-Line Interface

TPLParserPy also includes a handy command-line interface for quick parsing:

tpl-parser path/to/yourfile.tpl -o output.json

🤝 Contributions

Contributions are welcome! 🎉 If you'd like to contribute to TPLParserPy, feel free to fork the repository and submit a pull request. If you have any questions or need guidance, don't hesitate to contact me at devjonescodes@gmail.com.

📄 License

This project is licensed under the Creative Commons Attribution-NonCommercial 4.0 International License. For more details, see the LICENSE file. For commercial use, please contact Dev Jones.

📬 Contact

If you have any questions, suggestions, or just want to say hi, feel free to reach out via email: devjonescodes@gmail.com. We'd love to hear from you! 😊