""" README for the guailit library. """
author = "Marco Bonaglia" version = "0.1.0" date = "2023-10-27" # Placeholder: Update with actual creation date
guailit is a Python library that provides a web-based graphical user interface (GUI) using the streamlit package to control and monitor the functionalities exposed by the fastlabio library (motor and camera).
-
Clone the repository:
git clone <repository_url> cd <repository_directory>
-
Navigate to the
guailitdirectory:cd guailit -
Create and activate a conda environment (recommended):
conda create -n guailit python=3.9 conda activate guailit
-
Install the required packages:
Make sure the
fastlabiolibrary is accessible (e.g., cloned in the same parent directory asguailit).pip install streamlit fastapi uvicorn pysilico plico_motor opencv-python # If fastlabio is not installed as a package, you might need to add its path # to your Python environment or install it locally.
-
Ensure your
fastlabioservers (motor and camera) are running. -
Activate the conda environment:
conda activate guailit
-
Run the Streamlit application:
streamlit run app.py
This will open the application in your web browser.
-
Activate the conda environment:
conda activate guailit
-
Navigate to the
guailitdirectory:cd guailit -
Run pytest:
pytest
git/
├── fastlabio/
│ ├── camera.py
│ ├── motor.py
│ └── ...
└── guailit/
├── __init__.py
├── app.py
├── README.md
└── tests/
└── test_guailit.py
(Add contributing guidelines here)
(Add license information here)