Metadata-Version: 2.4
Name: mmnipulate
Version: 0.1.0
Summary: Python client for USDA My Market News API
Author-email: Your Name <your.email@example.com>
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: requests>=2.28.0
Requires-Dist: pandas>=1.5.0

# mmnipulate

A Python client for pulling agricultural market data from the USDA **My Market News (MMN)** and **Livestock Mandatory Reporting (LMPRS)** APIs.

---

## Installation

Install the latest version from PyPI:

```bash
pip install mmnipulate

#Import Package
import mmnipulate

# Set your API key
mmnipulate.set_mmn_key("YOUR_API_KEY")

# Pull My Market News report data by Slug ID
df = mmnipulate.mmn_pull(slug_id=1099)

# Pull a specific report section
df_section = mmnipulate.mmn_pull(slug_id=1099, section="Butter Prices")
print(df.head())

# Pull LMPRS data by Slug ID
# Note: LMPRS API does not require an API key for authentication
df_lmprs = mmnipulate.lmprs_pull(slug_id=2993, section="Butter Prices and Sales")
print(df_lmprs.head())

