Skip to main content

Simple Discord Rich Presence helper for Python

Project description

simple_status

simple_status is a lean Python library for setting Discord Rich Presence with minimal boilerplate. It’s ideal for personal tools, games, and development utilities where you want a quick presence update.

features

  • Set rich activity details with a single API call
  • Support for title, state, details, and time
  • Large and small image keys, plus clickable button action
  • Optional client_id (defaults to a built-in app ID for convenience)
  • Minimal dependency scope and easy script integration

Installation

Install from PyPI:

pip install simple_status

Quick start

import time
import simple_status

simple_status.set(
    client_id="YOUR_DISCORD_APP_ID",        # Optional; uses default app ID if blank
    title="My Cool App",
    state="Working on automation",
    details="Generating random content",
    large_image="logo",                  # Discord asset key from app dashboard (requires client_id)
    small_image="small_logo",            # Optional second image asset key (require client_id)
    button=("Visit docs", "https://example.com")
)

# Keep process alive, presence updates are pushed automatically
while True:
    time.sleep(15)

Discord setup

  1. Open Discord Developer Portal
  2. Create an application
  3. Upload image assets (keys used in large_image/small_image)
  4. Copy the application ID to client_id

Notes

  • Discord Rich Presence requires the Discord client running locally.
  • Changes may take a few seconds to appear.
  • To use images you need to use your own app id

FAQ

  1. Why isn't my image working?: To use images make sure you are using your own app id, set with client_id, then make sure the image is uploaded to discord devolper portal Any further questions DM me on discord (Toasterclan1)

License

This project is licensed under CC BY-NC 4.0.

  • Permission granted to copy, share, and adapt.
  • Must provide attribution to the original author.
  • Commercial use (selling or selling copies) is prohibited.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

simple_status-0.1.1.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

simple_status-0.1.1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file simple_status-0.1.1.tar.gz.

File metadata

  • Download URL: simple_status-0.1.1.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for simple_status-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8b12e14eff4f0ef826f70578fe0c053bca203033ed87ddfb0414aee1f9b80aac
MD5 a3b05fda7d7a5c4ff88a81b6084fb9ec
BLAKE2b-256 31fb3ac3bf8b63015079d362147fb0605ef0c798feee9c7abc4dfda3faf06db4

See more details on using hashes here.

File details

Details for the file simple_status-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: simple_status-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for simple_status-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b8db775f3ef955998509c44eaec18b5eb98c1d94b3228d91392f1dd597dc9de0
MD5 f22d19204310bbaa802f811cc707915c
BLAKE2b-256 37178ad84c6500afda324218219e33fcee967cd71772597c1281516dfefb8fdc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page