Skip to content

Commit 7d22ffb

Browse files
committed
initialized and added code nav and text search features
0 parents  commit 7d22ffb

Some content is hidden

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

53 files changed

+17308
-0
lines changed

.github/workflows/CI.yml

Lines changed: 138 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
1+
# This file is autogenerated by maturin v1.5.1
2+
# To update, run
3+
#
4+
# maturin generate-ci github
5+
#
6+
name: CI
7+
8+
on:
9+
push:
10+
branches:
11+
- main
12+
- master
13+
tags:
14+
- '*'
15+
pull_request:
16+
workflow_dispatch:
17+
18+
permissions:
19+
contents: read
20+
21+
jobs:
22+
linux:
23+
runs-on: ${{ matrix.platform.runner }}
24+
strategy:
25+
matrix:
26+
platform:
27+
- runner: ubuntu-latest
28+
target: x86_64
29+
- runner: ubuntu-latest
30+
target: x86
31+
- runner: ubuntu-latest
32+
target: aarch64
33+
- runner: ubuntu-latest
34+
target: armv7
35+
- runner: ubuntu-latest
36+
target: s390x
37+
- runner: ubuntu-latest
38+
target: ppc64le
39+
steps:
40+
- uses: actions/checkout@v4
41+
- uses: actions/setup-python@v5
42+
with:
43+
python-version: '3.10'
44+
- name: Build wheels
45+
uses: PyO3/maturin-action@v1
46+
with:
47+
target: ${{ matrix.platform.target }}
48+
args: --release --out dist --find-interpreter
49+
sccache: 'true'
50+
manylinux: auto
51+
- name: Upload wheels
52+
uses: actions/upload-artifact@v4
53+
with:
54+
name: wheels-linux-${{ matrix.platform.target }}
55+
path: dist
56+
57+
windows:
58+
runs-on: ${{ matrix.platform.runner }}
59+
strategy:
60+
matrix:
61+
platform:
62+
- runner: windows-latest
63+
target: x64
64+
- runner: windows-latest
65+
target: x86
66+
steps:
67+
- uses: actions/checkout@v4
68+
- uses: actions/setup-python@v5
69+
with:
70+
python-version: '3.10'
71+
architecture: ${{ matrix.platform.target }}
72+
- name: Build wheels
73+
uses: PyO3/maturin-action@v1
74+
with:
75+
target: ${{ matrix.platform.target }}
76+
args: --release --out dist --find-interpreter
77+
sccache: 'true'
78+
- name: Upload wheels
79+
uses: actions/upload-artifact@v4
80+
with:
81+
name: wheels-windows-${{ matrix.platform.target }}
82+
path: dist
83+
84+
macos:
85+
runs-on: ${{ matrix.platform.runner }}
86+
strategy:
87+
matrix:
88+
platform:
89+
- runner: macos-latest
90+
target: x86_64
91+
- runner: macos-14
92+
target: aarch64
93+
steps:
94+
- uses: actions/checkout@v4
95+
- uses: actions/setup-python@v5
96+
with:
97+
python-version: '3.10'
98+
- name: Build wheels
99+
uses: PyO3/maturin-action@v1
100+
with:
101+
target: ${{ matrix.platform.target }}
102+
args: --release --out dist --find-interpreter
103+
sccache: 'true'
104+
- name: Upload wheels
105+
uses: actions/upload-artifact@v4
106+
with:
107+
name: wheels-macos-${{ matrix.platform.target }}
108+
path: dist
109+
110+
sdist:
111+
runs-on: ubuntu-latest
112+
steps:
113+
- uses: actions/checkout@v4
114+
- name: Build sdist
115+
uses: PyO3/maturin-action@v1
116+
with:
117+
command: sdist
118+
args: --out dist
119+
- name: Upload sdist
120+
uses: actions/upload-artifact@v4
121+
with:
122+
name: wheels-sdist
123+
path: dist
124+
125+
release:
126+
name: Release
127+
runs-on: ubuntu-latest
128+
if: "startsWith(github.ref, 'refs/tags/')"
129+
needs: [linux, windows, macos, sdist]
130+
steps:
131+
- uses: actions/download-artifact@v4
132+
- name: Publish to PyPI
133+
uses: PyO3/maturin-action@v1
134+
env:
135+
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
136+
with:
137+
command: upload
138+
args: --non-interactive --skip-existing wheels-*/*

.gitignore

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
/target
2+
3+
# Byte-compiled / optimized / DLL files
4+
__pycache__/
5+
.pytest_cache/
6+
*.py[cod]
7+
8+
# C extensions
9+
*.so
10+
11+
# Distribution / packaging
12+
.Python
13+
.venv/
14+
env/
15+
bin/
16+
build/
17+
develop-eggs/
18+
dist/
19+
eggs/
20+
lib/
21+
lib64/
22+
parts/
23+
sdist/
24+
var/
25+
include/
26+
man/
27+
venv/
28+
*.egg-info/
29+
.installed.cfg
30+
*.egg
31+
32+
# Installer logs
33+
pip-log.txt
34+
pip-delete-this-directory.txt
35+
pip-selfcheck.json
36+
37+
# Unit test / coverage reports
38+
htmlcov/
39+
.tox/
40+
.coverage
41+
.cache
42+
nosetests.xml
43+
coverage.xml
44+
45+
# Translations
46+
*.mo
47+
48+
# Mr Developer
49+
.mr.developer.cfg
50+
.project
51+
.pydevproject
52+
53+
# Rope
54+
.ropeproject
55+
56+
# Django stuff:
57+
*.log
58+
*.pot
59+
60+
.DS_Store
61+
62+
# Sphinx documentation
63+
docs/_build/
64+
65+
# PyCharm
66+
.idea/
67+
68+
# VSCode
69+
.vscode/
70+
71+
# Pyenv
72+
.python-version

0 commit comments

Comments
 (0)