fastsolv solid solubility predictor
Project description
fastsolv
This directory contains the fastsolv
python package which allows using the trained fastsolv
model for solid solubility prediction.
Installation
Run pip install fastsolv
to install it from PyPI.
Trained model checkpoints will be auto-magically downloaded on your first run of fastsolv
.
Requirements
fastsolv
is continually tested on all platforms (Windows, MacOS, Linux) with Python versions 3.8 and newer and the latest dependencies.
A Graphics Processing Unit (GPU) is optional, but highly recommended for fast predictions.
Dependencies are automatically installed when fastsolv
is installed with pip
- they are fastprop
, torch
, pandas
, and numpy
.
Usage
fastsolv
is accessible via the command line and as a python module.
- command line: run
fastsolv --help
for usage instructions orfastsolv demo.csv
to run a demo (prints the predicted solubility for aspirin at various temperatures in various solvents, runs in <1 minute + 1st run checkpoint downloading time). - python module: import the
fastsolv
predictor withfrom fastsolv import fastsolv
- predictions can then be made by passing apandas.DataFrame
with the columns forsolute_smiles
,solvent_smiles
, andtemperature
(seedemo.ipynb
which runs the same predictions as the command line call above).
The CSV files generated as part of the paper
directory may also be passed into this predictor.
To manually load fastsolv
models and make predictions using torch
on your own, adapt the code in fastsolv._module
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file fastsolv-1.0.1.tar.gz
.
File metadata
- Download URL: fastsolv-1.0.1.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2b555d4cf76ba3e3f9c0a897f94599b3430c8f919d3f99e609c4c2e67778b2b |
|
MD5 | 41b20d5728494dd2e6f15d34098123d7 |
|
BLAKE2b-256 | 175e539d981dd4da89cafa2dc943027cf0d3e5caa1663b80290fb94169628b3b |
File details
Details for the file fastsolv-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: fastsolv-1.0.1-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f093169bb3828b325dbc991f7f13f2349ef9d7d0219a6d0cccf2b7ea76d78531 |
|
MD5 | 68bf735812e619562a3234cfcdfa711f |
|
BLAKE2b-256 | 76ecaf29703a9718c805b68838d429512333bedfdfcb6890031415571cfa9fc8 |