Installation Guide

System Requirements

  • Python 3.7 or higher

  • pip package manager

  • Internet connection (for accessing data sources)

Installing from Source

If you want to install a development version from source:

git clone https://github.com/HzaCode/OneCite.git
cd OneCite
pip install -e ".[dev]"

The -e flag installs the package in editable mode, which is useful for development.

Optional Dependencies

For development and testing, install development dependencies:

pip install onecite[dev]

This will install the following additional packages:

  • pytest - Testing framework

  • pytest-cov - Coverage reporting

  • flake8 - Code style checking

  • black - Code formatting tool

Verifying the Installation

To verify that your installation was successful, run:

onecite --version

You should see the version number printed.

MCP Server

OneCite includes a Model Context Protocol (MCP) server. To test it:

onecite-mcp

This will start the MCP server. You can now configure your AI assistant to use it. For more details, see AI Assistant Integration with MCP.

Upgrading OneCite

To upgrade to the latest version:

pip install --upgrade onecite

Troubleshooting

Dependency Conflicts

If you encounter dependency conflicts during installation, try:

pip install --upgrade pip setuptools wheel

Then reinstall OneCite.

Permission Errors

If you get permission errors on macOS or Linux, try using the --user flag:

pip install --user onecite

Or consider using a virtual environment (recommended).

Next Steps

After installation, see Quick Start Guide to get started with OneCite.