Skip to main content

No project description provided

Project description

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.

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
git checkout main
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

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

morphdb_utils-0.2.42.tar.gz (37.9 kB view details)

Uploaded Source

Built Distribution

morphdb_utils-0.2.42-py3-none-any.whl (47.8 kB view details)

Uploaded Python 3

File details

Details for the file morphdb_utils-0.2.42.tar.gz.

File metadata

  • Download URL: morphdb_utils-0.2.42.tar.gz
  • Upload date:
  • Size: 37.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.2 Darwin/23.5.0

File hashes

Hashes for morphdb_utils-0.2.42.tar.gz
Algorithm Hash digest
SHA256 b5a2769a8b1681fa5b6b64fec54a6c68085200f670c426f0c5972bda1f45f697
MD5 2274b4f020f5415b4bec8a84b088ad18
BLAKE2b-256 8bdceb8a0592d123cf5f7c6aa3a9ec115263bae1e25fdd14d33b4afb73baee5d

See more details on using hashes here.

File details

Details for the file morphdb_utils-0.2.42-py3-none-any.whl.

File metadata

  • Download URL: morphdb_utils-0.2.42-py3-none-any.whl
  • Upload date:
  • Size: 47.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.2 Darwin/23.5.0

File hashes

Hashes for morphdb_utils-0.2.42-py3-none-any.whl
Algorithm Hash digest
SHA256 d2999de480119859a5a2e240ebbbdc7121beb9075d2add2e2ec9c31076de333b
MD5 ad93737fc99f5cbbc05e3be468026fc0
BLAKE2b-256 237b125ce7a2cc8f0d4d4f461ee2fc857f215162a711cc2aa190344bb673d922

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page