Morph
How to Contribute
Setting up the development environment
This project uses pre-commit to enforce code quality and consistency. To install the pre-commit hooks, run the following command:
pre-commit install
Run poetry install
poetry cache clear --all pypi
poetry update
poetry install --all-extras
Contributing code
You can install your CLI tool locally to test it:
pip install --editable .
This command installs the package in editable mode, which means changes to the source files will immediately affect the installed package without needing a reinstallation.
Available commands
init
Initialize a new Morph project.
Example:
morph init
new
Create a new Morph project directory.
Example:
morph new ~/Downloads/test
run
Run an SQL or Python file and produce the results in the output file.
Example:
# Run a Python file
morph run ~/Downloads/test/src/canvas/canvas1/example_python_cell.py
# Run an SQL file
morph run ~/Downloads/test/src/canvas/canvas1/example_sql_cell.sql
create-file
Create a new file with the specified settings.
Example:
morph create-file ~/Downloads/test/src/canvas/canvas1/hello.py '{"x": 0, "y": 0, "w": 0, "h": 0}' "print('Hello, World!')" transform '[]' English
update-file
Update the content of an existing file.
Example:
morph update-file ~/Downloads/test/src/canvas/canvas1/hello.py "print('Updated content')"
delete-file
Delete a specified file.
Example:
morph delete-file ~/Downloads/test/src/canvas/canvas1/hello.py
Metadata
Release files for morph-cli 0.2.39
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| morph_cli-0.2.39.tar.gz | 37.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| morph_cli-0.2.39-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 85.5 kB
Release files / morph_cli-0.2.39.tar.gz
| Download URL | morph_cli-0.2.39.tar.gz |
|---|---|
| Size | 37.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
87ccf0061188ebb9823edef3d7af6fa0495b95972581c4c25578d9b402c8bde3
|
|
BLAKE2b-256 checksum How to use checksums |
85c4c0fd71429a8bcdabb3fb393f2d8f1703428559a6b17180434a962e4e36ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.12.2 Darwin/23.5.0
|
Release files / morph_cli-0.2.39-py3-none-any.whl
| Download URL | morph_cli-0.2.39-py3-none-any.whl |
|---|---|
| Size | 47.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d79a3a961d509ce7825e2744655c9a5f8036e6dcf62ec582aa1b64782a6f37ca
|
|
BLAKE2b-256 checksum How to use checksums |
356bcf560aac7eedbb7e65d3f197171210a4c372b29219bdc20ed1e7e60ca6aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.12.2 Darwin/23.5.0
|
Security for morph-cli 0.2.39
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.