persist

abjad.top.persist.persist(client)

Makes persistence manager.

Persists staff as LilyPond file:

>>> staff = abjad.Staff("c'4 e'4 d'4 f'4")
>>> abjad.show(staff) 
>>> abjad.persist(staff).as_ly() 
('/Users/josiah/.abjad/output/0156.ly', 0.007800102233886719)

Returns persistence agent:

>>> abjad.persist(staff)
PersistenceManager(client=Staff("c'4 e'4 d'4 f'4"))