session-python 1.0.2__py3-none-any.whl → 1.0.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {session_python-1.0.2.dist-info → session_python-1.0.3.dist-info}/METADATA +32 -1
- {session_python-1.0.2.dist-info → session_python-1.0.3.dist-info}/RECORD +6 -6
- {session_python-1.0.2.dist-info → session_python-1.0.3.dist-info}/WHEEL +0 -0
- {session_python-1.0.2.dist-info → session_python-1.0.3.dist-info}/entry_points.txt +0 -0
- {session_python-1.0.2.dist-info → session_python-1.0.3.dist-info}/licenses/LICENSE +0 -0
- {session_python-1.0.2.dist-info → session_python-1.0.3.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: session-python
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.3
|
|
4
4
|
Summary: A pure Python implementation of the Session Messenger protocol client
|
|
5
5
|
Author-email: Towux <towux@users.noreply.github.com>
|
|
6
6
|
Project-URL: Homepage, https://github.com/towux/session-python
|
|
@@ -148,8 +148,39 @@ with Session(proxy=PROXY) as session:
|
|
|
148
148
|
session.delete_message(conversation=RECIPIENT_ID, timestamp=1783586415070, hash_val="IXFgLeoj...")
|
|
149
149
|
```
|
|
150
150
|
|
|
151
|
+
## 💻 Command Line Interface (CLI)
|
|
152
|
+
|
|
153
|
+
The package installs a command-line tool `sscli` to manage mnemonics and generate accounts directly from the terminal.
|
|
154
|
+
|
|
155
|
+
### 1. Generate a new Session ID and Mnemonic
|
|
156
|
+
```bash
|
|
157
|
+
sscli mnemonic gen
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
### 2. Generate a Vanity Session ID (Prefix Brute-force)
|
|
161
|
+
Find custom Session IDs. By default, this uses all available CPU threads for maximum performance:
|
|
162
|
+
```bash
|
|
163
|
+
# Find a Session ID starting with '05abc...'
|
|
164
|
+
sscli mnemonic gen -p abc
|
|
165
|
+
|
|
166
|
+
# Generate 3 accounts starting with '0577...' using 2 threads
|
|
167
|
+
sscli mnemonic gen -p 77 -n 3 -t 2
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
### 3. Derive Session ID from existing mnemonic
|
|
171
|
+
```bash
|
|
172
|
+
sscli mnemonic gen "your 13 word mnemonic here..."
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
### 4. Verify a mnemonic
|
|
176
|
+
Validates the checksum and words of a mnemonic, and outputs its hex seed and Session ID:
|
|
177
|
+
```bash
|
|
178
|
+
sscli mnemonic verify "your 13 word mnemonic here..."
|
|
179
|
+
```
|
|
180
|
+
|
|
151
181
|
---
|
|
152
182
|
|
|
183
|
+
|
|
153
184
|
## ⚖️ License
|
|
154
185
|
|
|
155
186
|
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
|
|
@@ -7,9 +7,9 @@ session_python/network.py,sha256=50Usnv08R2TgqGq4VURivIzaFhVBOajAt8zaNsXhiL4,671
|
|
|
7
7
|
session_python/polling.py,sha256=IaggPaEzMtxSD6gryaiimmW7OFFcDy1Wmqk0GByAPcU,8615
|
|
8
8
|
session_python/protobuf/__init__.py,sha256=4rb44gL-mJV1hlfw6s7bgND1OHr8YlN-jTM-SzgchVY,19
|
|
9
9
|
session_python/protobuf/signalservice_pb2.py,sha256=iBBjC0dBWlBS2gQe7mLkY_YlyjOaWlCaHl0rZyghR0c,14465
|
|
10
|
-
session_python-1.0.
|
|
11
|
-
session_python-1.0.
|
|
12
|
-
session_python-1.0.
|
|
13
|
-
session_python-1.0.
|
|
14
|
-
session_python-1.0.
|
|
15
|
-
session_python-1.0.
|
|
10
|
+
session_python-1.0.3.dist-info/licenses/LICENSE,sha256=1EF7fItXLWrIq-VFUyWGfkNILQebdb_LS5CiT6B-qu4,1062
|
|
11
|
+
session_python-1.0.3.dist-info/METADATA,sha256=z41K8ZVNlxGj3xp78ZaOQLggqFAw4Q8QCuz5-LKwKeI,6964
|
|
12
|
+
session_python-1.0.3.dist-info/WHEEL,sha256=K260EYznzXsJYBQGqmI8VTxEdiZYNvDZwW9cBh9-_MA,91
|
|
13
|
+
session_python-1.0.3.dist-info/entry_points.txt,sha256=ARn3FY9TtSioZO5Ybg_xdGszu91CDkfdDhQyJzqYmxs,50
|
|
14
|
+
session_python-1.0.3.dist-info/top_level.txt,sha256=ud9usATeSN6ArJTxpZ_d19Gid7FAGR4kHubtN2-By9g,15
|
|
15
|
+
session_python-1.0.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|