Closed hellocatfood closed 2 years ago
This is definitely something useful, and it could be done since the license type is available in the API. Thanks for the idea ! I'll look into it.
This is now available on the web version, only some small work remains to revamp the CLI
Great! Do you know how the cli version will work?
I expect it to be something like:
shabda_cli.py sample1:3,sample2 --licences=cc0
Would that work for you?
Ideally in the future with a simpler installation path.
shabda_cli.py sample1:3,sample2 --licences=cc0
I think something like that would work. Was just wondering how it would handle lincenses that have multiple clauses e.g. cc-by-nc
It would be:
shabda_cli.py sample1:3,sample2 --licenses=by-nc
Multiple values (all accepted licenses) can be defined as such:
shabda_cli.py sample1:3,sample2 --licenses=by-nc --licenses=by
Note that I just finished implemented it, I just need to update the README. It is available on the branch licenses_cli: https://github.com/ilesinge/shabda/tree/licenses_cli
Implementation now available on the master branch (fixed with https://github.com/ilesinge/shabda/pull/5 )
Can an option be added to filter the downloaded/collected samples by license type? This will be especially useful for users of the cli version who want to then use the samples in a commercial project and not be restricted by license.