# SWCGEOM
[](https://github.com/yzx9/swcgeom/actions/workflows/test.yml)
[](https://github.com/yzx9/swcgeom/releases)
[](https://pypi.org/project/swcgeom/)
A neuron geometry library for swc format.
## Usage
See examples for details.
## Development
```bash
# clone repo
git clone git@github.com:yzx9/swcgeom.git
cd swcgeom
# install dependencies
python -m pip install --upgrade pip
pip install build
# install editable version
pip install --editable .
```
Static analysis don't support import hook used in editable install for
[PEP660](https://peps.python.org/pep-0660/) since upgrade to setuptools v64+,
detail information at [setuptools#3518](https://github.com/pypa/setuptools/issues/3518),
a workaround for vscode with pylance:
```json
{
"python.analysis.extraPaths": ["/path/to/this/project"]
}
```
## LICENSE
This work is licensed under a
<a rel="license" href="https://www.apache.org/licenses/">Apache-2.0</a>.
Copyright (c) 2022-present, Zexin Yuan
Raw data
{
"_id": null,
"home_page": null,
"name": "swcgeom",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": "neuroscience, neuron, neuroanatomy, neuron-morphology",
"author": null,
"author_email": "yzx9 <pypi@yzx9.xyz>",
"download_url": null,
"platform": null,
"description": "# SWCGEOM\n\n[](https://github.com/yzx9/swcgeom/actions/workflows/test.yml)\n[](https://github.com/yzx9/swcgeom/releases)\n[](https://pypi.org/project/swcgeom/)\n\nA neuron geometry library for swc format.\n\n## Usage\n\nSee examples for details.\n\n## Development\n\n```bash\n# clone repo\ngit clone git@github.com:yzx9/swcgeom.git\ncd swcgeom\n\n# install dependencies\npython -m pip install --upgrade pip\npip install build\n\n# install editable version\npip install --editable .\n```\n\nStatic analysis don't support import hook used in editable install for\n[PEP660](https://peps.python.org/pep-0660/) since upgrade to setuptools v64+,\ndetail information at [setuptools#3518](https://github.com/pypa/setuptools/issues/3518),\na workaround for vscode with pylance:\n\n```json\n{\n \"python.analysis.extraPaths\": [\"/path/to/this/project\"]\n}\n```\n\n## LICENSE\n\nThis work is licensed under a\n<a rel=\"license\" href=\"https://www.apache.org/licenses/\">Apache-2.0</a>.\n\nCopyright (c) 2022-present, Zexin Yuan\n",
"bugtrack_url": null,
"license": null,
"summary": "Neuron geometry library for swc format",
"version": "0.20.0",
"project_urls": {
"repository": "https://github.com/yzx9/swcgeom"
},
"split_keywords": [
"neuroscience",
" neuron",
" neuroanatomy",
" neuron-morphology"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "c24c5da4c09e4495cf163cabde61afd8e8d6286437799f136235aee157857442",
"md5": "8073baa74a674ccacb5e0286745f76b4",
"sha256": "a19ef1ea4a3bf238b053ac1d1ade4dea05671946277708a24f6a716a1e448290"
},
"downloads": -1,
"filename": "swcgeom-0.20.0-cp310-cp310-macosx_11_0_arm64.whl",
"has_sig": false,
"md5_digest": "8073baa74a674ccacb5e0286745f76b4",
"packagetype": "bdist_wheel",
"python_version": "cp310",
"requires_python": ">=3.10",
"size": 262549,
"upload_time": "2025-08-24T13:38:02",
"upload_time_iso_8601": "2025-08-24T13:38:02.789195Z",
"url": "https://files.pythonhosted.org/packages/c2/4c/5da4c09e4495cf163cabde61afd8e8d6286437799f136235aee157857442/swcgeom-0.20.0-cp310-cp310-macosx_11_0_arm64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "5a053e6799c0908cf57390327cbcb35a973469e6d273b827cbb09dca85e2c7cf",
"md5": "7963d4cb16822cac83ae1ede5a48fcbc",
"sha256": "98d51266e59be6ace617037bea514272ebcf76fdadb9e8ccf10204283141fe42"
},
"downloads": -1,
"filename": "swcgeom-0.20.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"has_sig": false,
"md5_digest": "7963d4cb16822cac83ae1ede5a48fcbc",
"packagetype": "bdist_wheel",
"python_version": "cp310",
"requires_python": ">=3.10",
"size": 984679,
"upload_time": "2025-08-24T13:38:04",
"upload_time_iso_8601": "2025-08-24T13:38:04.141446Z",
"url": "https://files.pythonhosted.org/packages/5a/05/3e6799c0908cf57390327cbcb35a973469e6d273b827cbb09dca85e2c7cf/swcgeom-0.20.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "fdc033e3c808f90034898ee71a93843a0b93138912292bc6b553cc7dd69599a6",
"md5": "794ccc03befcad51e7df372df4b44b14",
"sha256": "af67029d155b66754ba9900bc6d9ee487d529dbaa932f8dbc88a4b1f45b95b8f"
},
"downloads": -1,
"filename": "swcgeom-0.20.0-cp310-cp310-win_amd64.whl",
"has_sig": false,
"md5_digest": "794ccc03befcad51e7df372df4b44b14",
"packagetype": "bdist_wheel",
"python_version": "cp310",
"requires_python": ">=3.10",
"size": 255329,
"upload_time": "2025-08-24T13:38:05",
"upload_time_iso_8601": "2025-08-24T13:38:05.717388Z",
"url": "https://files.pythonhosted.org/packages/fd/c0/33e3c808f90034898ee71a93843a0b93138912292bc6b553cc7dd69599a6/swcgeom-0.20.0-cp310-cp310-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "f161eb9d8ab5afb407a510d23df9ee2ef4a456e640e896c02007199836926e91",
"md5": "55b2e8af2552e00fc1393a49545a874f",
"sha256": "28bee804175cedc15f26df0198e6588d5423b025011ae2cfcaff95e7aae79f2a"
},
"downloads": -1,
"filename": "swcgeom-0.20.0-cp311-cp311-macosx_10_9_universal2.whl",
"has_sig": false,
"md5_digest": "55b2e8af2552e00fc1393a49545a874f",
"packagetype": "bdist_wheel",
"python_version": "cp311",
"requires_python": ">=3.10",
"size": 405930,
"upload_time": "2025-08-24T13:38:07",
"upload_time_iso_8601": "2025-08-24T13:38:07.130068Z",
"url": "https://files.pythonhosted.org/packages/f1/61/eb9d8ab5afb407a510d23df9ee2ef4a456e640e896c02007199836926e91/swcgeom-0.20.0-cp311-cp311-macosx_10_9_universal2.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "5e5442a6385d9a60e72d1e4ade8f437066ebd781be51fcbc269e8cee45da42c7",
"md5": "90d3e6ab87e1606f232998f9863611e2",
"sha256": "f11f66da7c01101822d7357e7ce4cc0538ef5d3a0484d7b9b7b3bc9c8bb6c10e"
},
"downloads": -1,
"filename": "swcgeom-0.20.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl",
"has_sig": false,
"md5_digest": "90d3e6ab87e1606f232998f9863611e2",
"packagetype": "bdist_wheel",
"python_version": "cp311",
"requires_python": ">=3.10",
"size": 1087341,
"upload_time": "2025-08-24T13:38:08",
"upload_time_iso_8601": "2025-08-24T13:38:08.093773Z",
"url": "https://files.pythonhosted.org/packages/5e/54/42a6385d9a60e72d1e4ade8f437066ebd781be51fcbc269e8cee45da42c7/swcgeom-0.20.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "3e10fe60bc905713781774303752ce120dd626701c77cd09c862490d3dfa5459",
"md5": "2b9031d2a661249c7a1c27a6b7717431",
"sha256": "656ec4a5060f0b28a9ffd3736841dcb6dcbcc58dcb10ce061d480919e502d8e0"
},
"downloads": -1,
"filename": "swcgeom-0.20.0-cp311-cp311-win_amd64.whl",
"has_sig": false,
"md5_digest": "2b9031d2a661249c7a1c27a6b7717431",
"packagetype": "bdist_wheel",
"python_version": "cp311",
"requires_python": ">=3.10",
"size": 255518,
"upload_time": "2025-08-24T13:38:10",
"upload_time_iso_8601": "2025-08-24T13:38:10.172898Z",
"url": "https://files.pythonhosted.org/packages/3e/10/fe60bc905713781774303752ce120dd626701c77cd09c862490d3dfa5459/swcgeom-0.20.0-cp311-cp311-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "f7ca72ad7be875e1e7bb59ef6cbad2409a59b620e2c26e9ad4b35fe1c50a662c",
"md5": "6fe4e6112484aeabcabb4be3afd24713",
"sha256": "5fdb0df704df41b6f43119e71614caf0eb297bccf3aaad4f0196c2b984bffc84"
},
"downloads": -1,
"filename": "swcgeom-0.20.0-cp312-cp312-macosx_15_0_arm64.whl",
"has_sig": false,
"md5_digest": "6fe4e6112484aeabcabb4be3afd24713",
"packagetype": "bdist_wheel",
"python_version": "cp312",
"requires_python": ">=3.10",
"size": 262300,
"upload_time": "2025-08-24T13:38:11",
"upload_time_iso_8601": "2025-08-24T13:38:11.059624Z",
"url": "https://files.pythonhosted.org/packages/f7/ca/72ad7be875e1e7bb59ef6cbad2409a59b620e2c26e9ad4b35fe1c50a662c/swcgeom-0.20.0-cp312-cp312-macosx_15_0_arm64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "4bb21d06f71e7d4ec5c40be1d8b8061cecb13e3931aec4b00c5150c7faec43cc",
"md5": "1d2832d01ab3c9c2ee27b5afde9cd273",
"sha256": "60cc6e434b031c555bf5c133ca151fc4683f8bdf17d6d336d501a5538520177b"
},
"downloads": -1,
"filename": "swcgeom-0.20.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl",
"has_sig": false,
"md5_digest": "1d2832d01ab3c9c2ee27b5afde9cd273",
"packagetype": "bdist_wheel",
"python_version": "cp312",
"requires_python": ">=3.10",
"size": 1103000,
"upload_time": "2025-08-24T13:38:11",
"upload_time_iso_8601": "2025-08-24T13:38:11.956236Z",
"url": "https://files.pythonhosted.org/packages/4b/b2/1d06f71e7d4ec5c40be1d8b8061cecb13e3931aec4b00c5150c7faec43cc/swcgeom-0.20.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "310350a705afc63dd1b34e35616f003901772174af9ea28c217a734c8fad7c4a",
"md5": "bddf37d13fef69d0e569b61773ee4ec6",
"sha256": "23859218735a120423a7146071df5a46dd1141ab8c6161bcfb4477e06ae4c636"
},
"downloads": -1,
"filename": "swcgeom-0.20.0-cp312-cp312-win_amd64.whl",
"has_sig": false,
"md5_digest": "bddf37d13fef69d0e569b61773ee4ec6",
"packagetype": "bdist_wheel",
"python_version": "cp312",
"requires_python": ">=3.10",
"size": 255125,
"upload_time": "2025-08-24T13:38:12",
"upload_time_iso_8601": "2025-08-24T13:38:12.928573Z",
"url": "https://files.pythonhosted.org/packages/31/03/50a705afc63dd1b34e35616f003901772174af9ea28c217a734c8fad7c4a/swcgeom-0.20.0-cp312-cp312-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "d28d8cdc2c4c2d44ee1eff3453cebbbacea000580508569934d8b6c677148e4c",
"md5": "9883f73c5c88c452ee05ccd763077842",
"sha256": "e4db1621460dbb7fe0eb5449f50735c4d38f74aeff65d500fa62715461cb9aca"
},
"downloads": -1,
"filename": "swcgeom-0.20.0-cp313-cp313-macosx_15_0_arm64.whl",
"has_sig": false,
"md5_digest": "9883f73c5c88c452ee05ccd763077842",
"packagetype": "bdist_wheel",
"python_version": "cp313",
"requires_python": ">=3.10",
"size": 259800,
"upload_time": "2025-08-24T13:38:14",
"upload_time_iso_8601": "2025-08-24T13:38:14.147487Z",
"url": "https://files.pythonhosted.org/packages/d2/8d/8cdc2c4c2d44ee1eff3453cebbbacea000580508569934d8b6c677148e4c/swcgeom-0.20.0-cp313-cp313-macosx_15_0_arm64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "a4313ee5ae1211a163c042c481bfc02fb74ab81474d8dc12d260072ef853d165",
"md5": "f1aed4f232f1698741272bfaff17f5e2",
"sha256": "ed384cd49293805a7f48106db9b63f2e7ef455ac5b0b8a3d85134b47d2a6981c"
},
"downloads": -1,
"filename": "swcgeom-0.20.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl",
"has_sig": false,
"md5_digest": "f1aed4f232f1698741272bfaff17f5e2",
"packagetype": "bdist_wheel",
"python_version": "cp313",
"requires_python": ">=3.10",
"size": 1083412,
"upload_time": "2025-08-24T13:38:15",
"upload_time_iso_8601": "2025-08-24T13:38:15.149867Z",
"url": "https://files.pythonhosted.org/packages/a4/31/3ee5ae1211a163c042c481bfc02fb74ab81474d8dc12d260072ef853d165/swcgeom-0.20.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "89453cc887265799666ee26ec609aa286c042d6b31a0120233444c2d72ff04fb",
"md5": "2aa532fdcba53fc84f9d97317fb4503c",
"sha256": "36b1588ca77cfdd4235f58e2f48fe50147950ee6a03e568d3d62cf2ba3741418"
},
"downloads": -1,
"filename": "swcgeom-0.20.0-cp313-cp313-win_amd64.whl",
"has_sig": false,
"md5_digest": "2aa532fdcba53fc84f9d97317fb4503c",
"packagetype": "bdist_wheel",
"python_version": "cp313",
"requires_python": ">=3.10",
"size": 254046,
"upload_time": "2025-08-24T13:38:16",
"upload_time_iso_8601": "2025-08-24T13:38:16.197523Z",
"url": "https://files.pythonhosted.org/packages/89/45/3cc887265799666ee26ec609aa286c042d6b31a0120233444c2d72ff04fb/swcgeom-0.20.0-cp313-cp313-win_amd64.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-24 13:38:02",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "yzx9",
"github_project": "swcgeom",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "swcgeom"
}