Skip to content

Commit

Permalink
updated license and data policy
Browse files Browse the repository at this point in the history
  • Loading branch information
print-sid8 committed Jan 14, 2025
1 parent 726c3a1 commit dec0af1
Show file tree
Hide file tree
Showing 18 changed files with 274 additions and 154 deletions.
182 changes: 50 additions & 132 deletions LICENSE

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions NOTICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Rasteret Collection © 2025 by Terrafloww Labs, Inc. is licensed under Creative Commons Attribution-ShareAlike 4.0 International

To view a copy of this license, visit https://creativecommons.org/licenses/by-sa/4.0/
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ This library gives you faster querying of Cloud-Optimized GeoTIFFs (COGs), and l
- [Installation](#-installation)
- [Quick Start](#%EF%B8%8F-quick-start)
- [License](#-license)
- [Notice](#-data-usage-terms)
- [Contributing](#-contributing)

<br>
Expand Down Expand Up @@ -318,12 +319,14 @@ for geom_id, filepath in output_files.items():

## 📝 License

This project is licensed under the terms of the [GNU Affero General Public License v3.0](https://www.gnu.org/licenses/agpl-3.0.html) or later.

By using this project, you agree to the terms of the AGPL v3 license. For a copy of the license, see the [LICENSE](./LICENSE) file in this repository.
This project is licensed under the terms of the Apache 2.0 License.

For a copy of the license, see the [LICENSE](./LICENSE) file in this repository.

<br>

## 🤝 Contributing
Contributions welcome!
Contributions welcome!

## Data Usage Terms
Please note that while the Rasteret library code is licensed as Apache 2.0, the data files generated by the library are subject to the license mentioned in the [NOTICE](./NOTICE)
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

setup(
name="rasteret",
version="0.1.14",
version="0.1.15",
author="Sidharth Subramaniam",
author_email="sid@terrafloww.com",
description="Fast and efficient access to Cloud-Optimized GeoTIFFs (COGs)",
Expand All @@ -17,11 +17,10 @@
url="https://github.com/terrafloww/rasteret",
packages=find_packages(where="src"),
package_dir={"": "src"},
license="AGPL-3.0-or-later",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU Affero General Public License v3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand Down
16 changes: 15 additions & 1 deletion src/rasteret/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
'''
Copyright 2025 Terrafloww Labs, Inc
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.
'''

"""Rasteret package."""

Expand Down
16 changes: 15 additions & 1 deletion src/rasteret/cloud.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
'''
Copyright 2025 Terrafloww Labs, Inc
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.
'''

""" Utilities for cloud storage """

Expand Down
16 changes: 15 additions & 1 deletion src/rasteret/constants.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
'''
Copyright 2025 Terrafloww Labs, Inc
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.
'''

"""Constants and configurations for rasteret."""

Expand Down
18 changes: 16 additions & 2 deletions src/rasteret/core/collection.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
'''
Copyright 2025 Terrafloww Labs, Inc
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.
'''

""" Collection class for managing raster data collections. """

Expand Down Expand Up @@ -271,7 +285,7 @@ def save_to_parquet(
if self.start_date and self.end_date
else b""
),
b"rasteret_collection_version": b"1.0.0 Generated by Terrafloww Labs Inc's Rasteret library 0.1.14",
b"rasteret_collection_version": b"1.0.0 Generated by Terrafloww Labs Inc's Rasteret library",
}

# Merge with existing metadata
Expand Down
16 changes: 15 additions & 1 deletion src/rasteret/core/processor.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
'''
Copyright 2025 Terrafloww Labs, Inc
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.
'''

"""
Rasteret: Efficient satellite imagery retrieval and processing
Expand Down
16 changes: 15 additions & 1 deletion src/rasteret/core/scene.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
'''
Copyright 2025 Terrafloww Labs, Inc
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.
'''

""" Scene class for handling COG data loading and processing. """

Expand Down
16 changes: 15 additions & 1 deletion src/rasteret/core/utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
'''
Copyright 2025 Terrafloww Labs, Inc
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.
'''

""" Utility functions for rasteret package. """

Expand Down
16 changes: 15 additions & 1 deletion src/rasteret/fetch/cog.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
'''
Copyright 2025 Terrafloww Labs, Inc
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.
'''

"""Optimized COG reading using byte ranges."""

Expand Down
16 changes: 15 additions & 1 deletion src/rasteret/logging.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
'''
Copyright 2025 Terrafloww Labs, Inc
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.
'''

""" Logging configuration for the rasteret package. """

Expand Down
16 changes: 15 additions & 1 deletion src/rasteret/stac/indexer.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
'''
Copyright 2025 Terrafloww Labs, Inc
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.
'''

""" Indexer for creating GeoParquet collections from STAC catalogs. """

Expand Down
16 changes: 15 additions & 1 deletion src/rasteret/stac/parser.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
'''
Copyright 2025 Terrafloww Labs, Inc
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.
'''

"""Async COG header parsing with caching."""

Expand Down
16 changes: 15 additions & 1 deletion src/rasteret/tests/test_cloud_provider.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
'''
Copyright 2025 Terrafloww Labs, Inc
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.
'''

import unittest
from unittest.mock import patch, MagicMock
Expand Down
16 changes: 15 additions & 1 deletion src/rasteret/tests/test_stac_indexer.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
'''
Copyright 2025 Terrafloww Labs, Inc
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.
'''

import unittest
from unittest.mock import patch, MagicMock, AsyncMock
Expand Down
17 changes: 16 additions & 1 deletion src/rasteret/types.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
'''
Copyright 2025 Terrafloww Labs, Inc
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.
'''


"""Type definitions used throughout Rasteret."""

Expand Down

0 comments on commit dec0af1

Please sign in to comment.