• Stars
    star
    4,883
  • Rank 8,164 (Top 0.2 %)
  • Language
    Python
  • License
    MIT License
  • Created about 13 years ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

JSON Web Token implementation in Python

PyJWT

image

image

image

image

A Python implementation of RFC 7519. Original implementation was written by @progrium.

Installing

Install with pip:

$ pip install PyJWT

Usage

>>> import jwt
>>> encoded = jwt.encode({"some": "payload"}, "secret", algorithm="HS256")
>>> print(encoded)
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzb21lIjoicGF5bG9hZCJ9.4twFt5NiznN84AWoo1d7KO1T_yoc0Z6XOpOVswacPZg
>>> jwt.decode(encoded, "secret", algorithms=["HS256"])
{'some': 'payload'}

Documentation

View the full docs online at https://pyjwt.readthedocs.io/en/stable/

Tests

You can run tests from the project root after cloning with:

$ tox

More Repositories

1

django-rest-framework-jwt

JSON Web Token Authentication support for Django REST Framework
Python
3,185
star
2

django-project-template

Project template layout for Django 3.0+
Python
691
star
3

django-dotenv

Loads environment variables from .env
Python
566
star
4

juicebox

A virtual machine designed for programming workshops.
Shell
533
star
5

redisapp

The easiest way to get started with Redis on the Mac
Objective-C
351
star
6

django-jwt-auth

JSON Web Token Authentication support for Django
Python
164
star
7

black-playground

psf/black online demo
JavaScript
155
star
8

cookiecutter-django-rest-framework

A cookiecutter template for creating reusable Django REST Framework packages quickly.
Python
90
star
9

django-rest-framework-xml

XML support for Django REST Framework
Python
84
star
10

rabbitmqapp

The easiest way to get started with RabbitMQ on the Mac
Objective-C
65
star
11

django-rest-framework-oauth

OAuth support for Django REST Framework
Python
57
star
12

ember-fastboot-docker

Dockerized Node.js server for running Ember FastBoot apps
JavaScript
42
star
13

postmark-inbound-python

Python Wrapper for Postmark Inbound
Python
37
star
14

feedleap

Your RSS feeds as Clips in a Kippt List
CSS
36
star
15

django-rest-framework-yaml

YAML support for Django REST Framework
Python
30
star
16

ember-poe

Simple Markdown editor Ember Application using localStorage
CoffeeScript
29
star
17

telegram-gate

Las 889 páginas de Telegram entre Rosselló Nevares y sus allegados
JavaScript
27
star
18

tumblr-to-ghost

Tumblr exporter to Ghost importer
Python
26
star
19

yapf-online

google/yapf online demo
HTML
24
star
20

tracking-luma-outages

Record de datos de interrupciones de servicio reportados por LUMA Energy en Puerto Rico a través de el portal de Mi LUMA.
Python
24
star
21

django-rest-framework-jsonp

JSONP support for Django REST Framework
Python
20
star
22

mandrill-inbound-python

Python Wrapper for Mandrill Inbound Email
Python
20
star
23

notaso

Conoce a tus profesores antes de llegar al salón.
JavaScript
20
star
24

dotfiles

This is a collection of my dotfiles for Mac OS X.
Shell
18
star
25

statsd-graphite-vm

Vagrant VM for StatsD + Graphite
Ruby
16
star
26

ivona-go

Go client library for IVONA Speech Cloud API
Go
15
star
27

heroku-flower

Deploy Flower to Heroku
14
star
28

tracking-status-pr

This tool scrapes status.pr every hour and keeps tracks of changing metrics in order to help visualize and measure progress.
Python
14
star
29

codeigniter-s3-swfupload

Uploading directly to S3 using Codeigniter and swfUpload
13
star
30

HackerDesignerNews

Hacker News and Designer News Aggregator and Web API
JavaScript
13
star
31

designer-news-python

Python library for the Designer News API
Python
11
star
32

barcampinator

Barcamp user registration tool + presentation display
JavaScript
10
star
33

ember-clipboard

Ember.js addon component for clipboard.js
JavaScript
9
star
34

thenews-api

Scraper and Web API for thenews.im
JavaScript
7
star
35

WallIt

A fun geolocation app powered by ACS. Inspired by Anywall(which is powered by Parse)
JavaScript
6
star
36

alchemyapi-go

Go client library for AlchemyAPI
Go
6
star
37

tracking-gov-pr

Tracking gov.pr properties
Python
5
star
38

apex-chat

Las 72 páginas del chat de APEX entre Robert Rodriguez y sus allegados
JavaScript
3
star
39

datasette-mortalidad

Herramienta para explorar la Base de Datos de Mortalidad en Puerto Rico
Python
3
star
40

npm-repo

Redirect to an npm package's repository
JavaScript
3
star
41

better-endi

Browser extensions to bypass transition ads in endi.com
JavaScript
2
star
42

vagrant-example

Playing around with Vagrant and Chef
Ruby
1
star
43

bokamerki

CSS
1
star
44

oghowto

1
star
45

email-hangman

Hangman via email
Python
1
star
46

rttm

Go
1
star
47

py-backwards-online

py-backwards online demo
HTML
1
star
48

auth0-quiz

A Quiz generator for questions regarding security, authorization and authentication. You can use this to create any quiz you want.
JavaScript
1
star
49

glimmer-electron-demo

Run glimmer in electron with the help of ember-electron
JavaScript
1
star
50

remindeat

Never forget what you've already ate at a restaurant
Python
1
star
51

ember-hn-clone

A Hacker News / Designer News clone built with Ember.js
JavaScript
1
star