Use anki pip lib in close source?

Hello, I would like to use the anki pip library in my code that for the initial launch of my product I would hope to keep it closed source for now. I just wanted to reach out and ask, since I am making no modifications to any line of code from anki’s source from the github repo and just calling the methods provided, if the makers of anki in general approve of this use and if it matches the spirit of why anki has its license.
Thank you for your time

1 Like

The simple answer is no you cannot unless Damien (@dae here and on GitHub) grants you a specific exception.

The AGPL requires you to release your source code under a compatible open source license even if you only link to code and do not modify it.

4 Likes

Anki uses Qt so I think it is not possible to make your product (or add-ons) closed source even if official Anki Damien allows it. It may be possible if you purchase a paid license for Qt ($600~/per year) but I’m not a lawyer so I do not know exactly.

2 Likes

See also –

1 Like

Thanks for the reponses! I will most likely delay the release of the project untill i am hapy with making it open source :blush:.

Also i dont think think the python pip lib contains any qt only the main repo , but i could be wrong.

Can you tell us what sort of project you’re working on, if you don’t mind?

1 Like

Sure, it lets users quickly build decks dynamicly around frequently used words from anime series and episode and view very quickly which words from what which series and episode are in your deck already, and also how many words across each episode/series are at differnet levels of due-ness visually. I.e how many are <30days, >30day, >60days, >1yr. Due. That is the main part of the application that uses anki. The rest is a Japanese learning application type thing. I have a unfinished landing page at https://sakuryo.app

There are two python packages:

anki - PyPI

Built from /pylib (and uses /rslib)

Contains all the backend code for working with Anki collections directly.
This is mostly just a Python wrapper around rslib now.

aqt - PyPI

Built from /qt

Contains the Qt based GUI code used by the desktop app.

2 Likes

Gotcha this is good to know as well! i was unaware of what is aqt

This has potential. FYI, there’s jpdb.io that does this and they’re kind of famous among serious learners. Hoping you successfully finish the project.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.