File tree Expand file tree Collapse file tree 2 files changed +37
-3
lines changed
Expand file tree Collapse file tree 2 files changed +37
-3
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ Install with **pip**:
2929
3030 $ pip install PyJWT
3131
32+
3233 Usage
3334-----
3435
@@ -41,11 +42,28 @@ Usage
4142 >> > jwt.decode(encoded, ' secret' , algorithms = [' HS256' ])
4243 {' some' : ' payload' }
4344
45+
46+ Command line
47+ ------------
48+
49+ Usage::
50+
51+ pyjwt [options] INPUT
52+
53+ Decoding examples::
54+
55+ pyjwt --key=secret TOKEN
56+ pyjwt --no-verify TOKEN
57+
58+ See more options executing ``pyjwt --help ``.
59+
60+
4461Documentation
4562-------------
4663
4764View the full docs online at https://pyjwt.readthedocs.io/en/latest/
4865
66+
4967Tests
5068-----
5169
Original file line number Diff line number Diff line change 11Welcome to ``PyJWT ``
2- ===========================
2+ ====================
33
44``PyJWT `` is a Python library which allows you to encode and decode JSON Web
55Tokens (JWT). JWT is an open, industry-standard (`RFC 7519 `_) for representing
@@ -16,7 +16,7 @@ You can install ``pyjwt`` with ``pip``:
1616 See :doc: `Installation <installation >` for more information.
1717
1818Example Usage
19- ------------
19+ -------------
2020
2121.. code-block :: python
2222
@@ -28,9 +28,25 @@ Example Usage
2828 >> > jwt.decode(' eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzb21lIjoicGF5bG9hZCJ9.4twFt5NiznN84AWoo1d7KO1T_yoc0Z6XOpOVswacPZg' , ' secret' )
2929 {' some' : ' payload' }
3030
31-
3231 See :doc: `Usage Examples <usage >` for more examples.
3332
33+ Command line
34+ ------------
35+
36+ Usage::
37+
38+ pyjwt [options] INPUT
39+
40+ Decoding examples::
41+
42+ pyjwt --key=secret TOKEN
43+ pyjwt --no-verify TOKEN
44+
45+ See more options executing ``pyjwt --help ``.
46+
47+ Index
48+ -----
49+
3450.. toctree ::
3551 :maxdepth: 2
3652
You can’t perform that action at this time.
0 commit comments