Skip to content

Commit af9d73c

Browse files
authored
Merge pull request #74 from autonomousvision/dev_v0.0.8
Merge `dev_v0.0.8` branch into `main`
2 parents 7935973 + c64aed2 commit af9d73c

File tree

316 files changed

+17384
-9029
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

316 files changed

+17384
-9029
lines changed

.flake8

Lines changed: 0 additions & 22 deletions
This file was deleted.

.github/workflows/deploy-docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: docs
33
on:
44
push:
55
branches:
6-
- main # Change this to your branch name (e.g., docs, dev, etc.)
6+
- main
77
workflow_dispatch: # Allows manual triggering
88

99
permissions:

.github/workflows/pre-commit.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: pre-commit
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches: [main]
7+
8+
jobs:
9+
pre-commit:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v3
13+
- uses: actions/setup-python@v3
14+
- uses: pre-commit/[email protected]

.github/workflows/pytest.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: pytest
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Set up Python ${{ matrix.python-version }}
17+
uses: actions/setup-python@v4
18+
with:
19+
python-version: ${{ matrix.python-version }}
20+
- name: Install dependencies
21+
run: |
22+
pip install uv
23+
uv pip install --system -e ".[dev]"
24+
- name: Test with pytest
25+
run: |
26+
pytest

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,14 @@
2424
*.log
2525
*.mp4
2626
exp/
27+
.coverage
2728

2829
# Sphinx documentation
2930
docs/_build/
3031
docs/build/
3132
_build/
3233
.doctrees/
3334

34-
jbwang_*
35+
36+
# ruff
37+
.ruff_cache/*

.isort.cfg

Lines changed: 0 additions & 7 deletions
This file was deleted.

.pre-commit-config.yaml

Lines changed: 6 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -18,31 +18,14 @@ repos:
1818
exclude: /README\.rst$|\.pot?$|\.ipynb$
1919
args: ['--no-sort-keys', "--autofix"]
2020

21-
- repo: https://github.com/pycqa/isort
22-
rev: 6.0.1
21+
- repo: https://github.com/astral-sh/ruff-pre-commit
22+
rev: v0.14.6
2323
hooks:
24-
- id: isort
25-
name: isort (python)
26-
args: ["--profile", "black", "--filter-files", '--line-length', '120']
24+
- id: ruff-check # Run the linter.
25+
args: [--fix]
26+
exclude: __init__.py$
27+
- id: ruff-format # Run the formatter.
2728
exclude: __init__.py$
28-
- repo: https://github.com/ambv/black
29-
rev: 25.1.0
30-
hooks:
31-
- id: black
32-
language_version: python3.12
33-
args: ['--line-length=120']
34-
files: "\\.py$"
35-
- repo: https://github.com/myint/autoflake
36-
rev: v2.3.1
37-
hooks:
38-
- id: autoflake
39-
args: ['--in-place', '--remove-all-unused-imports', '--remove-unused-variable']
40-
exclude: __init__.py$
41-
language_version: python3.12
42-
- repo: https://github.com/pycqa/flake8
43-
rev: 7.3.0
44-
hooks:
45-
- id: flake8
4629
- repo: https://github.com/kynan/nbstripout
4730
rev: 0.8.1
4831
hooks:

README.md

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,30 @@
11
<h1 align="center">
22
<picture>
3-
<source media="(prefers-color-scheme: dark)" srcset="assets/logo/123D_logo_transparent_white.svg" width="500">
4-
<source media="(prefers-color-scheme: light)" srcset="assets/logo/123D_logo_transparent_black.svg" width="500">
5-
<img alt="Logo" src="assets/logo/123D_logo_transparent_black.svg" width="500">
3+
<source media="(prefers-color-scheme: dark)" srcset="https://autonomousvision.github.io/py123d/_static/123D_logo_transparent_white.svg" width="500">
4+
<source media="(prefers-color-scheme: light)" srcset="https://autonomousvision.github.io/py123d/_static/123D_logo_transparent_black.svg" width="500">
5+
<img alt="Logo" src="https://autonomousvision.github.io/py123d/_static/123D_logo_transparent_black.svg" width="500">
66
</picture>
7-
<h2 align="center">123D: One Library for 2D and 3D Driving Datasets</h1>
7+
<h2 align="center">123D: A Library for Driving Datasets</h1>
8+
<h3 align="center"><a href="https://youtu.be/Q4q29fpXnx8">Video</a> | <a href="https://autonomousvision.github.io/py123d/">Documentation</a>
89
</h1>
10+
11+
12+
## Features
13+
14+
- Unified API for driving data, including sensor data, maps, and labels.
15+
- Support for multiple sensors storage formats.
16+
- Fast dataformat based on [Apache Arrow](https://arrow.apache.org/).
17+
- Visualization tools with [matplotlib](https://matplotlib.org/) and [Viser](https://viser.studio/main/).
18+
19+
20+
> **Warning**
21+
>
22+
> This library is under active development and not stable. The API and features may change in future releases.
23+
> Please report issues, feature requests, or other feedback by opening an issue.
24+
25+
26+
## Changelog
27+
28+
- **`[2025-11-21]`** v0.0.8 (silent release)
29+
- Release of package and documentation.
30+
- Demo data for tutorials.

assets/logo/123D_favicon.svg

Lines changed: 91 additions & 0 deletions
Loading

docs/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
You can install relevant dependencies for editing the public documentation via:
2+
```sh
3+
pip install -e .[docs]
4+
```
5+
6+
It is recommended to uses [sphinx-autobuild](https://github.com/sphinx-doc/sphinx-autobuild) (installed above) to edit and view the documentation. You can run:
7+
8+
```sh
9+
sphinx-autobuild docs docs/_build/html
10+
```

0 commit comments

Comments
 (0)