geojson-aoi-parser 0.1.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.
- geojson_aoi_parser-0.1.0/.github/ISSUE_TEMPLATE/bug_report.md +29 -0
- geojson_aoi_parser-0.1.0/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
- geojson_aoi_parser-0.1.0/.github/labeler.yml +24 -0
- geojson_aoi_parser-0.1.0/.github/workflows/docs.yml +15 -0
- geojson_aoi_parser-0.1.0/.github/workflows/pr_label.yml +14 -0
- geojson_aoi_parser-0.1.0/.github/workflows/publish.yml +13 -0
- geojson_aoi_parser-0.1.0/.github/workflows/pytest.yml +16 -0
- geojson_aoi_parser-0.1.0/.gitignore +25 -0
- geojson_aoi_parser-0.1.0/.pre-commit-config.yaml +33 -0
- geojson_aoi_parser-0.1.0/.python-version +1 -0
- geojson_aoi_parser-0.1.0/CHANGELOG.md +1 -0
- geojson_aoi_parser-0.1.0/LICENSE.md +660 -0
- geojson_aoi_parser-0.1.0/PKG-INFO +83 -0
- geojson_aoi_parser-0.1.0/README.md +74 -0
- geojson_aoi_parser-0.1.0/docs/CHANGELOG.md +1 -0
- geojson_aoi_parser-0.1.0/docs/LICENSE.md +1 -0
- geojson_aoi_parser-0.1.0/docs/api.md +16 -0
- geojson_aoi_parser-0.1.0/docs/css/extra.css +5 -0
- geojson_aoi_parser-0.1.0/docs/images/favicon.png +0 -0
- geojson_aoi_parser-0.1.0/docs/images/hot_logo.png +0 -0
- geojson_aoi_parser-0.1.0/docs/index.md +1 -0
- geojson_aoi_parser-0.1.0/geojson_aoi/__init__.py +1 -0
- geojson_aoi_parser-0.1.0/geojson_aoi/__version__.py +1 -0
- geojson_aoi_parser-0.1.0/geojson_aoi/parser.py +339 -0
- geojson_aoi_parser-0.1.0/mkdocs.yml +72 -0
- geojson_aoi_parser-0.1.0/pyproject.toml +50 -0
- geojson_aoi_parser-0.1.0/tests/__init__.py +1 -0
- geojson_aoi_parser-0.1.0/tests/conftest.py +76 -0
- geojson_aoi_parser-0.1.0/tests/test_parser.py +210 -0
- geojson_aoi_parser-0.1.0/uv.lock +118 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Bug report
|
|
3
|
+
about: Create a report to help us improve
|
|
4
|
+
title: ""
|
|
5
|
+
labels: ""
|
|
6
|
+
assignees: ""
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
**Describe the bug**
|
|
10
|
+
A clear and concise description of what the bug is.
|
|
11
|
+
|
|
12
|
+
**To Reproduce**
|
|
13
|
+
Steps to reproduce the behavior.
|
|
14
|
+
|
|
15
|
+
**Expected behavior**
|
|
16
|
+
A clear and concise description of what you expected to happen.
|
|
17
|
+
|
|
18
|
+
**Screenshots**
|
|
19
|
+
If applicable, add screenshots to help explain your problem.
|
|
20
|
+
|
|
21
|
+
**System info**
|
|
22
|
+
Details of your coding environment.
|
|
23
|
+
|
|
24
|
+
- OS: [e.g. iOS]
|
|
25
|
+
- Python version [e.g. 3.10]
|
|
26
|
+
- Version [e.g. 0.1.0]
|
|
27
|
+
|
|
28
|
+
**Additional context**
|
|
29
|
+
Add any other context about the problem here.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Feature request
|
|
3
|
+
about: Suggest an idea for this project
|
|
4
|
+
title: ""
|
|
5
|
+
labels: ""
|
|
6
|
+
assignees: ""
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
**Is your feature request related to a problem? Please describe.**
|
|
10
|
+
A clear and concise description of what the problem is.
|
|
11
|
+
Ex. I'm always frustrated when [...]
|
|
12
|
+
|
|
13
|
+
**Describe the solution you'd like**
|
|
14
|
+
A clear and concise description of what you want to happen.
|
|
15
|
+
|
|
16
|
+
**Describe alternatives you've considered**
|
|
17
|
+
A clear and concise description of any alternative solutions or features you've considered.
|
|
18
|
+
|
|
19
|
+
**Additional context**
|
|
20
|
+
Add any other context or screenshots about the feature request here.
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
bug:
|
|
2
|
+
# Branch starts with `fix` or has a `fix` in the name
|
|
3
|
+
- head-branch: ["^fix", "fix"]
|
|
4
|
+
enhancement:
|
|
5
|
+
- head-branch:
|
|
6
|
+
["^feature", "feature", "^feat", "feat", "^refactor", "refactor"]
|
|
7
|
+
devops:
|
|
8
|
+
- changed-files:
|
|
9
|
+
- any-glob-to-any-file:
|
|
10
|
+
- .github/**
|
|
11
|
+
dependency:
|
|
12
|
+
- changed-files:
|
|
13
|
+
- any-glob-to-any-file:
|
|
14
|
+
- pyproject.toml
|
|
15
|
+
- uv.lock
|
|
16
|
+
docs:
|
|
17
|
+
- changed-files:
|
|
18
|
+
- any-glob-to-any-file:
|
|
19
|
+
- docs/**
|
|
20
|
+
- mkdocs.yml
|
|
21
|
+
- README.md
|
|
22
|
+
version:
|
|
23
|
+
- changed-files:
|
|
24
|
+
- any-glob-to-any-file: geojson_aoi/__version__.py
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
name: ๐ Publish Docs
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
paths:
|
|
6
|
+
- docs/**
|
|
7
|
+
- geojson_aoi/**
|
|
8
|
+
- mkdocs.yml
|
|
9
|
+
branches: [main]
|
|
10
|
+
# Allow manual trigger (workflow_dispatch)
|
|
11
|
+
workflow_dispatch:
|
|
12
|
+
|
|
13
|
+
jobs:
|
|
14
|
+
publish_docs:
|
|
15
|
+
uses: hotosm/gh-workflows/.github/workflows/mkdocs_build.yml@2.0.5
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
name: ๐ฉ Publish to PyPi.org
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
release:
|
|
5
|
+
types: [published]
|
|
6
|
+
# Allow manual trigger (workflow_dispatch)
|
|
7
|
+
workflow_dispatch:
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
publish_to_pypi:
|
|
11
|
+
uses: hotosm/gh-workflows/.github/workflows/pypi_publish.yml@2.0.5
|
|
12
|
+
secrets:
|
|
13
|
+
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# name: ๐งช PyTest
|
|
2
|
+
|
|
3
|
+
# on:
|
|
4
|
+
# push:
|
|
5
|
+
# branches: [main]
|
|
6
|
+
# # Run tests on PR, prior to merge to main & development
|
|
7
|
+
# pull_request:
|
|
8
|
+
# branches: [main]
|
|
9
|
+
# # Allow manual trigger (workflow_dispatch)
|
|
10
|
+
# workflow_dispatch:
|
|
11
|
+
|
|
12
|
+
# jobs:
|
|
13
|
+
# pytest:
|
|
14
|
+
# uses: hotosm/gh-workflows/.github/workflows/test_pytest.yml@2.0.5
|
|
15
|
+
# with:
|
|
16
|
+
# image_name: ghcr.io/${{ github.repository }}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# gdb_history
|
|
2
|
+
TAGS
|
|
3
|
+
*~
|
|
4
|
+
.deps
|
|
5
|
+
.libs
|
|
6
|
+
py-compile
|
|
7
|
+
NEWS
|
|
8
|
+
*__pycache__/
|
|
9
|
+
|
|
10
|
+
# output files
|
|
11
|
+
*.txt
|
|
12
|
+
*.xml
|
|
13
|
+
*.geojson
|
|
14
|
+
*.pbf
|
|
15
|
+
*.xml
|
|
16
|
+
*.html
|
|
17
|
+
|
|
18
|
+
# Python builds
|
|
19
|
+
build
|
|
20
|
+
dist
|
|
21
|
+
*.egg-info
|
|
22
|
+
|
|
23
|
+
# Docs
|
|
24
|
+
site
|
|
25
|
+
.cache
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
repos:
|
|
2
|
+
# Versioning: Commit messages & changelog
|
|
3
|
+
- repo: https://github.com/commitizen-tools/commitizen
|
|
4
|
+
rev: v4.1.0
|
|
5
|
+
hooks:
|
|
6
|
+
- id: commitizen
|
|
7
|
+
stages: [commit-msg]
|
|
8
|
+
|
|
9
|
+
# Lint / autoformat: Python code
|
|
10
|
+
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
11
|
+
# Ruff version.
|
|
12
|
+
rev: "v0.8.2"
|
|
13
|
+
hooks:
|
|
14
|
+
# Run the linter
|
|
15
|
+
- id: ruff
|
|
16
|
+
args: [--fix, --exit-non-zero-on-fix]
|
|
17
|
+
# Run the formatter
|
|
18
|
+
- id: ruff-format
|
|
19
|
+
|
|
20
|
+
# Autoformat: YAML, JSON, Markdown, etc.
|
|
21
|
+
- repo: https://github.com/pre-commit/mirrors-prettier
|
|
22
|
+
rev: v4.0.0-alpha.8
|
|
23
|
+
hooks:
|
|
24
|
+
- id: prettier
|
|
25
|
+
entry: env PRETTIER_LEGACY_CLI=1 prettier
|
|
26
|
+
args: [--ignore-unknown, --no-error-on-unmatched-pattern, "!chart/**"]
|
|
27
|
+
|
|
28
|
+
# Lint: Markdown
|
|
29
|
+
- repo: https://github.com/igorshubovych/markdownlint-cli
|
|
30
|
+
rev: v0.43.0
|
|
31
|
+
hooks:
|
|
32
|
+
- id: markdownlint
|
|
33
|
+
args: [--fix, --ignore, CHANGELOG.md]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.10
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# Changelog
|