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