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