sweepx 0.1.0__py3-none-any.whl

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.
sweepx/__init__.py ADDED
@@ -0,0 +1,17 @@
1
+ """sweepx — install handle for the sweep engine.
2
+
3
+ `sweepx` itself has no code: ``pip install sweepx`` pulls in ``sweep-solver``
4
+ (the CUDA-enabled solver engine). Companion packages (``sweep-io``, ``sweep-nn``,
5
+ …) are not published in this solver-only release.
6
+
7
+ **Use ``import sweep``, not ``import sweepx``.**
8
+
9
+ The Python module name is ``sweep`` (provided by the ``sweep-solver``
10
+ distribution). The PyPI distribution name had to change because ``sweep``
11
+ was already taken — this is the same pattern as ``scikit-learn`` →
12
+ ``import sklearn``.
13
+ """
14
+
15
+ __version__ = "0.1.0"
16
+
17
+ __all__ = ["__version__"]
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Shaowen Wang
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,85 @@
1
+ Metadata-Version: 2.1
2
+ Name: sweepx
3
+ Version: 0.1.0
4
+ Summary: Install handle for the sweep engine: `pip install sweepx`, then `import sweep`.
5
+ Author-email: Shaowen Wang <shaowen.wang@kaust.edu.sa>
6
+ License: MIT
7
+ Project-URL: Homepage, https://github.com/DeepWave-KAUST/sweepx
8
+ Project-URL: Issues, https://github.com/DeepWave-KAUST/sweepx/issues
9
+ Keywords: fwi,geophysics,seismic,wave-equation,meta-package
10
+ Classifier: Development Status :: 4 - Beta
11
+ Classifier: Intended Audience :: Science/Research
12
+ Classifier: License :: OSI Approved :: MIT License
13
+ Classifier: Operating System :: POSIX :: Linux
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3.10
16
+ Classifier: Programming Language :: Python :: 3.11
17
+ Classifier: Programming Language :: Python :: 3.12
18
+ Classifier: Programming Language :: Python :: 3.13
19
+ Classifier: Topic :: Scientific/Engineering :: Physics
20
+ Requires-Python: >=3.10
21
+ Description-Content-Type: text/markdown
22
+ License-File: LICENSE
23
+ Requires-Dist: sweep-solver <0.2,>=0.1
24
+
25
+ # sweepx
26
+
27
+ **One-line install for the [sweep](https://github.com/DeepWave-KAUST/sweep) ecosystem.**
28
+
29
+ `sweepx` is an umbrella meta-package. It contains no code of its own — installing
30
+ it just pulls in the solver plus every companion package in one shot.
31
+
32
+ ## Install
33
+
34
+ ```bash
35
+ pip install sweepx
36
+ ```
37
+
38
+ This drags in:
39
+
40
+ | Distribution | Import name | What it does |
41
+ |-----------------|------------------|-----------------------------------------------------------|
42
+ | `sweep-solver` | `sweep` | Wave-equation engine: equations, propagators, operators |
43
+ | `sweep-io` | `sweep_io` | SEG-Y / HDF5 / shot-gather datasets |
44
+ | `sweep-nn` | `sweep_nn` | Neural priors: SIREN, INRs, hash-encoding, reparam |
45
+ | `sweep-opt` | `sweep_opt` | Optimizers, line search, preconditioners, parameterization|
46
+ | `sweep-loss` | `sweep_loss` | Misfit functionals (L2, W2, envelope, AWI, …) |
47
+ | `sweep-viz` | `sweep_viz` | Plotting helpers for wavefields, gradients, models |
48
+ | `sweep-preproc` | `sweep_preproc` | Signal preprocessing |
49
+ | `sweep-tasks` | `sweep_tasks` | Task-runner CLI for FWI/LSRTM pipelines |
50
+ | `sweep-runner` | `sweep_runner` | Job-submission helpers |
51
+
52
+ ## Import
53
+
54
+ After `pip install sweepx`, **import as `sweep`**, not `sweepx`:
55
+
56
+ ```python
57
+ import sweep # the wave-equation engine
58
+ from sweep import equations, propagator # native submodules
59
+ from sweep import io, nn, opt, loss, viz # companion namespace aliases
60
+ from sweep_io import SEGYReader # or use the real names directly
61
+ ```
62
+
63
+ The `sweep.io / sweep.nn / …` short aliases are provided by `sweep-solver`'s
64
+ top-level `__init__.py` and resolve lazily to the underlying companion
65
+ distributions.
66
+
67
+ > This is the same pattern as `pip install scikit-learn` followed by
68
+ > `import sklearn`. The PyPI distribution name and the Python module name
69
+ > deliberately differ — `sweep` (the import name) was taken on PyPI, so the
70
+ > umbrella is published as `sweepx`.
71
+
72
+ ## CUDA
73
+
74
+ `sweep-solver` ships with optional CUDA kernels. To build them:
75
+
76
+ ```bash
77
+ SWEEP_BUILD_CUDA=1 pip install sweepx
78
+ ```
79
+
80
+ (Triggers a source build of the `sweep._C` extension. Requires PyTorch and the
81
+ CUDA toolkit on PATH.)
82
+
83
+ ## License
84
+
85
+ MIT — see [LICENSE](LICENSE).
@@ -0,0 +1,6 @@
1
+ sweepx/__init__.py,sha256=WwAvzc8gRvpraf0IcxuRon0Je5xehgkAxny9obLDJ1M,604
2
+ sweepx-0.1.0.dist-info/LICENSE,sha256=Okci_9acr6XKdZZRdP1KwvwBzPBd1Wr2wYgLtCoLuMU,1069
3
+ sweepx-0.1.0.dist-info/METADATA,sha256=1hN3tlpYHP9f6ed4Dzz_bHhDPjCvSPtt_oLjOHZFnGc,3514
4
+ sweepx-0.1.0.dist-info/WHEEL,sha256=y4mX-SOX4fYIkonsAGA5N0Oy-8_gI4FXw5HNI1xqvWg,91
5
+ sweepx-0.1.0.dist-info/top_level.txt,sha256=VeJ88RjMw5vwWafU2HGAWJNm5Nibi5a0EyzLQopSVrY,7
6
+ sweepx-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (70.2.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1 @@
1
+ sweepx