Skip to main content

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 or fastsolv 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 with from fastsolv import fastsolv - predictions can then be made by passing a pandas.DataFrame with the columns for solute_smiles, solvent_smiles, and temperature (see demo.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.

Metadata

Release files for fastsolv 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fastsolv 1.0.1
File Size Uploaded
fastsolv-1.0.1.tar.gz 7.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fastsolv 1.0.1
File Interpreter ABI Platform
fastsolv-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 14.5 kB

Release files / fastsolv-1.0.1.tar.gz

Download URL fastsolv-1.0.1.tar.gz
Size 7.0 kB
Tags Source
SHA-256 checksum
How to use checksums
f2b555d4cf76ba3e3f9c0a897f94599b3430c8f919d3f99e609c4c2e67778b2b
BLAKE2b-256 checksum
How to use checksums
175e539d981dd4da89cafa2dc943027cf0d3e5caa1663b80290fb94169628b3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / fastsolv-1.0.1-py3-none-any.whl

Download URL fastsolv-1.0.1-py3-none-any.whl
Size 7.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f093169bb3828b325dbc991f7f13f2349ef9d7d0219a6d0cccf2b7ea76d78531
BLAKE2b-256 checksum
How to use checksums
76ecaf29703a9718c805b68838d429512333bedfdfcb6890031415571cfa9fc8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page