Skip to main content

No project description provided

Project description

AnkiGenGPT

This Python CLI tool leverages the power of OpenAI's GPT-3 or GPT-4 model to convert your text into flashcards for use in Anki, an open-source spaced repetition software.

Install

pip3 -U install ankigengpt

or via pipx

pipx install ankigengpt

Configuration

An openai api token is needed, it can be used with --openai-token or via the environment variable OPENAI_TOKEN.

Epub

Scans an epub for text and asks chatgpt for anki cards.

ankigengpt epub --path ~/Downloads/my-ebook.epub

Kindle Highlights

Uses the highlights to create anki cards.

The kindle highlights are needed in the APA format.

ankigengpt kindle-highlights --path ~/Downloads/Notebook.html

Plain text

Use a plain text file like markdown or txt

ankigengpt plain --debug --path ~/Downloads/book.md

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

ankigengpt-1.2.0-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file ankigengpt-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: ankigengpt-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 10.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for ankigengpt-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 68ebaae12922a5d0079811d8b25c30ff9e8a56caf448efff4aafdf19882944a3
MD5 092d9a8b77d1eb209671f0e9b3790221
BLAKE2b-256 75cc3a49dd64386b5cdf10f94467e653828cc10c99a6cbdfad613e00c80ef041

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page