morpc 0.3.4__tar.gz → 0.3.6__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.
- {morpc-0.3.4 → morpc-0.3.6}/.github/workflows/deploy.yml +2 -2
- morpc-0.3.6/.github/workflows/todo_to_issue.yml +38 -0
- {morpc-0.3.4 → morpc-0.3.6}/PKG-INFO +2 -2
- {morpc-0.3.4 → morpc-0.3.6}/README.md +1 -1
- morpc-0.3.6/doc/.$Untitled Diagram.drawio.bkp +49 -0
- morpc-0.3.6/doc/.gitignore +5 -0
- morpc-0.3.6/doc/07-morpc-census-demo.ipynb +669 -0
- morpc-0.3.6/doc/08-morpc-plot-demo.ipynb +398 -0
- morpc-0.3.6/doc/09-morpc-color-demo.ipynb +30931 -0
- morpc-0.3.6/doc/Untitled Diagram.drawio +64 -0
- {morpc-0.3.4 → morpc-0.3.6}/morpc/__init__.py +5 -1
- morpc-0.3.6/morpc/census/__init__.py +2 -0
- morpc-0.3.6/morpc/census/acs_variable_groups.json +28925 -0
- morpc-0.3.6/morpc/census/acs_variable_groups_v2.json +118014 -0
- morpc-0.3.6/morpc/census/census.py +1256 -0
- morpc-0.3.6/morpc/census/geos.py +283 -0
- {morpc-0.3.4 → morpc-0.3.6}/morpc/color/color.py +1 -1
- morpc-0.3.6/morpc/color/morpc_colors.json +1804 -0
- {morpc-0.3.4 → morpc-0.3.6}/morpc/color/palette.py +3 -1
- {morpc-0.3.4 → morpc-0.3.6}/morpc/frictionless/frictionless.py +142 -69
- morpc-0.3.6/morpc/logs.py +33 -0
- {morpc-0.3.4 → morpc-0.3.6}/morpc/morpc.py +657 -76
- morpc-0.3.6/morpc/plot/__init__.py +2 -0
- morpc-0.3.6/morpc/plot/map.py +146 -0
- morpc-0.3.6/morpc/plot/plot.py +138 -0
- morpc-0.3.6/morpc/rest_api/.gitignore +1 -0
- morpc-0.3.6/morpc/rest_api/rest_api.py +536 -0
- {morpc-0.3.4 → morpc-0.3.6}/morpc.egg-info/PKG-INFO +2 -2
- morpc-0.3.6/morpc.egg-info/SOURCES.txt +61 -0
- morpc-0.3.6/morpc.zip +0 -0
- morpc-0.3.4/docs/.gitignore +0 -2
- morpc-0.3.4/docs/.ipynb_checkpoints/index-checkpoint.md +0 -44
- morpc-0.3.4/docs/.ipynb_checkpoints/morpc-color-demo-checkpoint.ipynb +0 -463
- morpc-0.3.4/docs/.ipynb_checkpoints/myst-checkpoint.yml +0 -6
- morpc-0.3.4/docs/07-morpc-census-demo.ipynb +0 -640
- morpc-0.3.4/docs/08-morpc-plot-demo.ipynb +0 -468
- morpc-0.3.4/docs/09-morpc-color-demo.ipynb +0 -1784
- morpc-0.3.4/morpc/census/__init__.py +0 -1
- morpc-0.3.4/morpc/census/census.py +0 -466
- morpc-0.3.4/morpc/color/morpc_colors.json +0 -1
- morpc-0.3.4/morpc/plot/__init__.py +0 -1
- morpc-0.3.4/morpc/plot/plot.py +0 -218
- morpc-0.3.4/morpc/rest_api/rest_api.py +0 -185
- morpc-0.3.4/morpc.egg-info/SOURCES.txt +0 -54
- {morpc-0.3.4 → morpc-0.3.6}/.gitattributes +0 -0
- {morpc-0.3.4 → morpc-0.3.6}/.github/workflows/python-publish.yml +0 -0
- {morpc-0.3.4 → morpc-0.3.6}/.gitignore +0 -0
- {morpc-0.3.4/docs → morpc-0.3.6/doc}/01-morpc-py-demos.ipynb +0 -0
- {morpc-0.3.4/docs → morpc-0.3.6/doc}/02-morpc-countylookup-demo.ipynb +0 -0
- {morpc-0.3.4/docs → morpc-0.3.6/doc}/03-morpc-varlookup-demo.ipynb +0 -0
- {morpc-0.3.4/docs → morpc-0.3.6/doc}/04-morpc-restapi-demo.ipynb +0 -0
- {morpc-0.3.4/docs → morpc-0.3.6/doc}/05-morpc-geos-demo.ipynb +0 -0
- {morpc-0.3.4/docs → morpc-0.3.6/doc}/06-morpc-frictionless-demo.ipynb +0 -0
- {morpc-0.3.4/docs → morpc-0.3.6/doc}/assets/HORIZONTAL_LOGOS_PRIMARY_COLOR_V2.png +0 -0
- {morpc-0.3.4/docs → morpc-0.3.6/doc}/index.md +0 -0
- {morpc-0.3.4/docs → morpc-0.3.6/doc}/myst.yml +0 -0
- {morpc-0.3.4/docs → morpc-0.3.6/doc}/temp_data/MORPC MPO Boundary.gpkg +0 -0
- {morpc-0.3.4/docs → morpc-0.3.6/doc}/temp_data/Screenshot 2025-06-03 080403.png +0 -0
- {morpc-0.3.4/docs → morpc-0.3.6/doc}/temp_data/dataChartToExcelOutput.xlsx +0 -0
- {morpc-0.3.4/docs → morpc-0.3.6/doc}/temp_data/plot_df.csv +0 -0
- {morpc-0.3.4/docs → morpc-0.3.6/doc}/temp_data/plot_df.resource.yaml +0 -0
- {morpc-0.3.4/docs → morpc-0.3.6/doc}/temp_data/plot_df.schema.yaml +0 -0
- {morpc-0.3.4/docs → morpc-0.3.6/doc}/temp_data/rest_resource.json +0 -0
- {morpc-0.3.4/docs → morpc-0.3.6/doc}/temp_data/temp_df.csv +0 -0
- {morpc-0.3.4/docs → morpc-0.3.6/doc}/temp_data/temp_df.resource.yaml +0 -0
- {morpc-0.3.4/docs → morpc-0.3.6/doc}/temp_data/temp_df.schema.yaml +0 -0
- {morpc-0.3.4 → morpc-0.3.6}/morpc/color/.ipynb_checkpoints/color-checkpoint.py +0 -0
- {morpc-0.3.4 → morpc-0.3.6}/morpc/color/.ipynb_checkpoints/morpc_colors-checkpoint.json +0 -0
- {morpc-0.3.4 → morpc-0.3.6}/morpc/color/__init__.py +0 -0
- {morpc-0.3.4 → morpc-0.3.6}/morpc/frictionless/__init__.py +0 -0
- {morpc-0.3.4 → morpc-0.3.6}/morpc/rest_api/__init__.py +0 -0
- {morpc-0.3.4 → morpc-0.3.6}/morpc.egg-info/dependency_links.txt +0 -0
- {morpc-0.3.4 → morpc-0.3.6}/morpc.egg-info/requires.txt +0 -0
- {morpc-0.3.4 → morpc-0.3.6}/morpc.egg-info/top_level.txt +0 -0
- {morpc-0.3.4 → morpc-0.3.6}/pyproject.toml +0 -0
- {morpc-0.3.4 → morpc-0.3.6}/release_new_package.md +0 -0
- {morpc-0.3.4 → morpc-0.3.6}/setup.cfg +0 -0
|
@@ -39,11 +39,11 @@ jobs:
|
|
|
39
39
|
run: npm install -g mystmd
|
|
40
40
|
- name: Build HTML Assets
|
|
41
41
|
run: myst build --html
|
|
42
|
-
working-directory: ./
|
|
42
|
+
working-directory: ./doc
|
|
43
43
|
- name: Upload artifact
|
|
44
44
|
uses: actions/upload-pages-artifact@v3
|
|
45
45
|
with:
|
|
46
|
-
path: './
|
|
46
|
+
path: './doc/_build/html'
|
|
47
47
|
- name: Deploy to GitHub Pages
|
|
48
48
|
id: deployment
|
|
49
49
|
uses: actions/deploy-pages@v4
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
name: "Run TODO to Issue"
|
|
2
|
+
on:
|
|
3
|
+
push:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
inputs:
|
|
6
|
+
MANUAL_COMMIT_REF:
|
|
7
|
+
description: "The SHA of the commit to get the diff for"
|
|
8
|
+
required: true
|
|
9
|
+
MANUAL_BASE_REF:
|
|
10
|
+
description: "By default, the commit entered above is compared to the one directly before it; to go back further, enter an earlier SHA here"
|
|
11
|
+
required: false
|
|
12
|
+
jobs:
|
|
13
|
+
build:
|
|
14
|
+
runs-on: "ubuntu-latest"
|
|
15
|
+
permissions:
|
|
16
|
+
contents: write
|
|
17
|
+
issues: write
|
|
18
|
+
pull-requests: write
|
|
19
|
+
steps:
|
|
20
|
+
- uses: "actions/checkout@v4"
|
|
21
|
+
- name: "TODO to Issue"
|
|
22
|
+
uses: "alstr/todo-to-issue-action@v5"
|
|
23
|
+
with:
|
|
24
|
+
INSERT_ISSUE_URLS: "true"
|
|
25
|
+
CLOSE_ISSUES: "true"
|
|
26
|
+
- name: Set Git user
|
|
27
|
+
run: |
|
|
28
|
+
git config --global user.name "github-actions[bot]"
|
|
29
|
+
git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
|
30
|
+
- name: Commit and Push Changes
|
|
31
|
+
run: |
|
|
32
|
+
git add -A
|
|
33
|
+
if [[ `git status --porcelain` ]]; then
|
|
34
|
+
git commit -m "Automatically added GitHub issue links to TODOs"
|
|
35
|
+
git push origin main
|
|
36
|
+
else
|
|
37
|
+
echo "No changes to commit"
|
|
38
|
+
fi
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: morpc
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.6
|
|
4
4
|
Summary: Data managment tools used by MORPC
|
|
5
5
|
Author-email: MORPC data team <dataandmaps@morpc.org>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -59,4 +59,4 @@ To contribute to the development branch make changes in the local repo and push
|
|
|
59
59
|
|
|
60
60
|
## Documentation
|
|
61
61
|
|
|
62
|
-
See [
|
|
62
|
+
See [doc](https://morpc.github.io/morpc-py) for documentation.
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
<mxfile host="Electron" modified="2025-09-23T15:04:12.553Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/24.6.4 Chrome/124.0.6367.207 Electron/30.0.6 Safari/537.36" etag="NEdtQoq8CRGxU1y0THmH" version="24.6.4" type="device">
|
|
2
|
+
<diagram name="Page-1" id="_YH1kaxGkQ0Ha22CXoTz">
|
|
3
|
+
<mxGraphModel dx="1434" dy="836" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
|
|
4
|
+
<root>
|
|
5
|
+
<mxCell id="0" />
|
|
6
|
+
<mxCell id="1" parent="0" />
|
|
7
|
+
<mxCell id="dQl_BNV5dEOUyqnLE0g0-1" value="scope" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
|
8
|
+
<mxGeometry x="40" y="480" width="130" height="30" as="geometry" />
|
|
9
|
+
</mxCell>
|
|
10
|
+
<mxCell id="dQl_BNV5dEOUyqnLE0g0-2" value="scale (optional)" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
|
11
|
+
<mxGeometry x="40" y="530" width="130" height="30" as="geometry" />
|
|
12
|
+
</mxCell>
|
|
13
|
+
<mxCell id="dQl_BNV5dEOUyqnLE0g0-3" value="year" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
|
14
|
+
<mxGeometry x="40" y="280" width="130" height="30" as="geometry" />
|
|
15
|
+
</mxCell>
|
|
16
|
+
<mxCell id="dQl_BNV5dEOUyqnLE0g0-5" value="API Request" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
|
17
|
+
<mxGeometry x="560" y="310" width="140" height="60" as="geometry" />
|
|
18
|
+
</mxCell>
|
|
19
|
+
<mxCell id="dQl_BNV5dEOUyqnLE0g0-6" value="url" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" vertex="1" parent="dQl_BNV5dEOUyqnLE0g0-5">
|
|
20
|
+
<mxGeometry y="30" width="140" height="30" as="geometry" />
|
|
21
|
+
</mxCell>
|
|
22
|
+
<mxCell id="dQl_BNV5dEOUyqnLE0g0-10" value="Survey Data Options" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
|
23
|
+
<mxGeometry x="370" y="90" width="140" height="90" as="geometry" />
|
|
24
|
+
</mxCell>
|
|
25
|
+
<mxCell id="dQl_BNV5dEOUyqnLE0g0-11" value="survey" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" vertex="1" parent="dQl_BNV5dEOUyqnLE0g0-10">
|
|
26
|
+
<mxGeometry y="30" width="140" height="30" as="geometry" />
|
|
27
|
+
</mxCell>
|
|
28
|
+
<mxCell id="dQl_BNV5dEOUyqnLE0g0-12" value="data" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" vertex="1" parent="dQl_BNV5dEOUyqnLE0g0-10">
|
|
29
|
+
<mxGeometry y="60" width="140" height="30" as="geometry" />
|
|
30
|
+
</mxCell>
|
|
31
|
+
<mxCell id="dQl_BNV5dEOUyqnLE0g0-14" value="API Base URL" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
|
32
|
+
<mxGeometry x="380" y="300" width="140" height="120" as="geometry" />
|
|
33
|
+
</mxCell>
|
|
34
|
+
<mxCell id="dQl_BNV5dEOUyqnLE0g0-7" value="year" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" vertex="1" parent="dQl_BNV5dEOUyqnLE0g0-14">
|
|
35
|
+
<mxGeometry y="30" width="140" height="30" as="geometry" />
|
|
36
|
+
</mxCell>
|
|
37
|
+
<mxCell id="dQl_BNV5dEOUyqnLE0g0-8" value="survey" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" vertex="1" parent="dQl_BNV5dEOUyqnLE0g0-14">
|
|
38
|
+
<mxGeometry y="60" width="140" height="30" as="geometry" />
|
|
39
|
+
</mxCell>
|
|
40
|
+
<mxCell id="dQl_BNV5dEOUyqnLE0g0-9" value="data" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" vertex="1" parent="dQl_BNV5dEOUyqnLE0g0-14">
|
|
41
|
+
<mxGeometry y="90" width="140" height="30" as="geometry" />
|
|
42
|
+
</mxCell>
|
|
43
|
+
<mxCell id="dQl_BNV5dEOUyqnLE0g0-18" value="variable group" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
|
44
|
+
<mxGeometry x="40" y="340" width="130" height="30" as="geometry" />
|
|
45
|
+
</mxCell>
|
|
46
|
+
</root>
|
|
47
|
+
</mxGraphModel>
|
|
48
|
+
</diagram>
|
|
49
|
+
</mxfile>
|