morpc-py
Introducion
The MORPC data team maintains a package with contains commonly-used constants, mappings, and functions to allow for code-reuse in multiple scripts. The package documentation and code is available at the morpc-py repository in GitHub.
This package is still in development but will contain the following modules:
- morpc - Main library. Includes contents which are broadly applicable for MORPC's work, including MORPC branding, region definitions and utilities, and general purpose data manipulation functions.
- morpc.frictionless - Functions and classes for working with metadata, including schemas, resources, and data packages. These are for internal processes that us the frictionless-py package. Frictionless was implemented roughly 2025 to manage all metadata and to develop workflow documentation.
- morpc.rest_apt - Tools for working with ArcGIS Online REST API, including scripts for creating local copies as frictionless resources.
- morpc.plot - Tools for standard plots which leverage MORPC branding and data visualization best practices.
- morpc.color - Various tools for working with colors, largely implemented through morpc.plot.
Installation
A version of the package is available via pip and can be installed by a standard pip install.
$ pip install morpc
Dev Install
As the package is still in development, the best way to install it is via the pip -editable option. To do so:
- Pull the most recent verision of the jordan_dev (branch name may change later) to a local repo.
- Using the following command to install an editable version, replacing the path to the correct location.
$ pip install -e "C:/path/to/folder/morpc-py/"
Import the package as normal
$ import morpc
To contribute to the development branch make changes in the local repo and push them to git. When making changes to the package, you will have to re-import the package. If you are working in a Jupyter environment you will have to do this after restarting the kernel.
Documentation
See doc for documentation.
Metadata
Release files for morpc 0.7.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| morpc-0.7.3.tar.gz | 1.9 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| morpc-0.7.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.1 MB
Release files / morpc-0.7.3.tar.gz
| Download URL | morpc-0.7.3.tar.gz |
|---|---|
| Size | 1.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b6b7aa06fa3cb4cca4647d56c66cd3aecf2e1268c1eb0458070a898a907e7159
|
|
BLAKE2b-256 checksum How to use checksums |
c7e98f91e72bb017065b3880631abe248b8580b48f776cfe8809803063e7bba3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 23, 2026.
Transparency logRelease files / morpc-0.7.3-py3-none-any.whl
| Download URL | morpc-0.7.3-py3-none-any.whl |
|---|---|
| Size | 178.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
41c12354db874008f2f2c25992e025f4dd4f2dec0700a31658f2f8f0592a6560
|
|
BLAKE2b-256 checksum How to use checksums |
b2e941bad2bab667df106f63042067d6eb136853ededf640c14dc70d0e6e5412
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 23, 2026.
Transparency log