geoenv 0.2.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
geoenv-0.2.0/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025, Colin Smith
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
+
geoenv-0.2.0/PKG-INFO ADDED
@@ -0,0 +1,39 @@
1
+ Metadata-Version: 2.3
2
+ Name: geoenv
3
+ Version: 0.2.0
4
+ Summary: A Python library that links geographic coordinates to environmental properties at a global scale.
5
+ License: MIT
6
+ Author: Colin Smith
7
+ Author-email: colin.smith@wisc.edu
8
+ Maintainer: Colin Smith
9
+ Maintainer-email: colin.smith@wisc.edu
10
+ Requires-Python: >=3.13,<4.0
11
+ Classifier: License :: OSI Approved :: MIT License
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Programming Language :: Python :: 3.13
14
+ Requires-Dist: daiquiri (>=3.3.0,<4.0.0)
15
+ Requires-Dist: geopandas (>=1.0.1,<2.0.0)
16
+ Requires-Dist: pandas (>=2.2.3,<3.0.0)
17
+ Requires-Dist: requests (>=2.32.3,<3.0.0)
18
+ Description-Content-Type: text/markdown
19
+
20
+ # geoenv
21
+
22
+ [![Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public.](https://www.repostatus.org/badges/latest/wip.svg)](https://www.repostatus.org/#wip)
23
+ ![example workflow](https://github.com/clnsmth/geoenv/actions/workflows/ci-cd.yml/badge.svg)
24
+ [![codecov](https://codecov.io/github/clnsmth/geoenv/graph/badge.svg?token=2J4MNIXCTD)](https://codecov.io/github/clnsmth/geoenv)
25
+
26
+ A Python library that links geographic coordinates to environmental properties at a global scale.
27
+
28
+ ## Installation
29
+
30
+ Currently, `geoenv` is only available on GitHub. To install it, you need to have [pip](https://pip.pypa.io/en/stable/installation/) installed. Once pip is installed, you can install `geoenv` by running the following command in your terminal:
31
+
32
+ $ pip install git+https://github.com/clnsmth/geoenv.git@main
33
+
34
+ ## Demo and Usage
35
+
36
+ ## API Reference and User Guide
37
+
38
+ The API reference and user guide are available on [Read the Docs](https://geoenv.readthedocs.io).
39
+
geoenv-0.2.0/README.md ADDED
@@ -0,0 +1,19 @@
1
+ # geoenv
2
+
3
+ [![Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public.](https://www.repostatus.org/badges/latest/wip.svg)](https://www.repostatus.org/#wip)
4
+ ![example workflow](https://github.com/clnsmth/geoenv/actions/workflows/ci-cd.yml/badge.svg)
5
+ [![codecov](https://codecov.io/github/clnsmth/geoenv/graph/badge.svg?token=2J4MNIXCTD)](https://codecov.io/github/clnsmth/geoenv)
6
+
7
+ A Python library that links geographic coordinates to environmental properties at a global scale.
8
+
9
+ ## Installation
10
+
11
+ Currently, `geoenv` is only available on GitHub. To install it, you need to have [pip](https://pip.pypa.io/en/stable/installation/) installed. Once pip is installed, you can install `geoenv` by running the following command in your terminal:
12
+
13
+ $ pip install git+https://github.com/clnsmth/geoenv.git@main
14
+
15
+ ## Demo and Usage
16
+
17
+ ## API Reference and User Guide
18
+
19
+ The API reference and user guide are available on [Read the Docs](https://geoenv.readthedocs.io).
@@ -0,0 +1,46 @@
1
+ [tool.poetry]
2
+ name = "geoenv"
3
+ version = "0.2.0"
4
+ description = "A Python library that links geographic coordinates to environmental properties at a global scale."
5
+ authors = ["Colin Smith <colin.smith@wisc.edu>"]
6
+ maintainers = ["Colin Smith <colin.smith@wisc.edu>"]
7
+ license = "MIT"
8
+ readme = "README.md"
9
+
10
+ [tool.poetry.dependencies]
11
+ python = "^3.13"
12
+ pandas = "^2.2.3"
13
+ geopandas = "^1.0.1"
14
+ daiquiri = "^3.3.0"
15
+ requests = "^2.32.3"
16
+
17
+ [tool.poetry.group.dev.dependencies]
18
+ pytest = "^8.3.5"
19
+ pytest-cov = "^6.0.0"
20
+ sphinx = "^8.2.3"
21
+ sphinx-autoapi = "^3.6.0"
22
+ myst-parser = "^4.0.1"
23
+ pylint = "^3.3.5"
24
+ black = "^25.1.0"
25
+ python-semantic-release = "^9.21.0"
26
+ pytest-mock = "^3.14.0"
27
+
28
+ [tool.semantic_release]
29
+ version_toml = ["pyproject.toml:tool.poetry.version"] # version location
30
+ branch = "main" # branch to make releases of
31
+ build_command = "poetry build" # build dists
32
+ dist_path = "dist/" # where to put dists
33
+ upload_to_release = true # auto-convert GitHub release
34
+ upload_to_pypi = false # don't auto-upload to PyPI
35
+ remove_dist = false # don't remove dists
36
+ patch_without_tag = false # patch release by default
37
+
38
+ [tool.semantic_release.changelog]
39
+ template_dir = "docs/source/_templates/" # changelog template directory
40
+
41
+ [tool.pylint.'MESSAGES.CONTROL']
42
+ disable = "too-many-public-methods,c-extension-no-member"
43
+
44
+ [build-system]
45
+ requires = ["poetry-core>=1.0.0"]
46
+ build-backend = "poetry.core.masonry.api"
@@ -0,0 +1,5 @@
1
+ """geoenv"""
2
+
3
+ from importlib.metadata import version
4
+
5
+ __version__ = version("geoenv")
@@ -0,0 +1,13 @@
1
+ """For geoenv related operations."""
2
+
3
+
4
+ def hello_world(message: str, emphasize: bool = False) -> str:
5
+ """
6
+ :param: message: str: The message to be returned.
7
+ :param: emphasize: bool: Whether to emphasize the message.
8
+
9
+ :returns: str: The message.
10
+ """
11
+ if emphasize:
12
+ return message + "!"
13
+ return message