Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davyjonescodes/tplparserpy
A Python package to parse Photoshop TPL files and extract data into JSON format.
https://github.com/davyjonescodes/tplparserpy
automation cli data-extraction image-editing json library photoshop python tool-preset tpl
Last synced: about 1 month ago
JSON representation
A Python package to parse Photoshop TPL files and extract data into JSON format.
- Host: GitHub
- URL: https://github.com/davyjonescodes/tplparserpy
- Owner: DavyJonesCodes
- License: other
- Created: 2024-08-21T03:32:06.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-08-21T04:59:58.000Z (3 months ago)
- Last Synced: 2024-09-29T11:25:37.162Z (about 2 months ago)
- Topics: automation, cli, data-extraction, image-editing, json, library, photoshop, python, tool-preset, tpl
- Language: Python
- Homepage:
- Size: 104 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TPLParserPy
# 🎨 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](https://pypi.org/project/tpl-parser/):
```bash
pip install tpl-parser
```## 🛠️ Usage
### Importing and Using the Library
Here's a quick example of how to use TPLParserPy in your Python project:
```python
from TPLParser import TPLReaderfile_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:
```bash
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 [[email protected]](mailto:[email protected]).
## 📄 License
This project is licensed under the Creative Commons Attribution-NonCommercial 4.0 International License. For more details, see the [LICENSE](./LICENSE) file. For commercial use, please contact [Dev Jones](mailto:[email protected]).
## 📬 Contact
If you have any questions, suggestions, or just want to say hi, feel free to reach out via email: [[email protected]](mailto:[email protected]). We'd love to hear from you! 😊