Metadata-Version: 2.4
Name: lame-project-cli
Version: 1.1.0
Summary: Python client library and local-first CLI for Lame cloud projects
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown

# Lame Python client

The `lame` package is a typed, standard-library Python client for the Lame
project API. It is included in the `lame-project-cli` distribution.

Install from a source checkout with:

```console
python -m pip install .
```

Once the distribution is published to PyPI, install it with:

```console
python -m pip install lame-project-cli
```

Generate a short-lived CLI token from the signed-in Projects page and keep it
private:

```python
from lame import LameClient

client = LameClient("https://your-lame-server.example", token="YOUR_TOKEN")
projects = client.list_projects()
project = client.create_project("research-notes")
client.rename_project(project.id, "research")
```

`LameClient` also provides `storage_connections()`, `delete_project(id)`,
`push_archive(id, bytes_or_file)`, and `pull_archive(id)`. The server validates
archive paths and size limits and syncs files to the storage connection assigned
to the project. The client does not execute project code.

Use the `lame` command-line entry point for local project sync:

```console
lame login
lame projects
lame push research
lame pull research --path .\research
```

The token is a bearer credential. Do not hard-code it or include it in source
control, and revoke it from Projects when it is no longer needed.
