Metadata-Version: 2.1
Name: vianu
Version: 0.1.4
Summary: Vianu enables developers to access tools applicable to life sciences and healthcare.
Home-page: https://github.com/smc40/vianu
License: MIT
Keywords: healthcare,government,opensource,data science
Author: Nicolas Perez Gonzalez
Author-email: hello@vianu.org
Requires-Python: >=3.11,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: abydos (>=0.5.0,<0.6.0)
Requires-Dist: aiohttp (>=3.11.10,<4.0.0)
Requires-Dist: bandit (>=1.7.10,<2.0.0)
Requires-Dist: beautifulsoup4 (>=4.12.3,<5.0.0)
Requires-Dist: build (>=1.2.2.post1,<2.0.0)
Requires-Dist: cologne-phonetics (>=2.0.0,<3.0.0)
Requires-Dist: dacite (>=1.8.1,<2.0.0)
Requires-Dist: dateparser (>=1.2.0,<2.0.0)
Requires-Dist: defusedxml (>=0.7.1,<0.8.0)
Requires-Dist: gradio (>=5.11.0,<6.0.0)
Requires-Dist: llvmlite (>=0.43.0,<0.44.0)
Requires-Dist: matplotlib (>=3.9.3,<4.0.0)
Requires-Dist: numba (>=0.60.0,<0.61.0)
Requires-Dist: openai (>=1.59.5,<2.0.0)
Requires-Dist: openpyxl (>=3.1.5,<4.0.0)
Requires-Dist: pandas (>=2.2.3,<3.0.0)
Requires-Dist: pdfminer (>=20191125,<20191126)
Requires-Dist: plotly (>=5.24.1,<6.0.0)
Requires-Dist: pymupdf (>=1.25.1,<2.0.0)
Requires-Dist: pytest (>=8.3.4,<9.0.0)
Requires-Dist: pytest-cov (>=6.0.0,<7.0.0)
Requires-Dist: python-dotenv (>=1.0.1,<2.0.0)
Requires-Dist: selenium (>=4.27.1,<5.0.0)
Requires-Dist: shap (>=0.46.0,<0.47.0)
Requires-Dist: sqlitecloud (>=0.0.83,<0.0.84)
Requires-Dist: torch (>=2.5.1,<3.0.0)
Requires-Dist: transformers (>=4.46.3,<5.0.0)
Requires-Dist: twine (>=5.1.1,<6.0.0)
Project-URL: Repository, https://github.com/smc40/vianu
Description-Content-Type: text/markdown

<p align="center">
    <img src="https://avatars.githubusercontent.com/u/189356226?s=400&u=4bc88c9f31bc573f84d4222461c520e19c1c97a4&v=4" alt="vianu Logo" width="150" height="150" />
    <h3 align="center">vianu</h3>
    <p align="center">Together we are building an Open Source Community for Life Sciences.</p>
    <p align="center">
        <a href="https://badge.fury.io/py/vianu"><img alt="PyPI version" src="https://badge.fury.io/py/vianu.svg?icon=si%3Apython"></a>
    </p>
</p>

---

Vianu is a Python package designed for developers working in the **life sciences and healthcare** sectors. It provides access to a variety of tools and workflows, allowing users to quickly build, validate, and deploy data-driven applications.

## Available Tools

- **Lasa**: A tool for phonetic comparison of novel drug names with authorized ones from different locations.
- **FraudCrawler**: A data ingestion and transformation pipeline for real-world healthcare data.
- **SpoCK**: A tool to search public websites for spotting adverse drug reactions
- **DrugSafetyCompare**: A tool to search for published drug labels and compare their safety profiles. [See in action](https://huggingface.co/spaces/vianu/drugsafetycompare)

## Installation

To install Vianu, use the following command:

```bash
pip install vianu
```

Alternatively, you can install vianu from source:

```bash
git clone https://github.com/smc40/vianu.git
cd vianu
poetry install
poetry shell
```


## Usage
### Lasa
TBD
#### Launch a Demo App

#### Launch a Demo Pipeline

```bash
cd vianu/lasa
poetry install
poetry shell
python -m vianu.tools.tici.launch_demo_pipeline
```

### FraudCrawler

#### Launch a Demo App

```bash
python vianu/fraudcrawler/launch_demo_app.py
```

#### Launch a Demo Pipeline

```bash
python -m vianu.fraudcrawler.launch_demo_pipeline
```


### DrugSafetyCompare
**DrugSafetyCompare** is a tool designed to help users search for drugs, retrieve product information from Germany and Switzerland, extract adverse events, and compare side effects using SOC (System Organ Class) classification. Leveraging OpenAI's GPT-4 and interactive visualization tools, DrugSafetyCompare provides a comprehensive overview of drug safety profiles.

#### Launch a Demo App
To lauch the demo app do the following:

```bash
poetry install
poetry shell
python vianu/tools/drugsafetycompare/launch_demo_app_count.py
```
Or simply launch the starter-script:
```bash
vianu_drugsafetycompare_app

```

#### Launch a Demo Pipeline

```bash
poetry install
poetry shell
python -m vianu.drugsafetycompare.launch_demo_pipeline
```


### SpoCK

#### Launch a Demo App

```bash
python vianu/spock/launch_demo_app.py
```

#### Launch a Demo Pipeline

```bash
python -m vianu.spock.launch_demo_pipeline
```


## Run tests
To run all tests with a covarage report run:
```bash
pytest --cov-report=html tests/tests-*/* -s
```




## Contributing

We welcome contributions from the community! Please read the [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines on how to get started.

## Code of Conduct

We strive to create a welcoming environment for everyone. Please read our [Code of Conduct](CODE_OF_CONDUCT.md) for more details.

## License

This project is licensed under the MIT License.

## Feedback and Support

For any issues or feature requests, please use the [GitHub Issues](https://github.com/smc40/vianu/issues) page.

## Acknowledgments

We thank all contributors and the broader open-source community for their support and feedback.
