ENRGDAQ is a Python program that allows you to easily create and run data acquisition jobs. It provides a simple and flexible way to collect data from various sources and store it in various formats.
- Make sure you have Python 3.12.
- Clone the repository:
git clone https://github.com/ENRG-tr/enrgdaq.git
cd enrgdaq
- To install the dependencies:
- We recommend using uv for installing dependencies:
uv sync
- Or you can use venv:
python -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`
pip install -r requirements.txt
-
Using the configuration files in
configs/examples/
as a guide, create your own configuration files in theconfigs/
directory, with.toml
extension. -
Finally, run the program:
python src/main.py
To install the pre-commit hooks, run the following command:
pre-commit install
To run the tests, use the following command:
python src/run_tests.py