morpc 0.3.1__tar.gz → 0.3.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.
Files changed (66) hide show
  1. morpc-0.3.2/.github/workflows/deploy.yml +49 -0
  2. morpc-0.3.2/.gitignore +11 -0
  3. {morpc-0.3.1/morpc.egg-info → morpc-0.3.2}/PKG-INFO +3 -4
  4. morpc-0.3.1/docs/index.md → morpc-0.3.2/README.md +1 -3
  5. morpc-0.3.2/docs/.gitignore +2 -0
  6. morpc-0.3.1/README.md → morpc-0.3.2/docs/.ipynb_checkpoints/index-checkpoint.md +1 -2
  7. morpc-0.3.2/docs/.ipynb_checkpoints/myst-checkpoint.yml +6 -0
  8. morpc-0.3.2/docs/01-morpc-py-demos.ipynb +1327 -0
  9. morpc-0.3.2/docs/02-morpc-countylookup-demo.ipynb +958 -0
  10. morpc-0.3.2/docs/03-morpc-varlookup-demo.ipynb +57 -0
  11. morpc-0.3.2/docs/04-morpc-restapi-demo.ipynb +387 -0
  12. morpc-0.3.2/docs/05-morpc-geos-demo.ipynb +898 -0
  13. morpc-0.3.2/docs/06-morpc-frictionless-demo.ipynb +506 -0
  14. morpc-0.3.2/docs/07-morpc-census-demo.ipynb +648 -0
  15. morpc-0.3.2/docs/08-morpc-plot-demo.ipynb +468 -0
  16. morpc-0.3.2/docs/09-morpc-color-demo.ipynb +1784 -0
  17. morpc-0.3.2/docs/assets/HORIZONTAL_LOGOS_PRIMARY_COLOR_V2.png +0 -0
  18. morpc-0.3.2/docs/index.md +44 -0
  19. morpc-0.3.2/docs/myst.yml +12 -0
  20. morpc-0.3.2/docs/temp_data/MORPC MPO Boundary.gpkg +0 -0
  21. morpc-0.3.2/docs/temp_data/Screenshot 2025-06-03 080403.png +0 -0
  22. {morpc-0.3.1 → morpc-0.3.2}/docs/temp_data/dataChartToExcelOutput.xlsx +0 -0
  23. morpc-0.3.2/docs/temp_data/rest_resource.json +53 -0
  24. {morpc-0.3.1 → morpc-0.3.2}/morpc/__init__.py +2 -1
  25. {morpc-0.3.1 → morpc-0.3.2}/morpc/census/census.py +64 -34
  26. morpc-0.3.2/morpc/color/__init__.py +2 -0
  27. {morpc-0.3.1 → morpc-0.3.2}/morpc/color/color.py +133 -110
  28. morpc-0.3.2/morpc/color/morpc_colors.json +1 -0
  29. morpc-0.3.2/morpc/color/palette.py +71 -0
  30. {morpc-0.3.1 → morpc-0.3.2}/morpc/frictionless/frictionless.py +23 -52
  31. {morpc-0.3.1 → morpc-0.3.2}/morpc/morpc.py +101 -15
  32. {morpc-0.3.1 → morpc-0.3.2}/morpc/plot/plot.py +6 -6
  33. {morpc-0.3.1 → morpc-0.3.2}/morpc/rest_api/rest_api.py +23 -5
  34. {morpc-0.3.1 → morpc-0.3.2/morpc.egg-info}/PKG-INFO +3 -4
  35. {morpc-0.3.1 → morpc-0.3.2}/morpc.egg-info/SOURCES.txt +18 -6
  36. {morpc-0.3.1 → morpc-0.3.2}/morpc.egg-info/requires.txt +1 -0
  37. {morpc-0.3.1 → morpc-0.3.2}/pyproject.toml +1 -0
  38. morpc-0.3.1/.gitignore +0 -5
  39. morpc-0.3.1/docs/index.html +0 -2188
  40. morpc-0.3.1/docs/livemark.yaml +0 -13
  41. morpc-0.3.1/docs/morpc-color-demo.ipynb +0 -473
  42. morpc-0.3.1/docs/morpc-plot-demo.ipynb +0 -145
  43. morpc-0.3.1/docs/morpc-py-demos.ipynb +0 -2805
  44. morpc-0.3.1/docs/morpc-restapi-demo.ipynb +0 -211
  45. morpc-0.3.1/docs/temp_data/rest_resource.json +0 -97
  46. morpc-0.3.1/morpc/color/__init__.py +0 -1
  47. morpc-0.3.1/morpc/color/morpc_colors.json +0 -866
  48. {morpc-0.3.1 → morpc-0.3.2}/.gitattributes +0 -0
  49. {morpc-0.3.1 → morpc-0.3.2}/.github/workflows/python-publish.yml +0 -0
  50. {morpc-0.3.1 → morpc-0.3.2}/docs/.ipynb_checkpoints/morpc-color-demo-checkpoint.ipynb +0 -0
  51. {morpc-0.3.1 → morpc-0.3.2}/docs/temp_data/plot_df.csv +0 -0
  52. {morpc-0.3.1 → morpc-0.3.2}/docs/temp_data/plot_df.resource.yaml +0 -0
  53. {morpc-0.3.1 → morpc-0.3.2}/docs/temp_data/plot_df.schema.yaml +0 -0
  54. {morpc-0.3.1 → morpc-0.3.2}/docs/temp_data/temp_df.csv +0 -0
  55. {morpc-0.3.1 → morpc-0.3.2}/docs/temp_data/temp_df.resource.yaml +0 -0
  56. {morpc-0.3.1 → morpc-0.3.2}/docs/temp_data/temp_df.schema.yaml +0 -0
  57. {morpc-0.3.1 → morpc-0.3.2}/morpc/census/__init__.py +0 -0
  58. {morpc-0.3.1 → morpc-0.3.2}/morpc/color/.ipynb_checkpoints/color-checkpoint.py +0 -0
  59. {morpc-0.3.1 → morpc-0.3.2}/morpc/color/.ipynb_checkpoints/morpc_colors-checkpoint.json +0 -0
  60. {morpc-0.3.1 → morpc-0.3.2}/morpc/frictionless/__init__.py +0 -0
  61. {morpc-0.3.1 → morpc-0.3.2}/morpc/plot/__init__.py +0 -0
  62. {morpc-0.3.1 → morpc-0.3.2}/morpc/rest_api/__init__.py +0 -0
  63. {morpc-0.3.1 → morpc-0.3.2}/morpc.egg-info/dependency_links.txt +0 -0
  64. {morpc-0.3.1 → morpc-0.3.2}/morpc.egg-info/top_level.txt +0 -0
  65. {morpc-0.3.1 → morpc-0.3.2}/release_new_package.md +0 -0
  66. {morpc-0.3.1 → morpc-0.3.2}/setup.cfg +0 -0
@@ -0,0 +1,49 @@
1
+ # This file was created automatically with `myst init --gh-pages` 🪄 💚
2
+ # Ensure your GitHub Pages settings for this repository are set to deploy with **GitHub Actions**.
3
+
4
+ name: MyST GitHub Pages Deploy
5
+ on:
6
+ push:
7
+ # Runs on pushes targeting the default branch
8
+ branches: [main]
9
+ env:
10
+ # `BASE_URL` determines, relative to the root of the domain, the URL that your site is served from.
11
+ # E.g., if your site lives at `https://mydomain.org/myproject`, set `BASE_URL=/myproject`.
12
+ # If, instead, your site lives at the root of the domain, at `https://mydomain.org`, set `BASE_URL=''`.
13
+ BASE_URL: /${{ github.event.repository.name }}
14
+
15
+ # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
16
+ permissions:
17
+ contents: read
18
+ pages: write
19
+ id-token: write
20
+ # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
21
+ # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
22
+ concurrency:
23
+ group: 'pages'
24
+ cancel-in-progress: false
25
+ jobs:
26
+ deploy:
27
+ environment:
28
+ name: github-pages
29
+ url: ${{ steps.deployment.outputs.page_url }}
30
+ runs-on: ubuntu-latest
31
+ steps:
32
+ - uses: actions/checkout@v4
33
+ - name: Setup Pages
34
+ uses: actions/configure-pages@v3
35
+ - uses: actions/setup-node@v4
36
+ with:
37
+ node-version: 18.x
38
+ - name: Install MyST Markdown
39
+ run: npm install -g mystmd
40
+ - name: Build HTML Assets
41
+ run: myst build --html
42
+ working-directory: ./docs
43
+ - name: Upload artifact
44
+ uses: actions/upload-pages-artifact@v3
45
+ with:
46
+ path: './docs/_build/html'
47
+ - name: Deploy to GitHub Pages
48
+ id: deployment
49
+ uses: actions/deploy-pages@v4
morpc-0.3.2/.gitignore ADDED
@@ -0,0 +1,11 @@
1
+ *.pyc
2
+ __pycache__/
3
+ *.pkl
4
+ dist/
5
+ build/
6
+ morpc.egg-info/
7
+ demo/
8
+ *-checkpoint.*
9
+
10
+ # MyST build outputs
11
+ #_build
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: morpc
3
- Version: 0.3.1
3
+ Version: 0.3.2
4
4
  Summary: Data managment tools used by MORPC
5
5
  Author-email: MORPC data team <dataandmaps@morpc.org>
6
6
  License-Expression: MIT
@@ -15,6 +15,7 @@ Requires-Dist: frictionless
15
15
  Requires-Dist: shapely
16
16
  Requires-Dist: IPython
17
17
  Requires-Dist: xlsxwriter
18
+ Requires-Dist: plotnine
18
19
 
19
20
  # morpc-py
20
21
 
@@ -58,6 +59,4 @@ To contribute to the development branch make changes in the local repo and push
58
59
 
59
60
  ## Documentation
60
61
 
61
- See [docs](/docs) for documentation.
62
-
63
- (in development) there will be a livemark site for documenatation.
62
+ See [docs](https://morpc.github.io/morpc-py) for documentation.
@@ -40,6 +40,4 @@ To contribute to the development branch make changes in the local repo and push
40
40
 
41
41
  ## Documentation
42
42
 
43
- See [docs](/docs) for documentation.
44
-
45
- (in development) there will be a livemark site for documenatation.
43
+ See [docs](https://morpc.github.io/morpc-py) for documentation.
@@ -0,0 +1,2 @@
1
+ # MyST build outputs
2
+ _build
@@ -40,6 +40,5 @@ To contribute to the development branch make changes in the local repo and push
40
40
 
41
41
  ## Documentation
42
42
 
43
- See [docs](/docs) for documentation.
43
+ See [docs](https://morpc.github.com/morpc-py) for documentation.
44
44
 
45
- (in development) there will be a livemark site for documenatation.
@@ -0,0 +1,6 @@
1
+ version: 1
2
+ project:
3
+ title: morpc-py documentation
4
+ github: https://github.com/morpc/morpc-py
5
+ site:
6
+ template: book-theme