Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: license of generated metadata #761

Closed
lb90 opened this issue Nov 29, 2021 · 3 comments
Closed

Question: license of generated metadata #761

lb90 opened this issue Nov 29, 2021 · 3 comments

Comments

@lb90
Copy link

lb90 commented Nov 29, 2021

Hello,

I'd like to know more about what possibilities are there for licensing the generated content. As an example, say I want to export types and API declarations to Python source code: would it be possible for me to license that Python code under the MIT license?

Thank you

@mikebattista
Copy link
Contributor

We'd love to see projections for more languages built on this metadata. Python is one that has been requested (#374). Is that what you mean by "exporting types and API declarations to Python source code"?

@lb90
Copy link
Author

lb90 commented Nov 30, 2021

Hi Mike, yes, exactly that. I wonder though if the resulting Python code is redistributable and can be licensed e.g. under MIT, or if instead users have to download the Win32 metadata and run the projection process themselves.

@mikebattista
Copy link
Contributor

I wonder though if the resulting Python code is redistributable and can be licensed e.g. under MIT

Yes. I'd expect users to only really need to interface with the projection. The metadata is more an implementation detail for projections. This is the model our other community projections follow.

There's also a JSON representation of our metadata if that would be easier for you to consume than a winmd. @marler8997 built this and also the Zig projection under the MIT license.

If you stand up a repo for this, please share it so we can follow progress and others in the community who have expressed interest in a Python projection can contribute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants