Skip to content

Commit

Permalink
license: Update license headers in python and YAML files
Browse files Browse the repository at this point in the history
  • Loading branch information
fischeti committed Jan 3, 2024
1 parent b88a4d2 commit f91d30b
Show file tree
Hide file tree
Showing 16 changed files with 77 additions and 147 deletions.
20 changes: 6 additions & 14 deletions floogen/config_parser.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,10 @@
# Tim Fischer <[email protected]>
#!/usr/bin/env python3
# Copyright 2023 ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
#
# Copyright (C) 2023 ETH Zürich
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Author: Tim Fischer <[email protected]>

from pathlib import Path
import logging
from typing import List, Union, Tuple, Mapping, TypeVar
Expand Down
4 changes: 4 additions & 0 deletions floogen/examples/occamy_mesh.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright 2023 ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0

name: occamy_mesh
description: "Occamy mesh configuration for FlooGen"

Expand Down
4 changes: 4 additions & 0 deletions floogen/examples/occamy_tree.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright 2023 ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0

name: occamy_tree
description: "Occamy configuration for FlooGen"

Expand Down
4 changes: 4 additions & 0 deletions floogen/examples/single_cluster.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright 2023 ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0

name: single_cluster
description: "Single Cluster Configuration for FlooGen"

Expand Down
17 changes: 5 additions & 12 deletions floogen/floo_gen.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
# Copyright 2023 ETH Zurich and University of Bologna
#!/usr/bin/env python3
# Copyright 2023 ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Author: Tim Fischer <[email protected]>

import argparse
import pathlib
Expand Down
17 changes: 5 additions & 12 deletions floogen/model/connection.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
# Copyright 2023 ETH Zurich and University of Bologna
#!/usr/bin/env python3
# Copyright 2023 ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Author: Tim Fischer <[email protected]>

from typing import Optional, List, Tuple, Dict
from pydantic import BaseModel, field_validator, model_validator
Expand Down
18 changes: 5 additions & 13 deletions floogen/model/endpoint.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
# Copyright 2023 ETH Zurich and University of Bologna
#!/usr/bin/env python3
# Copyright 2023 ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Author: Tim Fischer <[email protected]>
from typing import Optional, List, Union, Tuple
from pydantic import BaseModel, field_validator, model_validator

Expand Down
17 changes: 5 additions & 12 deletions floogen/model/graph.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
# Copyright 2023 ETH Zurich and University of Bologna
#!/usr/bin/env python3
# Copyright 2023 ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Author: Tim Fischer <[email protected]>

from typing import List, Tuple

Expand Down
17 changes: 5 additions & 12 deletions floogen/model/link.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
# Copyright 2023 ETH Zurich and University of Bologna
#!/usr/bin/env python3
# Copyright 2023 ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Author: Tim Fischer <[email protected]>

from typing import ClassVar, List, Union, Dict, Optional, NamedTuple
from abc import ABC, abstractmethod
Expand Down
17 changes: 5 additions & 12 deletions floogen/model/network.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
# Copyright 2023 ETH Zurich and University of Bologna
#!/usr/bin/env python3
# Copyright 2023 ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Author: Tim Fischer <[email protected]>

from typing import Optional, List, ClassVar
from importlib import resources
Expand Down
17 changes: 5 additions & 12 deletions floogen/model/network_interface.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
# Copyright 2023 ETH Zurich and University of Bologna
#!/usr/bin/env python3
# Copyright 2023 ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Author: Tim Fischer <[email protected]>

from typing import Optional, ClassVar
from importlib import resources
Expand Down
17 changes: 5 additions & 12 deletions floogen/model/protocol.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
# Copyright 2023 ETH Zurich and University of Bologna
#!/usr/bin/env python3
# Copyright 2023 ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Author: Tim Fischer <[email protected]>

from typing import Optional, List, TypeVar, Union
from typing_extensions import Annotated
Expand Down
17 changes: 5 additions & 12 deletions floogen/model/router.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
# Copyright 2023 ETH Zurich and University of Bologna
#!/usr/bin/env python3
# Copyright 2023 ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Author: Tim Fischer <[email protected]>


from typing import Optional, List, ClassVar, Tuple, Union
Expand Down
17 changes: 5 additions & 12 deletions floogen/model/routing.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
# Copyright 2023 ETH Zurich and University of Bologna
#!/usr/bin/env python3
# Copyright 2023 ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Author: Tim Fischer <[email protected]>

from enum import Enum
from typing import Optional, List
Expand Down
17 changes: 5 additions & 12 deletions floogen/model/utils.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
# Copyright 2023 ETH Zurich and University of Bologna
#!/usr/bin/env python3
# Copyright 2023 ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Author: Tim Fischer <[email protected]>

import math

Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright 2023 ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0

[project]
name = "floogen"
version = "0.0.1"
Expand Down

0 comments on commit f91d30b

Please sign in to comment.