Skip to content

Commit 8e4d5e4

Browse files
committed
Get 4.4.1 ready after fork
1 parent 168c0fc commit 8e4d5e4

16 files changed

+35
-70
lines changed

.github/workflows/publish-to-pypi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
name: Upload Python Package
55

66
on:
7-
release:
8-
types: [created]
7+
# release:
8+
# types: [created]
99

1010
jobs:
1111
deploy:

README.md

Lines changed: 12 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,29 @@
1-
> A Discord Rich Presence Client in Python? Looks like you've come to the right place.
2-
3-
[![GitHub stars](https://img.shields.io/github/stars/qwertyquerty/pypresence.svg?style=for-the-badge&label=Stars)](https://github.com/qwertyquerty/pypresence) [![license](https://img.shields.io/github/license/qwertyquerty/pypresence.svg?style=for-the-badge)](https://github.com/qwertyquerty/pypresence/blob/master/LICENSE) ![GitHub last commit](https://img.shields.io/github/last-commit/qwertyquerty/pypresence.svg?style=for-the-badge) ![GitHub top language](https://img.shields.io/github/languages/top/qwertyquerty/pypresence.svg?style=for-the-badge) ![PyPI](https://img.shields.io/pypi/v/pypresence.svg?style=for-the-badge)
4-
5-
## NOTE: Only Python versions 3.9 and above are supported.
6-
7-
### [Documentation](https://qwertyquerty.github.io/pypresence/html/index.html), [Discord Server](https://discord.gg/JF3kg77), [Patreon](https://www.patreon.com/qwertyquerty)
1+
Forked as upstream did not make a release in quite a while, I hope to kill this fork off in the future.
82

9-
----------
10-
11-
**Use this badge in your project's Readme to show you're using pypresence! The markdown code is below.**
3+
I recommend doing `import lynxpresence as pypresence` to keep compatibility and allow easy switching in case upstream picks up again.
124

13-
[![pypresence](https://img.shields.io/badge/using-pypresence-00bb88.svg?style=for-the-badge&logo=discord&logoWidth=20)](https://github.com/qwertyquerty/pypresence)
14-
15-
```markdown
16-
[![pypresence](https://img.shields.io/badge/using-pypresence-00bb88.svg?style=for-the-badge&logo=discord&logoWidth=20)](https://github.com/qwertyquerty/pypresence)
17-
```
5+
> A Discord Rich Presence Client in Python? Looks like you've come to the right place.
186
7+
![PyPI](https://img.shields.io/pypi/v/lynxpresence.svg?style=for-the-badge)
198

209
----------
2110

2211
# Installation
2312

24-
Install pypresence with **`pip`**
25-
26-
For the latest development version:
13+
Install pypresence with `pip`, for the latest development version:
2714

28-
### `pip install https://github.com/qwertyquerty/pypresence/archive/master.zip`
15+
```shell
16+
pip install https://github.com/C0rn3j/lynxpresence/archive/master.zip
17+
```
2918

3019
For the latest stable version:
3120

32-
### `pip install pypresence`
21+
```shell
22+
pip install lynxpresence
23+
```
3324

3425
----------
3526

36-
3727
# Documentation
3828

3929
> [!Note]
@@ -49,15 +39,10 @@ For the latest stable version:
4939

5040
# Examples
5141

52-
Examples can be found in the [examples](https://github.com/qwertyquerty/pypresence/tree/master/examples) directory, and you can contribute your own examples if you wish, just read [examples.md](https://github.com/qwertyquerty/pypresence/blob/master/examples/examples.md)!
42+
Examples can be found in the [examples](https://github.com/C0rn3j/pypresence/tree/master/examples) directory, and you can contribute your own examples if you wish, just read [examples.md](https://github.com/C0rn3j/pypresence/blob/master/examples/examples.md)!
5343

5444
----------
5545

5646
# Development
5747

5848
Want to contribute? Check out the **[Development Guide](DEVELOPMENT.md)** for setup instructions, testing, code quality tools, and contribution guidelines.
59-
60-
----------
61-
Written by: [qwertyquerty](https://github.com/qwertyquerty)
62-
63-
Notable Contributors: [GiovanniMCMXCIX](https://github.com/GiovanniMCMXCIX), [GhostofGoes](https://github.com/GhostofGoes)

examples/client-authorize-example.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
Client Authorization Example (For using Client's methods)
44
```py
5-
import pypresence
6-
c = pypresence.Client(CLIENT_ID)
5+
import lynxpresence
6+
c = lynxpresence.Client(CLIENT_ID)
77
c.start()
88
auth = c.authorize(CLIENT_ID, ['rpc']) # If you need other scopes, add them
99
code_grant = auth.code

examples/full-event-client-example.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# this example has to be rewritten, exchange_code apparently doesn't exist anymore
22

33
# import asyncio
4-
# import pypresence
4+
# import lynxpresence
55

66
# CLIENT_ID = 555555555555555555
77

88
# loop = asyncio.get_event_loop()
9-
# c = pypresence.Client(CLIENT_ID, loop=loop)
9+
# c = lynxpresence.Client(CLIENT_ID, loop=loop)
1010
# c.start()
1111

1212
# # Prompt user for authorization to do stuff with RPC scopes

examples/rich-presence-program-detection.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
import psutil
44

5-
import pypresence
5+
import lynxpresence
66

7-
rpc = pypresence.Presence("0123..") # Put your Application ID here
7+
rpc = lynxpresence.Presence("0123..") # Put your Application ID here
88
data: dict | None = None
99

1010
rpc.connect()
Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
"""
22
Python RPC Client for Discord
3-
-----------------------------
4-
By: qwertyquerty and LewdNeko
53
"""
64

75
from .baseclient import BaseClient
@@ -10,8 +8,8 @@
108
from .presence import AioPresence, Presence
119
from .types import ActivityType, StatusDisplayType
1210

13-
__title__ = "pypresence"
14-
__author__ = "qwertyquerty"
15-
__copyright__ = "Copyright 2018 - Current qwertyquerty"
11+
__title__ = "lynxpresence"
12+
__author__ = "C0rn3j"
13+
__copyright__ = "Copyright 2018 - 2025"
1614
__license__ = "MIT"
17-
__version__ = "4.7.0-alpha.2"
15+
__version__ = "4.6.1"

0 commit comments

Comments
 (0)