Yambopy License

Post here any question you encounter when running the scripts of the yambo-py suite. Post here problem strictly to the python interface as problem coming from the yambo runs should go in the appropriate subforum.

Moderators: palful, amolina, mbonacci

Post Reply
asalij
Posts: 6
Joined: Mon Mar 31, 2025 10:44 pm

Yambopy License

Post by asalij » Tue Apr 01, 2025 5:21 pm

When reviewing the yambopy Github, it appears to be dual licensed under GPL 2.0 and BSD 3-Clause, but this is somewhat unclear as the BSD is listed under an old license. Is this because qepy is included in source?

I'm asking in part because I have a repository about to be made public that includes yambopy as a dependency and is being released as I recall under GPL 3.0--does this need to be downgraded to GPL 2.0? My estimation would be not as my program is not redistributing yambopy or qepy--the former must be separately sourced.
Andrew Salij
Theoretical Division, Los Alamos National Laboratory

User avatar
palful
Posts: 93
Joined: Tue Jan 26, 2016 11:23 am
Location: Modena and Milan

Re: Yambopy License

Post by palful » Tue Apr 01, 2025 6:06 pm

Hi Andrew,

Yeah the correct licence is GPL 2.0. The BSD 3-Clause is the original license that was given to the project when it started (and therefore it is retained), but when yambopy was brought into the Yambo fold we wanted to give it the same license that Yambo has.

I agree with you that if yambopy is an external dependency you should not need to change the license of your repository.

I'm glad that you found yambopy useful for your project!

Cheers,
Fulvio
Dr. Fulvio Paleari
S3-CNR Institute of Nanoscience and MaX Center
Modena, Italy

asalij
Posts: 6
Joined: Mon Mar 31, 2025 10:44 pm

Re: Yambopy License

Post by asalij » Tue Apr 01, 2025 10:05 pm

OK, that makes sense, I appreciate that choice, though it is a bit confusing at first read and could use a clarification in the readme.

Assuming I can get approval, I'll likely be contributing some features to yambopy as I have in the past, so it is quite important to understand it's license to the best of one's ability.
Andrew Salij
Theoretical Division, Los Alamos National Laboratory

User avatar
palful
Posts: 93
Joined: Tue Jan 26, 2016 11:23 am
Location: Modena and Milan

Re: Yambopy License

Post by palful » Thu Apr 10, 2025 9:53 am

Hi Andrew,

I agree, I have updated the README to reflect this, and your possible contributions would certainly be welcome!

Cheers,
Fulvio
Dr. Fulvio Paleari
S3-CNR Institute of Nanoscience and MaX Center
Modena, Italy

Post Reply