fork of Breve module, adapted to Python3. Work in progress