commit da116357b3f92146a025c7a3f8f2d13b5f4fc01d Author: John Doty Date: Sat May 4 14:31:52 2024 -0700 Initial commit diff --git a/README.md b/README.md new file mode 100644 index 0000000..7c54a52 --- /dev/null +++ b/README.md @@ -0,0 +1,9 @@ +# Flash Cards + +My son needs help with addition and multiplication and spelling. + +Make some ANKI cards to help with it. + +https://github.com/kerrickstaley/genanki + +Needs `espeak-ng`. MacPorts has it. diff --git a/make_deck.py b/make_deck.py new file mode 100644 index 0000000..826c089 --- /dev/null +++ b/make_deck.py @@ -0,0 +1,1003 @@ +import os +import pathlib +import shutil +import subprocess + +import genanki + +print("Cleanup...") +root = pathlib.Path(__file__).parent / "build" +if root.exists(): + shutil.rmtree(root) +os.mkdir(root) +os.mkdir(root / "words") + +########################################################################3 + +model = genanki.Model( + 1535966710, + "Addition Problem", + fields=[ + {"name": "Problem"}, + {"name": "Sum"}, + ], + templates=[ + { + "name": "Card 1", + "qfmt": "{{Problem}}

{{type:Sum}}", + "afmt": '{{FrontSide}}
', + }, + ], +) + +print("Addition 1-10...") +deck = genanki.Deck(1360034114, "Addition 1-10") +for x in range(11): + for y in range(11): + note = genanki.Note(model=model, fields=[f"{x} + {y}", str(x + y)]) + deck.add_note(note) +genanki.Package(deck).write_to_file(str(root / "addition_1_10.apkg")) + +print("Addition 11-20...") +deck = genanki.Deck(1354309777, "Addition 11-20") +for x in range(11, 21): + for y in range(11, 21): + note = genanki.Note(model=model, fields=[f"{x} + {y}", str(x + y)]) + deck.add_note(note) +genanki.Package(deck).write_to_file(str(root / "addition_11_20.apkg")) + +########################################################################3 + +model = genanki.Model( + 1964109108, + "Multiplication Problem", + fields=[ + {"name": "Problem"}, + {"name": "Product"}, + ], + templates=[ + { + "name": "Card 1", + "qfmt": "{{Problem}}

{{type:Product}}", + "afmt": '{{FrontSide}}
', + }, + ], +) + +print("Multiplication 1-12...") +deck = genanki.Deck(1644222090, "Multiplication 1-12") +for x in range(13): + for y in range(13): + note = genanki.Note(model=model, fields=[f"{x} x {y}", str(x * y)]) + deck.add_note(note) +genanki.Package(deck).write_to_file(str(root / "multiplication_1_12.apkg")) + +########################################################################3 + +model = genanki.Model( + 1588793726, + "Spelling Problem", + fields=[ + {"name": "Pronounciation"}, + {"name": "Sentance Front"}, + {"name": "Sentence Back"}, + {"name": "Spelling"}, + ], + templates=[ + { + "name": "Card 1", + "qfmt": "Spell the word that goes here:
{{Sentence Front}} __________ {{Sentence Back}}
{{Pronounciation}}

{{type:Spelling}}", + "afmt": '{{FrontSide}}
', + }, + ], +) + + +def spelling_deck(id, title, file_name, words): + print(f"{title}...") + deck = genanki.Deck(id, title) + media_files = [] + for word in words: + print(f" {word}") + output_file = str(root / "words" / f"{word}.wav") + subprocess.run(["espeak-ng", "-s", "125", word, "-w", output_file]) + media_files.append(output_file) + + note = genanki.Note(model=model, fields=[f"[sound:{word}.wav]", word]) + deck.add_note(note) + + package = genanki.Package(deck) + package.media_files = media_files + package.write_to_file(str(root / f"{file_name}.apkg")) + + +spelling_deck( + 1745896623, + "Spelling: First Grade", + "spelling_first_grade", + [ + "a", + "all", + "am", + "and", + "at", + "ball", + "be", + "bed", + "big", + "book", + "box", + "boy", + "but", + "came", + "can", + "car", + "cat", + "come", + "cow", + "dad", + "day", + "did", + "do", + "dog", + "fat", + "for", + "fun", + "get", + "go", + "good", + "got", + "had", + "hat", + "he", + "hen", + "here", + "him", + "his", + "home", + "hot", + "if", + "in", + "into", + "is", + "it", + "its", + "let", + "like", + "look", + "man", + "may", + "me", + "mom", + "my", + "no", + "not", + "of", + "oh", + "old", + "on", + "one", + "out", + "pan", + "pet", + "pig", + "play", + "ran", + "rat", + "red", + "ride", + "run", + "sat", + "see", + "she", + "sit", + "six", + "so", + "stop", + "sun", + "ten", + "the", + "this", + "to", + "top", + "toy", + "two", + "up", + "us", + "was", + "we", + "will", + "yes", + "you", + ], +) + +spelling_deck( + 1748224344, + "Spelling: Second Grade", + "spelling_second_grade", + [ + "about", + "add", + "after", + "ago", + "an", + "any", + "apple", + "are", + "as", + "ask", + "ate", + "away", + "baby", + "back", + "bad", + "bag", + "base", + "bat", + "bee", + "been", + "before", + "being", + "best", + "bike", + "bill", + "bird", + "black", + "blue", + "boat", + "both", + "bring", + "brother", + "brown", + "bus", + "buy", + "by", + "cake", + "call", + "candy", + "change", + "child", + "city", + "clean", + "club", + "coat", + "cold", + "coming", + "corn", + "could", + "cry", + "cup", + "cut", + "daddy", + "dear", + "deep", + "deer", + "doing", + "doll", + "door", + "down", + "dress", + "drive", + "drop", + "dry", + "duck", + "each", + "eat", + "eating", + "egg", + "end", + "fall", + "far", + "farm", + "fast", + "father", + "feed", + "feel", + "feet", + "fell", + "find", + "fine", + "fire", + "first", + "fish", + "five", + "fix", + "flag", + "floor", + "fly", + "food", + "foot", + "four", + "fox", + "from", + "full", + "funny", + "game", + "gas", + "gave", + "girl", + "give", + "glad", + "goat", + "goes", + "going", + "gold", + "gone", + "grade", + "grass", + "green", + "grow", + "hand", + "happy", + "hard", + "has", + "have", + "hear", + "help", + "here", + "hill", + "hit", + "hold", + "hole", + "hop", + "hope", + "horse", + "house", + "how", + "ice", + "inch", + "inside", + "job", + "jump", + "just", + "keep", + "king", + "know", + "lake", + "land", + "last", + "late", + "lay", + "left", + "leg", + "light", + "line", + "little", + "live", + "lives", + "long", + "looking", + "lost", + "lot", + "love", + "mad", + "made", + "make", + "many", + "meat", + "men", + "met", + "mile", + "milk", + "mine", + "miss", + "moon", + "more", + "most", + "mother", + "move", + "much", + "must", + "myself", + "nail", + "name", + "need", + "new", + "next", + "nice", + "night", + "nine", + "north", + "now", + "nut", + "off", + "only", + "open", + "or", + "other", + "our", + "outside", + "over", + "page", + "park", + "part", + "pay", + "pick", + "plant", + "playing", + "pony", + "post", + "pull", + "put", + "rabbit", + "rain", + "read", + "rest", + "riding", + "road", + "rock", + "room", + "said", + "same", + "sang", + "saw", + "say", + "school", + "sea", + "seat", + "seem", + "seen", + "send", + "set", + "seven", + "sheep", + "ship", + "shoe", + "show", + "sick", + "side", + "sing", + "sky", + "sleep", + "small", + "snow", + "some", + "soon", + "spell", + "start", + "stay", + "still", + "store", + "story", + "take", + "talk", + "tall", + "teach", + "tell", + "than", + "thank", + "that", + "them", + "then", + "there", + "they", + "thing", + "think", + "three", + "time", + "today", + "told", + "too", + "took", + "train", + "tree", + "truck", + "try", + "use", + "very", + "walk", + "want", + "warm", + "wash", + "way", + "week", + "well", + "went", + "were", + "wet", + "what", + "when", + "while", + "white", + "who", + "why", + "wind", + "wish", + "with", + "woke", + "wood", + "work", + "yellow", + "yet", + "your", + "zoo", + ], +) + +grade_3 = [ + "able", + "above", + "afraid", + "afternoon", + "again", + "age", + "air", + "airplane", + "almost", + "alone", + "along", + "already", + "also", + "always", + "animal", + "another", + "anything", + "around", + "art", + "aunt", + "balloon", + "bark", + "barn", + "basket", + "beach", + "bear", + "because", + "become", + "began", + "begin", + "behind", + "believe", + "below", + "belt", + "better", + "birthday", + "body", + "bones", + "born", + "bought", + "bread", + "bright", + "broke", + "brought", + "busy", + "cabin", + "cage", + "camp", + "can't", + "care", + "carry", + "catch", + "cattle", + "cave", + "children", + "class", + "close", + "cloth", + "coal", + "color", + "corner", + "cotton", + "cover", + "dark", + "desert", + "didn't", + "dinner", + "dishes", + "does", + "done", + "don't", + "dragon", + "draw", + "dream", + "drink", + "early", + "earth", + "east", + "eight", + "even", + "ever", + "every", + "everyone", + "everything", + "eyes", + "face", + "family", + "feeling", + "felt", + "few", + "fight", + "fishing", + "flower", + "flying", + "follow", + "forest", + "forgot", + "form", + "found", + "fourth", + "free", + "Friday", + "friend", + "front", + "getting", + "given", + "grandmother", + "great", + "grew", + "ground", + "guess", + "hair", + "half", + "having", + "head", + "heard", + "he's", + "heat", + "hello", + "high", + "himself", + "hour", + "hundred", + "hurry", + "hurt", + "I'd", + "I'll", + "I'm", + "inches", + "isn't", + "it's", + "I've", + "kept", + "kids", + "kind", + "kitten", + "knew", + "knife", + "lady", + "large", + "largest", + "later", + "learn", + "leave", + "let's", + "letter", + "life", + "list", + "living", + "lovely", + "loving", + "lunch", + "mail", + "making", + "maybe", + "mean", + "merry", + "might", + "mind", + "money", + "month", + "morning", + "mouse", + "mouth", + "Mr.", + "Mrs.", + "Ms.", + "music", + "near", + "nearly", + "never", + "news", + "noise", + "nothing", + "number", + "o'clock", + "often", + "oil", + "once", + "orange", + "order", + "own", + "pair", + "paint", + "paper", + "party", + "pass", + "past", + "penny", + "people", + "person", + "picture", + "place", + "plan", + "plane", + "please", + "pocket", + "point", + "poor", + "race", + "reach", + "reading", + "ready", + "real", + "rich", + "right", + "river", + "rocket", + "rode", + "round", + "rule", + "running", + "salt", + "says", + "sending", + "sent", + "seventh", + "sew", + "shall", + "short", + "shot", + "should", + "sight", + "sister", + "sitting", + "sixth", + "sled", + "smoke", + "soap", + "someone", + "something", + "sometime", + "song", + "sorry", + "sound", + "south", + "space", + "spelling", + "spent", + "sport", + "spring", + "stairs", + "stand", + "state", + "step", + "stick", + "stood", + "stopped", + "stove", + "street", + "strong", + "study", + "such", + "sugar", + "summer", + "Sunday", + "supper", + "table", + "taken", + "taking", + "talking", + "teacher", + "team", + "teeth", + "tenth", + "that's", + "these", + "thinking", + "third", + "those", + "thought", + "throw", + "tonight", + "trade", + "trick", + "trip", + "trying", + "turn", + "twelve", + "twenty", + "uncle", + "under", + "upon", + "wagon", + "wait", + "walking", + "wasn't", + "watch", + "water", + "weather", + "we're", + "west", + "wheat", + "where", + "which", + "wife", + "wild", + "win", + "window", + "winter", + "without", + "woman", + "won", + "won't", + "wool", + "word", + "working", + "world", + "would", + "write", + "wrong", + "yard", + "year", + "yesterday", + "you're", +] +spelling_deck( + 1283128462, + "Spelling: Third Grade", + "spelling_third_grade", + grade_3, +) + + +grade_4 = [ + "across", + "against", + "answer", + "awhile", + "between", + "board", + "bottom", + "breakfast", + "broken", + "build", + "building", + "built", + "captain", + "carried", + "caught", + "charge", + "chicken", + "circus", + "cities", + "clothes", + "company", + "couldn't", + "country", + "discover", + "doctor", + "doesn't", + "dollar", + "during", + "eighth", + "else", + "enjoy", + "enough", + "everybody", + "example", + "except", + "excuse", + "field", + "fifth", + "finish", + "following", + "good-by", + "group", + "happened", + "harden", + "haven't", + "heavy", + "held", + "hospital", + "idea", + "instead", + "known", + "laugh", + "middle", + "minute", + "mountain", + "ninth", + "ocean", + "office", + "parent", + "peanut", + "pencil", + "picnic", + "police", + "pretty", + "prize", + "quite", + "radio", + "raise", + "really", + "reason", + "remember", + "return", + "Saturday", + "scare", + "second", + "since", + "slowly", + "stories", + "student", + "sudden", + "suit", + "sure", + "swimming", + "though", + "threw", + "tired", + "together", + "tomorrow", + "toward", + "tried", + "trouble", + "truly", + "turtle", + "until", + "village", + "visit", + "wear", + "we'll", + "whole", + "whose", + "women", + "wouldn't", + "writing", + "written", + "wrote", + "yell", + "young", +] +spelling_deck( + 1576866982, + "Spelling: Fourth Grade", + "spelling_fourth_grade", + grade_4, +) + +grade_5 = [ + "although", + "America", + "among", + "arrive", + "attention", + "beautiful", + "countries", + "course", + "cousin", + "decide", + "different", + "evening", + "favorite", + "finally", + "future", + "happiest", + "happiness", + "important", + "interest", + "piece", + "planet", + "present", + "president", + "principal", + "probably", + "problem", + "receive", + "sentence", + "several", + "special", + "suddenly", + "suppose", + "surely", + "surprise", + "they're", + "through", + "usually", +] +spelling_deck( + 2087228596, + "Spelling: Fifth Grade", + "spelling_fifth_grade", + grade_5, +) diff --git a/poetry.lock b/poetry.lock new file mode 100644 index 0000000..ffc59e2 --- /dev/null +++ b/poetry.lock @@ -0,0 +1,161 @@ +# This file is automatically @generated by Poetry 1.8.2 and should not be changed by hand. + +[[package]] +name = "cached-property" +version = "1.5.2" +description = "A decorator for caching properties in classes." +optional = false +python-versions = "*" +files = [ + {file = "cached-property-1.5.2.tar.gz", hash = "sha256:9fa5755838eecbb2d234c3aa390bd80fbd3ac6b6869109bfc1b499f7bd89a130"}, + {file = "cached_property-1.5.2-py2.py3-none-any.whl", hash = "sha256:df4f613cf7ad9a588cc381aaf4a512d26265ecebd5eb9e1ba12f1319eb85a6a0"}, +] + +[[package]] +name = "chevron" +version = "0.14.0" +description = "Mustache templating language renderer" +optional = false +python-versions = "*" +files = [ + {file = "chevron-0.14.0-py3-none-any.whl", hash = "sha256:fbf996a709f8da2e745ef763f482ce2d311aa817d287593a5b990d6d6e4f0443"}, + {file = "chevron-0.14.0.tar.gz", hash = "sha256:87613aafdf6d77b6a90ff073165a61ae5086e21ad49057aa0e53681601800ebf"}, +] + +[[package]] +name = "espeakng" +version = "1.0.3" +description = "An eSpeak NG TTS binding for Python3" +optional = false +python-versions = ">=3.9" +files = [ + {file = "espeakng-1.0.3-py3-none-any.whl", hash = "sha256:1199e7c1fa0ee3c3c6a0b68170ec2a8659ded1815794188de267fdee33d18df4"}, + {file = "espeakng-1.0.3.tar.gz", hash = "sha256:b07f464cdca968516a0dfcc171c587d522ba366fcc4cb5e0efbda2f3e2a1bd05"}, +] + +[[package]] +name = "frozendict" +version = "2.4.2" +description = "A simple immutable dictionary" +optional = false +python-versions = ">=3.6" +files = [ + {file = "frozendict-2.4.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:19743495b1e92a7e4db56fcd6a5d36ea1d1b0f550822d6fd780e44d58f0b8c18"}, + {file = "frozendict-2.4.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:81efb4ea854a1c93d954a67389eaf78c508acb2d4768321a835cda2754ec5c01"}, + {file = "frozendict-2.4.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c5f1a4d9662b854dce52b560b60f51349905dc871826b8c6be20141a13067a53"}, + {file = "frozendict-2.4.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1412aeb325e4a28cfe32106c66c046372bb7fd5a9af1748193549c5d01a9e9c1"}, + {file = "frozendict-2.4.2-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:f7ce0535f02eba9746e4e2cf0abef0f0f2051d20fdccf4af31bc3d1adecf5a71"}, + {file = "frozendict-2.4.2-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:07153e6d2720fa1131bb180ce388c7042affb29561d8bcd1c0d6e683a8beaea2"}, + {file = "frozendict-2.4.2-cp310-cp310-win_amd64.whl", hash = "sha256:f7a90ea6d5248617a1222daef07d22fb146ff07635a36db327e1ce114bf3e304"}, + {file = "frozendict-2.4.2-cp310-cp310-win_arm64.whl", hash = "sha256:20a6f741c92fdeb3766924cde42b8ee445cf568e3be8aa983cb83e9fe5b61e63"}, + {file = "frozendict-2.4.2-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:146129502cd9d96de64e0c8f7dc4c66422da3d4bfccf891dd80a3821b358a926"}, + {file = "frozendict-2.4.2-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9ac1f74ccf818977abbc1868090c06436b8f06534d306f808f15cffc304ae046"}, + {file = "frozendict-2.4.2-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7a8d2ea4f10505ad15f53ce3742420682d916d0c4d566edb8e1019756e7cea30"}, + {file = "frozendict-2.4.2-cp36-cp36m-musllinux_1_1_aarch64.whl", hash = "sha256:4a5841681e70d2862ca153543f2912e0bab034bf29e2d3610e86ea42506121c2"}, + {file = "frozendict-2.4.2-cp36-cp36m-musllinux_1_1_x86_64.whl", hash = "sha256:d4a10119f17552cbeab48d4ae830ba091c6d47616589618adc31f251184579a7"}, + {file = "frozendict-2.4.2-cp36-cp36m-win_amd64.whl", hash = "sha256:7d13ffe649e9db6f4bb5e107d9be7dfd23e13101bc69f97aa5fa6cbf6aecaadd"}, + {file = "frozendict-2.4.2-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:19e64630e164a297f83e9a1c69f1cd36fa4b3d1196c1f9fc006a0385aa198ea4"}, + {file = "frozendict-2.4.2-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bedb0a6587bae53bd53727b92a87c4cf90ad7a7e0bd2db562d439beb6982712e"}, + {file = "frozendict-2.4.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:83cc9d063131fd8adbeb18a473d222b5dc8301cac9505cfe578158f9a9bf55a9"}, + {file = "frozendict-2.4.2-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:92c46b155ea9eb9ecabc66ba2d9030f2634319f55c6448688965ece094f14b51"}, + {file = "frozendict-2.4.2-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:f958d40637e0440bce2453019821c94fe86cfc5f3847ae11cd4f02c3548b1d1b"}, + {file = "frozendict-2.4.2-cp37-cp37m-win_amd64.whl", hash = "sha256:ac954be447a907face9b652207fbd943b9b552212890db959ba653e8f1dc3f56"}, + {file = "frozendict-2.4.2-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:f7e0ff5e84742604a1b42c2de4f1e67630c0868cf52a5c585b54a99e06f6b453"}, + {file = "frozendict-2.4.2-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:84c36bfa819cd8442f6e0bdb86413c7678b2822a46b1a22cfa0f0dd30d9e5c45"}, + {file = "frozendict-2.4.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:cead3bfe70c90c634a9b76807c9d7e75e6c5666ec96fa2cea8e7412ccf22a1f8"}, + {file = "frozendict-2.4.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3fc6e3158107b5431255978b954758b1041cc70a3b8e7657373110512eb528e3"}, + {file = "frozendict-2.4.2-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:4db1d6cc412bd865cab36723995208b82166a97bc6c724753bcd2b90cf24f164"}, + {file = "frozendict-2.4.2-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:ff6fb5831539fffb09d71cc0cc0462b1f27c0160cb6c6fa2d1f4c1bc7fffe52a"}, + {file = "frozendict-2.4.2-cp38-cp38-win_amd64.whl", hash = "sha256:79e1c94ad2a925ad5723d82a4134c6d851d5a7bc72b7e9da8b2087c42758a512"}, + {file = "frozendict-2.4.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:34704f9ffb21448d4b5c0f9239f8f058c0efab4bfdbe2956c5be978fef0b929c"}, + {file = "frozendict-2.4.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:5280d685cd1659883a3010dec843afe3065416ae92e453498997d4474a898a39"}, + {file = "frozendict-2.4.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4ca09a376114172e4d9918e6d576f58244c45e21f5af1245085699fd3a171c47"}, + {file = "frozendict-2.4.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:55953aa2acf5bf183c664f3d0f540f8c8ac8f5fa97170f2098d413414318eb2b"}, + {file = "frozendict-2.4.2-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:476e4857e1d87b05c9102dd5409216ce4716cb7df619e6657429bc99279303cc"}, + {file = "frozendict-2.4.2-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:4a8b298f39242d25770d029588ce9d4f524e9f4edc60d2d34b6178fb07c8a93e"}, + {file = "frozendict-2.4.2-cp39-cp39-win_amd64.whl", hash = "sha256:c157b8a92743a7905b341edb0663044fecdc7780f96c59a2843d3da68d694b90"}, + {file = "frozendict-2.4.2-cp39-cp39-win_arm64.whl", hash = "sha256:cbab325c0a98b2f3ee291b36710623781b4977a3057f9103a7b0f11bcc23b177"}, + {file = "frozendict-2.4.2.tar.gz", hash = "sha256:741779e1d1a2e6bb2c623f78423bd5d14aad35dc0c57e6ccc89e54eaab5f1b8a"}, +] + +[[package]] +name = "genanki" +version = "0.13.1" +description = "Generate Anki decks programmatically" +optional = false +python-versions = ">=3.6" +files = [ + {file = "genanki-0.13.1-py3-none-any.whl", hash = "sha256:65b59434008588a1213b940474d1aca8cca83243af6fc0e26200b560efe4d9e3"}, + {file = "genanki-0.13.1.tar.gz", hash = "sha256:84d090423a8879520465bfe9784083edacb8d35e2ba511fa5a1bdef01d8f71ed"}, +] + +[package.dependencies] +cached-property = "*" +chevron = "*" +frozendict = "*" +pyyaml = "*" + +[[package]] +name = "pyyaml" +version = "6.0.1" +description = "YAML parser and emitter for Python" +optional = false +python-versions = ">=3.6" +files = [ + {file = "PyYAML-6.0.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:d858aa552c999bc8a8d57426ed01e40bef403cd8ccdd0fc5f6f04a00414cac2a"}, + {file = "PyYAML-6.0.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:fd66fc5d0da6d9815ba2cebeb4205f95818ff4b79c3ebe268e75d961704af52f"}, + {file = "PyYAML-6.0.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:69b023b2b4daa7548bcfbd4aa3da05b3a74b772db9e23b982788168117739938"}, + {file = "PyYAML-6.0.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:81e0b275a9ecc9c0c0c07b4b90ba548307583c125f54d5b6946cfee6360c733d"}, + {file = "PyYAML-6.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ba336e390cd8e4d1739f42dfe9bb83a3cc2e80f567d8805e11b46f4a943f5515"}, + {file = "PyYAML-6.0.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:326c013efe8048858a6d312ddd31d56e468118ad4cdeda36c719bf5bb6192290"}, + {file = "PyYAML-6.0.1-cp310-cp310-win32.whl", hash = "sha256:bd4af7373a854424dabd882decdc5579653d7868b8fb26dc7d0e99f823aa5924"}, + {file = "PyYAML-6.0.1-cp310-cp310-win_amd64.whl", hash = "sha256:fd1592b3fdf65fff2ad0004b5e363300ef59ced41c2e6b3a99d4089fa8c5435d"}, + {file = "PyYAML-6.0.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:6965a7bc3cf88e5a1c3bd2e0b5c22f8d677dc88a455344035f03399034eb3007"}, + {file = "PyYAML-6.0.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:f003ed9ad21d6a4713f0a9b5a7a0a79e08dd0f221aff4525a2be4c346ee60aab"}, + {file = "PyYAML-6.0.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:42f8152b8dbc4fe7d96729ec2b99c7097d656dc1213a3229ca5383f973a5ed6d"}, + {file = "PyYAML-6.0.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:062582fca9fabdd2c8b54a3ef1c978d786e0f6b3a1510e0ac93ef59e0ddae2bc"}, + {file = "PyYAML-6.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d2b04aac4d386b172d5b9692e2d2da8de7bfb6c387fa4f801fbf6fb2e6ba4673"}, + {file = "PyYAML-6.0.1-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:e7d73685e87afe9f3b36c799222440d6cf362062f78be1013661b00c5c6f678b"}, + {file = "PyYAML-6.0.1-cp311-cp311-win32.whl", hash = "sha256:1635fd110e8d85d55237ab316b5b011de701ea0f29d07611174a1b42f1444741"}, + {file = "PyYAML-6.0.1-cp311-cp311-win_amd64.whl", hash = "sha256:bf07ee2fef7014951eeb99f56f39c9bb4af143d8aa3c21b1677805985307da34"}, + {file = "PyYAML-6.0.1-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:855fb52b0dc35af121542a76b9a84f8d1cd886ea97c84703eaa6d88e37a2ad28"}, + {file = "PyYAML-6.0.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:40df9b996c2b73138957fe23a16a4f0ba614f4c0efce1e9406a184b6d07fa3a9"}, + {file = "PyYAML-6.0.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a08c6f0fe150303c1c6b71ebcd7213c2858041a7e01975da3a99aed1e7a378ef"}, + {file = "PyYAML-6.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6c22bec3fbe2524cde73d7ada88f6566758a8f7227bfbf93a408a9d86bcc12a0"}, + {file = "PyYAML-6.0.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:8d4e9c88387b0f5c7d5f281e55304de64cf7f9c0021a3525bd3b1c542da3b0e4"}, + {file = "PyYAML-6.0.1-cp312-cp312-win32.whl", hash = "sha256:d483d2cdf104e7c9fa60c544d92981f12ad66a457afae824d146093b8c294c54"}, + {file = "PyYAML-6.0.1-cp312-cp312-win_amd64.whl", hash = "sha256:0d3304d8c0adc42be59c5f8a4d9e3d7379e6955ad754aa9d6ab7a398b59dd1df"}, + {file = "PyYAML-6.0.1-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:50550eb667afee136e9a77d6dc71ae76a44df8b3e51e41b77f6de2932bfe0f47"}, + {file = "PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1fe35611261b29bd1de0070f0b2f47cb6ff71fa6595c077e42bd0c419fa27b98"}, + {file = "PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:704219a11b772aea0d8ecd7058d0082713c3562b4e271b849ad7dc4a5c90c13c"}, + {file = "PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:afd7e57eddb1a54f0f1a974bc4391af8bcce0b444685d936840f125cf046d5bd"}, + {file = "PyYAML-6.0.1-cp36-cp36m-win32.whl", hash = "sha256:fca0e3a251908a499833aa292323f32437106001d436eca0e6e7833256674585"}, + {file = "PyYAML-6.0.1-cp36-cp36m-win_amd64.whl", hash = "sha256:f22ac1c3cac4dbc50079e965eba2c1058622631e526bd9afd45fedd49ba781fa"}, + {file = "PyYAML-6.0.1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:b1275ad35a5d18c62a7220633c913e1b42d44b46ee12554e5fd39c70a243d6a3"}, + {file = "PyYAML-6.0.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:18aeb1bf9a78867dc38b259769503436b7c72f7a1f1f4c93ff9a17de54319b27"}, + {file = "PyYAML-6.0.1-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:596106435fa6ad000c2991a98fa58eeb8656ef2325d7e158344fb33864ed87e3"}, + {file = "PyYAML-6.0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:baa90d3f661d43131ca170712d903e6295d1f7a0f595074f151c0aed377c9b9c"}, + {file = "PyYAML-6.0.1-cp37-cp37m-win32.whl", hash = "sha256:9046c58c4395dff28dd494285c82ba00b546adfc7ef001486fbf0324bc174fba"}, + {file = "PyYAML-6.0.1-cp37-cp37m-win_amd64.whl", hash = "sha256:4fb147e7a67ef577a588a0e2c17b6db51dda102c71de36f8549b6816a96e1867"}, + {file = "PyYAML-6.0.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:1d4c7e777c441b20e32f52bd377e0c409713e8bb1386e1099c2415f26e479595"}, + {file = "PyYAML-6.0.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a0cd17c15d3bb3fa06978b4e8958dcdc6e0174ccea823003a106c7d4d7899ac5"}, + {file = "PyYAML-6.0.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:28c119d996beec18c05208a8bd78cbe4007878c6dd15091efb73a30e90539696"}, + {file = "PyYAML-6.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7e07cbde391ba96ab58e532ff4803f79c4129397514e1413a7dc761ccd755735"}, + {file = "PyYAML-6.0.1-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:49a183be227561de579b4a36efbb21b3eab9651dd81b1858589f796549873dd6"}, + {file = "PyYAML-6.0.1-cp38-cp38-win32.whl", hash = "sha256:184c5108a2aca3c5b3d3bf9395d50893a7ab82a38004c8f61c258d4428e80206"}, + {file = "PyYAML-6.0.1-cp38-cp38-win_amd64.whl", hash = "sha256:1e2722cc9fbb45d9b87631ac70924c11d3a401b2d7f410cc0e3bbf249f2dca62"}, + {file = "PyYAML-6.0.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:9eb6caa9a297fc2c2fb8862bc5370d0303ddba53ba97e71f08023b6cd73d16a8"}, + {file = "PyYAML-6.0.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:c8098ddcc2a85b61647b2590f825f3db38891662cfc2fc776415143f599bb859"}, + {file = "PyYAML-6.0.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5773183b6446b2c99bb77e77595dd486303b4faab2b086e7b17bc6bef28865f6"}, + {file = "PyYAML-6.0.1-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b786eecbdf8499b9ca1d697215862083bd6d2a99965554781d0d8d1ad31e13a0"}, + {file = "PyYAML-6.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bc1bf2925a1ecd43da378f4db9e4f799775d6367bdb94671027b73b393a7c42c"}, + {file = "PyYAML-6.0.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:04ac92ad1925b2cff1db0cfebffb6ffc43457495c9b3c39d3fcae417d7125dc5"}, + {file = "PyYAML-6.0.1-cp39-cp39-win32.whl", hash = "sha256:faca3bdcf85b2fc05d06ff3fbc1f83e1391b3e724afa3feba7d13eeab355484c"}, + {file = "PyYAML-6.0.1-cp39-cp39-win_amd64.whl", hash = "sha256:510c9deebc5c0225e8c96813043e62b680ba2f9c50a08d3724c7f28a747d1486"}, + {file = "PyYAML-6.0.1.tar.gz", hash = "sha256:bfdf460b1736c775f2ba9f6a92bca30bc2095067b8a9d77876d1fad6cc3b4a43"}, +] + +[metadata] +lock-version = "2.0" +python-versions = "^3.11" +content-hash = "3127bb7e374f5b4bae7184323967e3f51401cea00087574d4b5a3dc65cf00fdf" diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..68d6077 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,18 @@ +[tool.poetry] +name = "decks" +version = "0.1.0" +description = "Make some study decks for anki" +authors = ["John Doty "] +license = "MIT" +readme = "README.md" +package-mode = false + +[tool.poetry.dependencies] +python = "^3.11" +genanki = "^0.13.1" +espeakng = "^1.0.3" + + +[build-system] +requires = ["poetry-core"] +build-backend = "poetry.core.masonry.api"