Skip to content

License Carve out for Scripting #2406

Open

Description

@tletnes

On the Project website there is an intended carve out for script access however it does not show up in the repo, which makes justifying usage for non-gpl projects harder.

Is it possible to add that carveout to the LICENCE file.

It would make life even easier if a dual license with something more permissive like MIT were included as well.

Activity

  1. klayoutmatthias commented on Jul 30, 2026

    @klayoutmatthias
    Collaborator

    Hi @tletnes,

    Maybe my understand of the term "carve out" is not correct - but I understand it as "exception".

    That's not quite what I have in mind. There is not exception to the GPL. It's a clarification from my side. The statement in the license terms is about a special use case - when you run scripts inside the application. Depending on the interpretation, you can call that derived work, because the Python code is dependent on the KLayout runtime API. On the other hand, one could argue that the script would run with a compatible module in the same way. Hence, running a Python script does not qualify as "derived work" in a sense of being strictly dependent and being fused into a single executable like "linking" works.

    I was asked for a statement here and the "exception" is actually just a clarification of my interpretation. It's an attempt to provide safer legal grounds for script users. From the source code perspective - and this is what you address here - there is no change. The source code is GPL without exceptions. Dual license is not an option for me.

    I wonder what you mean by "usage for non-gpl projects". That is a broad term.

    Matthias

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions