Metadata-Version: 2.1
Name: pharma-api-client
Version: 1.0.2
Summary: A Python client for the pharmaApi
Home-page: https://dev.pharmapi.dynv6.net
Author: pharma Api
Author-email: Issam Bouizou <issam.bouizou@tritonis.co>, Toufik Ouadid <toufik.ouadid@tritonis.co>, Adam Bouras <adambouras@tritonis.co>
Maintainer-email: Issam Bouizou <issam.bouizou@tritonis.co>, Toufik Ouadid <toufik.ouadid@tritonis.co>, Adam Bouras <adambouras@tritonis.co>
License: MIT
Project-URL: Homepage, https://dev.pharmapi.dynv6.net/
Project-URL: Documentation, https://dev.pharmapi.dynv6.net/docs
Keywords: pharmaceutical,api,drug,medicine,healthcare,ai
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENCE
Requires-Dist: requests>=2.25.0
Requires-Dist: pandas>=1.2.0
Provides-Extra: dev
Requires-Dist: pytest>=6.0; extra == "dev"
Requires-Dist: pytest-cov>=2.0; extra == "dev"
Requires-Dist: black>=21.0; extra == "dev"
Requires-Dist: flake8>=3.9; extra == "dev"

# PharmaAPI Python Client

A Python client library for the PharmaAPI - search and retrieve pharmaceutical data from French and US databases.

## Installation
```bash
pip install pharma-api-client
```

## Quick Start
```python
from pharma_api_client import PharmaAPIClient

# Initialize client
client = PharmaAPIClient("your-api-key")

# Search for products
response = client.search_by_ingredient("aspirin", limit=10)

# Convert to pandas DataFrame
df = response.to_df()
print(df.head())

# Clean up
client.close()
```

## Features

- 🔍 Search by name, ingredient, dosage form, strength
- 💊 Get product details by CIS ID or RxNorm code
- 💰 Access pricing information (French and US)
- 🔬 Professional tier: ATC codes, NDC lookup, US product names
- 📊 Easy DataFrame conversion with `.to_df()`
- 🛡️ Type hints and comprehensive error handling

## Documentation

See the Official Website

## Requirements

- Python 3.7+
- requests
- pandas

## License

MIT License
