darn-dmap 0.1.1__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.
- darn_dmap-0.1.1/.github/workflows/CI.yml +139 -0
- darn_dmap-0.1.1/.idea/.gitignore +3 -0
- darn_dmap-0.1.1/.idea/dmap.iml +13 -0
- darn_dmap-0.1.1/.idea/inspectionProfiles/profiles_settings.xml +6 -0
- darn_dmap-0.1.1/.idea/misc.xml +4 -0
- darn_dmap-0.1.1/.idea/modules.xml +8 -0
- darn_dmap-0.1.1/.idea/vcs.xml +6 -0
- darn_dmap-0.1.1/Cargo.lock +905 -0
- darn_dmap-0.1.1/Cargo.toml +27 -0
- darn_dmap-0.1.1/PKG-INFO +9 -0
- darn_dmap-0.1.1/README.md +3 -0
- darn_dmap-0.1.1/benches/io_benchmarking.rs +81 -0
- darn_dmap-0.1.1/pyproject.toml +6 -0
- darn_dmap-0.1.1/src/error.rs +93 -0
- darn_dmap-0.1.1/src/formats/dmap.rs +371 -0
- darn_dmap-0.1.1/src/formats/fitacf.rs +267 -0
- darn_dmap-0.1.1/src/formats/grid.rs +159 -0
- darn_dmap-0.1.1/src/formats/iqdat.rs +195 -0
- darn_dmap-0.1.1/src/formats/map.rs +252 -0
- darn_dmap-0.1.1/src/formats/mod.rs +7 -0
- darn_dmap-0.1.1/src/formats/rawacf.rs +181 -0
- darn_dmap-0.1.1/src/formats/snd.rs +170 -0
- darn_dmap-0.1.1/src/lib.rs +267 -0
- darn_dmap-0.1.1/src/types.rs +1150 -0
- darn_dmap-0.1.1/tests/test_files/test.fitacf +0 -0
- darn_dmap-0.1.1/tests/test_files/test.grid +0 -0
- darn_dmap-0.1.1/tests/test_files/test.iqdat +0 -0
- darn_dmap-0.1.1/tests/test_files/test.map +0 -0
- darn_dmap-0.1.1/tests/test_files/test.rawacf +0 -0
- darn_dmap-0.1.1/tests/test_files/test.snd +0 -0
- darn_dmap-0.1.1/tests/tests.rs +163 -0
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
# This file is autogenerated by maturin v1.6.0
|
|
2
|
+
# To update, run
|
|
3
|
+
#
|
|
4
|
+
# maturin generate-ci github --platform linux --platform windows --platform macos
|
|
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.x
|
|
44
|
+
- name: Build wheels
|
|
45
|
+
uses: PyO3/maturin-action@v1
|
|
46
|
+
with:
|
|
47
|
+
target: ${{ matrix.platform.target }}
|
|
48
|
+
args: --release --out dist
|
|
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.x
|
|
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
|
|
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-12
|
|
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.x
|
|
98
|
+
- name: Build wheels
|
|
99
|
+
uses: PyO3/maturin-action@v1
|
|
100
|
+
with:
|
|
101
|
+
target: ${{ matrix.platform.target }}
|
|
102
|
+
args: --release --out dist
|
|
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
|
+
permissions:
|
|
131
|
+
id-token: write
|
|
132
|
+
environment: Release
|
|
133
|
+
steps:
|
|
134
|
+
- uses: actions/download-artifact@v4
|
|
135
|
+
- name: Publish to PyPI
|
|
136
|
+
uses: PyO3/maturin-action@v1
|
|
137
|
+
with:
|
|
138
|
+
command: upload
|
|
139
|
+
args: --non-interactive --skip-existing wheels-*/*
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<module type="PYTHON_MODULE" version="4">
|
|
3
|
+
<component name="NewModuleRootManager">
|
|
4
|
+
<content url="file://$MODULE_DIR$">
|
|
5
|
+
<sourceFolder url="file://$MODULE_DIR$/benches" isTestSource="true" />
|
|
6
|
+
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
|
7
|
+
<sourceFolder url="file://$MODULE_DIR$/tests" isTestSource="true" />
|
|
8
|
+
<excludeFolder url="file://$MODULE_DIR$/target" />
|
|
9
|
+
</content>
|
|
10
|
+
<orderEntry type="inheritedJdk" />
|
|
11
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
|
12
|
+
</component>
|
|
13
|
+
</module>
|