Read and edit your FLPs
Project description
PyFLP
PyFLP allows an object oriented access to an FLP. This provides an abstraction from its TLV implementation.
You should also check these:
- A CLI utility FLPInfo to see basic information about an FLP.
- A GUI tool FLPInspect for a further, detailed view into the internal structure of an FLP.
Documentation
Docs are available on ReadTheDocs
Usage
PyFLP can be used for automation purposes e.g. finding/setting project titles, artists names, genre etc. and also by people who are interested more about the FLP format. You can even repair a broken FLP, ofcourse by yourself.
Initialisation
from pyflp import Parser
project = Parser(verbose=True).parse("/path/to/efelpee.flp")
Saving
project.save(save_path="/path/to/save.flp")
Export it as a ZIP looped package
project.create_zip(path="/path/to/flp.zip")
Installation
pip install pyflp
Note
PyFLP or me, demberto the author of this library am in no way affiliated to Image-Line. This library is only tested with FL 20 and later projects. Projects made with older versions of FL have vast differences in the internal event structuring. But if your project can't be parsed, I have some good news for you, you can still read/edit the event structure (TLV implementation) it in FLPInspect.
Thanks
Monad.FLParser for providing up-to-date parsing logic and the idea of creating an object model.
FLPEdit (author) I swear, this library would have remained a dream without this tool. A very helpful program for examining the event structure as it is present in an FLP and value of events. It is very unfortunate that the author has removed it. FLPInspect is a WIP recreation of this legendary tool.
Contributions
If you can spare some time for testing and/or contributing, I would be very grateful. Please check the TODO as well for current goals/issues. Its kind of getting difficult for me as this project becomes bigger. You can reach me at demberto[at]protonmail[dot]com as well :)
License
PyFLP has been licensed under the GNU Public License v3. The reason for this is some of the code has been taken from FLParser, a library also under the same license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.