geog510-lab-utils 0.0.2__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.
- geog510_lab_utils-0.0.2/.editorconfig +21 -0
- geog510_lab_utils-0.0.2/.github/ISSUE_TEMPLATE/bug_report.md +25 -0
- geog510_lab_utils-0.0.2/.github/ISSUE_TEMPLATE/config.yml +10 -0
- geog510_lab_utils-0.0.2/.github/ISSUE_TEMPLATE/feature_request.md +18 -0
- geog510_lab_utils-0.0.2/.github/workflows/docs-build.yml +55 -0
- geog510_lab_utils-0.0.2/.github/workflows/docs.yml +31 -0
- geog510_lab_utils-0.0.2/.github/workflows/installation.yml +31 -0
- geog510_lab_utils-0.0.2/.github/workflows/macos.yml +42 -0
- geog510_lab_utils-0.0.2/.github/workflows/ubuntu.yml +47 -0
- geog510_lab_utils-0.0.2/.github/workflows/windows.yml +34 -0
- geog510_lab_utils-0.0.2/.github/workflows/workflow.yml +33 -0
- geog510_lab_utils-0.0.2/.gitignore +107 -0
- geog510_lab_utils-0.0.2/.pre-commit-config.yaml +32 -0
- geog510_lab_utils-0.0.2/LICENSE +22 -0
- geog510_lab_utils-0.0.2/MANIFEST.in +7 -0
- geog510_lab_utils-0.0.2/PKG-INFO +43 -0
- geog510_lab_utils-0.0.2/README.md +17 -0
- geog510_lab_utils-0.0.2/docs/changelog.md +11 -0
- geog510_lab_utils-0.0.2/docs/common.md +3 -0
- geog510_lab_utils-0.0.2/docs/contributing.md +108 -0
- geog510_lab_utils-0.0.2/docs/examples/intro.ipynb +20 -0
- geog510_lab_utils-0.0.2/docs/faq.md +1 -0
- geog510_lab_utils-0.0.2/docs/geog510_lab_utils.md +4 -0
- geog510_lab_utils-0.0.2/docs/index.md +18 -0
- geog510_lab_utils-0.0.2/docs/installation.md +21 -0
- geog510_lab_utils-0.0.2/docs/overrides/main.html +11 -0
- geog510_lab_utils-0.0.2/docs/usage.md +7 -0
- geog510_lab_utils-0.0.2/geog510_lab_utils/__init__.py +5 -0
- geog510_lab_utils-0.0.2/geog510_lab_utils/common.py +6 -0
- geog510_lab_utils-0.0.2/geog510_lab_utils/geog510_lab_utils.py +1 -0
- geog510_lab_utils-0.0.2/geog510_lab_utils.egg-info/PKG-INFO +43 -0
- geog510_lab_utils-0.0.2/geog510_lab_utils.egg-info/SOURCES.txt +41 -0
- geog510_lab_utils-0.0.2/geog510_lab_utils.egg-info/dependency_links.txt +1 -0
- geog510_lab_utils-0.0.2/geog510_lab_utils.egg-info/entry_points.txt +2 -0
- geog510_lab_utils-0.0.2/geog510_lab_utils.egg-info/requires.txt +7 -0
- geog510_lab_utils-0.0.2/geog510_lab_utils.egg-info/top_level.txt +1 -0
- geog510_lab_utils-0.0.2/mkdocs.yml +86 -0
- geog510_lab_utils-0.0.2/pyproject.toml +82 -0
- geog510_lab_utils-0.0.2/requirements.txt +1 -0
- geog510_lab_utils-0.0.2/requirements_dev.txt +29 -0
- geog510_lab_utils-0.0.2/setup.cfg +4 -0
- geog510_lab_utils-0.0.2/tests/__init__.py +1 -0
- geog510_lab_utils-0.0.2/tests/test_geog510_lab_utils.py +21 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# http://editorconfig.org
|
|
2
|
+
|
|
3
|
+
root = true
|
|
4
|
+
|
|
5
|
+
[*]
|
|
6
|
+
indent_style = space
|
|
7
|
+
indent_size = 4
|
|
8
|
+
trim_trailing_whitespace = true
|
|
9
|
+
insert_final_newline = true
|
|
10
|
+
charset = utf-8
|
|
11
|
+
end_of_line = lf
|
|
12
|
+
|
|
13
|
+
[*.bat]
|
|
14
|
+
indent_style = tab
|
|
15
|
+
end_of_line = crlf
|
|
16
|
+
|
|
17
|
+
[LICENSE]
|
|
18
|
+
insert_final_newline = false
|
|
19
|
+
|
|
20
|
+
[Makefile]
|
|
21
|
+
indent_style = tab
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Bug Report
|
|
3
|
+
about: Create a bug report to help us improve
|
|
4
|
+
labels: bug
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
<!-- Please search existing issues to avoid creating duplicates. -->
|
|
8
|
+
|
|
9
|
+
### Environment Information
|
|
10
|
+
|
|
11
|
+
- geog510_lab_utils version:
|
|
12
|
+
- Python version:
|
|
13
|
+
- Operating System:
|
|
14
|
+
|
|
15
|
+
### Description
|
|
16
|
+
|
|
17
|
+
Describe what you were trying to get done.
|
|
18
|
+
Tell us what happened, what went wrong, and what you expected to happen.
|
|
19
|
+
|
|
20
|
+
### What I Did
|
|
21
|
+
|
|
22
|
+
```
|
|
23
|
+
Paste the command(s) you ran and the output.
|
|
24
|
+
If there was a crash, please include the traceback here.
|
|
25
|
+
```
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
contact_links:
|
|
2
|
+
- name: Ask questions
|
|
3
|
+
url: https://github.com/lweber89/geog510-lab-utils/discussions/categories/q-a
|
|
4
|
+
about: Please ask and answer questions here.
|
|
5
|
+
- name: Ideas
|
|
6
|
+
url: https://github.com/lweber89/geog510-lab-utils/discussions/categories/ideas
|
|
7
|
+
about: Please share your ideas here.
|
|
8
|
+
- name: Ask questions from the GIS community
|
|
9
|
+
url: https://gis.stackexchange.com
|
|
10
|
+
about: To get answers from questions in the GIS community, please ask and answer questions here.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Feature Request
|
|
3
|
+
about: Submit a feature request to help us improve
|
|
4
|
+
labels: Feature Request
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
<!-- Please search existing issues to avoid creating duplicates. -->
|
|
8
|
+
|
|
9
|
+
### Description
|
|
10
|
+
|
|
11
|
+
Describe the feature (e.g., new functions/tutorials) you would like to propose.
|
|
12
|
+
Tell us what can be achieved with this new feature and what's the expected outcome.
|
|
13
|
+
|
|
14
|
+
### Source code
|
|
15
|
+
|
|
16
|
+
```
|
|
17
|
+
Paste your source code here if have sample code to share.
|
|
18
|
+
```
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
name: docs-build
|
|
2
|
+
on:
|
|
3
|
+
pull_request:
|
|
4
|
+
branches:
|
|
5
|
+
- main
|
|
6
|
+
- master
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
deploy:
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
steps:
|
|
12
|
+
- uses: actions/checkout@v4
|
|
13
|
+
with:
|
|
14
|
+
fetch-depth: 0
|
|
15
|
+
- uses: actions/setup-python@v5
|
|
16
|
+
with:
|
|
17
|
+
python-version: "3.11"
|
|
18
|
+
|
|
19
|
+
- name: Install GDAL
|
|
20
|
+
run: |
|
|
21
|
+
python -m pip install --upgrade pip
|
|
22
|
+
pip install --find-links=https://girder.github.io/large_image_wheels --no-cache GDAL pyproj
|
|
23
|
+
- name: Test GDAL installation
|
|
24
|
+
run: |
|
|
25
|
+
python -c "from osgeo import gdal"
|
|
26
|
+
gdalinfo --version
|
|
27
|
+
- name: Install dependencies
|
|
28
|
+
run: |
|
|
29
|
+
pip install --no-cache-dir Cython
|
|
30
|
+
pip install -r requirements.txt -r requirements_dev.txt
|
|
31
|
+
pip install .
|
|
32
|
+
- name: Discover typos with codespell
|
|
33
|
+
run: codespell --skip="*.csv,*.geojson,*.json,*.js,*.html,*cff,*.pdf,./.git" --ignore-words-list="aci,acount,hist"
|
|
34
|
+
- name: PKG-TEST
|
|
35
|
+
run: |
|
|
36
|
+
python -m unittest discover tests/
|
|
37
|
+
- name: Build docs
|
|
38
|
+
run: |
|
|
39
|
+
mkdocs build
|
|
40
|
+
# - name: Deploy to Netlify
|
|
41
|
+
# uses: nwtgck/actions-netlify@v2.0
|
|
42
|
+
# with:
|
|
43
|
+
# publish-dir: "./site"
|
|
44
|
+
# production-branch: main
|
|
45
|
+
|
|
46
|
+
# github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
47
|
+
# deploy-message: "Deploy from GitHub Actions"
|
|
48
|
+
# enable-pull-request-comment: true
|
|
49
|
+
# enable-commit-comment: false
|
|
50
|
+
# overwrites-pull-request-comment: true
|
|
51
|
+
# env:
|
|
52
|
+
# NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
|
|
53
|
+
# NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
|
|
54
|
+
# timeout-minutes: 10
|
|
55
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
name: docs
|
|
2
|
+
on:
|
|
3
|
+
push:
|
|
4
|
+
branches:
|
|
5
|
+
- main
|
|
6
|
+
- master
|
|
7
|
+
jobs:
|
|
8
|
+
deploy:
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
steps:
|
|
11
|
+
- uses: actions/checkout@v4
|
|
12
|
+
with:
|
|
13
|
+
fetch-depth: 0
|
|
14
|
+
- uses: actions/setup-python@v5
|
|
15
|
+
with:
|
|
16
|
+
python-version: "3.11"
|
|
17
|
+
|
|
18
|
+
- name: Install dependencies
|
|
19
|
+
run: |
|
|
20
|
+
python -m pip install --upgrade pip
|
|
21
|
+
pip install --user --no-cache-dir Cython
|
|
22
|
+
pip install --user -r requirements.txt -r requirements_dev.txt
|
|
23
|
+
pip install .
|
|
24
|
+
- name: Discover typos with codespell
|
|
25
|
+
run: |
|
|
26
|
+
codespell --skip="*.csv,*.geojson,*.json,*.js,*.html,*cff,./.git" --ignore-words-list="aci,hist"
|
|
27
|
+
- name: PKG-TEST
|
|
28
|
+
run: |
|
|
29
|
+
python -m unittest discover tests/
|
|
30
|
+
- run: mkdocs gh-deploy --force
|
|
31
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
on:
|
|
2
|
+
push:
|
|
3
|
+
branches:
|
|
4
|
+
- main
|
|
5
|
+
- master
|
|
6
|
+
pull_request:
|
|
7
|
+
branches:
|
|
8
|
+
- main
|
|
9
|
+
- master
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
name: Linux installation
|
|
13
|
+
jobs:
|
|
14
|
+
test-ubuntu:
|
|
15
|
+
runs-on: ubuntu-latest
|
|
16
|
+
strategy:
|
|
17
|
+
fail-fast: false
|
|
18
|
+
matrix:
|
|
19
|
+
python-version: ["3.11"]
|
|
20
|
+
|
|
21
|
+
steps:
|
|
22
|
+
- uses: actions/checkout@v4
|
|
23
|
+
- name: Set up Python
|
|
24
|
+
uses: actions/setup-python@v5
|
|
25
|
+
with:
|
|
26
|
+
python-version: ${{ matrix.python-version }}
|
|
27
|
+
|
|
28
|
+
- name: Install package
|
|
29
|
+
run: pip install .
|
|
30
|
+
- name: Test import
|
|
31
|
+
run: python -c "import geog510_lab_utils; print('geog510_lab_utils import successful')"
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
on:
|
|
2
|
+
push:
|
|
3
|
+
branches:
|
|
4
|
+
- main
|
|
5
|
+
- master
|
|
6
|
+
pull_request:
|
|
7
|
+
branches:
|
|
8
|
+
- main
|
|
9
|
+
- master
|
|
10
|
+
|
|
11
|
+
name: macOS build
|
|
12
|
+
jobs:
|
|
13
|
+
test-macOS:
|
|
14
|
+
runs-on: ${{ matrix.os }}
|
|
15
|
+
name: ${{ matrix.os }} (${{ matrix.python-version}})
|
|
16
|
+
|
|
17
|
+
strategy:
|
|
18
|
+
fail-fast: false
|
|
19
|
+
matrix:
|
|
20
|
+
os: ["macOS-latest"]
|
|
21
|
+
python-version: ["3.11"]
|
|
22
|
+
|
|
23
|
+
steps:
|
|
24
|
+
- name: Checkout code
|
|
25
|
+
uses: actions/checkout@v4
|
|
26
|
+
|
|
27
|
+
- name: Set up Python
|
|
28
|
+
uses: actions/setup-python@v5
|
|
29
|
+
with:
|
|
30
|
+
python-version: ${{ matrix.python-version}}
|
|
31
|
+
- name: Install GDAL
|
|
32
|
+
run: |
|
|
33
|
+
brew install gdal
|
|
34
|
+
- name: Test GDAL installation
|
|
35
|
+
run: |
|
|
36
|
+
gdalinfo --version
|
|
37
|
+
- name: Install dependencies
|
|
38
|
+
run: |
|
|
39
|
+
python -m pip install --upgrade pip
|
|
40
|
+
pip install --no-cache-dir Cython
|
|
41
|
+
pip install -r requirements.txt
|
|
42
|
+
pip install .
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
on:
|
|
2
|
+
push:
|
|
3
|
+
branches:
|
|
4
|
+
- main
|
|
5
|
+
- master
|
|
6
|
+
pull_request:
|
|
7
|
+
branches:
|
|
8
|
+
- main
|
|
9
|
+
- master
|
|
10
|
+
|
|
11
|
+
name: Linux build
|
|
12
|
+
jobs:
|
|
13
|
+
py-check:
|
|
14
|
+
runs-on: ${{ matrix.config.os }}
|
|
15
|
+
name: ${{ matrix.config.os }} (${{ matrix.config.py }})
|
|
16
|
+
strategy:
|
|
17
|
+
fail-fast: false
|
|
18
|
+
matrix:
|
|
19
|
+
config:
|
|
20
|
+
- { os: ubuntu-latest, py: "3.9" }
|
|
21
|
+
- { os: ubuntu-latest, py: "3.10" }
|
|
22
|
+
- { os: ubuntu-latest, py: "3.11" }
|
|
23
|
+
- { os: ubuntu-latest, py: "3.12" }
|
|
24
|
+
steps:
|
|
25
|
+
- name: Checkout Code
|
|
26
|
+
uses: actions/checkout@v4
|
|
27
|
+
- name: Setup Python
|
|
28
|
+
uses: actions/setup-python@v5
|
|
29
|
+
with:
|
|
30
|
+
python-version: ${{ matrix.config.py }}
|
|
31
|
+
- name: Install GDAL
|
|
32
|
+
run: |
|
|
33
|
+
python -m pip install --upgrade pip
|
|
34
|
+
pip install --no-cache-dir Cython
|
|
35
|
+
pip install --find-links=https://girder.github.io/large_image_wheels --no-cache GDAL
|
|
36
|
+
- name: Test GDAL installation
|
|
37
|
+
run: |
|
|
38
|
+
python -c "from osgeo import gdal"
|
|
39
|
+
gdalinfo --version
|
|
40
|
+
- name: Install dependencies
|
|
41
|
+
run: |
|
|
42
|
+
pip install --user -r requirements.txt
|
|
43
|
+
pip install .
|
|
44
|
+
- name: PKG-TEST
|
|
45
|
+
run: |
|
|
46
|
+
python -m unittest discover tests/
|
|
47
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
on:
|
|
2
|
+
push:
|
|
3
|
+
branches:
|
|
4
|
+
- main
|
|
5
|
+
- master
|
|
6
|
+
pull_request:
|
|
7
|
+
branches:
|
|
8
|
+
- main
|
|
9
|
+
- master
|
|
10
|
+
|
|
11
|
+
name: Windows build
|
|
12
|
+
jobs:
|
|
13
|
+
test-windows:
|
|
14
|
+
runs-on: windows-latest
|
|
15
|
+
steps:
|
|
16
|
+
- uses: actions/checkout@v4
|
|
17
|
+
- name: Install miniconda
|
|
18
|
+
uses: conda-incubator/setup-miniconda@v2
|
|
19
|
+
with:
|
|
20
|
+
auto-activate-base: true
|
|
21
|
+
python-version: "3.11"
|
|
22
|
+
|
|
23
|
+
- name: Install GDAL
|
|
24
|
+
run: conda install -c conda-forge gdal --yes
|
|
25
|
+
- name: Test GDAL installation
|
|
26
|
+
run: |
|
|
27
|
+
python -c "from osgeo import gdal"
|
|
28
|
+
gdalinfo --version
|
|
29
|
+
- name: Install dependencies
|
|
30
|
+
run: |
|
|
31
|
+
python -m pip install --upgrade pip
|
|
32
|
+
pip install --no-cache-dir Cython
|
|
33
|
+
pip install -r requirements.txt
|
|
34
|
+
pip install .
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
name: pypi
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
release:
|
|
5
|
+
types: [created]
|
|
6
|
+
|
|
7
|
+
jobs:
|
|
8
|
+
deploy:
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
# REQUIRED: This allows GitHub to verify its identity with PyPI
|
|
11
|
+
permissions:
|
|
12
|
+
id-token: write
|
|
13
|
+
contents: read
|
|
14
|
+
|
|
15
|
+
steps:
|
|
16
|
+
- uses: actions/checkout@v4
|
|
17
|
+
|
|
18
|
+
- name: Set up Python
|
|
19
|
+
uses: actions/setup-python@v5
|
|
20
|
+
with:
|
|
21
|
+
python-version: "3.x"
|
|
22
|
+
|
|
23
|
+
- name: Install dependencies
|
|
24
|
+
run: |
|
|
25
|
+
python -m pip install --upgrade pip
|
|
26
|
+
pip install build
|
|
27
|
+
|
|
28
|
+
- name: Build package
|
|
29
|
+
run: python -m build
|
|
30
|
+
|
|
31
|
+
- name: Publish to PyPI
|
|
32
|
+
# This action handles the OIDC handshake automatically
|
|
33
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
private/
|
|
4
|
+
*.py[cod]
|
|
5
|
+
*$py.class
|
|
6
|
+
|
|
7
|
+
# C extensions
|
|
8
|
+
*.so
|
|
9
|
+
|
|
10
|
+
# Distribution / packaging
|
|
11
|
+
.Python
|
|
12
|
+
env/
|
|
13
|
+
build/
|
|
14
|
+
develop-eggs/
|
|
15
|
+
dist/
|
|
16
|
+
downloads/
|
|
17
|
+
private/
|
|
18
|
+
eggs/
|
|
19
|
+
.eggs/
|
|
20
|
+
lib/
|
|
21
|
+
lib64/
|
|
22
|
+
parts/
|
|
23
|
+
sdist/
|
|
24
|
+
var/
|
|
25
|
+
wheels/
|
|
26
|
+
*.egg-info/
|
|
27
|
+
.installed.cfg
|
|
28
|
+
*.egg
|
|
29
|
+
|
|
30
|
+
# PyInstaller
|
|
31
|
+
# Usually these files are written by a python script from a template
|
|
32
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
33
|
+
*.manifest
|
|
34
|
+
*.spec
|
|
35
|
+
|
|
36
|
+
# Installer logs
|
|
37
|
+
pip-log.txt
|
|
38
|
+
pip-delete-this-directory.txt
|
|
39
|
+
|
|
40
|
+
# Unit test / coverage reports
|
|
41
|
+
htmlcov/
|
|
42
|
+
.tox/
|
|
43
|
+
.coverage
|
|
44
|
+
.coverage.*
|
|
45
|
+
.cache
|
|
46
|
+
nosetests.xml
|
|
47
|
+
coverage.xml
|
|
48
|
+
*.cover
|
|
49
|
+
.hypothesis/
|
|
50
|
+
.pytest_cache/
|
|
51
|
+
|
|
52
|
+
# Translations
|
|
53
|
+
*.mo
|
|
54
|
+
*.pot
|
|
55
|
+
|
|
56
|
+
# Django stuff:
|
|
57
|
+
*.log
|
|
58
|
+
local_settings.py
|
|
59
|
+
|
|
60
|
+
# Flask stuff:
|
|
61
|
+
instance/
|
|
62
|
+
.webassets-cache
|
|
63
|
+
|
|
64
|
+
# Scrapy stuff:
|
|
65
|
+
.scrapy
|
|
66
|
+
|
|
67
|
+
# Sphinx documentation
|
|
68
|
+
docs/_build/
|
|
69
|
+
|
|
70
|
+
# PyBuilder
|
|
71
|
+
target/
|
|
72
|
+
|
|
73
|
+
# Jupyter Notebook
|
|
74
|
+
.ipynb_checkpoints
|
|
75
|
+
|
|
76
|
+
# pyenv
|
|
77
|
+
.python-version
|
|
78
|
+
|
|
79
|
+
# celery beat schedule file
|
|
80
|
+
celerybeat-schedule
|
|
81
|
+
|
|
82
|
+
# SageMath parsed files
|
|
83
|
+
*.sage.py
|
|
84
|
+
|
|
85
|
+
# dotenv
|
|
86
|
+
.env
|
|
87
|
+
|
|
88
|
+
# virtualenv
|
|
89
|
+
.venv
|
|
90
|
+
venv/
|
|
91
|
+
ENV/
|
|
92
|
+
|
|
93
|
+
# Spyder project settings
|
|
94
|
+
.spyderproject
|
|
95
|
+
.spyproject
|
|
96
|
+
|
|
97
|
+
# Rope project settings
|
|
98
|
+
.ropeproject
|
|
99
|
+
|
|
100
|
+
# mkdocs documentation
|
|
101
|
+
/site
|
|
102
|
+
|
|
103
|
+
# mypy
|
|
104
|
+
.mypy_cache/
|
|
105
|
+
|
|
106
|
+
# IDE settings
|
|
107
|
+
.vscode/
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
repos:
|
|
2
|
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
3
|
+
rev: v5.0.0
|
|
4
|
+
hooks:
|
|
5
|
+
- id: check-toml
|
|
6
|
+
- id: check-yaml
|
|
7
|
+
- id: end-of-file-fixer
|
|
8
|
+
types: [python]
|
|
9
|
+
- id: trailing-whitespace
|
|
10
|
+
- id: requirements-txt-fixer
|
|
11
|
+
- id: check-added-large-files
|
|
12
|
+
args: ["--maxkb=500"]
|
|
13
|
+
|
|
14
|
+
- repo: https://github.com/psf/black
|
|
15
|
+
rev: 25.1.0
|
|
16
|
+
hooks:
|
|
17
|
+
- id: black-jupyter
|
|
18
|
+
|
|
19
|
+
- repo: https://github.com/codespell-project/codespell
|
|
20
|
+
rev: v2.4.1
|
|
21
|
+
hooks:
|
|
22
|
+
- id: codespell
|
|
23
|
+
args:
|
|
24
|
+
[
|
|
25
|
+
"--ignore-words-list=aci,acount,acounts,fallow,ges,hart,hist,nd,ned,ois,wqs,watermask,tre,mape",
|
|
26
|
+
"--skip=*.csv,*.geojson,*.json,*.yml*.js,*.html,*cff,*.pdf",
|
|
27
|
+
]
|
|
28
|
+
|
|
29
|
+
- repo: https://github.com/kynan/nbstripout
|
|
30
|
+
rev: 0.8.1
|
|
31
|
+
hooks:
|
|
32
|
+
- id: nbstripout
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026, Lloyd Weber
|
|
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
|
+
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: geog510-lab-utils
|
|
3
|
+
Version: 0.0.2
|
|
4
|
+
Summary: Python package to demonstrate CICD workflow for geospatial work.
|
|
5
|
+
Author-email: Lloyd Weber <lweber89@gmail.com>
|
|
6
|
+
License: MIT License
|
|
7
|
+
Project-URL: Homepage, https://github.com/lweber89/geog510-lab-utils
|
|
8
|
+
Keywords: geog510-lab-utils
|
|
9
|
+
Classifier: Intended Audience :: Developers
|
|
10
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
11
|
+
Classifier: Natural Language :: English
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
17
|
+
Requires-Python: >=3.8
|
|
18
|
+
Description-Content-Type: text/markdown
|
|
19
|
+
License-File: LICENSE
|
|
20
|
+
Requires-Dist: numpy
|
|
21
|
+
Provides-Extra: all
|
|
22
|
+
Requires-Dist: geog510-lab-utils[extra]; extra == "all"
|
|
23
|
+
Provides-Extra: extra
|
|
24
|
+
Requires-Dist: pandas; extra == "extra"
|
|
25
|
+
Dynamic: license-file
|
|
26
|
+
|
|
27
|
+
# geog510-lab-utils
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
[](https://pypi.python.org/pypi/geog510-lab-utils)
|
|
31
|
+
[](https://anaconda.org/conda-forge/geog510-lab-utils)
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
**Python package to demonstrate CICD workflow for geospatial work.**
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
- Free software: MIT License
|
|
38
|
+
- Documentation: https://lweber89.github.io/geog510-lab-utils
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
## Features
|
|
42
|
+
|
|
43
|
+
- TODO
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# geog510-lab-utils
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
[](https://pypi.python.org/pypi/geog510-lab-utils)
|
|
5
|
+
[](https://anaconda.org/conda-forge/geog510-lab-utils)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
**Python package to demonstrate CICD workflow for geospatial work.**
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
- Free software: MIT License
|
|
12
|
+
- Documentation: https://lweber89.github.io/geog510-lab-utils
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
## Features
|
|
16
|
+
|
|
17
|
+
- TODO
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
# Contributing
|
|
2
|
+
|
|
3
|
+
Contributions are welcome, and they are greatly appreciated! Every
|
|
4
|
+
little bit helps, and credit will always be given.
|
|
5
|
+
|
|
6
|
+
You can contribute in many ways:
|
|
7
|
+
|
|
8
|
+
## Types of Contributions
|
|
9
|
+
|
|
10
|
+
### Report Bugs
|
|
11
|
+
|
|
12
|
+
Report bugs at <https://github.com/lweber89/geog510-lab-utils/issues>.
|
|
13
|
+
|
|
14
|
+
If you are reporting a bug, please include:
|
|
15
|
+
|
|
16
|
+
- Your operating system name and version.
|
|
17
|
+
- Any details about your local setup that might be helpful in troubleshooting.
|
|
18
|
+
- Detailed steps to reproduce the bug.
|
|
19
|
+
|
|
20
|
+
### Fix Bugs
|
|
21
|
+
|
|
22
|
+
Look through the GitHub issues for bugs. Anything tagged with `bug` and
|
|
23
|
+
`help wanted` is open to whoever wants to implement it.
|
|
24
|
+
|
|
25
|
+
### Implement Features
|
|
26
|
+
|
|
27
|
+
Look through the GitHub issues for features. Anything tagged with
|
|
28
|
+
`enhancement` and `help wanted` is open to whoever wants to implement it.
|
|
29
|
+
|
|
30
|
+
### Write Documentation
|
|
31
|
+
|
|
32
|
+
geog510-lab-utils could always use more documentation,
|
|
33
|
+
whether as part of the official geog510-lab-utils docs,
|
|
34
|
+
in docstrings, or even on the web in blog posts, articles, and such.
|
|
35
|
+
|
|
36
|
+
### Submit Feedback
|
|
37
|
+
|
|
38
|
+
The best way to send feedback is to file an issue at
|
|
39
|
+
<https://github.com/lweber89/geog510-lab-utils/issues>.
|
|
40
|
+
|
|
41
|
+
If you are proposing a feature:
|
|
42
|
+
|
|
43
|
+
- Explain in detail how it would work.
|
|
44
|
+
- Keep the scope as narrow as possible, to make it easier to implement.
|
|
45
|
+
- Remember that this is a volunteer-driven project, and that contributions are welcome :)
|
|
46
|
+
|
|
47
|
+
## Get Started!
|
|
48
|
+
|
|
49
|
+
Ready to contribute? Here's how to set up geog510-lab-utils for local development.
|
|
50
|
+
|
|
51
|
+
1. Fork the geog510-lab-utils repo on GitHub.
|
|
52
|
+
|
|
53
|
+
2. Clone your fork locally:
|
|
54
|
+
|
|
55
|
+
```shell
|
|
56
|
+
$ git clone git@github.com:your_name_here/geog510-lab-utils.git
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
3. Install your local copy into a virtualenv. Assuming you have
|
|
60
|
+
virtualenvwrapper installed, this is how you set up your fork for
|
|
61
|
+
local development:
|
|
62
|
+
|
|
63
|
+
```shell
|
|
64
|
+
$ mkvirtualenv geog510-lab-utils
|
|
65
|
+
$ cd geog510-lab-utils/
|
|
66
|
+
$ python setup.py develop
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
4. Create a branch for local development:
|
|
70
|
+
|
|
71
|
+
```shell
|
|
72
|
+
$ git checkout -b name-of-your-bugfix-or-feature
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
Now you can make your changes locally.
|
|
76
|
+
|
|
77
|
+
5. When you're done making changes, check that your changes pass flake8
|
|
78
|
+
and the tests, including testing other Python versions with tox:
|
|
79
|
+
|
|
80
|
+
```shell
|
|
81
|
+
$ flake8 geog510-lab-utils tests
|
|
82
|
+
$ python setup.py test or pytest
|
|
83
|
+
$ tox
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
To get flake8 and tox, just pip install them into your virtualenv.
|
|
87
|
+
|
|
88
|
+
6. Commit your changes and push your branch to GitHub:
|
|
89
|
+
|
|
90
|
+
```shell
|
|
91
|
+
$ git add .
|
|
92
|
+
$ git commit -m "Your detailed description of your changes."
|
|
93
|
+
$ git push origin name-of-your-bugfix-or-feature
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
7. Submit a pull request through the GitHub website.
|
|
97
|
+
|
|
98
|
+
## Pull Request Guidelines
|
|
99
|
+
|
|
100
|
+
Before you submit a pull request, check that it meets these guidelines:
|
|
101
|
+
|
|
102
|
+
1. The pull request should include tests.
|
|
103
|
+
2. If the pull request adds functionality, the docs should be updated.
|
|
104
|
+
Put your new functionality into a function with a docstring, and add
|
|
105
|
+
the feature to the list in README.rst.
|
|
106
|
+
3. The pull request should work for Python 3.8 and later, and
|
|
107
|
+
for PyPy. Check <https://github.com/lweber89/geog510-lab-utils/pull_requests> and make sure that the tests pass for all
|
|
108
|
+
supported Python versions.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"cells": [
|
|
3
|
+
{
|
|
4
|
+
"cell_type": "code",
|
|
5
|
+
"execution_count": null,
|
|
6
|
+
"metadata": {},
|
|
7
|
+
"outputs": [],
|
|
8
|
+
"source": [
|
|
9
|
+
"print(\"Hello World!\")"
|
|
10
|
+
]
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"metadata": {
|
|
14
|
+
"language_info": {
|
|
15
|
+
"name": "python"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"nbformat": 4,
|
|
19
|
+
"nbformat_minor": 2
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# FAQ
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Welcome to geog510_lab_utils
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
[](https://pypi.python.org/pypi/geog510_lab_utils)
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
**Python package to demonstrate CICD workflow for geospatial work.**
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
- Free software: MIT License
|
|
11
|
+
- Documentation: <https://lweber89.github.io/geog510_lab_utils>
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## Features
|
|
15
|
+
|
|
16
|
+
- Zonal Lookup Utilities
|
|
17
|
+
- Mapping Utilities
|
|
18
|
+
- CRS Utilities
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Installation
|
|
2
|
+
|
|
3
|
+
## Stable release
|
|
4
|
+
|
|
5
|
+
To install geog510-lab-utils, run this command in your terminal:
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
pip install geog510-lab-utils
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
This is the preferred method to install geog510-lab-utils, as it will always install the most recent stable release.
|
|
12
|
+
|
|
13
|
+
If you don't have [pip](https://pip.pypa.io) installed, this [Python installation guide](http://docs.python-guide.org/en/latest/starting/installation/) can guide you through the process.
|
|
14
|
+
|
|
15
|
+
## From sources
|
|
16
|
+
|
|
17
|
+
To install geog510-lab-utils from sources, run this command in your terminal:
|
|
18
|
+
|
|
19
|
+
```
|
|
20
|
+
pip install git+https://github.com/lweber89/geog510-lab-utils
|
|
21
|
+
```
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{% extends "base.html" %}
|
|
2
|
+
|
|
3
|
+
{% block content %}
|
|
4
|
+
{% if page.nb_url %}
|
|
5
|
+
<a href="{{ page.nb_url }}" title="Download Notebook" class="md-content__button md-icon">
|
|
6
|
+
{% include ".icons/material/download.svg" %}
|
|
7
|
+
</a>
|
|
8
|
+
{% endif %}
|
|
9
|
+
|
|
10
|
+
{{ super() }}
|
|
11
|
+
{% endblock content %}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Main module."""
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: geog510-lab-utils
|
|
3
|
+
Version: 0.0.2
|
|
4
|
+
Summary: Python package to demonstrate CICD workflow for geospatial work.
|
|
5
|
+
Author-email: Lloyd Weber <lweber89@gmail.com>
|
|
6
|
+
License: MIT License
|
|
7
|
+
Project-URL: Homepage, https://github.com/lweber89/geog510-lab-utils
|
|
8
|
+
Keywords: geog510-lab-utils
|
|
9
|
+
Classifier: Intended Audience :: Developers
|
|
10
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
11
|
+
Classifier: Natural Language :: English
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
17
|
+
Requires-Python: >=3.8
|
|
18
|
+
Description-Content-Type: text/markdown
|
|
19
|
+
License-File: LICENSE
|
|
20
|
+
Requires-Dist: numpy
|
|
21
|
+
Provides-Extra: all
|
|
22
|
+
Requires-Dist: geog510-lab-utils[extra]; extra == "all"
|
|
23
|
+
Provides-Extra: extra
|
|
24
|
+
Requires-Dist: pandas; extra == "extra"
|
|
25
|
+
Dynamic: license-file
|
|
26
|
+
|
|
27
|
+
# geog510-lab-utils
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
[](https://pypi.python.org/pypi/geog510-lab-utils)
|
|
31
|
+
[](https://anaconda.org/conda-forge/geog510-lab-utils)
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
**Python package to demonstrate CICD workflow for geospatial work.**
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
- Free software: MIT License
|
|
38
|
+
- Documentation: https://lweber89.github.io/geog510-lab-utils
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
## Features
|
|
42
|
+
|
|
43
|
+
- TODO
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
.editorconfig
|
|
2
|
+
.gitignore
|
|
3
|
+
.pre-commit-config.yaml
|
|
4
|
+
LICENSE
|
|
5
|
+
MANIFEST.in
|
|
6
|
+
README.md
|
|
7
|
+
mkdocs.yml
|
|
8
|
+
pyproject.toml
|
|
9
|
+
requirements.txt
|
|
10
|
+
requirements_dev.txt
|
|
11
|
+
.github/ISSUE_TEMPLATE/bug_report.md
|
|
12
|
+
.github/ISSUE_TEMPLATE/config.yml
|
|
13
|
+
.github/ISSUE_TEMPLATE/feature_request.md
|
|
14
|
+
.github/workflows/docs-build.yml
|
|
15
|
+
.github/workflows/docs.yml
|
|
16
|
+
.github/workflows/installation.yml
|
|
17
|
+
.github/workflows/macos.yml
|
|
18
|
+
.github/workflows/ubuntu.yml
|
|
19
|
+
.github/workflows/windows.yml
|
|
20
|
+
.github/workflows/workflow.yml
|
|
21
|
+
docs/changelog.md
|
|
22
|
+
docs/common.md
|
|
23
|
+
docs/contributing.md
|
|
24
|
+
docs/faq.md
|
|
25
|
+
docs/geog510_lab_utils.md
|
|
26
|
+
docs/index.md
|
|
27
|
+
docs/installation.md
|
|
28
|
+
docs/usage.md
|
|
29
|
+
docs/examples/intro.ipynb
|
|
30
|
+
docs/overrides/main.html
|
|
31
|
+
geog510_lab_utils/__init__.py
|
|
32
|
+
geog510_lab_utils/common.py
|
|
33
|
+
geog510_lab_utils/geog510_lab_utils.py
|
|
34
|
+
geog510_lab_utils.egg-info/PKG-INFO
|
|
35
|
+
geog510_lab_utils.egg-info/SOURCES.txt
|
|
36
|
+
geog510_lab_utils.egg-info/dependency_links.txt
|
|
37
|
+
geog510_lab_utils.egg-info/entry_points.txt
|
|
38
|
+
geog510_lab_utils.egg-info/requires.txt
|
|
39
|
+
geog510_lab_utils.egg-info/top_level.txt
|
|
40
|
+
tests/__init__.py
|
|
41
|
+
tests/test_geog510_lab_utils.py
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
geog510_lab_utils
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
site_name: geog510-lab-utils
|
|
2
|
+
site_description: Python package to demonstrate CICD workflow for geospatial work.
|
|
3
|
+
site_author: lweber89
|
|
4
|
+
site_url: https://lweber89.github.io/geog510-lab-utils
|
|
5
|
+
repo_url: https://github.com/lweber89/geog510-lab-utils
|
|
6
|
+
|
|
7
|
+
copyright: "Copyright © 2024 - 2024 Lloyd Weber"
|
|
8
|
+
|
|
9
|
+
theme:
|
|
10
|
+
palette:
|
|
11
|
+
- scheme: default
|
|
12
|
+
# primary: blue
|
|
13
|
+
# accent: indigo
|
|
14
|
+
toggle:
|
|
15
|
+
icon: material/toggle-switch-off-outline
|
|
16
|
+
name: Switch to dark mode
|
|
17
|
+
- scheme: slate
|
|
18
|
+
primary: indigo
|
|
19
|
+
accent: indigo
|
|
20
|
+
toggle:
|
|
21
|
+
icon: material/toggle-switch
|
|
22
|
+
name: Switch to light mode
|
|
23
|
+
name: material
|
|
24
|
+
icon:
|
|
25
|
+
repo: fontawesome/brands/github
|
|
26
|
+
# logo: assets/logo.png
|
|
27
|
+
# favicon: assets/favicon.png
|
|
28
|
+
features:
|
|
29
|
+
- navigation.instant
|
|
30
|
+
- navigation.tracking
|
|
31
|
+
- navigation.top
|
|
32
|
+
- search.highlight
|
|
33
|
+
- search.share
|
|
34
|
+
custom_dir: "docs/overrides"
|
|
35
|
+
font:
|
|
36
|
+
text: Google Sans
|
|
37
|
+
code: Regular
|
|
38
|
+
|
|
39
|
+
plugins:
|
|
40
|
+
- search
|
|
41
|
+
- mkdocstrings
|
|
42
|
+
- git-revision-date
|
|
43
|
+
- git-revision-date-localized:
|
|
44
|
+
enable_creation_date: true
|
|
45
|
+
type: timeago
|
|
46
|
+
# - pdf-export
|
|
47
|
+
- mkdocs-jupyter:
|
|
48
|
+
include_source: True
|
|
49
|
+
ignore_h1_titles: True
|
|
50
|
+
execute: True
|
|
51
|
+
allow_errors: false
|
|
52
|
+
ignore: ["conf.py"]
|
|
53
|
+
execute_ignore: ["*ignore.ipynb"]
|
|
54
|
+
|
|
55
|
+
markdown_extensions:
|
|
56
|
+
- admonition
|
|
57
|
+
- abbr
|
|
58
|
+
- attr_list
|
|
59
|
+
- def_list
|
|
60
|
+
- footnotes
|
|
61
|
+
- meta
|
|
62
|
+
- md_in_html
|
|
63
|
+
- pymdownx.superfences
|
|
64
|
+
- pymdownx.highlight:
|
|
65
|
+
linenums: true
|
|
66
|
+
- toc:
|
|
67
|
+
permalink: true
|
|
68
|
+
|
|
69
|
+
# extra:
|
|
70
|
+
# analytics:
|
|
71
|
+
# provider: google
|
|
72
|
+
# property: UA-XXXXXXXXX-X
|
|
73
|
+
|
|
74
|
+
nav:
|
|
75
|
+
- Home: index.md
|
|
76
|
+
- Installation: installation.md
|
|
77
|
+
- Usage: usage.md
|
|
78
|
+
- Contributing: contributing.md
|
|
79
|
+
- FAQ: faq.md
|
|
80
|
+
- Changelog: changelog.md
|
|
81
|
+
- Report Issues: https://github.com/lweber89/geog510-lab-utils/issues
|
|
82
|
+
- Examples:
|
|
83
|
+
- examples/intro.ipynb
|
|
84
|
+
- API Reference:
|
|
85
|
+
- geog510_lab_utils module: geog510_lab_utils.md
|
|
86
|
+
- common module: common.md
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "geog510-lab-utils"
|
|
3
|
+
version = "0.0.2"
|
|
4
|
+
dynamic = [
|
|
5
|
+
"dependencies",
|
|
6
|
+
]
|
|
7
|
+
description = "Python package to demonstrate CICD workflow for geospatial work."
|
|
8
|
+
readme = "README.md"
|
|
9
|
+
requires-python = ">=3.8"
|
|
10
|
+
keywords = [
|
|
11
|
+
"geog510-lab-utils",
|
|
12
|
+
]
|
|
13
|
+
license = {text = "MIT License"}
|
|
14
|
+
authors = [
|
|
15
|
+
{name = "Lloyd Weber", email = "lweber89@gmail.com"},
|
|
16
|
+
]
|
|
17
|
+
classifiers = [
|
|
18
|
+
"Intended Audience :: Developers",
|
|
19
|
+
"License :: OSI Approved :: MIT License",
|
|
20
|
+
"Natural Language :: English",
|
|
21
|
+
"Programming Language :: Python :: 3.8",
|
|
22
|
+
"Programming Language :: Python :: 3.9",
|
|
23
|
+
"Programming Language :: Python :: 3.10",
|
|
24
|
+
"Programming Language :: Python :: 3.11",
|
|
25
|
+
"Programming Language :: Python :: 3.12",
|
|
26
|
+
]
|
|
27
|
+
|
|
28
|
+
[project.entry-points."console_scripts"]
|
|
29
|
+
geog510_lab_utils = "geog510_lab_utils.cli:main"
|
|
30
|
+
|
|
31
|
+
[project.optional-dependencies]
|
|
32
|
+
all = [
|
|
33
|
+
"geog510-lab-utils[extra]",
|
|
34
|
+
]
|
|
35
|
+
|
|
36
|
+
extra = [
|
|
37
|
+
"pandas",
|
|
38
|
+
]
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
[tool]
|
|
42
|
+
[tool.setuptools.packages.find]
|
|
43
|
+
include = ["geog510_lab_utils*"]
|
|
44
|
+
exclude = ["docs*"]
|
|
45
|
+
|
|
46
|
+
[tool.setuptools.dynamic]
|
|
47
|
+
dependencies = {file = ["requirements.txt"]}
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
[tool.distutils.bdist_wheel]
|
|
51
|
+
universal = true
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
[tool.bumpversion]
|
|
55
|
+
current_version = "0.0.2"
|
|
56
|
+
commit = true
|
|
57
|
+
tag = true
|
|
58
|
+
|
|
59
|
+
[[tool.bumpversion.files]]
|
|
60
|
+
filename = "pyproject.toml"
|
|
61
|
+
search = 'version = "{current_version}"'
|
|
62
|
+
replace = 'version = "{new_version}"'
|
|
63
|
+
|
|
64
|
+
[[tool.bumpversion.files]]
|
|
65
|
+
filename = "geog510_lab_utils/__init__.py"
|
|
66
|
+
search = '__version__ = "{current_version}"'
|
|
67
|
+
replace = '__version__ = "{new_version}"'
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
[tool.flake8]
|
|
71
|
+
exclude = [
|
|
72
|
+
"docs",
|
|
73
|
+
]
|
|
74
|
+
max-line-length = 88
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
[project.urls]
|
|
78
|
+
Homepage = "https://github.com/lweber89/geog510-lab-utils"
|
|
79
|
+
|
|
80
|
+
[build-system]
|
|
81
|
+
requires = ["setuptools>=64", "setuptools_scm>=8"]
|
|
82
|
+
build-backend = "setuptools.build_meta"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
numpy
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
black
|
|
2
|
+
black[jupyter]
|
|
3
|
+
build
|
|
4
|
+
bump-my-version
|
|
5
|
+
click
|
|
6
|
+
codespell
|
|
7
|
+
flake8
|
|
8
|
+
|
|
9
|
+
ipykernel
|
|
10
|
+
livereload
|
|
11
|
+
mkdocs
|
|
12
|
+
mkdocs-git-revision-date-localized-plugin
|
|
13
|
+
mkdocs-git-revision-date-plugin
|
|
14
|
+
mkdocs-jupyter>=0.24.0
|
|
15
|
+
mkdocs-material>=9.1.3
|
|
16
|
+
mkdocs-pdf-export-plugin
|
|
17
|
+
mkdocstrings==0.28.2
|
|
18
|
+
mkdocstrings-crystal
|
|
19
|
+
mkdocstrings-python-legacy
|
|
20
|
+
nbconvert
|
|
21
|
+
nbformat
|
|
22
|
+
pygments
|
|
23
|
+
pymdown-extensions
|
|
24
|
+
pytest
|
|
25
|
+
pytest-runner
|
|
26
|
+
sphinx
|
|
27
|
+
twine
|
|
28
|
+
watchdog
|
|
29
|
+
wheel
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Unit test package for geog510_lab_utils."""
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/usr/bin/env python
|
|
2
|
+
|
|
3
|
+
"""Tests for `geog510_lab_utils` package."""
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
import unittest
|
|
7
|
+
|
|
8
|
+
from geog510_lab_utils import geog510_lab_utils
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class TestGeog510_lab_utils(unittest.TestCase):
|
|
12
|
+
"""Tests for `geog510_lab_utils` package."""
|
|
13
|
+
|
|
14
|
+
def setUp(self):
|
|
15
|
+
"""Set up test fixtures, if any."""
|
|
16
|
+
|
|
17
|
+
def tearDown(self):
|
|
18
|
+
"""Tear down test fixtures, if any."""
|
|
19
|
+
|
|
20
|
+
def test_000_something(self):
|
|
21
|
+
"""Test something."""
|