Skip to main content

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 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fastsolv-1.0.1.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

fastsolv-1.0.1-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

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

Hashes for fastsolv-1.0.1.tar.gz
Algorithm Hash digest
SHA256 f2b555d4cf76ba3e3f9c0a897f94599b3430c8f919d3f99e609c4c2e67778b2b
MD5 41b20d5728494dd2e6f15d34098123d7
BLAKE2b-256 175e539d981dd4da89cafa2dc943027cf0d3e5caa1663b80290fb94169628b3b

See more details on using hashes here.

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

Hashes for fastsolv-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f093169bb3828b325dbc991f7f13f2349ef9d7d0219a6d0cccf2b7ea76d78531
MD5 68bf735812e619562a3234cfcdfa711f
BLAKE2b-256 76ecaf29703a9718c805b68838d429512333bedfdfcb6890031415571cfa9fc8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page