Skip to content

Commit

Permalink
Add third-party licenses
Browse files Browse the repository at this point in the history
  • Loading branch information
gutzbenj committed Feb 3, 2021
1 parent 78abc44 commit abb670c
Show file tree
Hide file tree
Showing 124 changed files with 11,816 additions and 232 deletions.
2 changes: 1 addition & 1 deletion LICENSE.rst → LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2018-2020 earthobservations
Copyright (c) 2018-2020 earthobservations developers.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
11,537 changes: 11,537 additions & 0 deletions THIRD_PARTY_LICENSES

Large diffs are not rendered by default.

12 changes: 10 additions & 2 deletions docs/license.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
License
#######

.. include:: ../LICENSE.rst
wetterdienst
************

.. include:: ../LICENSE

Cite us with

.. image:: https://zenodo.org/badge/160953150.svg
:target: https://zenodo.org/badge/latestdoi/160953150
:target: https://zenodo.org/badge/latestdoi/160953150

third party
***********

.. include:: ../THIRD_PARTY_LICENSES
2 changes: 1 addition & 1 deletion example/dwd_describe_fields.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018-2021, earthobservations developers.
# Distributed under the MIT License. See LICENSE.rst for more info.
# Distributed under the MIT License. See LICENSE for more info.
"""
=====
About
Expand Down
2 changes: 1 addition & 1 deletion example/mosmix_forecasts.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018-2021, earthobservations developers.
# Distributed under the MIT License. See LICENSE.rst for more info.
# Distributed under the MIT License. See LICENSE for more info.
"""
=====
About
Expand Down
2 changes: 1 addition & 1 deletion example/observations_sql.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018-2021, earthobservations developers.
# Distributed under the MIT License. See LICENSE.rst for more info.
# Distributed under the MIT License. See LICENSE for more info.
"""
=====
About
Expand Down
2 changes: 1 addition & 1 deletion example/observations_stations.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018-2021, earthobservations developers.
# Distributed under the MIT License. See LICENSE.rst for more info.
# Distributed under the MIT License. See LICENSE for more info.
"""
=====
About
Expand Down
2 changes: 1 addition & 1 deletion example/radar/radar_composite_rx.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018-2021, earthobservations developers.
# Distributed under the MIT License. See LICENSE.rst for more info.
# Distributed under the MIT License. See LICENSE for more info.
"""
=====
About
Expand Down
2 changes: 1 addition & 1 deletion example/radar/radar_radolan_cdc.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018-2021, earthobservations developers.
# Distributed under the MIT License. See LICENSE.rst for more info.
# Distributed under the MIT License. See LICENSE for more info.
"""
=====
About
Expand Down
2 changes: 1 addition & 1 deletion example/radar/radar_radolan_rw.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018-2021, earthobservations developers.
# Distributed under the MIT License. See LICENSE.rst for more info.
# Distributed under the MIT License. See LICENSE for more info.
"""
=====
About
Expand Down
2 changes: 1 addition & 1 deletion example/radar/radar_scan_precip.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018-2021, earthobservations developers.
# Distributed under the MIT License. See LICENSE.rst for more info.
# Distributed under the MIT License. See LICENSE for more info.
"""
=====
About
Expand Down
2 changes: 1 addition & 1 deletion example/radar/radar_scan_volume.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018-2021, earthobservations developers.
# Distributed under the MIT License. See LICENSE.rst for more info.
# Distributed under the MIT License. See LICENSE for more info.
"""
=====
About
Expand Down
2 changes: 1 addition & 1 deletion example/radar/radar_site_dx.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018-2021, earthobservations developers.
# Distributed under the MIT License. See LICENSE.rst for more info.
# Distributed under the MIT License. See LICENSE for more info.
"""
=====
About
Expand Down
2 changes: 1 addition & 1 deletion example/radar/radar_sweep_hdf5.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018-2021, earthobservations developers.
# Distributed under the MIT License. See LICENSE.rst for more info.
# Distributed under the MIT License. See LICENSE for more info.
"""
=====
About
Expand Down
253 changes: 144 additions & 109 deletions poetry.lock

Large diffs are not rendered by default.

7 changes: 5 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ authors = [
license = "MIT"
readme = "README.rst"
include = [
"LICENSE.rst",
"LICENSE",
"CHANGELOG.rst",
"CODE_OF_CONDUCT.rst"
]
Expand Down Expand Up @@ -136,6 +136,7 @@ h5py = "^3.1.0"

poethepoet = "^0.9.0"
dephell = "^0.8.3"
pip-licenses = "^3.3.0"
sphinx-autobuild = "^2020.9.1"

[tool.poetry.extras]
Expand Down Expand Up @@ -210,7 +211,9 @@ flake8-bugbear = ["-E501", "-B950"]
format = "black wetterdienst example tests && isort wetterdienst example tests" # black code formatting
lint = "flakehell lint wetterdienst example tests"
test = "pytest tests"
export = "dephell deps convert"
export_requirements = "dephell deps convert"
export_licenses = "pip-licenses --from=mixed --format=plain-vertical --with-authors --with-urls --with-license-file --no-license-path --ignore-packages wetterdienst --output-file=THIRD_PARTY_LICENSES"
export = ["export_requirements", "export_licenses"]

[tool.pytest.ini_options]
markers = [
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ nbconvert<6.0,>=5.0
numpy==1.*,>=1.19.5
openpyxl==3.*,>=3.0.5
pandas==1.*,>=1.1.2
pip-licenses==3.*,>=3.3.0
poethepoet==0.*,>=0.9.0
psycopg2-binary==2.*,>=2.8.6
pybufrkit==0.*,>=0.2.17
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2018-2021, earthobservations developers.
# Distributed under the MIT License. See LICENSE.rst for more info.
# Distributed under the MIT License. See LICENSE for more info.

# This is a shim to hopefully allow GitHub to detect the package.
# The build is done with Poetry.
Expand Down
2 changes: 1 addition & 1 deletion tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018-2021, earthobservations developers.
# Distributed under the MIT License. See LICENSE.rst for more info.
# Distributed under the MIT License. See LICENSE for more info.
2 changes: 1 addition & 1 deletion tests/dwd/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018-2021, earthobservations developers.
# Distributed under the MIT License. See LICENSE.rst for more info.
# Distributed under the MIT License. See LICENSE for more info.
2 changes: 1 addition & 1 deletion tests/dwd/forecasts/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018-2021, earthobservations developers.
# Distributed under the MIT License. See LICENSE.rst for more info.
# Distributed under the MIT License. See LICENSE for more info.
2 changes: 1 addition & 1 deletion tests/dwd/forecasts/test_api_data.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018-2021, earthobservations developers.
# Distributed under the MIT License. See LICENSE.rst for more info.
# Distributed under the MIT License. See LICENSE for more info.
import pytest

from wetterdienst.dwd.forecasts import DWDMosmixData, DWDMosmixType
Expand Down
2 changes: 1 addition & 1 deletion tests/dwd/forecasts/test_api_stations.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018-2021, earthobservations developers.
# Distributed under the MIT License. See LICENSE.rst for more info.
# Distributed under the MIT License. See LICENSE for more info.
import numpy as np
import pandas as pd
import pytest
Expand Down
2 changes: 1 addition & 1 deletion tests/dwd/observations/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018-2021, earthobservations developers.
# Distributed under the MIT License. See LICENSE.rst for more info.
# Distributed under the MIT License. See LICENSE for more info.
2 changes: 1 addition & 1 deletion tests/dwd/observations/test_api_data.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018-2021, earthobservations developers.
# Distributed under the MIT License. See LICENSE.rst for more info.
# Distributed under the MIT License. See LICENSE for more info.
from datetime import datetime

import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion tests/dwd/observations/test_api_metadata.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018-2021, earthobservations developers.
# Distributed under the MIT License. See LICENSE.rst for more info.
# Distributed under the MIT License. See LICENSE for more info.
from wetterdienst.dwd.observations import (
DWDObservationMetadata,
DWDObservationParameterSet,
Expand Down
2 changes: 1 addition & 1 deletion tests/dwd/observations/test_api_stations.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018-2021, earthobservations developers.
# Distributed under the MIT License. See LICENSE.rst for more info.
# Distributed under the MIT License. See LICENSE for more info.
from datetime import datetime

import pandas as pd
Expand Down
2 changes: 1 addition & 1 deletion tests/dwd/observations/test_api_stations_geo.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018-2021, earthobservations developers.
# Distributed under the MIT License. See LICENSE.rst for more info.
# Distributed under the MIT License. See LICENSE for more info.
from datetime import datetime
from pathlib import Path
from unittest.mock import MagicMock, patch
Expand Down
2 changes: 1 addition & 1 deletion tests/dwd/observations/test_fileindex.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018-2021, earthobservations developers.
# Distributed under the MIT License. See LICENSE.rst for more info.
# Distributed under the MIT License. See LICENSE for more info.
""" tests for file index creation """
import pytest
import requests
Expand Down
2 changes: 1 addition & 1 deletion tests/dwd/observations/test_metaindex.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018-2021, earthobservations developers.
# Distributed under the MIT License. See LICENSE.rst for more info.
# Distributed under the MIT License. See LICENSE for more info.
""" tests for file index creation """
import pytest
import requests
Expand Down
2 changes: 1 addition & 1 deletion tests/dwd/observations/test_parser.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018-2021, earthobservations developers.
# Distributed under the MIT License. See LICENSE.rst for more info.
# Distributed under the MIT License. See LICENSE for more info.
""" Tests for parser function """
from io import BytesIO, StringIO
from pathlib import Path
Expand Down
2 changes: 1 addition & 1 deletion tests/dwd/observations/util/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018-2021, earthobservations developers.
# Distributed under the MIT License. See LICENSE.rst for more info.
# Distributed under the MIT License. See LICENSE for more info.
2 changes: 1 addition & 1 deletion tests/dwd/observations/util/test_parameter.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018-2021, earthobservations developers.
# Distributed under the MIT License. See LICENSE.rst for more info.
# Distributed under the MIT License. See LICENSE for more info.
from wetterdienst.dwd.observations.metadata import (
DWDObservationParameter,
DWDObservationParameterSet,
Expand Down
2 changes: 1 addition & 1 deletion tests/dwd/radar/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018-2021, earthobservations developers.
# Distributed under the MIT License. See LICENSE.rst for more info.
# Distributed under the MIT License. See LICENSE for more info.
2 changes: 1 addition & 1 deletion tests/dwd/radar/test_api_current.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018-2021, earthobservations developers.
# Distributed under the MIT License. See LICENSE.rst for more info.
# Distributed under the MIT License. See LICENSE for more info.
import h5py
import pytest

Expand Down
2 changes: 1 addition & 1 deletion tests/dwd/radar/test_api_historic.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018-2021, earthobservations developers.
# Distributed under the MIT License. See LICENSE.rst for more info.
# Distributed under the MIT License. See LICENSE for more info.
import re
from datetime import datetime, timedelta
from io import BytesIO
Expand Down
2 changes: 1 addition & 1 deletion tests/dwd/radar/test_api_invalid.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018-2021, earthobservations developers.
# Distributed under the MIT License. See LICENSE.rst for more info.
# Distributed under the MIT License. See LICENSE for more info.
from datetime import datetime

import pytest
Expand Down
2 changes: 1 addition & 1 deletion tests/dwd/radar/test_api_latest.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018-2021, earthobservations developers.
# Distributed under the MIT License. See LICENSE.rst for more info.
# Distributed under the MIT License. See LICENSE for more info.
import re
from datetime import datetime

Expand Down
2 changes: 1 addition & 1 deletion tests/dwd/radar/test_api_most_recent.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018-2021, earthobservations developers.
# Distributed under the MIT License. See LICENSE.rst for more info.
# Distributed under the MIT License. See LICENSE for more info.
import re

import h5py
Expand Down
2 changes: 1 addition & 1 deletion tests/dwd/radar/test_api_recent.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018-2021, earthobservations developers.
# Distributed under the MIT License. See LICENSE.rst for more info.
# Distributed under the MIT License. See LICENSE for more info.
from datetime import datetime, timedelta

import h5py
Expand Down
2 changes: 1 addition & 1 deletion tests/dwd/radar/test_index.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018-2021, earthobservations developers.
# Distributed under the MIT License. See LICENSE.rst for more info.
# Distributed under the MIT License. See LICENSE for more info.
from pathlib import PurePath

import pytest
Expand Down
2 changes: 1 addition & 1 deletion tests/dwd/radar/test_sites.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018-2021, earthobservations developers.
# Distributed under the MIT License. See LICENSE.rst for more info.
# Distributed under the MIT License. See LICENSE for more info.
from wetterdienst.dwd.radar import DWDRadarData
from wetterdienst.dwd.radar.sites import DWDRadarSite

Expand Down
2 changes: 1 addition & 1 deletion tests/dwd/test_date.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018-2021, earthobservations developers.
# Distributed under the MIT License. See LICENSE.rst for more info.
# Distributed under the MIT License. See LICENSE for more info.
import dateutil.parser
import pytest
import pytz
Expand Down
2 changes: 1 addition & 1 deletion tests/dwd/test_index.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018-2021, earthobservations developers.
# Distributed under the MIT License. See LICENSE.rst for more info.
# Distributed under the MIT License. See LICENSE for more info.
import pytest

from wetterdienst.dwd.index import (
Expand Down
2 changes: 1 addition & 1 deletion tests/dwd/test_network.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018-2021, earthobservations developers.
# Distributed under the MIT License. See LICENSE.rst for more info.
# Distributed under the MIT License. See LICENSE for more info.
""" Tests for global requests.Session """
from wetterdienst.dwd.network import create_dwd_session

Expand Down
2 changes: 1 addition & 1 deletion tests/dwd/test_pandas.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018-2021, earthobservations developers.
# Distributed under the MIT License. See LICENSE.rst for more info.
# Distributed under the MIT License. See LICENSE for more info.
import json

import dateutil.parser
Expand Down
2 changes: 1 addition & 1 deletion tests/dwd/test_util.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018-2021, earthobservations developers.
# Distributed under the MIT License. See LICENSE.rst for more info.
# Distributed under the MIT License. See LICENSE for more info.
from unittest.mock import patch

import mock
Expand Down
2 changes: 1 addition & 1 deletion tests/example/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018-2021, earthobservations developers.
# Distributed under the MIT License. See LICENSE.rst for more info.
# Distributed under the MIT License. See LICENSE for more info.
2 changes: 1 addition & 1 deletion tests/example/test_notebook_examples.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018-2021, earthobservations developers.
# Distributed under the MIT License. See LICENSE.rst for more info.
# Distributed under the MIT License. See LICENSE for more info.
from pathlib import Path

import pytest
Expand Down
2 changes: 1 addition & 1 deletion tests/example/test_regular_examples.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018-2021, earthobservations developers.
# Distributed under the MIT License. See LICENSE.rst for more info.
# Distributed under the MIT License. See LICENSE for more info.
from pathlib import Path

import pytest
Expand Down

0 comments on commit abb670c

Please sign in to comment.