persist

topleveltools.persist(client)

Makes persistence agent.

Persists staff as LilyPond file:

>>> staff = Staff("c'4 e'4 d'4 f'4")
>>> show(staff) 
>>> persist(staff).as_ly() 
('/Users/joberholtzer/.abjad/output/0748.ly', 0.0023059844970703125)

Returns persistence agent:

>>> persist(staff)
PersistenceAgent(client=Staff("c'4 e'4 d'4 f'4"))