cosmopharm 0.0.12__py3-none-any.whl → 0.0.14__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.
- {cosmopharm-0.0.12.dist-info → cosmopharm-0.0.14.dist-info}/METADATA +58 -57
- {cosmopharm-0.0.12.dist-info → cosmopharm-0.0.14.dist-info}/RECORD +5 -5
- {cosmopharm-0.0.12.dist-info → cosmopharm-0.0.14.dist-info}/LICENSE +0 -0
- {cosmopharm-0.0.12.dist-info → cosmopharm-0.0.14.dist-info}/WHEEL +0 -0
- {cosmopharm-0.0.12.dist-info → cosmopharm-0.0.14.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: cosmopharm
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.14
|
4
4
|
Summary: Predictive modeling for drug-polymer compatibility in pharmaceutical formulations using COSMO-SAC.
|
5
5
|
Home-page: https://github.com/ivanantolo/cosmopharm,
|
6
6
|
Author: Ivan Antolovic
|
@@ -27,7 +27,7 @@ Classifier: Programming Language :: Python :: 3.11
|
|
27
27
|
Classifier: Programming Language :: Python :: 3.12
|
28
28
|
Classifier: Programming Language :: Python :: 3.13
|
29
29
|
Requires-Python: >=3.8
|
30
|
-
Description-Content-Type: text/
|
30
|
+
Description-Content-Type: text/markdown
|
31
31
|
License-File: LICENSE
|
32
32
|
Requires-Dist: matplotlib >=3.0
|
33
33
|
Requires-Dist: numpy >=1.15
|
@@ -35,101 +35,102 @@ Requires-Dist: pandas >=1.0
|
|
35
35
|
Requires-Dist: scipy >=1.4
|
36
36
|
Requires-Dist: openpyxl >=3.0
|
37
37
|
|
38
|
-
COSMOPharm
|
39
|
-
==========
|
38
|
+
# COSMOPharm
|
40
39
|
|
41
|
-
|
40
|
+
<p align="center">
|
41
|
+
<img src="TOC.png" alt="TOC Figure" width="400"/>
|
42
|
+
</p>
|
42
43
|
|
43
|
-
|
44
|
+

|
44
45
|
|
45
|
-
|
46
|
-
|
46
|
+
Welcome to the COSMOPharm repository, accompanying [our paper in *J. Chem. Theory Comput.*](https://dx.doi.org/10.1021/acs.jctc.9b01016). This project and its associated publication offer insights and a practical toolkit for researching drug-polymer and drug-solvent systems, aiming to provide the scientific community with the means to reproduce our findings and further the development of COSMO-SAC-based models.
|
47
|
+
|
48
|
+
## About
|
47
49
|
|
48
50
|
COSMOPharm is a Python package designed to streamline the predictive modeling of drug-polymer compatibility, crucial for the development of pharmaceutical amorphous solid dispersions. Apart from that, it can also be used for the miscibility/solubility of drugs with/in common solvents. Leveraging the COSMO-SAC (Conductor-like Screening Model Segment Activity Coefficient) model, COSMOPharm offers a robust platform for scientists and researchers to predict solubility, miscibility, and phase behavior in drug formulation processes.
|
49
51
|
|
50
|
-
Features
|
51
|
-
--------
|
52
|
+
## Features
|
52
53
|
|
53
54
|
- **Compatibility Prediction**: Utilize open-source COSMO-SAC model for prediction of drug-polymer compatibility.
|
54
55
|
- **Solubility Calculation**: Calculate drug-polymer solubilities to guide the selection of suitable polymers for drug formulations.
|
55
56
|
- **Miscibility and Phase Behavior Analysis**: Analyze the miscibility of drug-polymer pairs and understand their phase behavior under various conditions.
|
56
57
|
- **User-friendly Interface**: Easy-to-use functions and comprehensive documentation to facilitate research and development in pharmaceutical sciences.
|
57
58
|
|
58
|
-
Installation
|
59
|
-
------------
|
59
|
+
## Installation
|
60
60
|
|
61
|
-
Quick Installation
|
62
|
-
|
61
|
+
### Quick Installation
|
62
|
+
For most users, the quickest and easiest way to install COSMOPharm is via pip, which will manage all dependencies for you. Ensure you have already installed the cCOSMO library by following the instructions on the [COSMOSAC GitHub page](https://github.com/usnistgov/COSMOSAC).
|
63
63
|
|
64
|
-
|
64
|
+
Once cCOSMO is installed, you can install COSMOPharm directly from [PyPI](https://pypi.org/project/cosmopharm/):
|
65
65
|
|
66
|
-
|
66
|
+
```
|
67
|
+
pip install cosmopharm
|
68
|
+
```
|
67
69
|
|
68
|
-
|
70
|
+
### Advanced Installation Options
|
69
71
|
|
70
|
-
|
72
|
+
For users who need more control over the installation process (e.g., for development purposes or when integrating with other projects), COSMOPharm can also be installed by cloning the repository and installing manually.
|
71
73
|
|
72
|
-
|
73
|
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
74
|
+
#### Step 1: Clone the Repository
|
74
75
|
|
75
|
-
|
76
|
+
First, clone the COSMOPharm repository:
|
77
|
+
```
|
78
|
+
git clone https://github.com/ivanantolo/cosmopharm
|
79
|
+
```
|
76
80
|
|
77
|
-
Step
|
78
|
-
"""""""""""""""""""""""""""""
|
81
|
+
#### Step 2: Navigate to the Repository Directory
|
79
82
|
|
80
|
-
|
83
|
+
```
|
84
|
+
cd cosmopharm
|
85
|
+
```
|
81
86
|
|
82
|
-
|
87
|
+
#### Option 1: Using pip to Install from Local Source
|
83
88
|
|
84
|
-
|
89
|
+
This method installs COSMOPharm and manages all dependencies efficiently:
|
85
90
|
|
86
|
-
|
87
|
-
|
91
|
+
```
|
92
|
+
pip install .
|
93
|
+
```
|
88
94
|
|
89
|
-
.. code-block:: bash
|
90
95
|
|
91
|
-
|
96
|
+
#### Option 2: Using setup.py for Installation
|
92
97
|
|
93
|
-
|
94
|
-
""""""""""""""""""""""""""""""""""""""""""""""""
|
98
|
+
Alternatively, you can run the setup script directly:
|
95
99
|
|
96
|
-
|
100
|
+
```
|
101
|
+
python setup.py install
|
102
|
+
```
|
97
103
|
|
98
|
-
|
104
|
+
While this method is straightforward, using `pip` is generally preferred for its dependency management capabilities.
|
99
105
|
|
100
|
-
|
106
|
+
Please note: Before proceeding with either advanced installation option, ensure the cCOSMO library is installed as described at the beginning of this section.
|
101
107
|
|
102
|
-
|
103
|
-
""""""""""""""""""""""""""""""""""""""""""
|
108
|
+
## Quick Start
|
104
109
|
|
105
|
-
|
110
|
+
Here's a quick example to get you started with COSMOPharm: [Example](https://github.com/ivanantolo/cosmopharm/blob/main/example_usage.py)
|
106
111
|
|
107
|
-
|
112
|
+
```python
|
113
|
+
# Example usage script: example_usage.py
|
108
114
|
|
109
|
-
|
115
|
+
import cCOSMO
|
116
|
+
from cosmopharm import SLE, LLE, COSMOSAC
|
117
|
+
from cosmopharm.utils import read_params, create_components
|
110
118
|
|
111
|
-
|
119
|
+
# Rest of the script...
|
120
|
+
```
|
112
121
|
|
113
|
-
|
122
|
+
## Contributing / Getting Help
|
123
|
+
|
124
|
+
Contributions to COSMOPharm are welcome! We accept contributions via pull requests to the [GitHub repository](https://github.com/ivanantolo/cosmopharm).
|
114
125
|
|
115
|
-
|
116
|
-
-----------
|
126
|
+
For bugs, feature requests, or other queries, please [open an issue](https://github.com/ivanantolo/cosmopharm/issues) on GitHub.
|
117
127
|
|
118
|
-
Here's a quick example to get you started with COSMOPharm: `Example <https://github.com/ivanantolo/cosmopharm/blob/main/example_usage.py>`_
|
119
128
|
|
120
|
-
|
129
|
+
## Citation
|
121
130
|
|
122
|
-
|
123
|
-
|
124
|
-
import cCOSMO
|
125
|
-
from cosmopharm import SLE, LLE, COSMOSAC
|
126
|
-
from cosmopharm.utils import read_params, create_components
|
127
|
-
|
128
|
-
# Rest of the script...
|
131
|
+
If you use COSMOPharm in your research, please consider citing it. You can find the citation format in [CITATION.md](https://github.com/ivanantolo/cosmopharm/CITATION.md).
|
129
132
|
|
130
|
-
Contributing / Getting Help
|
131
|
-
---------------------------
|
132
133
|
|
133
|
-
|
134
|
+
## License
|
134
135
|
|
135
|
-
|
136
|
+
COSMOPharm is released under the MIT License. See the [LICENSE](https://github.com/ivanantolo/cosmopharm/LICENSE) file for more details.
|
@@ -11,8 +11,8 @@ cosmopharm/utils/convert.py,sha256=V-7jY-Sb7C38N5bQcp1c27EOiVJfriP6zRbLAIKgrdE,2
|
|
11
11
|
cosmopharm/utils/helpers.py,sha256=D2Zx9P0ywWWl2XQtzC6e5ek2CrudBIncfAIp_7vQnC0,1430
|
12
12
|
cosmopharm/utils/lle_scanner.py,sha256=So9FCxLLcHmBkuF6zggMo3W3gFBocEmuRzyxVGy69JM,6587
|
13
13
|
cosmopharm/utils/spacing.py,sha256=vtM9b4wodpFGkZFGGLhiSXT51Zl6fNK2Og4oRcbLFH4,9222
|
14
|
-
cosmopharm-0.0.
|
15
|
-
cosmopharm-0.0.
|
16
|
-
cosmopharm-0.0.
|
17
|
-
cosmopharm-0.0.
|
18
|
-
cosmopharm-0.0.
|
14
|
+
cosmopharm-0.0.14.dist-info/LICENSE,sha256=25ZCycfBgonIECGYnZTy72eJVfzcHCEOz3DM9sTx7do,1162
|
15
|
+
cosmopharm-0.0.14.dist-info/METADATA,sha256=5xvXt0lSGO9OFr6--U40Xa9B7zf5IdVvPLGX4xtaPys,6090
|
16
|
+
cosmopharm-0.0.14.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
17
|
+
cosmopharm-0.0.14.dist-info/top_level.txt,sha256=MGniVgvs1yq4sn6HQ7ErDVYV_g3st3Fs8TTFHOJVQ9I,11
|
18
|
+
cosmopharm-0.0.14.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|