This repository is for Python programming and framework testing.
This repository contains two main projects:
- PySample: Contains Python code for various syntax and library tests.
- flaskProject: A small project demonstrating the use of the Flask framework.
- PySample: Requires pyTesseract and OpenCV for image reading.
- You can install these using pip:
pip install pytesseract opencv-python
- You can install these using pip:
- flaskProject: Dependencies are listed in
flaskProject/requeriments.txt.
flaskProject:
- Navigate to the
flaskProjectdirectory. - Install the dependencies:
pip install -r requeriments.txt
For the flaskProject to work, you need to set the following environment variables:
export FLASK_APP="entrypoint"
export FLASK_ENV="development"
export APP_SETTINGS_MODULE="config.local"set FLASK_APP="entrypoint"
set FLASK_ENV="development"
set APP_SETTINGS_MODULE="config.local"Recommendation: If you are using a virtual environment (e.g.,
virtualenv), it's good practice to add these environment variable settings to theactivate(for Linux/Mac) oractivate.bat(for Windows) script within your virtual environment's directory.
Currently, this project does not have an automated test suite.
- Flask - The web framework used in
flaskProject. - pyTesseract - OCR tool used in
PySample.
Please read CONTRIBUTING.md for details on our code of conduct and the process for submitting pull requests.
- Pedro Carranza - Initial work - Draexx
See also the list of contributors who participated in this project.
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.
- Hat tip to anyone whose code was used.
- Inspiration.