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.3-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ankigengpt-1.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 171c6b8db8b56584ded9d7987c1a0c3e4c618931cdd48cbeede8cf089c35202f
MD5 b4201b443762c7d0d333e9ca624f1555
BLAKE2b-256 4d4490912089a397fca6751f1acd6c7178121c8a2f68243aef97dfc3140a4755

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