To generate the whole library:
python generate_code.py -r cysparse
To generate a specific file, for instance the file csr_mat.cpd:
csr_mat.cpd
python generate_code.py -r cysparse 'csr_mat.cpd'
You can use