LY-SERVER(1) python-ly LY-SERVER(1) (NAME) ly-server - LilyPond HTTP : ly-server [options] HTTP LilyPond (SERVER OPTIONS) -v, --version -h, --help -p,--port PORT ( 5432) -t,--timeout TIME -t ! (COMMAND OPTIONS) -e,--encoding ENC () ( UTF-8) --output-encoding ENC ( ) -l,--language NAME ( "nederlands") -d ( ) HTTP . HTTP ..SH " HTTP (HTTP REQUESTS)" GET (GET Requests) GET URL . POST (POST Requests) POST ( ) URL . JSON : commands () . : command (): . . args (): ( transpose) . variables (): . . . . '' (unset) . options () . { "encoding": "UTF-16" }. . data () LilyPond. "Bad Request" HTTP 400 . (Response Object) JSON : info "info" ( ). command info . doc : content "edit". ( ). commands . exports "export" . : doc / command : o "info" o "edit" o "export" . export . : mode ( ) version LilyPond language : indent reformat translate transpose () LilyPond 'nederlands' abs2rel rel2abs : musicxml MusicXML ( ) highlight HTML (Variables) . : mode ( ) : lilypond, scheme, latex, html, docbook, texinfo. encoding [UTF-8] ( -e ) default-language [nederlands] output-encoding ( encoding --output-encoding ) indent-tabs [false] indent-width [2] ( ) full-html [True] True HTML wrapper- . stylesheet HTML . . inline-style [false] HTML . css . number-lines [false] HTML . wrapper-tag [pre] HTML . : div pre id code wrapper-attribute [class] . : id class. document-id [lilypond] wrapper-attribute. HTML

                  .

          linenumbers-id [linenumbers]
                     
                    
                    

              
              5432 
          :

          ly-server

            
       (timeout):

          ly-server -p 4000 -t 5000

     (Sample Requests)
          
          . 
           result['doc']['content']
        :

          {
              'commands': [
                  {
                      'command': 'indent'
                  }
              ],
              'data' : "\relative c' { c ( d e f ) }"
          }

          
            "info".
         result['info']   
        lilypond   info  mode 
        command :

          {
              'commands': [
                  {
                      'command': 'mode'
                  }
              ],
              'data' : "\relative c' { c ( d e f ) }"
          }

         . 
          
           
         
         HTML
        (highlighted) 
       MusicXML  .  
         (mode)   
        .    
           : 
         doc.content 
        info.info  HTML  MusicXML  exports[0].doc 
       exports[1].doc.:

          {
              'commands': [
                  {
                      'command': 'transpose',
                      'args': 'c d'
                  },
                  {
                      'command': 'highlight',
                      'variables': { 'full-html': 'false' }
                  },
                  { 'command': 'musicxml' },
                  { 'command': 'mode' },
              ],
              'options': {
                  'language': "deutsch"
              },
              'data': "\relative c' { c4 ( d e ) }"
          }
          Wilbert Berendsen

   (COPYRIGHT)
       2025, Wilbert Berendsen

0.9.10                           April 4, 2026                    LY-SERVER(1)