markdown-to-anki 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- markdown_to_anki-0.1.0/..env.un~ +0 -0
- markdown_to_anki-0.1.0/.claude/settings.local.json +13 -0
- markdown_to_anki-0.1.0/.env.example +1 -0
- markdown_to_anki-0.1.0/.gitattributes +2 -0
- markdown_to_anki-0.1.0/.gitignore +146 -0
- markdown_to_anki-0.1.0/.idea/.gitignore +8 -0
- markdown_to_anki-0.1.0/.idea/dataSources/408913a0-2e8d-41be-9f86-7eb9c4a4127f/storage_v2/_src_/schema/main.uQUzAA.meta +2 -0
- markdown_to_anki-0.1.0/.idea/dataSources/408913a0-2e8d-41be-9f86-7eb9c4a4127f.xml +1660 -0
- markdown_to_anki-0.1.0/.idea/dataSources/data_sources_history.xml +24 -0
- markdown_to_anki-0.1.0/.idea/dataSources.local.xml +17 -0
- markdown_to_anki-0.1.0/.idea/dataSources.xml +15 -0
- markdown_to_anki-0.1.0/.idea/inspectionProfiles/Project_Default.xml +149 -0
- markdown_to_anki-0.1.0/.idea/inspectionProfiles/profiles_settings.xml +6 -0
- markdown_to_anki-0.1.0/.idea/markdown-to-anki.iml +18 -0
- markdown_to_anki-0.1.0/.idea/misc.xml +10 -0
- markdown_to_anki-0.1.0/.idea/modules.xml +8 -0
- markdown_to_anki-0.1.0/.idea/vcs.xml +6 -0
- markdown_to_anki-0.1.0/.idea/workspace.xml +101 -0
- markdown_to_anki-0.1.0/.pre-commit-config.yaml +6 -0
- markdown_to_anki-0.1.0/.style.yapf +6 -0
- markdown_to_anki-0.1.0/LICENSE +21 -0
- markdown_to_anki-0.1.0/PKG-INFO +225 -0
- markdown_to_anki-0.1.0/README.md +209 -0
- markdown_to_anki-0.1.0/markdown_to_anki/__init__.py +0 -0
- markdown_to_anki-0.1.0/markdown_to_anki/cli.py +104 -0
- markdown_to_anki-0.1.0/markdown_to_anki/config.py +37 -0
- markdown_to_anki-0.1.0/markdown_to_anki/helpers/__init__.py +0 -0
- markdown_to_anki-0.1.0/markdown_to_anki/helpers/dict.py +15 -0
- markdown_to_anki-0.1.0/markdown_to_anki/helpers/file.py +14 -0
- markdown_to_anki-0.1.0/markdown_to_anki/helpers/misc.py +34 -0
- markdown_to_anki-0.1.0/markdown_to_anki/helpers/path.py +33 -0
- markdown_to_anki-0.1.0/markdown_to_anki/helpers/store.py +59 -0
- markdown_to_anki-0.1.0/markdown_to_anki/resources/anki/styles/basic.css +412 -0
- markdown_to_anki-0.1.0/markdown_to_anki/resources/anki/styles/english.css +19 -0
- markdown_to_anki-0.1.0/markdown_to_anki/resources/anki/templates/basic/back.html +5 -0
- markdown_to_anki-0.1.0/markdown_to_anki/resources/anki/templates/basic/front.html +1 -0
- markdown_to_anki-0.1.0/markdown_to_anki/resources/anki/templates/basic/reverse-back.html +5 -0
- markdown_to_anki-0.1.0/markdown_to_anki/resources/anki/templates/basic/reverse-front.html +1 -0
- markdown_to_anki-0.1.0/markdown_to_anki/resources/anki/templates/cloze/back.html +3 -0
- markdown_to_anki-0.1.0/markdown_to_anki/resources/anki/templates/cloze/front.html +1 -0
- markdown_to_anki-0.1.0/markdown_to_anki/resources/anki/templates/english/meaning-back.html +10 -0
- markdown_to_anki-0.1.0/markdown_to_anki/resources/anki/templates/english/meaning-front.html +1 -0
- markdown_to_anki-0.1.0/markdown_to_anki/resources/anki/templates/english/word-back.html +10 -0
- markdown_to_anki-0.1.0/markdown_to_anki/resources/anki/templates/english/word-front.html +1 -0
- markdown_to_anki-0.1.0/markdown_to_anki/services/__init__.py +0 -0
- markdown_to_anki-0.1.0/markdown_to_anki/services/anki.py +360 -0
- markdown_to_anki-0.1.0/markdown_to_anki/services/anki_api.py +198 -0
- markdown_to_anki-0.1.0/markdown_to_anki/services/render.py +112 -0
- markdown_to_anki-0.1.0/pyproject.toml +46 -0
- markdown_to_anki-0.1.0/tests/__init__.py +0 -0
- markdown_to_anki-0.1.0/tests/fixtures/.gitignore +1 -0
- markdown_to_anki-0.1.0/tests/fixtures/audios/usgran_014.mp3 +0 -0
- markdown_to_anki-0.1.0/tests/fixtures/cloze.md +28 -0
- markdown_to_anki-0.1.0/tests/fixtures/granular.md +14 -0
- markdown_to_anki-0.1.0/tests/fixtures/images/m2a-example.png +0 -0
- markdown_to_anki-0.1.0/tests/fixtures/img.md +20 -0
- markdown_to_anki-0.1.0/tests/fixtures/mean-of-theorem.md +13 -0
- markdown_to_anki-0.1.0/tests/fixtures/subdir/cpp.md +27 -0
- markdown_to_anki-0.1.0/tests/helpers/__init__.py +0 -0
- markdown_to_anki-0.1.0/tests/helpers/dict_test.py +17 -0
- markdown_to_anki-0.1.0/tests/test_integration.py +428 -0
- markdown_to_anki-0.1.0/tests/test_models.py +208 -0
- markdown_to_anki-0.1.0/tests/test_render.py +215 -0
- markdown_to_anki-0.1.0/tests/test_sync.py +290 -0
- markdown_to_anki-0.1.0/uv.lock +511 -0
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
MD_FOLDER=storage/app
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
# mac
|
|
2
|
+
.DS_Store
|
|
3
|
+
|
|
4
|
+
# Byte-compiled / optimized / DLL files
|
|
5
|
+
__pycache__/
|
|
6
|
+
*.py[cod]
|
|
7
|
+
*$py.class
|
|
8
|
+
|
|
9
|
+
# object files
|
|
10
|
+
*.o
|
|
11
|
+
|
|
12
|
+
# C extensions
|
|
13
|
+
*.so
|
|
14
|
+
|
|
15
|
+
# Distribution / packaging
|
|
16
|
+
.Python
|
|
17
|
+
build/
|
|
18
|
+
develop-eggs/
|
|
19
|
+
dist/
|
|
20
|
+
downloads/
|
|
21
|
+
eggs/
|
|
22
|
+
.eggs/
|
|
23
|
+
lib/
|
|
24
|
+
lib64/
|
|
25
|
+
parts/
|
|
26
|
+
sdist/
|
|
27
|
+
var/
|
|
28
|
+
wheels/
|
|
29
|
+
share/python-wheels/
|
|
30
|
+
*.egg-info/
|
|
31
|
+
.installed.cfg
|
|
32
|
+
*.egg
|
|
33
|
+
MANIFEST
|
|
34
|
+
|
|
35
|
+
# PyInstaller
|
|
36
|
+
# Usually these files are written by a python script from a template
|
|
37
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
38
|
+
*.manifest
|
|
39
|
+
*.spec
|
|
40
|
+
|
|
41
|
+
# Installer logs
|
|
42
|
+
pip-log.txt
|
|
43
|
+
pip-delete-this-directory.txt
|
|
44
|
+
|
|
45
|
+
# Unit test / coverage reports
|
|
46
|
+
htmlcov/
|
|
47
|
+
.tox/
|
|
48
|
+
.nox/
|
|
49
|
+
.coverage
|
|
50
|
+
.coverage.*
|
|
51
|
+
.cache
|
|
52
|
+
nosetests.xml
|
|
53
|
+
coverage.xml
|
|
54
|
+
*.cover
|
|
55
|
+
*.py,cover
|
|
56
|
+
.hypothesis/
|
|
57
|
+
.pytest_cache/
|
|
58
|
+
cover/
|
|
59
|
+
|
|
60
|
+
# Translations
|
|
61
|
+
*.mo
|
|
62
|
+
*.pot
|
|
63
|
+
|
|
64
|
+
# Django stuff:
|
|
65
|
+
*.log
|
|
66
|
+
local_settings.py
|
|
67
|
+
db.sqlite3
|
|
68
|
+
db.sqlite3-journal
|
|
69
|
+
|
|
70
|
+
# Flask stuff:
|
|
71
|
+
instance/
|
|
72
|
+
.webassets-cache
|
|
73
|
+
|
|
74
|
+
# Scrapy stuff:
|
|
75
|
+
.scrapy
|
|
76
|
+
|
|
77
|
+
# Sphinx documentation
|
|
78
|
+
docs/_build/
|
|
79
|
+
|
|
80
|
+
# PyBuilder
|
|
81
|
+
.pybuilder/
|
|
82
|
+
target/
|
|
83
|
+
|
|
84
|
+
# Jupyter Notebook
|
|
85
|
+
.ipynb_checkpoints
|
|
86
|
+
|
|
87
|
+
# IPython
|
|
88
|
+
profile_default/
|
|
89
|
+
ipython_config.py
|
|
90
|
+
|
|
91
|
+
# pyenv
|
|
92
|
+
# For a library or package, you might want to ignore these files since the code is
|
|
93
|
+
# intended to run in multiple environments; otherwise, check them in:
|
|
94
|
+
# .python-version
|
|
95
|
+
|
|
96
|
+
# pipenv
|
|
97
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
98
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
99
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
100
|
+
# install all needed dependencies.
|
|
101
|
+
#Pipfile.lock
|
|
102
|
+
|
|
103
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
|
|
104
|
+
__pypackages__/
|
|
105
|
+
|
|
106
|
+
# Celery stuff
|
|
107
|
+
celerybeat-schedule
|
|
108
|
+
celerybeat.pid
|
|
109
|
+
|
|
110
|
+
# SageMath parsed files
|
|
111
|
+
*.sage.py
|
|
112
|
+
|
|
113
|
+
# Environments
|
|
114
|
+
.env
|
|
115
|
+
.venv
|
|
116
|
+
env/
|
|
117
|
+
venv/
|
|
118
|
+
ENV/
|
|
119
|
+
env.bak/
|
|
120
|
+
venv.bak/
|
|
121
|
+
|
|
122
|
+
# Spyder project settings
|
|
123
|
+
.spyderproject
|
|
124
|
+
.spyproject
|
|
125
|
+
|
|
126
|
+
# Rope project settings
|
|
127
|
+
.ropeproject
|
|
128
|
+
|
|
129
|
+
# mkdocs documentation
|
|
130
|
+
/site
|
|
131
|
+
|
|
132
|
+
# mypy
|
|
133
|
+
.mypy_cache/
|
|
134
|
+
.dmypy.json
|
|
135
|
+
dmypy.json
|
|
136
|
+
|
|
137
|
+
# Pyre type checker
|
|
138
|
+
.pyre/
|
|
139
|
+
|
|
140
|
+
# pytype static type analyzer
|
|
141
|
+
.pytype/
|
|
142
|
+
|
|
143
|
+
# Cython debug symbols
|
|
144
|
+
cython_debug/
|
|
145
|
+
|
|
146
|
+
.pytest_cache
|