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.
Files changed (30) hide show
  1. geojson_aoi_parser-0.1.0/.github/ISSUE_TEMPLATE/bug_report.md +29 -0
  2. geojson_aoi_parser-0.1.0/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
  3. geojson_aoi_parser-0.1.0/.github/labeler.yml +24 -0
  4. geojson_aoi_parser-0.1.0/.github/workflows/docs.yml +15 -0
  5. geojson_aoi_parser-0.1.0/.github/workflows/pr_label.yml +14 -0
  6. geojson_aoi_parser-0.1.0/.github/workflows/publish.yml +13 -0
  7. geojson_aoi_parser-0.1.0/.github/workflows/pytest.yml +16 -0
  8. geojson_aoi_parser-0.1.0/.gitignore +25 -0
  9. geojson_aoi_parser-0.1.0/.pre-commit-config.yaml +33 -0
  10. geojson_aoi_parser-0.1.0/.python-version +1 -0
  11. geojson_aoi_parser-0.1.0/CHANGELOG.md +1 -0
  12. geojson_aoi_parser-0.1.0/LICENSE.md +660 -0
  13. geojson_aoi_parser-0.1.0/PKG-INFO +83 -0
  14. geojson_aoi_parser-0.1.0/README.md +74 -0
  15. geojson_aoi_parser-0.1.0/docs/CHANGELOG.md +1 -0
  16. geojson_aoi_parser-0.1.0/docs/LICENSE.md +1 -0
  17. geojson_aoi_parser-0.1.0/docs/api.md +16 -0
  18. geojson_aoi_parser-0.1.0/docs/css/extra.css +5 -0
  19. geojson_aoi_parser-0.1.0/docs/images/favicon.png +0 -0
  20. geojson_aoi_parser-0.1.0/docs/images/hot_logo.png +0 -0
  21. geojson_aoi_parser-0.1.0/docs/index.md +1 -0
  22. geojson_aoi_parser-0.1.0/geojson_aoi/__init__.py +1 -0
  23. geojson_aoi_parser-0.1.0/geojson_aoi/__version__.py +1 -0
  24. geojson_aoi_parser-0.1.0/geojson_aoi/parser.py +339 -0
  25. geojson_aoi_parser-0.1.0/mkdocs.yml +72 -0
  26. geojson_aoi_parser-0.1.0/pyproject.toml +50 -0
  27. geojson_aoi_parser-0.1.0/tests/__init__.py +1 -0
  28. geojson_aoi_parser-0.1.0/tests/conftest.py +76 -0
  29. geojson_aoi_parser-0.1.0/tests/test_parser.py +210 -0
  30. 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,14 @@
1
+ name: ๐Ÿท๏ธ PR Label
2
+
3
+ on:
4
+ pull_request_target:
5
+
6
+ jobs:
7
+ pr-label:
8
+ runs-on: ubuntu-latest
9
+
10
+ steps:
11
+ - uses: actions/labeler@v5
12
+ # Uses .github/labeler.yml definitions
13
+ with:
14
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
@@ -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