Installation
Prerequisites
- Python 3.9 or higher
- pip (Python package installer)
Install from PyPI (Recommended)
The easiest way to install the USPTO ODP Python Client is using pip:
Install from Source
If you want to install from the source code:
-
Clone the repository:
-
Install the package in development mode:
Development Installation
If you plan to contribute or modify the code, install with development dependencies:
This includes:
- pytest - Testing framework
- pytest-asyncio - Async test support
- coverage - Code coverage tools
- python-dotenv - Environment variable management
Documentation Dependencies
To build the documentation locally:
This includes:
- mkdocs - Documentation generator
- mkdocs-material - Material theme
- mkdocstrings[python] - Python docstring parser
Verify Installation
You can verify the installation by running:
API Key Required
Before using the library, you'll need to obtain an API key from the USPTO Developer Hub:
- Visit USPTO Developer Hub
- Sign up for an account
- Request an API key
- Keep your API key secure and never commit it to version control
Next Steps
- Read the Quick Start Guide to begin using the library
- Check out Examples for common use cases
- Review the API Reference for detailed method documentation