Skip to main content

Convert CSV files to Anki deck packages with ease

Project description

CSV to Anki Converter

Convert CSV files to Anki deck packages (.apkg) with support for tags and HTML formatting.

Features

  • Convert CSV files to Anki flashcard decks
  • Support for tags (comma-separated)
  • HTML formatting support
  • German character sanitization for tags
  • Batch processing
  • Command-line interface

Installation

pip install csv-to-anki-converter

Quick Start

Basic Usage

csv-to-anki input.csv

CSV Format

Front,Back,Tags
"What is Python?","A programming language","programming,python"
"Bonjour","Hello in French","french,greeting"

Batch Processing

csv-to-anki --batch input_folder/ output_folder/

Requirements

  • Python 3.8+
  • pandas >= 1.3.0
  • genanki >= 0.13.0

Tag Sanitization

German characters in tags are automatically converted for Anki compatibility:

  • ü → ue, ä → ae, ö → oe, ß → ss

Documentation

Full documentation and examples: GitHub Repository

License

MIT License

Project details


Download files

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

Source Distribution

csv_to_anki_converter-1.2.0.tar.gz (57.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

csv_to_anki_converter-1.2.0-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file csv_to_anki_converter-1.2.0.tar.gz.

File metadata

  • Download URL: csv_to_anki_converter-1.2.0.tar.gz
  • Upload date:
  • Size: 57.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for csv_to_anki_converter-1.2.0.tar.gz
Algorithm Hash digest
SHA256 08b3ddd9d55eb2554d84b8ff9ee94a2f12971b462d3e34da4f8c8a4a2165364a
MD5 5d69e38048be2c8e8a63577e1fa95fd6
BLAKE2b-256 4fbd0c987a82bd141f15295abea31cd8e4abea6fc72344cfff0fac892e09c307

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for csv_to_anki_converter-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0585f960c7c975993d200c834417c11455318cc26c29cd527fb142d253c85820
MD5 e0987421a5c4527b1ac2aff499232ee2
BLAKE2b-256 928ad68174e446a9a6577852b8895b430dda1eb5ca9f64c41f735aaeec691324

See more details on using hashes here.

Supported by

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