Metadata-Version: 2.2
Name: op-cache-client
Version: 0.1.0
Summary: Client library and code for Outerport cache
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pydantic>=2.10.6
Requires-Dist: setuptools>=75.8.0
Requires-Dist: torch>=2.4.0
Requires-Dist: grpcio>=1.70.0
Requires-Dist: protobuf>=5.29.0
Requires-Dist: accelerate>=1.3.0
Requires-Dist: diffusers>=0.32.2
Requires-Dist: xxhash>=3.5.0

# op-cache-client

Push, pull and cache models from remote registries with fast download.

## Installation

Install c++ dependencies:

```
sudo apt-get update
sudo apt-get install clang
sudo apt-get install libstdc++6
```

## Setting up the development environment

To install uv:

```
# On macOS and Linux.
$ curl -LsSf https://astral.sh/uv/install.sh | sh
```

To install the dependencies and build the package, run:

```
uv sync
```

To run scripts, run:

```
uv run <path_to_script>
```

To add packages, run:

```
uv add <package_name> [--dev for dev dependencies]
```

To create a Jupyter notebook kernel run:

```
uv run ipython kernel install --user --name=outerport
uv run --with jupyter jupyter lab
```
