graph-segment


Namegraph-segment JSON
Version 0.0.2 PyPI version JSON
download
home_pageNone
SummaryGraph-based image segmentation
upload_time2025-10-06 17:18:12
maintainerNone
docs_urlNone
authorNone
requires_pythonNone
licenseNone
keywords graph segmentation tracking
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Graph Segment Algorithms for Graph Neural Network-based Tracking

### Installation
```bash
pip install graph_segment
```

### Test
Download the data `python3 download_data.py`. And then `./build/bin/walk_through data/debug_graph.dot`.


### Developer Guide
Install a Python virtual environment and activate it:
```bash
python3 -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install cibuildwheel build twine
```

Then you can run
```bash
pipx run cibuildwheel --platform linux
```

### Packing and Uploading
```bash
python3 -m build
twine upload dist/*
```
#### Note
The code was improved by `OpenAI o1Pro` model. The execution time was reduced from 403 ms to 190 ms.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "graph-segment",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "graph, segmentation, tracking",
    "author": null,
    "author_email": "Xiangyang Ju <xju@lbl.gov>",
    "download_url": "https://files.pythonhosted.org/packages/f9/e2/382b7ec1a68f9faf9730aadc747945a33881f7960e243602bb0ae9cd568e/graph_segment-0.0.2.tar.gz",
    "platform": null,
    "description": "# Graph Segment Algorithms for Graph Neural Network-based Tracking\n\n### Installation\n```bash\npip install graph_segment\n```\n\n### Test\nDownload the data `python3 download_data.py`. And then `./build/bin/walk_through data/debug_graph.dot`.\n\n\n### Developer Guide\nInstall a Python virtual environment and activate it:\n```bash\npython3 -m venv .venv\nsource .venv/bin/activate\npip install --upgrade pip\npip install cibuildwheel build twine\n```\n\nThen you can run\n```bash\npipx run cibuildwheel --platform linux\n```\n\n### Packing and Uploading\n```bash\npython3 -m build\ntwine upload dist/*\n```\n#### Note\nThe code was improved by `OpenAI o1Pro` model. The execution time was reduced from 403 ms to 190 ms.\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Graph-based image segmentation",
    "version": "0.0.2",
    "project_urls": {
        "Homepage": "https://github.com/xju2/graph_segment_for_gnn_tracking"
    },
    "split_keywords": [
        "graph",
        " segmentation",
        " tracking"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "444440ae4ebba7d0040ad3fbfcabb64c1f54ad5cc8eb1594e0411467991c39f4",
                "md5": "e15d80ef10c2c98192f81bc2541765be",
                "sha256": "33f25c4a61cd329b08ca335baffe20be9636658852732e373a98bfc27ccf4737"
            },
            "downloads": -1,
            "filename": "graph_segment-0.0.2-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "e15d80ef10c2c98192f81bc2541765be",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": null,
            "size": 93020,
            "upload_time": "2025-10-06T17:17:51",
            "upload_time_iso_8601": "2025-10-06T17:17:51.924349Z",
            "url": "https://files.pythonhosted.org/packages/44/44/40ae4ebba7d0040ad3fbfcabb64c1f54ad5cc8eb1594e0411467991c39f4/graph_segment-0.0.2-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "835354b6fba9fb0291d86a4a76b531984a09c918e257b8823c2f04b7ed0a14e2",
                "md5": "99ea09f8db9fea601f0e7cf86a219a32",
                "sha256": "ef0f333a8ede0afb49ecd65ee21352f61e6ba3c64049edc5f761c74cada47bcf"
            },
            "downloads": -1,
            "filename": "graph_segment-0.0.2-cp310-cp310-musllinux_1_2_x86_64.whl",
            "has_sig": false,
            "md5_digest": "99ea09f8db9fea601f0e7cf86a219a32",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": null,
            "size": 1126211,
            "upload_time": "2025-10-06T17:17:53",
            "upload_time_iso_8601": "2025-10-06T17:17:53.343012Z",
            "url": "https://files.pythonhosted.org/packages/83/53/54b6fba9fb0291d86a4a76b531984a09c918e257b8823c2f04b7ed0a14e2/graph_segment-0.0.2-cp310-cp310-musllinux_1_2_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "c71bb28a6657e6c25948ddacf711c53e8d8fdc6fa1c302193bc4ca18052d0e97",
                "md5": "8feb2d3dd1a06f9ebfa2f3aaf686ac36",
                "sha256": "e0ca7ca9a9614a134c6afed5e852db9be5823af71860c2bb6019fcfc2bcf932e"
            },
            "downloads": -1,
            "filename": "graph_segment-0.0.2-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "8feb2d3dd1a06f9ebfa2f3aaf686ac36",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": null,
            "size": 94576,
            "upload_time": "2025-10-06T17:17:54",
            "upload_time_iso_8601": "2025-10-06T17:17:54.868536Z",
            "url": "https://files.pythonhosted.org/packages/c7/1b/b28a6657e6c25948ddacf711c53e8d8fdc6fa1c302193bc4ca18052d0e97/graph_segment-0.0.2-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "33aa3a3fb7d4ac0317c769fa18fd7d0b63fe8c47d815b80b76d62126d69e0ded",
                "md5": "3963e9243c9f34abadc57705f87b5d9b",
                "sha256": "1c4d46adb9a1911d6264d78972bd190dc6b520855c636b5a391e1d58b706a726"
            },
            "downloads": -1,
            "filename": "graph_segment-0.0.2-cp311-cp311-musllinux_1_2_x86_64.whl",
            "has_sig": false,
            "md5_digest": "3963e9243c9f34abadc57705f87b5d9b",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": null,
            "size": 1128021,
            "upload_time": "2025-10-06T17:17:56",
            "upload_time_iso_8601": "2025-10-06T17:17:56.223365Z",
            "url": "https://files.pythonhosted.org/packages/33/aa/3a3fb7d4ac0317c769fa18fd7d0b63fe8c47d815b80b76d62126d69e0ded/graph_segment-0.0.2-cp311-cp311-musllinux_1_2_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "6ad7b032a1d386ffd673c93c3fdcc18cbac6a3b949c0b731881d0a0fbc0397d7",
                "md5": "4832d03229099eda5ce37c35c843b1f0",
                "sha256": "845120245771ff6cda0babb3bbd1f2d088ff5ed9b0722de947bc85017713e3f9"
            },
            "downloads": -1,
            "filename": "graph_segment-0.0.2-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "4832d03229099eda5ce37c35c843b1f0",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": null,
            "size": 95672,
            "upload_time": "2025-10-06T17:17:57",
            "upload_time_iso_8601": "2025-10-06T17:17:57.299956Z",
            "url": "https://files.pythonhosted.org/packages/6a/d7/b032a1d386ffd673c93c3fdcc18cbac6a3b949c0b731881d0a0fbc0397d7/graph_segment-0.0.2-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "cf166857dad8c1e346936e1b3ebb8e95554c829a5a978588889e8f52a2a244da",
                "md5": "18f627eda870ee95abc2104dd07ccd5d",
                "sha256": "3b29351ba48cff772a5418dbe858ac6282613f1415ea47624e435c3159b9b992"
            },
            "downloads": -1,
            "filename": "graph_segment-0.0.2-cp312-cp312-musllinux_1_2_x86_64.whl",
            "has_sig": false,
            "md5_digest": "18f627eda870ee95abc2104dd07ccd5d",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": null,
            "size": 1129009,
            "upload_time": "2025-10-06T17:17:58",
            "upload_time_iso_8601": "2025-10-06T17:17:58.701863Z",
            "url": "https://files.pythonhosted.org/packages/cf/16/6857dad8c1e346936e1b3ebb8e95554c829a5a978588889e8f52a2a244da/graph_segment-0.0.2-cp312-cp312-musllinux_1_2_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "9dc70df69fbbcd895da3c49e52091690e10215043702920c1e8fe2275ebf9868",
                "md5": "5f8f2203277389771942933ebf1c84db",
                "sha256": "e30b439af27dca2048592505d2edac98154413202791af43286690598df6da22"
            },
            "downloads": -1,
            "filename": "graph_segment-0.0.2-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "5f8f2203277389771942933ebf1c84db",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": null,
            "size": 95488,
            "upload_time": "2025-10-06T17:17:59",
            "upload_time_iso_8601": "2025-10-06T17:17:59.687335Z",
            "url": "https://files.pythonhosted.org/packages/9d/c7/0df69fbbcd895da3c49e52091690e10215043702920c1e8fe2275ebf9868/graph_segment-0.0.2-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "31d9fdc54c64fa18589d4778230cb80b3e029b36f126807cbc2bc3edbf7a7d82",
                "md5": "d51ead09ca0c04509d0d25c4711d9d93",
                "sha256": "692b547e4f25f823b082c0649f3f2f6f689b9df628c1c59c6b3164c6da73ad16"
            },
            "downloads": -1,
            "filename": "graph_segment-0.0.2-cp313-cp313-musllinux_1_2_x86_64.whl",
            "has_sig": false,
            "md5_digest": "d51ead09ca0c04509d0d25c4711d9d93",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": null,
            "size": 1128713,
            "upload_time": "2025-10-06T17:18:00",
            "upload_time_iso_8601": "2025-10-06T17:18:00.745524Z",
            "url": "https://files.pythonhosted.org/packages/31/d9/fdc54c64fa18589d4778230cb80b3e029b36f126807cbc2bc3edbf7a7d82/graph_segment-0.0.2-cp313-cp313-musllinux_1_2_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "df6a40b1cf76f669ee79312303e220ba2ef2211534a18836f703601ca68f4191",
                "md5": "6cb845183d4918a16ce24eabffc159f7",
                "sha256": "b0a6643eca730290633788d03392844cc2d37a2f35dca0d2656f4361450e9a77"
            },
            "downloads": -1,
            "filename": "graph_segment-0.0.2-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "6cb845183d4918a16ce24eabffc159f7",
            "packagetype": "bdist_wheel",
            "python_version": "cp314",
            "requires_python": null,
            "size": 95531,
            "upload_time": "2025-10-06T17:18:01",
            "upload_time_iso_8601": "2025-10-06T17:18:01.864643Z",
            "url": "https://files.pythonhosted.org/packages/df/6a/40b1cf76f669ee79312303e220ba2ef2211534a18836f703601ca68f4191/graph_segment-0.0.2-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "4503aa1f9200d165e911591840ea67269b86eb00d599eab707e103f8344edfc2",
                "md5": "e2621adf29f91056df46dd3fddf58c03",
                "sha256": "3f174323fdfd31d5ed1dd5b1e310d7164ba9d758e7f8f2419de83b6e5411d3d5"
            },
            "downloads": -1,
            "filename": "graph_segment-0.0.2-cp314-cp314-musllinux_1_2_x86_64.whl",
            "has_sig": false,
            "md5_digest": "e2621adf29f91056df46dd3fddf58c03",
            "packagetype": "bdist_wheel",
            "python_version": "cp314",
            "requires_python": null,
            "size": 1128904,
            "upload_time": "2025-10-06T17:18:03",
            "upload_time_iso_8601": "2025-10-06T17:18:03.312127Z",
            "url": "https://files.pythonhosted.org/packages/45/03/aa1f9200d165e911591840ea67269b86eb00d599eab707e103f8344edfc2/graph_segment-0.0.2-cp314-cp314-musllinux_1_2_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "1f4dbfc32ac359a370930b22bcdf9cf47957312a5a0aa7fea426d7043a948cfb",
                "md5": "2b3d6c90ae4349f7e4166a63cddf7c98",
                "sha256": "6f88be3afe69ac354e9b8d9383de5f02e9e79a561d0bf3005f99ce4cd8ef93fa"
            },
            "downloads": -1,
            "filename": "graph_segment-0.0.2-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "2b3d6c90ae4349f7e4166a63cddf7c98",
            "packagetype": "bdist_wheel",
            "python_version": "cp314",
            "requires_python": null,
            "size": 96247,
            "upload_time": "2025-10-06T17:18:04",
            "upload_time_iso_8601": "2025-10-06T17:18:04.964551Z",
            "url": "https://files.pythonhosted.org/packages/1f/4d/bfc32ac359a370930b22bcdf9cf47957312a5a0aa7fea426d7043a948cfb/graph_segment-0.0.2-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "2cd040c3751e5e39288c98246367e33f8724089cbb8b44e870009cf208da6dd9",
                "md5": "ab1f2ee57fed38fb6f4ef1ce0c59e3fb",
                "sha256": "10044454958bf2f752e6c253054f4d371f9114aa172dae4b722af348ee91f99b"
            },
            "downloads": -1,
            "filename": "graph_segment-0.0.2-cp314-cp314t-musllinux_1_2_x86_64.whl",
            "has_sig": false,
            "md5_digest": "ab1f2ee57fed38fb6f4ef1ce0c59e3fb",
            "packagetype": "bdist_wheel",
            "python_version": "cp314",
            "requires_python": null,
            "size": 1129485,
            "upload_time": "2025-10-06T17:18:06",
            "upload_time_iso_8601": "2025-10-06T17:18:06.068447Z",
            "url": "https://files.pythonhosted.org/packages/2c/d0/40c3751e5e39288c98246367e33f8724089cbb8b44e870009cf208da6dd9/graph_segment-0.0.2-cp314-cp314t-musllinux_1_2_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "ee75f30bca3dd43ac242ac5db7b91bdbd07efbb6b35764461e2a6cf6449b3ad3",
                "md5": "7a3f1f2eae1d7b95287bf28566132f31",
                "sha256": "2bfb7442879922fea5704e44e945dab0bfba6600ce5416f5c2c4728f6a7e22a3"
            },
            "downloads": -1,
            "filename": "graph_segment-0.0.2-cp38-cp38-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "7a3f1f2eae1d7b95287bf28566132f31",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": null,
            "size": 92717,
            "upload_time": "2025-10-06T17:18:07",
            "upload_time_iso_8601": "2025-10-06T17:18:07.879330Z",
            "url": "https://files.pythonhosted.org/packages/ee/75/f30bca3dd43ac242ac5db7b91bdbd07efbb6b35764461e2a6cf6449b3ad3/graph_segment-0.0.2-cp38-cp38-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "fd40290501a5c9f88309a381f9ade790b617c5a9772f52ed88d73f7957971731",
                "md5": "a4bb45438c64bbb98bc61d8bcc21a4b1",
                "sha256": "948e9e6272c4f882dbbd39ec870282224284d79ad3c3d5ac09dd14188d6c9fde"
            },
            "downloads": -1,
            "filename": "graph_segment-0.0.2-cp38-cp38-musllinux_1_2_x86_64.whl",
            "has_sig": false,
            "md5_digest": "a4bb45438c64bbb98bc61d8bcc21a4b1",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": null,
            "size": 1126085,
            "upload_time": "2025-10-06T17:18:08",
            "upload_time_iso_8601": "2025-10-06T17:18:08.965083Z",
            "url": "https://files.pythonhosted.org/packages/fd/40/290501a5c9f88309a381f9ade790b617c5a9772f52ed88d73f7957971731/graph_segment-0.0.2-cp38-cp38-musllinux_1_2_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "455b6c37547f36a756322fa41d3342ba7627cbd1a56630a3ef1bebb2c9a47ec0",
                "md5": "8eb8bf075e60b536b11c1b9512c4b5f4",
                "sha256": "742a13146697b9fc3b698b137054dd940d54d5da66daf1aae1a5462b5ea11b01"
            },
            "downloads": -1,
            "filename": "graph_segment-0.0.2-cp39-cp39-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "8eb8bf075e60b536b11c1b9512c4b5f4",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": null,
            "size": 93047,
            "upload_time": "2025-10-06T17:18:10",
            "upload_time_iso_8601": "2025-10-06T17:18:10.028129Z",
            "url": "https://files.pythonhosted.org/packages/45/5b/6c37547f36a756322fa41d3342ba7627cbd1a56630a3ef1bebb2c9a47ec0/graph_segment-0.0.2-cp39-cp39-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "f57e8d0dde1bda5c652d28291cfec7f5a4305685d7861ba442e18a3e479d55c6",
                "md5": "998a3e1e331336bbe41456fb94036d4b",
                "sha256": "bfd7a40987185212f4dac305d1d82853361c054ff3307d76e57be5a8e6666782"
            },
            "downloads": -1,
            "filename": "graph_segment-0.0.2-cp39-cp39-musllinux_1_2_x86_64.whl",
            "has_sig": false,
            "md5_digest": "998a3e1e331336bbe41456fb94036d4b",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": null,
            "size": 1126327,
            "upload_time": "2025-10-06T17:18:11",
            "upload_time_iso_8601": "2025-10-06T17:18:11.445787Z",
            "url": "https://files.pythonhosted.org/packages/f5/7e/8d0dde1bda5c652d28291cfec7f5a4305685d7861ba442e18a3e479d55c6/graph_segment-0.0.2-cp39-cp39-musllinux_1_2_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "f9e2382b7ec1a68f9faf9730aadc747945a33881f7960e243602bb0ae9cd568e",
                "md5": "3243e7cc8038379352327afe5eb024dd",
                "sha256": "eb5ddfca98580290ddc4778d63b2e28bb75ba3a52b773f3d13f769107ae687a5"
            },
            "downloads": -1,
            "filename": "graph_segment-0.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "3243e7cc8038379352327afe5eb024dd",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 10797,
            "upload_time": "2025-10-06T17:18:12",
            "upload_time_iso_8601": "2025-10-06T17:18:12.464304Z",
            "url": "https://files.pythonhosted.org/packages/f9/e2/382b7ec1a68f9faf9730aadc747945a33881f7960e243602bb0ae9cd568e/graph_segment-0.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-10-06 17:18:12",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "xju2",
    "github_project": "graph_segment_for_gnn_tracking",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "graph-segment"
}
        
Elapsed time: 1.17480s