{"id":32440532,"url":"https://github.com/wpbonelli/xattree","last_synced_at":"2026-01-20T17:40:07.544Z","repository":{"id":278310310,"uuid":"933491785","full_name":"wpbonelli/xattree","owner":"wpbonelli","description":"attrs + xarray data tree = xattree","archived":false,"fork":false,"pushed_at":"2025-10-23T17:43:32.000Z","size":275,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":5,"default_branch":"develop","last_synced_at":"2025-10-23T18:34:11.484Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://xattree.readthedocs.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wpbonelli.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-02-16T04:44:50.000Z","updated_at":"2025-10-23T17:43:34.000Z","dependencies_parsed_at":"2025-02-19T05:21:58.611Z","dependency_job_id":"834a1341-696d-4207-b120-bcd28ad41571","html_url":"https://github.com/wpbonelli/xattree","commit_stats":null,"previous_names":["modflowpy/xattree","wpbonelli/xattree"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wpbonelli/xattree","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpbonelli%2Fxattree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpbonelli%2Fxattree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpbonelli%2Fxattree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpbonelli%2Fxattree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wpbonelli","download_url":"https://codeload.github.com/wpbonelli/xattree/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpbonelli%2Fxattree/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281047794,"owners_count":26435124,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-25T02:00:06.499Z","response_time":81,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-26T01:48:59.570Z","updated_at":"2025-10-26T01:49:00.492Z","avatar_url":"https://github.com/wpbonelli.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# xattree\n\n\u003cimg src=\"./docs/_static/xattree.png\" alt=\"xattree logo\" width=\"200\"/\u003e\n\n[![CI](https://github.com/modflowpy/xattree/actions/workflows/ci.yml/badge.svg)](https://github.com/modflowpy/xattree/actions/workflows/ci.yml)\n[![Docs](https://readthedocs.org/projects/xattree/badge/?version=latest)](https://xattree.readthedocs.io/en/latest/?badge=latest)\n[![GitHub contributors](https://img.shields.io/github/contributors/modflowpy/xattree)](https://img.shields.io/github/contributors/modflowpy/xattree)\n\n`attrs` + `xarray.DataTree` = `xattree`\n\n\"exa-tree\", or \"cat tree\" if you like.\n\n**Warning**: This project is experimental. It is *not* meant for production. Use at your own risk.\n\n```python\nimport numpy as np\nfrom numpy.typing import NDArray\nfrom xattree import xattree, dim, array, field, ROOT \n\n@xattree\nclass Grid:\n    x: int = dim(scope=ROOT, default=3)\n    y: int = dim(scope=ROOT, default=3)\n\n@xattree\nclass Arrs:\n    a: NDArray[np.float64] = array(default=0.0, dims=(\"x\", \"y\"))\n\n@xattree\nclass Root:\n    grid: Grid = field()\n    arrs: Arrs = field()\n\ngrid = Grid()\nroot = Root(grid=grid)\narrs = Arrs(parent=root)\nroot.data\n\u003cxarray.DataTree 'root'\u003e\nGroup: /\n│   Dimensions:  (x: 3, y: 3)\n│   Coordinates:\n│     * x         (x) int64 24B 0 1 2\n│     * y         (y) int64 24B 0 1 2\n├── Group: /grid\n│       Attributes:\n│           x:        3\n│           y:        3\n└── Group: /arrs\n        Dimensions:  (x: 3, y: 3)\n        Data variables:\n            a        (x, y) float64 72B 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwpbonelli%2Fxattree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwpbonelli%2Fxattree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwpbonelli%2Fxattree/lists"}