|
pycrossword
0.4
Pure-Python implementation of a crossword puzzle generator and editor
|
Classes | |
| class | HunspellDownloadSignals |
| class | HunspellDownloadTask |
| class | HunspellImport |
| class | HunspellImportSignals |
| class | HunspellImportTask |
| class | Sqlitedb |
| SQLite database driver implementation wrapping the standard Python sqlite3 methods. More... | |
Variables | |
| string | NEWLINE = '\n' |
| SQL_CREATE_TABLES = \ | |
| SQL query to create default table structure. More... | |
| SQL_INSERT_POS = \ | |
| SQL query to insert part of speech data. More... | |
| SQL_INSERT_WORD = \ | |
| SQL query to insert words and part of speech data. More... | |
| string | SQL_CLEAR_WORDS = f"delete from {SQL_TABLES['words']['table']};" |
| SQL query to clear words. More... | |
| string | SQL_COUNT_WORDS = f"select count(*) from {SQL_TABLES['words']['table']};" |
| SQL query to count entries (words) More... | |
| string | SQL_GET_WORDS = f"select {SQL_TABLES['words']['table']}.{SQL_TABLES['words']['fid']}, " \ |
| SQL query to display all words. More... | |
| string | SQL_GET_POS = f"select * from {SQL_TABLES['pos']['table']};" |
| SQL query to display all POS. More... | |
| string | HUNSPELL_REPO = 'https://raw.githubusercontent.com/wooorm/dictionaries/main' |
| Hunspell dic repo URL. More... | |
Low-level SQLite database driver implementation with a bunch of handy methods to create the default DB structure to use as a word source, import words from Hunspell open-source dictionaries, etc.
| string pycross.dbapi.HUNSPELL_REPO = 'https://raw.githubusercontent.com/wooorm/dictionaries/main' |
Hunspell dic repo URL.
| string pycross.dbapi.NEWLINE = '\n' |
| string pycross.dbapi.SQL_CLEAR_WORDS = f"delete from {SQL_TABLES['words']['table']};" |
SQL query to clear words.
| string pycross.dbapi.SQL_COUNT_WORDS = f"select count(*) from {SQL_TABLES['words']['table']};" |
SQL query to count entries (words)
| pycross.dbapi.SQL_CREATE_TABLES = \ |
SQL query to create default table structure.
| string pycross.dbapi.SQL_GET_POS = f"select * from {SQL_TABLES['pos']['table']};" |
SQL query to display all POS.
| string pycross.dbapi.SQL_GET_WORDS = f"select {SQL_TABLES['words']['table']}.{SQL_TABLES['words']['fid']}, " \ |
SQL query to display all words.
| pycross.dbapi.SQL_INSERT_POS = \ |
SQL query to insert part of speech data.
| pycross.dbapi.SQL_INSERT_WORD = \ |
SQL query to insert words and part of speech data.
1.8.17