rust-sasa-python 0.2.0__cp312-cp312-win32.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.
@@ -0,0 +1,5 @@
1
+ from .rust_sasa_python import *
2
+
3
+ __doc__ = rust_sasa_python.__doc__
4
+ if hasattr(rust_sasa_python, "__all__"):
5
+ __all__ = rust_sasa_python.__all__
@@ -0,0 +1,68 @@
1
+ Metadata-Version: 2.4
2
+ Name: rust-sasa-python
3
+ Version: 0.2.0
4
+ Classifier: Programming Language :: Rust
5
+ Classifier: Programming Language :: Python :: Implementation :: CPython
6
+ Classifier: Programming Language :: Python :: Implementation :: PyPy
7
+ Requires-Dist: pytest>=8.4.1 ; extra == 'dev'
8
+ Requires-Dist: maturin>=1.5,<2.0 ; extra == 'dev'
9
+ Provides-Extra: dev
10
+ License-File: LICENSE.md
11
+ Summary: An ultra-fast package for computing Solvent Accessible Surface Area (SASA/ASA) for proteins
12
+ **46X** faster than Biopython, **7X** faster than Freesasa
13
+ Author: Max Campbell
14
+ Requires-Python: >=3.11
15
+ Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
16
+
17
+ # rust-sasa-python
18
+
19
+ A high-performance **Python library** for computing SASA (Solvent Accessible Surface Area) using Rust as the backend. This library provides a clean, Pythonic interface to the fast RustSASA calculation engine.
20
+
21
+ ## Features
22
+
23
+ - 🦀 **Pure Rust Backend**: Leverages Rust's performance and safety.
24
+ - ⚡️ **Ludicrous Speed**: **46X** faster than Biopython, **7X** faster than Freesasa.
25
+ - 🐍 **Pythonic Interface**: Clean, intuitive API.
26
+ - 🔧 **Configurable**: Customizable probe radius and sampling points.
27
+ - 📁 **PDB and mmCIF SUPPORT**: Supports both PDB and mmCIF files.
28
+
29
+ ## Installation
30
+
31
+ ```bash
32
+ pip install rust-sasa-python
33
+ ```
34
+
35
+ ## Quick Start
36
+
37
+ ```python
38
+ import rust_sasa_python as sasa
39
+
40
+ # Simple calculation - use convenience function
41
+ result = sasa.calculate_protein_sasa("protein.pdb")
42
+ print(f"Total SASA: {result.total:.2f}")
43
+
44
+ # Builder pattern for more control
45
+ calculator = (sasa.SASACalculator("protein.pdb")
46
+ .with_probe_radius(1.2)
47
+ .with_n_points(2000))
48
+ result = calculator.calculate_protein()
49
+ print(f"Total SASA: {result.total:.2f}")
50
+ print(f"Polar SASA: {result.polar:.2f}")
51
+ print(f"Non-polar SASA: {result.non_polar:.2f}")
52
+ ```
53
+
54
+ See [DOCS](DOCS.md) for more information and API reference.
55
+
56
+ ## Contributing
57
+
58
+ Contributions are welcome! Please feel free to submit issues and pull requests.
59
+
60
+ ## License
61
+
62
+ This project is licensed under the MIT License.
63
+
64
+ ## Related Projects
65
+
66
+ - [RustSASA](https://github.com/maxall41/RustSASA) - The core Rust library.
67
+ - [DPXRust](https://github.com/maxall41/DPXRust) - Rust library for DPX calculations.
68
+
@@ -0,0 +1,6 @@
1
+ rust_sasa_python-0.2.0.dist-info/METADATA,sha256=nYIXd0R00M8DDjGME9NMW7G0QvFwIeNqjR72e4CblfY,2305
2
+ rust_sasa_python-0.2.0.dist-info/WHEEL,sha256=noTIZIQHxjVqjQnU9ZL9Dt9AOLknyLooHqw2dBv2YBY,92
3
+ rust_sasa_python-0.2.0.dist-info/licenses/LICENSE.md,sha256=Wy79HDisHgyh-fvS8i-HOSiBePW1NXTRUdOLxxQgQfk,1092
4
+ rust_sasa_python/__init__.py,sha256=GwXUM63Xm1llfQ1qZLKralpgqaG4xQ7gWZjqdtN9BXc,147
5
+ rust_sasa_python/rust_sasa_python.cp312-win32.pyd,sha256=Y9sutsBbS2vn8DAYLzmkaNgGPX7mO4zlz_BlueTVXaE,902656
6
+ rust_sasa_python-0.2.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: maturin (1.9.1)
3
+ Root-Is-Purelib: false
4
+ Tag: cp312-cp312-win32
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Maxwell Campbell
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 all
13
+ 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 THE
21
+ SOFTWARE.