
Security News
Deno 2.6 + Socket: Supply Chain Defense In Your CLI
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.
late-sdk
Advanced tools
Python SDK for Late API - Schedule social media posts across multiple platforms.
pip install late-sdk
from late import Late
client = Late(api_key="your_api_key")
# List connected accounts
accounts = client.accounts.list()
# Create a scheduled post
from datetime import datetime, timedelta
post = client.posts.create(
content="Hello from Late!",
platforms=[{"platform": "twitter", "accountId": "your_account_id"}],
scheduled_for=datetime.now() + timedelta(hours=1),
)
Schedule posts directly from Claude Desktop using natural language.
1. Install uv (package manager)
# macOS / Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
# Windows (PowerShell)
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
2. Add to Claude Desktop config
Open the config file:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonAdd this:
{
"mcpServers": {
"late": {
"command": "uvx",
"args": ["--from", "late-sdk[mcp]", "late-mcp"],
"env": {
"LATE_API_KEY": "your_api_key_here"
}
}
}
}
Get your API key at getlate.dev/dashboard/api-keys
3. Restart Claude Desktop
Done! Ask Claude things like:
pip install late-sdk[mcp]
{
"mcpServers": {
"late": {
"command": "python",
"args": ["-m", "late.mcp"],
"env": {
"LATE_API_KEY": "your_api_key_here"
}
}
}
}
Since Claude can't access local files, use the browser upload flow:
| Command | What it does |
|---|---|
list_accounts | Show connected social accounts |
create_post | Create scheduled or immediate post |
publish_now | Publish immediately |
cross_post | Post to multiple platforms |
list_posts | Show your posts |
retry_post | Retry a failed post |
generate_upload_link | Get link to upload media |
import asyncio
from late import Late
async def main():
async with Late(api_key="...") as client:
posts = await client.posts.alist(status="scheduled")
asyncio.run(main())
pip install late-sdk[ai]
from late.ai import ContentGenerator, GenerateRequest
generator = ContentGenerator(provider="openai", api_key="sk-...")
response = generator.generate(
GenerateRequest(
prompt="Write a tweet about Python",
platform="twitter",
tone="casual",
)
)
print(response.text)
from late import Late
from late.pipelines import CSVSchedulerPipeline
client = Late(api_key="...")
pipeline = CSVSchedulerPipeline(client)
# Validate first
results = pipeline.schedule("posts.csv", dry_run=True)
# Then schedule
results = pipeline.schedule("posts.csv")
from late.pipelines import CrossPosterPipeline, PlatformConfig
cross_poster = CrossPosterPipeline(client)
results = await cross_poster.post(
content="Big announcement!",
platforms=[
PlatformConfig("twitter", "tw_123"),
PlatformConfig("linkedin", "li_456", delay_minutes=5),
],
)
| Resource | Methods |
|---|---|
client.posts | list, get, create, update, delete, retry |
client.profiles | list, get, create, update, delete |
client.accounts | list, get |
client.media | upload, upload_multiple |
client.analytics | get, get_usage |
client.tools | youtube_download, instagram_download, tiktok_download, generate_caption |
client.queue | get_slots, preview, next_slot |
client = Late(
api_key="...",
timeout=30.0, # seconds
max_retries=3,
)
MIT
FAQs
Python SDK for Late API - Social Media Scheduling
We found that late-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.

Security News
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.