Skip to content

Commit 1d7b296

Browse files
author
Roland Hedberg
committed
Initial add
0 parents  commit 1d7b296

File tree

187 files changed

+98811
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

187 files changed

+98811
-0
lines changed

CHANGES

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
0.4.2 (2012-03-27)
2+
------------------
3+
- Add default attribute mappings
4+
5+
0.4.1 (2012-03-18)
6+
------------------
7+
- Auto sign authentication and logout requests following config options.
8+
- Add backwards compatibility with ElementTree in python < 2.7.
9+
- Fix minor bugs in the tests.
10+
- Support one more nameid format.

INSTALL

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
You need repoze.who to get the examples working, can be gotten through
2+
easy_install
3+
4+
easy_install "repoze.who=1.0.16"
5+
6+
!! 2.0 or newer are missing the form plugin which is used in some instances
7+
8+
Or from the PyPi site if you prefer to do it that way.
9+
Likewise for pyasn1.
10+
11+
You should get the latest version, which is right now 1.0.18 .
12+
13+
You also need xmlsec, which you can find here:
14+
15+
http://www.aleksey.com/xmlsec/
16+
17+
You may also need:
18+
19+
mako
20+
memcached
21+
python-memcache
22+
23+
Apart from that a normal
24+
25+
python setup.py install
26+
27+
will install the package.

MANIFEST.in

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
include INSTALL
2+
include README
3+
include TODO
4+
recursive-include tests *
5+
recursive-include example *
6+
recursive-include doc *

README

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
README for PySAML2
2+
==================
3+
4+
Dependencies
5+
------------
6+
Pylint should be compatible with any python >= 2.6 not 3.X yet.
7+
To be able to sign/verify, encrypt/decrypt you need xmlsec1.
8+
The repoze stuff works best together with repoze.who .
9+
10+
* http://www.aleksey.com/xmlsec/
11+
* http://static.repoze.org/whodocs/
12+
13+
Install
14+
-------
15+
You need repoze.who to get the examples working, can be gotten through
16+
easy_install
17+
18+
easy_install repoze.who
19+
20+
Or from the PyPi site if you prefer to do it that way.
21+
You should get the latest version, which is right now 1.0.18 .
22+
23+
You also need xmlsec, which you can find here:
24+
25+
http://www.aleksey.com/xmlsec/
26+
27+
Apart from that a normal
28+
29+
python setup.py install
30+
31+
will install the package.
32+
33+
Documentation
34+
-------------
35+
Look in the doc/ subdirectory.
36+
37+
Comments, support, bug reports
38+
------------------------------
39+
40+
Project page on :
41+
42+
https://code.launchpad.net/~roland-hedberg/pysaml2/main
43+
44+
Use the [email protected] mailing list. Since we do not have
45+
publicly available bug tracker yet, bug reports should be emailed
46+
there too.
47+
48+
You can subscribe to this mailing list at
49+
http://delfos.sci.uma.es/mailman/listinfo/pysaml2
50+
51+
Archives are available at
52+
http://delfos.sci.uma.es/mailman/private/pysaml2/
53+
54+
Contributors
55+
------------
56+
* Roland Hedberg: main author / maintainer
57+
* Lorenzo Gil Sanchez: Django integration

README.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
2+
*************************
3+
PySAML2 - SAML2 in Python
4+
*************************
5+
6+
:Author: Roland Hedberg
7+
:Version: 0.3
8+
9+
PySAML2 is a pure python implementation of a SAML2 service provider and to
10+
some extend also the identity provider. Originally written to work in a WSGI
11+
environment there are extensions that allow you to use it with other
12+
frameworks.
13+
14+
15+

TODO

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
1. Write documentations.
2+
2. Write unittests for signature related utility methods.
3+
3. Complete saml2 message class.

doc/Makefile

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
# Makefile for Sphinx documentation
2+
#
3+
4+
# You can set these variables from the command line.
5+
SPHINXOPTS =
6+
SPHINXBUILD = sphinx-build
7+
PAPER =
8+
9+
# Internal variables.
10+
PAPEROPT_a4 = -D latex_paper_size=a4
11+
PAPEROPT_letter = -D latex_paper_size=letter
12+
ALLSPHINXOPTS = -d _build/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
13+
14+
.PHONY: help clean html dirhtml pickle json htmlhelp qthelp latex changes linkcheck doctest
15+
16+
help:
17+
@echo "Please use \`make <target>' where <target> is one of"
18+
@echo " html to make standalone HTML files"
19+
@echo " dirhtml to make HTML files named index.html in directories"
20+
@echo " pickle to make pickle files"
21+
@echo " json to make JSON files"
22+
@echo " htmlhelp to make HTML files and a HTML help project"
23+
@echo " qthelp to make HTML files and a qthelp project"
24+
@echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
25+
@echo " changes to make an overview of all changed/added/deprecated items"
26+
@echo " linkcheck to check all external links for integrity"
27+
@echo " doctest to run all doctests embedded in the documentation (if enabled)"
28+
29+
clean:
30+
-rm -rf _build/*
31+
32+
html:
33+
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) _build/html
34+
@echo
35+
@echo "Build finished. The HTML pages are in _build/html."
36+
37+
dirhtml:
38+
$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) _build/dirhtml
39+
@echo
40+
@echo "Build finished. The HTML pages are in _build/dirhtml."
41+
42+
pickle:
43+
$(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) _build/pickle
44+
@echo
45+
@echo "Build finished; now you can process the pickle files."
46+
47+
json:
48+
$(SPHINXBUILD) -b json $(ALLSPHINXOPTS) _build/json
49+
@echo
50+
@echo "Build finished; now you can process the JSON files."
51+
52+
htmlhelp:
53+
$(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) _build/htmlhelp
54+
@echo
55+
@echo "Build finished; now you can run HTML Help Workshop with the" \
56+
".hhp project file in _build/htmlhelp."
57+
58+
qthelp:
59+
$(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) _build/qthelp
60+
@echo
61+
@echo "Build finished; now you can run "qcollectiongenerator" with the" \
62+
".qhcp project file in _build/qthelp, like this:"
63+
@echo "# qcollectiongenerator _build/qthelp/pysaml2.qhcp"
64+
@echo "To view the help file:"
65+
@echo "# assistant -collectionFile _build/qthelp/pysaml2.qhc"
66+
67+
latex:
68+
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) _build/latex
69+
@echo
70+
@echo "Build finished; the LaTeX files are in _build/latex."
71+
@echo "Run \`make all-pdf' or \`make all-ps' in that directory to" \
72+
"run these through (pdf)latex."
73+
74+
changes:
75+
$(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) _build/changes
76+
@echo
77+
@echo "The overview file is in _build/changes."
78+
79+
linkcheck:
80+
$(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) _build/linkcheck
81+
@echo
82+
@echo "Link check complete; look for any errors in the above output " \
83+
"or in _build/linkcheck/output.txt."
84+
85+
doctest:
86+
$(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) _build/doctest
87+
@echo "Testing of doctests in the sources finished, look at the " \
88+
"results in _build/doctest/output.txt."

doc/client.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
.. _client:
2+
3+
***********************************************
4+
Classes representing Service Provider instances
5+
***********************************************
6+
7+
:Author: Roland Hedberg
8+
:Version: |version|
9+
10+
.. module:: Client
11+
:synopsis: Classes representing Service Provider instances.
12+
13+
Module
14+
==========
15+
16+
.. automodule:: saml2.client
17+
:members:
18+

0 commit comments

Comments
 (0)