Metadata-Version: 2.4
Name: pyd3js-axis
Version: 0.1.0
Summary: Python port of d3-axis
Project-URL: Repository, https://github.com/eddiethedean/pyd3js
Project-URL: Homepage, https://github.com/eddiethedean/pyd3js/tree/main/packages/pyd3js-axis
Author: pyd3 contributors
License: ISC License
        
        Copyright (c) 2026, pyd3 contributors
        
        Permission to use, copy, modify, and/or distribute this software for any
        purpose with or without fee is hereby granted, provided that the above
        copyright notice and this permission notice appear in all copies.
        
        THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
        REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
        AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
        INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
        LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
        OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
        PERFORMANCE OF THIS SOFTWARE.
License-File: LICENSE
Keywords: d3,d3-axis,svg,visualization
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: ISC License (ISCL)
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Typing :: Typed
Requires-Python: >=3.10
Description-Content-Type: text/markdown

# pyd3js-axis

Python port of [`d3-axis`](https://github.com/d3/d3-axis) targeting **d3-axis@3.0.0** (see [`upstream_lock.json`](../../upstream_lock.json)).

**Current release:** `0.1.0` (see [`docs/CHANGELOG.md`](docs/CHANGELOG.md)).

## Compatibility (d3-axis@3.0.0)

- `axisTop` — [unit + transition path + upstream test port]
- `axisRight` — [unit + transition path + upstream test port]
- `axisBottom` — [unit + transition path + upstream test port]
- `axisLeft` — [unit + transition path + upstream test port]

**Transition note:** `Selection.transition()` returns a synchronous **end-state** `Transition` (no timers). This matches the final DOM after a d3 transition for the built-in axis behavior.

## Documentation

| Doc | Purpose |
| --- | --- |
| [docs/UPSTREAM_API.md](docs/UPSTREAM_API.md) | Upstream export list |
| [docs/USER_GUIDE.md](docs/USER_GUIDE.md) | Usage and transition semantics |
| [docs/CHANGELOG.md](docs/CHANGELOG.md) | Release notes |
| [docs/ROADMAP.md](docs/ROADMAP.md) | Follow-on work |
| [docs/UPSTREAM_UPDATE.md](docs/UPSTREAM_UPDATE.md) | How to bump the upstream pin |

## Development

```bash
uv run pytest packages/pyd3js-axis/package_tests --cov=pyd3js_axis --cov-report=term-missing
uv run ruff check packages/pyd3js-axis
uv run ty check packages/pyd3js-axis/src
```

Optional gates (when vendored / tools are present):

```bash
uv run pytest packages/pyd3js-axis/package_tests -m upstream
```
