Skip to content

Commit

Permalink
New version release v1.0.5 (#8)
Browse files Browse the repository at this point in the history
* chore: fix files names in Makefile

* docs: change name of Glossary section to Main PEAK concepts

* chore: change makefile argument

* chore: formatted code with black and isort

* fix: DF gourp hierarchy behavior when removing nodes

* fix: cli not recognizing clones argument

* chore: fix graphs in dashboard in data_extraction example

* chore: bump version 1.0.2 -> 1.0.3

* chore: change random data to more realistic data in data_extration example

* fix: 500 http error when requesting the group data through api

* chore: add command to makefile

* refact: change behaviour execution method name

* chore: format with black and isort

* fix: group tagging

* chore: fix group tagging example

* chore: change file paths format from windows to linux

* chore: added env var to makefile

* refact: changed logger level from error to exception in bootloader

* fix: missing time atribute in message's metadata sent by Synchronizer

* fix: typo in logger and wrong graph name sent to DF

* fix: wait_for method in behaviors not allowing to add template

* docs: clarified some text and added recent academic publications

* chore: balck and isort

* chore: bump version 1.0.3 -> 1.0.4

* refact: simplified graph creation

* fix: drivers import

* fix: modbusdriver update

* refact: add CreateGraph behaviour to the agents

* refact: remove unnucessary behaviours

* docs: add and correct website pages

* docs: correct docstrings

* docs: correct peak module docstring

* refact: change agents structure

* refact: simplefied the PEAK's agent  and behaviour structure

* refact: deleted unecessary module

* refect: remove properties model

* refact: remove properties from the agent creation process

* refact: correct agent structure from SyncAgent and Synchronizer

Corrected docs as well.

* fix: inexisting imports from init

* docs: fix example import

* docs: change 'single agent' example folder name

* fix: agent print statements writing in terminal

The stdout of each agent is redirected to the agent log file.
The main process of PEAK logs usefull information in the terminal.

* chores: isort and black

* docs: corrected examples and added images

* docs: corrected the code of the examples

* docs:  correct example 4 and 5

* refact: the core agents and behaviours, and the cli commands

* refact: bootloader waits for agents asynchronously

* chore: format code with isort, autoflake and black

* chore: update pyproject.toml

* chore: update makefile

* chore: remove import headers from isort

* chore: format code using isort, black autoflake

* chore: bump version 1.0.4 -> 1.0.5

* chore: update makefile

* chore: format code
  • Loading branch information
brunus-reberes authored Apr 20, 2023
1 parent c6e9454 commit c44c157
Show file tree
Hide file tree
Showing 38 changed files with 5,118 additions and 1,388 deletions.
29 changes: 5 additions & 24 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,31 +1,12 @@
DOMAIN?=localhost

all: single_agent single_group group_hierarchy group_tags data_extraction dataset simulation

single_agent:
peak run examples/hello_world_agent/agent.py -j agent@$(DOMAIN)

single_group:
peak start examples/agent_groups/hello_world_group/agents.yaml

group_hierarchy:
peak run examples/agent_groups/group_hierarchy/agent.py -j agent@$(DOMAIN)

group_tags:
peak start examples/agent_groups/group_tags/agents.yaml

data_extraction:
peak run examples/data_extraction/agent.py -j agent@$(DOMAIN) -c 4

dataset:
peak run examples/data_providers/dataset/agent.py -j agent@$(DOMAIN) -p examples/data_providers/dataset/dataset.py

simulation:
peak start examples/simulation/start.yaml
lint:
pylint src/peak/

format:
autoflake --remove-all-unused-imports --remove-unused-variables --expand-star-imports --ignore-init-module-imports -ri .
isort --profile black .
black .
isort .

patch: format
python -m bumpver update --patch
Expand All @@ -39,4 +20,4 @@ major: format
publish: format
python -m build
twine check dist/*
twine upload dist/*
twine upload -u gecad-group dist/*
Loading

0 comments on commit c44c157

Please sign in to comment.