Skip to main content

AnkiIn

Release MIT License Issues Stargazers Forks Contributors CodeFactor

See AnkiLink Project for future plans.

Introduction

AnkiIn is a Python Package that enables you to generate Anki cards from markdown text.
It is easy to use and powerful.

ATTENTION! This repo is for developers, so if you just want to use an Anki Importer, please check AnkiLink

Features:

  • Directly Import into Anki via anki-connect
  • Directly Export to apkg file with Anki offline via genanki
  • Inline Configuration
  • Human-Friendly Syntax
  • Markdown Rendering Support
  • Html Support
  • Cross-Platform
  • Many Useful built-in Note Types:
    • Q&A
    • Cloze
    • Choices
    • ListCloze
    • TableCloze
  • Easy to Extend

To use this lib, you are not required to sacrifice your note readability for compatibility with Anki.

Here is a quick example:

This is a question.
This is an answer.

Single line question.
Multiple line answer.
The first line of this block is recognized as the question.

Multiple line question is <br> possible somehow.
too hacky maybe.

markdown rendering is supported.
- use a list!
    - or something like that.

Clozes are **easy** to **create** too.

Installation

You can install by pip:

pip install AnkiIn

install Anki Connect

To use the lib, you need to install AnkiConnect extension.
Code:2055492159
For detailed installation guide, please visit the anki-connect repo.

Usage

You can review AnkiLink to understand how this works.

Also, AnkiIn Wiki is under construction.

For more syntax examples, see tests.

Applications

I'd like to list some applications using AnkiIn here.
If you want to add yours, please create an issue/pull request.

Credit

License

The source code is licensed under MIT. License is available here.

Metadata

Release files for AnkiIn 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for AnkiIn 0.1.7
File Size Uploaded
AnkiIn-0.1.7.tar.gz 13.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for AnkiIn 0.1.7
File Interpreter ABI Platform
AnkiIn-0.1.7-py3-none-any.whl Python 3 none any Details

Total release size: 31.6 kB

Release files / AnkiIn-0.1.7.tar.gz

Download URL AnkiIn-0.1.7.tar.gz
Size 13.2 kB
Tags Source
SHA-256 checksum
How to use checksums
13c75e0b4f033b3c203ef8a2700f9f2dd613cd37ce1d93faecf5a7b32a284865
BLAKE2b-256 checksum
How to use checksums
7edab7dfef2ea7ef449b321d176615d08e1e671783c7865aec1539a63c7d8d80
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

Release files / AnkiIn-0.1.7-py3-none-any.whl

Download URL AnkiIn-0.1.7-py3-none-any.whl
Size 18.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3c69dde89afb81e11199bf20ee5ac8b37b3add43da6e21d69d78da5e1fbd92cf
BLAKE2b-256 checksum
How to use checksums
1e6c56e9693a3042c58b57c7c1f2de181c952ecb69ad989c4eea2f10e9d8cad1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

Release history Release notifications | RSS feed

This release

0.1.7 This release

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.8

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page