cosmopharm 0.0.10__py3-none-any.whl → 0.0.12__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.10.dist-info → cosmopharm-0.0.12.dist-info}/METADATA +57 -67
- {cosmopharm-0.0.10.dist-info → cosmopharm-0.0.12.dist-info}/RECORD +5 -5
- {cosmopharm-0.0.10.dist-info → cosmopharm-0.0.12.dist-info}/LICENSE +0 -0
- {cosmopharm-0.0.10.dist-info → cosmopharm-0.0.12.dist-info}/WHEEL +0 -0
- {cosmopharm-0.0.10.dist-info → cosmopharm-0.0.12.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.12
|
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/x-rst
|
31
31
|
License-File: LICENSE
|
32
32
|
Requires-Dist: matplotlib >=3.0
|
33
33
|
Requires-Dist: numpy >=1.15
|
@@ -35,111 +35,101 @@ Requires-Dist: pandas >=1.0
|
|
35
35
|
Requires-Dist: scipy >=1.4
|
36
36
|
Requires-Dist: openpyxl >=3.0
|
37
37
|
|
38
|
-
|
38
|
+
COSMOPharm
|
39
|
+
==========
|
39
40
|
|
40
|
-
|
41
|
-
<img src="https://github.com/ivanantolo/cosmopharm/raw/main/TOC.png" alt="TOC Figure" width="400"/>
|
42
|
-
</p>
|
41
|
+
.. figure:: https://github.com/ivanantolo/cosmopharm/raw/main/TOC.png
|
43
42
|
|
44
|
-
<
|
43
|
+
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.
|
45
44
|
|
46
|
-
|
47
|
-
|
48
|
-
<img src="https://raw.githubusercontent.com/ivanantolo/cosmopharm/main/TOC.png" alt="TOC Figure" width="400"/>
|
49
|
-
|
50
|
-
<!-- <p align="center"> -->
|
51
|
-

|
52
|
-
<!-- </p> -->
|
53
|
-
|
54
|
-
|
55
|
-
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.
|
56
|
-
|
57
|
-
## About
|
45
|
+
About
|
46
|
+
-----
|
58
47
|
|
59
48
|
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.
|
60
49
|
|
61
|
-
|
50
|
+
Features
|
51
|
+
--------
|
62
52
|
|
63
53
|
- **Compatibility Prediction**: Utilize open-source COSMO-SAC model for prediction of drug-polymer compatibility.
|
64
54
|
- **Solubility Calculation**: Calculate drug-polymer solubilities to guide the selection of suitable polymers for drug formulations.
|
65
55
|
- **Miscibility and Phase Behavior Analysis**: Analyze the miscibility of drug-polymer pairs and understand their phase behavior under various conditions.
|
66
56
|
- **User-friendly Interface**: Easy-to-use functions and comprehensive documentation to facilitate research and development in pharmaceutical sciences.
|
67
57
|
|
68
|
-
|
69
|
-
|
70
|
-
### Quick Installation
|
71
|
-
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).
|
58
|
+
Installation
|
59
|
+
------------
|
72
60
|
|
73
|
-
|
61
|
+
Quick Installation
|
62
|
+
~~~~~~~~~~~~~~~~~~
|
74
63
|
|
75
|
-
|
76
|
-
pip install cosmopharm
|
77
|
-
```
|
64
|
+
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>`_.
|
78
65
|
|
79
|
-
|
66
|
+
Once cCOSMO is installed, you can install COSMOPharm directly from `PyPI <https://pypi.org/project/cosmopharm/>`_:
|
80
67
|
|
81
|
-
|
68
|
+
.. code-block:: bash
|
82
69
|
|
83
|
-
|
70
|
+
pip install cosmopharm
|
84
71
|
|
85
|
-
|
86
|
-
|
87
|
-
git clone https://github.com/ivanantolo/cosmopharm
|
88
|
-
```
|
72
|
+
Advanced Installation Options
|
73
|
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
89
74
|
|
90
|
-
|
75
|
+
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.
|
91
76
|
|
92
|
-
|
93
|
-
|
94
|
-
```
|
77
|
+
Step 1: Clone the Repository
|
78
|
+
"""""""""""""""""""""""""""""
|
95
79
|
|
96
|
-
|
80
|
+
First, clone the COSMOPharm repository:
|
97
81
|
|
98
|
-
|
82
|
+
.. code-block:: bash
|
99
83
|
|
100
|
-
|
101
|
-
pip install .
|
102
|
-
```
|
84
|
+
git clone https://github.com/ivanantolo/cosmopharm
|
103
85
|
|
86
|
+
Step 2: Navigate to the Repository Directory
|
87
|
+
""""""""""""""""""""""""""""""""""""""""""""
|
104
88
|
|
105
|
-
|
89
|
+
.. code-block:: bash
|
106
90
|
|
107
|
-
|
91
|
+
cd cosmopharm
|
108
92
|
|
109
|
-
|
110
|
-
|
111
|
-
```
|
93
|
+
Option 1: Using pip to Install from Local Source
|
94
|
+
""""""""""""""""""""""""""""""""""""""""""""""""
|
112
95
|
|
113
|
-
|
96
|
+
This method installs COSMOPharm and manages all dependencies efficiently:
|
114
97
|
|
115
|
-
|
98
|
+
.. code-block:: bash
|
116
99
|
|
117
|
-
|
100
|
+
pip install .
|
118
101
|
|
119
|
-
|
102
|
+
Option 2: Using setup.py for Installation
|
103
|
+
""""""""""""""""""""""""""""""""""""""""""
|
120
104
|
|
121
|
-
|
122
|
-
# Example usage script: example_usage.py
|
105
|
+
Alternatively, you can run the setup script directly:
|
123
106
|
|
124
|
-
|
125
|
-
from cosmopharm import SLE, LLE, COSMOSAC
|
126
|
-
from cosmopharm.utils import read_params, create_components
|
107
|
+
.. code-block:: bash
|
127
108
|
|
128
|
-
|
129
|
-
```
|
109
|
+
python setup.py install
|
130
110
|
|
131
|
-
|
111
|
+
While this method is straightforward, using `pip` is generally preferred for its dependency management capabilities.
|
132
112
|
|
133
|
-
|
113
|
+
Please note: Before proceeding with either advanced installation option, ensure the cCOSMO library is installed as described at the beginning of this section.
|
134
114
|
|
135
|
-
|
115
|
+
Quick Start
|
116
|
+
-----------
|
136
117
|
|
118
|
+
Here's a quick example to get you started with COSMOPharm: `Example <https://github.com/ivanantolo/cosmopharm/blob/main/example_usage.py>`_
|
137
119
|
|
138
|
-
|
120
|
+
.. code-block:: python
|
139
121
|
|
140
|
-
|
122
|
+
# Example usage script: example_usage.py
|
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...
|
141
129
|
|
130
|
+
Contributing / Getting Help
|
131
|
+
---------------------------
|
142
132
|
|
143
|
-
|
133
|
+
Contributions to COSMOPharm are welcome! We accept contributions via pull requests to the `GitHub repository <https://github.com/ivanantolo/cosmopharm>`_.
|
144
134
|
|
145
|
-
|
135
|
+
For bugs, feature requests, or other queries, please `open an issue <https://github.com/ivanantolo/cosmopharm/issues>`
|
@@ -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.12.dist-info/LICENSE,sha256=25ZCycfBgonIECGYnZTy72eJVfzcHCEOz3DM9sTx7do,1162
|
15
|
+
cosmopharm-0.0.12.dist-info/METADATA,sha256=CbYyK2nCCaOuTPQXOlmlTOzMomPLTECEuCi7OwK8VK8,6053
|
16
|
+
cosmopharm-0.0.12.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
17
|
+
cosmopharm-0.0.12.dist-info/top_level.txt,sha256=MGniVgvs1yq4sn6HQ7ErDVYV_g3st3Fs8TTFHOJVQ9I,11
|
18
|
+
cosmopharm-0.0.12.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|