From eb776529591e828ba390914733de093ea99677b3 Mon Sep 17 00:00:00 2001 From: wobrschalek Date: Wed, 25 Feb 2026 11:55:10 -0800 Subject: [PATCH 1/2] Update README.md --- README.md | 32 ++++++++++++++++++++++++++++---- 1 file changed, 28 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f9b37c9..d0ea63b 100644 --- a/README.md +++ b/README.md @@ -15,9 +15,7 @@ A basic Python client library for interacting with a SysML v2 API server, specif * Includes basic error handling and custom exceptions. ## Setup - ### 1. Run Flexo SysMLv2 Service Locally - This client is designed to work with a running instance of the OpenMBEE Flexo SysMLv2 service. * **Prerequisites:** Docker and Docker Compose installed. @@ -31,7 +29,6 @@ This client is designed to work with a running instance of the OpenMBEE Flexo Sy ### 2. Install Client (Development) - ```python # Example: Add src to path if running scripts/notebooks from project root import sys @@ -42,7 +39,6 @@ from sysmlv2_client import SysMLV2Client ``` ## Basic Usage - ```python from sysmlv2_client import SysMLV2Client, SysMLV2Error from pprint import pprint @@ -122,3 +118,31 @@ Unit tests are implemented using `pytest` and `requests-mock`. ```bash pytest ``` + +## API +### Basic v2 API +* get_projects +* create_project +* delete_project +* get_project_by_id +* get_element +* get_owned_elements +* create_commit +* get_commit_by_id +* list_commits +* list_branches +* create_branch +* get_branch_by_id +* list_tags +* create_tag +* get_tag_by_id +* list_elements +* list_relationships + +### Convenience functions +* create_sysml_project +* get_project_by_name +* commit_to_project +* get_last_commit_from_project +* create_branch + From d0a93c57dae8544098d9a82218261cf56786d2d6 Mon Sep 17 00:00:00 2001 From: wobrschalek Date: Thu, 26 Feb 2026 11:10:58 -0800 Subject: [PATCH 2/2] test with python 3.12.9 --- examples/basic_usage.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/basic_usage.ipynb b/examples/basic_usage.ipynb index 9546526..06be418 100644 --- a/examples/basic_usage.ipynb +++ b/examples/basic_usage.ipynb @@ -777,7 +777,7 @@ ], "metadata": { "kernelspec": { - "display_name": "Python 3", + "display_name": ".venv (3.12.9)", "language": "python", "name": "python3" }, @@ -791,7 +791,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.7" + "version": "3.12.9" } }, "nbformat": 4,