Skip to content

Conversation

@copelco
Copy link
Member

@copelco copelco commented Sep 12, 2025

First step towards at #1.

This PR adds an API client for interacting with PythonAnywhere's console API, enabling remote command execution via bash terminals. Since SSH-like access is not available on PythonAnywhere's free tier, this client uses the get_latest_output and send_input endpoints to interact with a console, which isn't always straightforward.

@ehmatthes
Copy link

I just implemented support for extending the core CLI in the plugin generator, but that was after you generated this plugin. When you want to extend the CLI please feel free to ping me, and I'll drop in the infrastructure for doing that. It's not complicated, but I just did it for another plugin and I can probably save a bit of time.

@copelco copelco changed the title Initial deployment attempt Add PythonAnywhere API client for remote console commands Dec 23, 2025
@copelco copelco marked this pull request as ready for review December 23, 2025 14:26
@copelco copelco merged commit 44b655c into main Dec 23, 2025
1 check passed
@copelco copelco deleted the add-api-client branch December 23, 2025 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants