phimaker 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- phimaker-0.1.0/.github/workflows/python.yml +114 -0
- phimaker-0.1.0/.gitignore +75 -0
- phimaker-0.1.0/.gitmodules +3 -0
- phimaker-0.1.0/Cargo.lock +720 -0
- phimaker-0.1.0/Cargo.toml +21 -0
- phimaker-0.1.0/PKG-INFO +31 -0
- phimaker-0.1.0/README.md +20 -0
- phimaker-0.1.0/examples/big_test.py +196 -0
- phimaker-0.1.0/examples/cylinder_test.py +53 -0
- phimaker-0.1.0/examples/test.py +48 -0
- phimaker-0.1.0/examples/test_annotated.mat +14 -0
- phimaker-0.1.0/examples/timing_test.py +108 -0
- phimaker-0.1.0/examples/torus_test.py +218 -0
- phimaker-0.1.0/examples/washboard_test.py +98 -0
- phimaker-0.1.0/fig/5pack.png +0 -0
- phimaker-0.1.0/fig/5pack_torus.png +0 -0
- phimaker-0.1.0/fig/pointcloud.png +0 -0
- phimaker-0.1.0/fig/pointcloud_torus.png +0 -0
- phimaker-0.1.0/pyproject.toml +20 -0
- phimaker-0.1.0/python/phimaker/__init__.py +2 -0
- phimaker-0.1.0/python/phimaker/_washboard_interface.py +199 -0
- phimaker-0.1.0/src/builders.rs +112 -0
- phimaker-0.1.0/src/cylinder.rs +263 -0
- phimaker-0.1.0/src/diagrams.rs +261 -0
- phimaker-0.1.0/src/ensemble.rs +260 -0
- phimaker-0.1.0/src/indexing.rs +166 -0
- phimaker-0.1.0/src/lib.rs +103 -0
- phimaker-0.1.0/src/utils.rs +44 -0
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
# This file is (almost) autogenerated by maturin v1.0.1
|
|
2
|
+
# To update, run
|
|
3
|
+
#
|
|
4
|
+
# maturin generate-ci github --pytest
|
|
5
|
+
#
|
|
6
|
+
name: Python Release
|
|
7
|
+
|
|
8
|
+
on:
|
|
9
|
+
release:
|
|
10
|
+
types: [published]
|
|
11
|
+
|
|
12
|
+
permissions:
|
|
13
|
+
contents: read
|
|
14
|
+
|
|
15
|
+
jobs:
|
|
16
|
+
linux:
|
|
17
|
+
runs-on: ubuntu-latest
|
|
18
|
+
strategy:
|
|
19
|
+
matrix:
|
|
20
|
+
target: [x86_64, x86, aarch64, armv7, s390x, ppc64le]
|
|
21
|
+
steps:
|
|
22
|
+
- uses: actions/checkout@v3
|
|
23
|
+
- uses: actions/setup-python@v4
|
|
24
|
+
with:
|
|
25
|
+
python-version: "3.10"
|
|
26
|
+
- name: Build wheels
|
|
27
|
+
uses: PyO3/maturin-action@v1
|
|
28
|
+
with:
|
|
29
|
+
target: ${{ matrix.target }}
|
|
30
|
+
args: --release --out dist --find-interpreter
|
|
31
|
+
sccache: 'true'
|
|
32
|
+
manylinux: auto
|
|
33
|
+
- name: Upload wheels
|
|
34
|
+
uses: actions/upload-artifact@v3
|
|
35
|
+
with:
|
|
36
|
+
name: wheels
|
|
37
|
+
path: dist
|
|
38
|
+
|
|
39
|
+
windows:
|
|
40
|
+
runs-on: windows-latest
|
|
41
|
+
strategy:
|
|
42
|
+
matrix:
|
|
43
|
+
target: [x64, x86]
|
|
44
|
+
steps:
|
|
45
|
+
- uses: actions/checkout@v3
|
|
46
|
+
- uses: actions/setup-python@v4
|
|
47
|
+
with:
|
|
48
|
+
python-version: "3.10"
|
|
49
|
+
architecture: ${{ matrix.target }}
|
|
50
|
+
- name: Build wheels
|
|
51
|
+
uses: PyO3/maturin-action@v1
|
|
52
|
+
with:
|
|
53
|
+
target: ${{ matrix.target }}
|
|
54
|
+
args: --release --out dist --find-interpreter
|
|
55
|
+
sccache: 'true'
|
|
56
|
+
- name: Upload wheels
|
|
57
|
+
uses: actions/upload-artifact@v3
|
|
58
|
+
with:
|
|
59
|
+
name: wheels
|
|
60
|
+
path: dist
|
|
61
|
+
|
|
62
|
+
# macos:
|
|
63
|
+
# runs-on: macos-latest
|
|
64
|
+
# strategy:
|
|
65
|
+
# matrix:
|
|
66
|
+
# target: [x86_64, aarch64]
|
|
67
|
+
# steps:
|
|
68
|
+
# - uses: actions/checkout@v3
|
|
69
|
+
# - uses: actions/setup-python@v4
|
|
70
|
+
# with:
|
|
71
|
+
# python-version: "3.10"
|
|
72
|
+
# - name: Build wheels
|
|
73
|
+
# uses: PyO3/maturin-action@v1
|
|
74
|
+
# with:
|
|
75
|
+
# target: ${{ matrix.target }}
|
|
76
|
+
# args: --release --out dist --find-interpreter
|
|
77
|
+
# sccache: 'true'
|
|
78
|
+
# - name: Upload wheels
|
|
79
|
+
# uses: actions/upload-artifact@v3
|
|
80
|
+
# with:
|
|
81
|
+
# name: wheels
|
|
82
|
+
# path: dist
|
|
83
|
+
|
|
84
|
+
sdist:
|
|
85
|
+
runs-on: ubuntu-latest
|
|
86
|
+
steps:
|
|
87
|
+
- uses: actions/checkout@v3
|
|
88
|
+
- name: Build sdist
|
|
89
|
+
uses: PyO3/maturin-action@v1
|
|
90
|
+
with:
|
|
91
|
+
command: sdist
|
|
92
|
+
args: --out dist
|
|
93
|
+
- name: Upload sdist
|
|
94
|
+
uses: actions/upload-artifact@v3
|
|
95
|
+
with:
|
|
96
|
+
name: wheels
|
|
97
|
+
path: dist
|
|
98
|
+
|
|
99
|
+
release:
|
|
100
|
+
name: Release
|
|
101
|
+
runs-on: ubuntu-latest
|
|
102
|
+
#needs: [linux, windows, macos, sdist]
|
|
103
|
+
needs: [linux, windows, sdist]
|
|
104
|
+
steps:
|
|
105
|
+
- uses: actions/download-artifact@v3
|
|
106
|
+
with:
|
|
107
|
+
name: wheels
|
|
108
|
+
- name: Publish to PyPI
|
|
109
|
+
uses: PyO3/maturin-action@v1
|
|
110
|
+
env:
|
|
111
|
+
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
|
|
112
|
+
with:
|
|
113
|
+
command: upload
|
|
114
|
+
args: --skip-existing *
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
data
|
|
2
|
+
private
|
|
3
|
+
/target
|
|
4
|
+
|
|
5
|
+
# Byte-compiled / optimized / DLL files
|
|
6
|
+
__pycache__/
|
|
7
|
+
.pytest_cache/
|
|
8
|
+
*.py[cod]
|
|
9
|
+
|
|
10
|
+
# C extensions
|
|
11
|
+
*.so
|
|
12
|
+
|
|
13
|
+
# Distribution / packaging
|
|
14
|
+
.Python
|
|
15
|
+
.venv/
|
|
16
|
+
.env/
|
|
17
|
+
env/
|
|
18
|
+
bin/
|
|
19
|
+
build/
|
|
20
|
+
develop-eggs/
|
|
21
|
+
dist/
|
|
22
|
+
eggs/
|
|
23
|
+
lib/
|
|
24
|
+
lib64/
|
|
25
|
+
parts/
|
|
26
|
+
sdist/
|
|
27
|
+
var/
|
|
28
|
+
include/
|
|
29
|
+
man/
|
|
30
|
+
venv/
|
|
31
|
+
*.egg-info/
|
|
32
|
+
.installed.cfg
|
|
33
|
+
*.egg
|
|
34
|
+
|
|
35
|
+
# Installer logs
|
|
36
|
+
pip-log.txt
|
|
37
|
+
pip-delete-this-directory.txt
|
|
38
|
+
pip-selfcheck.json
|
|
39
|
+
|
|
40
|
+
# Unit test / coverage reports
|
|
41
|
+
htmlcov/
|
|
42
|
+
.tox/
|
|
43
|
+
.coverage
|
|
44
|
+
.cache
|
|
45
|
+
nosetests.xml
|
|
46
|
+
coverage.xml
|
|
47
|
+
|
|
48
|
+
# Translations
|
|
49
|
+
*.mo
|
|
50
|
+
|
|
51
|
+
# Mr Developer
|
|
52
|
+
.mr.developer.cfg
|
|
53
|
+
.project
|
|
54
|
+
.pydevproject
|
|
55
|
+
|
|
56
|
+
# Rope
|
|
57
|
+
.ropeproject
|
|
58
|
+
|
|
59
|
+
# Django stuff:
|
|
60
|
+
*.log
|
|
61
|
+
*.pot
|
|
62
|
+
|
|
63
|
+
.DS_Store
|
|
64
|
+
|
|
65
|
+
# Sphinx documentation
|
|
66
|
+
docs/_build/
|
|
67
|
+
|
|
68
|
+
# PyCharm
|
|
69
|
+
.idea/
|
|
70
|
+
|
|
71
|
+
# VSCode
|
|
72
|
+
.vscode/
|
|
73
|
+
|
|
74
|
+
# Pyenv
|
|
75
|
+
.python-version
|