Skip to main content

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 ‘.[morph-project]’

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.

How to Publish

This project uses poetry to manage dependencies and packaging. To publish a new version of the package, run the following command:

First, update the version in pyproject.toml file.

poetry version patch
git commit -am "Bump version"
git push origin main

If you want to update the version of morphdb-utils, you can do it by editing the template file:

vim core/morph/task/template/pyproject.toml
git commit -am "Update template file"
git push origin main

Publish the package:

poetry publish --build

How to Install the package

First, create a virtual environment and activate it:

python -m venv venv
source venv/bin/activate

Install the dependencies:

pip install morphdb-utils
pip install 'morphdb-utils[morph-project]'

Import the package:

❯ python
Python 3.11.8 (main, Jun 11 2024, 14:34:56) [Clang 15.0.0 (clang-1500.3.9.4)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>
>>> from morphdb_utils import annotations

Metadata

Release files for morphdb-utils 0.2.53

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for morphdb-utils 0.2.53
File Size Uploaded Provenance
morphdb_utils-0.2.53.tar.gz 78.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for morphdb-utils 0.2.53
File Interpreter ABI Platform
morphdb_utils-0.2.53-py3-none-any.whl Python 3 none any Details

Total release size: 191.7 kB

Release files / morphdb_utils-0.2.53.tar.gz

Download URL morphdb_utils-0.2.53.tar.gz
Size 78.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ac61b8070916996e1e945b3990b89ae5bad19adc6819d49d9e87f4da033edf22
BLAKE2b-256 checksum
How to use checksums
f797096066ca3023582c4238306493d3ddd1d2290cf9dd0a81d6259a4eb0674a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.12.4 Darwin/23.6.0

Release files / morphdb_utils-0.2.53-py3-none-any.whl

Download URL morphdb_utils-0.2.53-py3-none-any.whl
Size 113.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
31a7f22c7e900dc222d1dd49b4eb4fd98d0ed01f77b600c86e00f02ae2f45ab6
BLAKE2b-256 checksum
How to use checksums
559793282ee0397c832b121d87d22d7325962cd3774dc25bce633812ebef6579
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.12.4 Darwin/23.6.0

Security for morphdb-utils 0.2.53

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.

Release history Release notifications | RSS feed

This release

0.2.53 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page