Metadata-Version: 2.5
Name: pharmatox
Version: 0.0.1
Summary: A Python based prediction tool for toxicity for new molecules for scientific use.
Author: Kyriakos Georgiou
Keywords: cheminformatics,drug discovery,molecules,toxicity
Classifier: Development Status :: 1 - Planning
Classifier: Intended Audience :: Science/Research
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Scientific/Engineering :: Chemistry
Classifier: Topic :: Scientific/Engineering :: Medical Science Apps.
Requires-Python: >=3.13
Provides-Extra: dev
Requires-Dist: pytest-cov>=5; extra == 'dev'
Requires-Dist: pytest>=8; extra == 'dev'
Requires-Dist: ruff>=0.6; extra == 'dev'
Description-Content-Type: text/markdown

# pharmatox

A Python based prediction tool for toxicity for new molecules for scientific use.

> Early stage: this release only reserves the name. The code will be released here under the
> GPLv3 once the accompanying paper is published.

## Install

```bash
pip install pharmatox
```

## Requirements

- Python 3.13 or newer
- Dependencies are added to `pyproject.toml` as the project needs them

## Setup

```bash
python3 -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install -e ".[dev]"
```

## Development

Run the tests:

```bash
pytest
```

Lint and format:

```bash
ruff check .
ruff format .
```

## Releasing

Releases go to PyPI automatically through
[Trusted Publishing](https://docs.pypi.org/trusted-publishers/), so no API token is needed.

1. Bump `version` in `pyproject.toml` and commit.
2. Push to GitHub.
3. Create a GitHub release whose tag is that version with a `v` in front (for example `v0.0.1`).

The workflow in `.github/workflows/publish.yml` runs the tests, builds the package and uploads
it. It stops if the tag and the version don't match.

## Project layout

```
pharmatox/
├── .github/workflows/  # release automation
├── src/pharmatox/      # the package
├── tests/              # pytest tests
└── pyproject.toml      # dependencies and tool settings
```
