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
Built Distribution
File details
Details for the file morphdb_utils-0.2.41.tar.gz
.
File metadata
- Download URL: morphdb_utils-0.2.41.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.2 Darwin/23.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6d6eb5cae45e4a674ee58f879aed584e2daec9d6ee2a45cf7ea1f9373365beb |
|
MD5 | 077442ccbda8750921c942904204837d |
|
BLAKE2b-256 | a9071ffa796afef41239b39031a0c0c920143a949e55b5dcb4522af05b124d49 |
File details
Details for the file morphdb_utils-0.2.41-py3-none-any.whl
.
File metadata
- Download URL: morphdb_utils-0.2.41-py3-none-any.whl
- Upload date:
- Size: 14.5 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52bc87745960bd6c51cb9aa015c320f8ea01f03773d10874ea865ef805e3cc57 |
|
MD5 | d07fa53f885470d8e8e1dcab6e32b80b |
|
BLAKE2b-256 | 700de627f58137c360af5f1b587e316121a40a02b9591bf52cea0aa8ae1028be |