{"id":20603547,"url":"https://github.com/galacticdynamics/quaxed","last_synced_at":"2025-04-15T02:06:37.791Z","repository":{"id":213760726,"uuid":"732262318","full_name":"GalacticDynamics/quaxed","owner":"GalacticDynamics","description":"Pre-quaxed libraries for use in multiple dispatch over abstract array types in JAX.","archived":false,"fork":false,"pushed_at":"2025-04-09T04:14:56.000Z","size":419,"stargazers_count":4,"open_issues_count":4,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-15T02:06:23.433Z","etag":null,"topics":["array","array-api","ducktyping","jax","multiple-dispatch"],"latest_commit_sha":null,"homepage":"https://quaxed.readthedocs.io/en/latest/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GalacticDynamics.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-16T04:56:07.000Z","updated_at":"2025-04-09T04:14:59.000Z","dependencies_parsed_at":"2024-04-24T04:43:37.310Z","dependency_job_id":"aa1814d8-eff5-43ef-9aea-40ee56dec74d","html_url":"https://github.com/GalacticDynamics/quaxed","commit_stats":null,"previous_names":["galacticdynamics/array-api-jax-compat"],"tags_count":46,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GalacticDynamics%2Fquaxed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GalacticDynamics%2Fquaxed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GalacticDynamics%2Fquaxed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GalacticDynamics%2Fquaxed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GalacticDynamics","download_url":"https://codeload.github.com/GalacticDynamics/quaxed/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248991544,"owners_count":21194894,"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","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":["array","array-api","ducktyping","jax","multiple-dispatch"],"created_at":"2024-11-16T09:17:45.216Z","updated_at":"2025-04-15T02:06:37.785Z","avatar_url":"https://github.com/GalacticDynamics.png","language":"Python","readme":"\u003ch1 align='center'\u003e quaxed \u003c/h1\u003e\n\u003ch3 align=\"center\"\u003ePre-\u003ccode\u003eQuaxify\u003c/code\u003e'ed \u003ccode\u003eJAX\u003c/code\u003e\u003c/h3\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://pypi.org/project/quaxed/\"\u003e \u003cimg alt=\"PyPI: quaxed\" src=\"https://img.shields.io/pypi/v/quaxed?style=flat\" /\u003e \u003c/a\u003e\n    \u003ca href=\"https://pypi.org/project/quaxed/\"\u003e \u003cimg alt=\"PyPI versions: quaxed\" src=\"https://img.shields.io/pypi/pyversions/quaxed\" /\u003e \u003c/a\u003e\n    \u003ca href=\"https://quaxed.readthedocs.io/en/\"\u003e \u003cimg alt=\"ReadTheDocs\" src=\"https://img.shields.io/badge/read_docs-here-orange\" /\u003e \u003c/a\u003e\n    \u003ca href=\"https://pypi.org/project/quaxed/\"\u003e \u003cimg alt=\"quaxed license\" src=\"https://img.shields.io/github/license/GalacticDynamics/quaxed\" /\u003e \u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/GalacticDynamics/quaxed/actions/workflows/ci.yml\"\u003e \u003cimg alt=\"CI status\" src=\"https://github.com/GalacticDynamics/quaxed/actions/workflows/ci.yml/badge.svg?branch=main\" /\u003e \u003c/a\u003e\n    \u003ca href=\"https://quaxed.readthedocs.io/en/\"\u003e \u003cimg alt=\"ReadTheDocs\" src=\"https://readthedocs.org/projects/quaxed/badge/?version=latest\" /\u003e \u003c/a\u003e\n    \u003ca href=\"https://codecov.io/gh/GalacticDynamics/quaxed\"\u003e \u003cimg alt=\"codecov\" src=\"https://codecov.io/gh/GalacticDynamics/quaxed/graph/badge.svg\" /\u003e \u003c/a\u003e\n    \u003ca href=\"https://scientific-python.org/specs/spec-0000/\"\u003e \u003cimg alt=\"ruff\" src=\"https://img.shields.io/badge/SPEC-0-green?labelColor=%23004811\u0026color=%235CA038\" /\u003e \u003c/a\u003e\n    \u003ca href=\"https://docs.astral.sh/ruff/\"\u003e \u003cimg alt=\"ruff\" src=\"https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json\" /\u003e \u003c/a\u003e\n    \u003ca href=\"https://pre-commit.com\"\u003e \u003cimg alt=\"pre-commit\" src=\"https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit\" /\u003e \u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n`Quaxed` wraps [jax](https://jax.readthedocs.io/en/latest/) libraries (using\n[`quax`](https://docs.kidger.site/quax/)) to enable using those libraries with\ncustom array-ish objects, not only jax arrays.\n\n## Installation\n\n[![PyPI version][pypi-version]][pypi-link]\n[![PyPI platforms][pypi-platforms]][pypi-link]\n\n\u003c!-- [![Conda-Forge][conda-badge]][conda-link] --\u003e\n\n```bash\npip install quaxed\n```\n\n## Documentation\n\n[![Read The Docs](https://img.shields.io/badge/read_docs-here-orange)](https://unxt.readthedocs.io/en/)\n\n### Quick Start\n\nTo understand how `quax` works it's magic, see\n[`quax.quaxify`](https://docs.kidger.site/quax/api/quax/#quax.quaxify) and the\n[tutorials](https://docs.kidger.site/quax/examples/custom_rules/).\n\nTo use this library, it's as simple as:\n\n```pycon\n# Import pre-quaxified library\n\u003e\u003e\u003e import quaxed.numpy as jnp  # this is quaxify(jax.numpy)\n\n# As an example, let's import an array-ish object\n\u003e\u003e\u003e from unxt import Quantity\n\u003e\u003e\u003e x = Quantity(2, \"km\")\n\u003e\u003e\u003e jnp.square(w)\nQuantity['area'](Array(4, dtype=int64, weak_type=True), unit='km2')\n```\n\n## Development\n\n[![Actions Status][actions-badge]][actions-link]\n[![Documentation Status][rtd-badge]][rtd-link]\n[![codecov][codecov-badge]][codecov-link]\n[![SPEC 0 — Minimum Supported Dependencies][spec0-badge]][spec0-link]\n[![pre-commit][pre-commit-badge]][pre-commit-link]\n[![ruff][ruff-badge]][ruff-link]\n\nWe welcome contributions!\n\n## Citation\n\n[![DOI][zenodo-badge]][zenodo-link]\n\nIf you found this library to be useful and want to support the development and\nmaintenance of lower-level utility libraries for the scientific community,\nplease consider citing this work.\n\n\u003c!-- prettier-ignore-start --\u003e\n[actions-badge]:            https://github.com/GalacticDynamics/quaxed/workflows/CI/badge.svg\n[actions-link]:             https://github.com/GalacticDynamics/quaxed/actions\n[codecov-badge]:            https://codecov.io/gh/GalacticDynamics/quaxed/graph/badge.svg?token=9G19ONVD3U\n[codecov-link]:             https://codecov.io/gh/GalacticDynamics/quaxed\n[pre-commit-badge]:         https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit\n[pre-commit-link]:          https://pre-commit.com\n[pypi-link]:                https://pypi.org/project/quaxed/\n[pypi-platforms]:           https://img.shields.io/pypi/pyversions/quaxed\n[pypi-version]:             https://img.shields.io/pypi/v/quaxed\n[rtd-badge]:                https://readthedocs.org/projects/quaxed/badge/?version=latest\n[rtd-link]:                 https://quaxed.readthedocs.io/en/latest/?badge=latest\n[ruff-badge]:               https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json\n[ruff-link]:                https://docs.astral.sh/ruff/\n[spec0-badge]:              https://img.shields.io/badge/SPEC-0-green?labelColor=%23004811\u0026color=%235CA038\n[spec0-link]:               https://scientific-python.org/specs/spec-0000/\n[zenodo-badge]:             https://zenodo.org/badge/732262318.svg\n[zenodo-link]:              https://zenodo.org/doi/10.5281/zenodo.10850521\n\n\u003c!-- prettier-ignore-end --\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgalacticdynamics%2Fquaxed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgalacticdynamics%2Fquaxed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgalacticdynamics%2Fquaxed/lists"}