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.0.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.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: simple_status-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 14a7e8c2060dbfccc1eeea3369abd24652588e4b3c2e18a1c72efd5ec416e0c7
MD5 fbfbc0301e77b488b36aca8e719f662e
BLAKE2b-256 409306bb38df0d6462895e39500fe1213e5fed12c412eebf8fc28cd83cbaff9c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: simple_status-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fe3406ff55f04e771e04414f8216e8c8513e30888b922af48f2ff698b8e165f5
MD5 85a13c831d3b7eaf3c8ab9e6b5e45ba6
BLAKE2b-256 1414dac41c12e179abf10eea2d15e293b62f0ffcfa460aa6487361d38cefdbeb

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