- Nothing changed yet.
- The
icemac.songbeamer.SNG
instances no longer store the data on the data attribute but it now behaves like adict
thus allowing direct dict access to the data. - It is no longer possible to use attributes on
icemac.songbeamer.SNG
instances to read and store encoded bytes data. Either read/write text data from/to theicemac.songbeamer.SNG
instance using the dict API or use theparse
function (see next item) to import resp. use.SNG.export()
to export the data encoded. - Add a function
icemac.songbeamer.parse()
converting a byte stream into aicemac.songbeamer.SNG
instance. It replaces the class method on the SNG instance. It returnsNone
if the data cannot be parsed and it logs an error message. - Drop support for Python 3.5, 3.6 and PyPy3, thus only supporting Python 3.7 now.
Add a function
icemac.songbeamer.open()
to open a file given by a path and get aicemac.songbeamer.SNG
instance.Make
.SNG.export()
robust against missing text in songs.Add a command line script songbeamer-xls-export exporting titles and song book numbers from folder containing SongBeamer files to an XLS file. To be able to use it icemac.songbeamer has to be installed with the
xls
extra like this:$ pip install "icemac.songbeamer[xls]"
Support UTF-8 encoded SongBeamer files starting with the UTF-8 BOM.
Change license from ZPL to MIT.
- Add support for Python 3.5 to 3.7 and PyPy3.
- Drop support for Python 3.2 and 3.3.
- Add ability to parse bytes objects.
- Sorting keys in export file to be compatible across Python 3.2 and 3.3.
- Initial public release.