Skip to main content

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:

python -m pip install .

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

python -m pip install lame-project-cli

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

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.

Run lame with no arguments to open the full-screen, keyboard-navigable TUI. Select commands with the arrow keys and Enter, edit the command line, and run it with Enter or Ctrl+Enter. You can also type any CLI command directly. The TUI asks for the short-lived token only on its Sign in action; other commands use the saved credentials, so run lame login once before authenticated actions. Use the lame command-line entry point for local project sync:

lame login
lame projects
lame project -c "research notes"
lame add *
lame commit "first upload"
lame collect "research notes" --path .\research-copy
lame switch storage
lame switch storage "My Drive"

# Existing explicit commands remain available
lame push research
lame pull research --path .\research

add records local paths in .lame and commit uploads those staged files to the project created in the current folder. The server currently stores the uploaded files but does not keep commit history or commit messages. collect downloads a cloud project. switch storage lists configured connections; add a connection name or ID to make it the default for newly created projects.

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.

Metadata

Release files for lame-project-cli 1.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lame-project-cli 1.1.2
File Size Uploaded Provenance Actions
lame_project_cli-1.1.2.tar.gz 19.2 kB Without provenance Details for lame_project_cli-1.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lame-project-cli 1.1.2
File Interpreter ABI Platform Actions
lame_project_cli-1.1.2-py3-none-any.whl Python 3 none any Details for lame_project_cli-1.1.2-py3-none-any.whl

Total release size: 35.0 kB

Release files / lame_project_cli-1.1.2.tar.gz

Download URL lame_project_cli-1.1.2.tar.gz
Size 19.2 kB
Tags Source
SHA-256 checksum
How to use checksums
72a6b0ad2505a7e3e186f3d36c1f903967da39f06ca53a0bc1e19b2c1024bf8f
BLAKE2b-256 checksum
How to use checksums
235700dd1520faa255fcf2b738faa9e3c6ad785eb7e4cb11209e3e622def8425
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.3

Release files / lame_project_cli-1.1.2-py3-none-any.whl

Download URL lame_project_cli-1.1.2-py3-none-any.whl
Size 15.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b0e13baa9d6e391476a4fb6495b9ec833090ca2a18e9a82afd26bf2575b67222
BLAKE2b-256 checksum
How to use checksums
0e05f49b5c746b143e4dd2e46d7680f65b08620a11ada81360dd358030e1d35a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.3

Security for lame-project-cli 1.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page