English Assistant Form
This project is related to the implementation of the English Assistant Application, which helps us to learn English as an assistant. And, Also this package has the ability to translate from English to Persian.
Instruction
- Install Python.
⚠ WARNING:
After install EnglishAssistantForm,
pip install EnglishAssistantForm, Don't forget install en_core_web_sm data.pip install "https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.6.0/en_core_web_sm-3.6.0-py3-none-any.whl"
-
Install English Assistant Form
-
Install English Assistant Core and SpaCy-English Core Web Small (en_core_web_sm)
Windows:
pip install EnglishAssistantForm & pip install "https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.6.0/en_core_web_sm-3.6.0-py3-none-any.whl"Linux:
pip3 install EnglishAssistantForm && pip3 install https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.6.0/en_core_web_sm-3.6.0-py3-none-any.whl
Usage
In the Python file(.pyw):
from EnglishAssistantForm.EnglishAssistantForm import App
if __name__ == "__main__":
app = App()
app.mainloop()
Or
In the Batch file(.bat):
@echo off
REM Check to Installed en_core_web_sm or not?
::
set DATA_PACKAGE=en_core_web_sm
pip show %DATA_PACKAGE% >nul 2>&1
if %errorlevel% neq 0 (
echo %DATA_PACKAGE% not installed. Installing...
pip install "https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.6.0/en_core_web_sm-3.6.0-py3-none-any.whl"
) else (
echo %DATA_PACKAGE% is already installed.
)
::
REM Check to Installed EnglishAssistantForm or not?
::
set PACKAGE_NAME=EnglishAssistantForm
pip show %PACKAGE_NAME% >nul 2>&1
if %errorlevel% neq 0 (
echo %PACKAGE_NAME% not installed. Installing...
pip install %PACKAGE_NAME%
) else (
echo %PACKAGE_NAME% is already installed.
)
::
REM Write a pyw file to Run Application.
echo from EnglishAssistantForm.EnglishAssistantForm import App>> "%~dp0%EnglishAssistantApplication.pyw"
echo app = App()>> ""%~dp0%EnglishAssistantApplication.pyw"
echo app.mainloop()>> "%~dp0%EnglishAssistantApplication.pyw"
REM Run!!!
start pythonw "%~dp0%EnglishAssistantApplication.pyw"
timeout /T 1
REM Delete exectuer file
del /f "%~dp0%EnglishAssistantApplication.pyw"
REM Do you need pause to see the steps?
::pause
Metadata
Release files for EnglishAssistantForm 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| englishassistantform-1.0.3.tar.gz | 603.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| englishassistantform-1.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.2 MB
Release files / englishassistantform-1.0.3.tar.gz
| Download URL | englishassistantform-1.0.3.tar.gz |
|---|---|
| Size | 603.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
11dcafcc67bdf3029fcc0851d735181c61e9823a1cb749cf1fb642bcc5811701
|
|
BLAKE2b-256 checksum How to use checksums |
9524c1c2a3ef36c72044c67fc40370b054952ca2e5e479f39fd7deaa3160c58c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Release files / englishassistantform-1.0.3-py3-none-any.whl
| Download URL | englishassistantform-1.0.3-py3-none-any.whl |
|---|---|
| Size | 604.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8d49049ceddf5fd36ec1cea1b0c2934e6ca783529d6f6425f86df141cd8dcd23
|
|
BLAKE2b-256 checksum How to use checksums |
19b7d1f341a2101d4828c456f17f27121525b2f89a6f6dfec62d6b4d66dad1a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|