python sample code to access Firefox Account (FxA) APIs
Перейти к файлу
Ryan Kelly e65eb2c229
Merge pull request #32 from Mozilla-GitHub-Standards/master
Add Mozilla Code of Conduct
2019-03-29 15:55:54 +11:00
fxa_client Include more helpful error message when 'scrypt' is not installed. 2014-09-18 19:33:10 +10:00
scripts scripts: clean up whitespace 2014-07-14 10:36:40 -07:00
.gitignore update Makefile instructions, setup process 2014-07-01 12:11:55 -07:00
CODE_OF_CONDUCT.md Add Mozilla Code of Conduct file 2019-03-28 21:54:45 -07:00
CONTRIBUTORS.txt Add a CONTRIBUTORS.txt file 2014-08-14 11:06:31 +10:00
LICENSE Add MPL-2.0 license file. Closes #29. 2016-04-28 09:48:43 -07:00
Makefile Makefile: fix 'vectors' target 2014-07-14 16:27:58 -07:00
README.md Remove 'scrypt' as a dependency and add instruction te be installed manually. (#22) 2014-09-18 11:11:42 +03:00
requirements.txt Remove 'scrypt' as a dependency and add instruction te be installed manually. (#22) 2014-09-18 11:11:42 +03:00
setup.py Bump version number to 1.3.0 2014-09-18 19:56:59 +10:00

README.md

fxa-python-client

Python sample code to access Firefox Account (FxA) APIs, run by the server in https://github.com/mozilla/fxa-auth-server . This is most useful for running automated tests, and as supplemental documentation of the protocol.

To install this package you need a couple of prerequisites, the cryptography module needs a C compiler and OpenSSL installed.

Windows

Linux (Ubuntu):

Open the terminal or any other package manager and install the following packages:

sudo apt-get install build-essential libssl-dev libffi-dev python-dev

Mac

The source tree also contains a tool to create test vectors for the FxA auth protocol. For that you'll need an additional python package which needs to be installed manually:

pip install -r requirements.txt