You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python bindings for the `XML Security Library <https://www.aleksey.com/xmlsec/>`_.
19
+
20
+
Documentation
21
+
*************
22
+
23
+
A documentation for ``xmlsec`` can be found at `xmlsec.readthedocs.io <https://xmlsec.readthedocs.io/>`_.
19
24
20
-
******
21
25
Usage
22
-
******
26
+
*****
23
27
24
-
Check the `examples <http://pythonhosted.org/xmlsec/examples.html>`_ to see various examples of signing and verifying using the library.
28
+
Check the `examples <https://xmlsec.readthedocs.io/en/latest/examples.html>`_ section in the documentation to see various examples of signing and verifying using the library.
#. Change into the ``python-xmlsec`` root directory.
132
126
133
-
.. code-block:: bash
127
+
.. code-block:: bash
134
128
135
-
cd /path/to/xmlsec
129
+
cd /path/to/xmlsec
136
130
137
131
138
-
#. Install the project and all its dependencies using `pip`.
132
+
#. Install the project and all its dependencies using ``pip``.
139
133
140
-
.. code-block:: bash
134
+
.. code-block:: bash
141
135
142
-
pip install .
136
+
pip install .
143
137
144
138
145
-
************
146
139
Contributing
147
140
************
148
141
@@ -156,66 +149,59 @@ Setting up your environment
156
149
This is done so as to ensure every contributor is working with
157
150
close-to-identicial versions of packages.
158
151
159
-
.. code-block:: bash
152
+
.. code-block:: bash
153
+
154
+
mkvirtualenv xmlsec
155
+
156
+
The ``mkvirtualenv`` command is available from ``virtualenvwrapper`` package which can be installed by following `link <http://virtualenvwrapper.readthedocs.org/en/latest/install.html#basic-installation>`_.
160
157
161
-
mkvirtualenv xmlsec
158
+
#. Activate the created virtual environment:
162
159
160
+
.. code-block:: bash
163
161
164
-
The `mkvirtualenv` command is available from `virtualenvwrapper` which
165
-
can be installed by following `link <http://virtualenvwrapper.readthedocs.org/en/latest/install.html#basic-installation>`_
162
+
workon xmlsec
166
163
167
-
#. Install **xmlsec** in development mode with testing enabled.
164
+
#. Install ``xmlsec`` in development mode with testing enabled.
168
165
This will download all dependencies required for running the unit tests.
169
166
170
-
.. code-block:: bash
167
+
.. code-block:: bash
171
168
172
-
pip install -r requirements-test.txt
173
-
pip install -e "."
169
+
pip install -r requirements-test.txt
170
+
pip install -e "."
174
171
175
172
176
173
Running the test suite
177
174
----------------------
178
175
179
-
#. [Set up your environment](#setting-up-your-environment).
176
+
#. `Set up your environment<#setting-up-your-environment>`_.
180
177
181
178
#. Run the unit tests.
182
179
183
-
.. code-block:: bash
180
+
.. code-block:: bash
184
181
185
-
py.test tests
182
+
pytest tests
186
183
187
184
#. Tests configuration
188
-
Env variable **PYXMLSEC_TEST_ITERATIONS** specifies number of test iterations to detect memory leaks.
189
185
190
-
Reporting a issue
191
-
-----------------
192
-
Please attach the output of following information:
193
-
version of python-xmlsec
194
-
version of libxmlsec1
195
-
version of libxml2
196
-
197
-
output from command:
198
-
199
-
.. code-block:: bash
186
+
Env variable ``PYXMLSEC_TEST_ITERATIONS`` specifies number of
187
+
test iterations to detect memory leaks.
200
188
201
-
pkg-config --cflags xmlsec1
189
+
Reporting an issue
190
+
------------------
202
191
192
+
Please attach the output of following information:
203
193
204
-
******************
205
-
Versions of python
206
-
******************
194
+
* version of ``xmlsec``
195
+
* version of ``libxmlsec1``
196
+
* version of ``libxml2``
197
+
* output from the command
207
198
208
-
The following versions of python is supported:
199
+
.. code-block:: bash
209
200
210
-
- python2.7
211
-
- python3.4
212
-
- python3.5 (required libxmlsec1 >= 1.2.18 and libxml2 >= 2.9.1)
213
-
- python3.6 (required libxmlsec1 >= 1.2.18 and libxml2 >= 2.9.1)
214
-
- python3.7 (required libxmlsec1 >= 1.2.18 and libxml2 >= 2.9.1)
201
+
pkg-config --cflags xmlsec1
215
202
216
-
*******
217
203
License
218
204
*******
219
205
220
-
Unless otherwise noted, all files contained within this project are liensed under the MIT opensource license.
221
-
See the included file LICENSE or visit `opensource.org <http://opensource.org/licenses/MIT>`_ for more information.
206
+
Unless otherwise noted, all files contained within this project are licensed under the MIT opensource license.
207
+
See the included ``LICENSE`` file or visit `opensource.org <http://opensource.org/licenses/MIT>`_ for more information.
0 commit comments