sipua 0.0.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. sipua-0.0.1/LICENSE +22 -0
  2. sipua-0.0.1/MANIFEST.in +9 -0
  3. sipua-0.0.1/Makefile +19 -0
  4. sipua-0.0.1/PKG-INFO +60 -0
  5. sipua-0.0.1/README.rst +26 -0
  6. sipua-0.0.1/docs/Makefile +20 -0
  7. sipua-0.0.1/docs/_build/doctrees/environment.pickle +0 -0
  8. sipua-0.0.1/docs/_build/doctrees/index.doctree +0 -0
  9. sipua-0.0.1/docs/_build/html/.buildinfo +4 -0
  10. sipua-0.0.1/docs/_build/html/_sources/index.rst.txt +29 -0
  11. sipua-0.0.1/docs/_build/html/_static/alabaster.css +663 -0
  12. sipua-0.0.1/docs/_build/html/_static/basic.css +906 -0
  13. sipua-0.0.1/docs/_build/html/_static/custom.css +1 -0
  14. sipua-0.0.1/docs/_build/html/_static/doctools.js +149 -0
  15. sipua-0.0.1/docs/_build/html/_static/documentation_options.js +13 -0
  16. sipua-0.0.1/docs/_build/html/_static/file.png +0 -0
  17. sipua-0.0.1/docs/_build/html/_static/github-banner.svg +5 -0
  18. sipua-0.0.1/docs/_build/html/_static/language_data.js +192 -0
  19. sipua-0.0.1/docs/_build/html/_static/minus.png +0 -0
  20. sipua-0.0.1/docs/_build/html/_static/plus.png +0 -0
  21. sipua-0.0.1/docs/_build/html/_static/pygments.css +84 -0
  22. sipua-0.0.1/docs/_build/html/_static/searchtools.js +635 -0
  23. sipua-0.0.1/docs/_build/html/_static/sphinx_highlight.js +154 -0
  24. sipua-0.0.1/docs/_build/html/genindex.html +158 -0
  25. sipua-0.0.1/docs/_build/html/index.html +139 -0
  26. sipua-0.0.1/docs/_build/html/objects.inv +0 -0
  27. sipua-0.0.1/docs/_build/html/py-modindex.html +117 -0
  28. sipua-0.0.1/docs/_build/html/search.html +117 -0
  29. sipua-0.0.1/docs/_build/html/searchindex.js +1 -0
  30. sipua-0.0.1/docs/conf.py +32 -0
  31. sipua-0.0.1/docs/index.rst +29 -0
  32. sipua-0.0.1/pyproject.toml +77 -0
  33. sipua-0.0.1/setup.cfg +4 -0
  34. sipua-0.0.1/src/sipua/__init__.py +13 -0
  35. sipua-0.0.1/src/sipua/py.typed +1 -0
  36. sipua-0.0.1/src/sipua/transport.py +327 -0
  37. sipua-0.0.1/src/sipua/utils.py +7 -0
  38. sipua-0.0.1/src/sipua.egg-info/PKG-INFO +60 -0
  39. sipua-0.0.1/src/sipua.egg-info/SOURCES.txt +43 -0
  40. sipua-0.0.1/src/sipua.egg-info/dependency_links.txt +1 -0
  41. sipua-0.0.1/src/sipua.egg-info/requires.txt +8 -0
  42. sipua-0.0.1/src/sipua.egg-info/top_level.txt +1 -0
  43. sipua-0.0.1/tests/__init__.py +0 -0
  44. sipua-0.0.1/tests/test_transport.py +473 -0
  45. sipua-0.0.1/tests/utils.py +21 -0
sipua-0.0.1/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) Spacinov SAS
2
+ All rights reserved.
3
+
4
+ Redistribution and use in source and binary forms, with or without
5
+ modification, are permitted provided that the following conditions are met:
6
+
7
+ 1. Redistributions of source code must retain the above copyright notice, this
8
+ list of conditions and the following disclaimer.
9
+ 2. Redistributions in binary form must reproduce the above copyright notice,
10
+ this list of conditions and the following disclaimer in the documentation
11
+ and/or other materials provided with the distribution.
12
+
13
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
14
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
15
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
16
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
17
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
18
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
19
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
20
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
21
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
22
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,9 @@
1
+ include LICENSE README.rst
2
+ include Makefile
3
+
4
+ graft docs
5
+ graft src
6
+ graft tests
7
+
8
+ exclude .readthedocs.yaml
9
+ global-exclude *.py[cod] __pycache__ .*.sw[po]
sipua-0.0.1/Makefile ADDED
@@ -0,0 +1,19 @@
1
+ all: test lint lint-pkg
2
+
3
+ lint:
4
+ ruff check --diff
5
+ ruff format --diff
6
+ mypy src tests
7
+
8
+ lint-pkg:
9
+ check-manifest
10
+ pyroma --directory .
11
+
12
+ setup-test:
13
+ pip install --editable .[dev]
14
+
15
+ test:
16
+ coverage erase
17
+ coverage run -m unittest discover -v
18
+ coverage html
19
+ coverage report --fail-under=100
sipua-0.0.1/PKG-INFO ADDED
@@ -0,0 +1,60 @@
1
+ Metadata-Version: 2.4
2
+ Name: sipua
3
+ Version: 0.0.1
4
+ Summary: Pure python SIP user agent
5
+ Author-email: Spacinov Engineering <opensource@spacinov.com>
6
+ License-Expression: BSD-2-Clause
7
+ Project-URL: Homepage, https://sipua.readthedocs.io/
8
+ Project-URL: Documentation, https://sipua.readthedocs.io/
9
+ Project-URL: Repository, https://github.com/spacinov/sipua
10
+ Project-URL: Issues, https://github.com/spacinov/sipua/issues
11
+ Keywords: SIP,RFC3261
12
+ Classifier: Development Status :: 3 - Alpha
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: Intended Audience :: System Administrators
15
+ Classifier: Intended Audience :: Telecommunications Industry
16
+ Classifier: Operating System :: OS Independent
17
+ Classifier: Programming Language :: Python :: 3.10
18
+ Classifier: Programming Language :: Python :: 3.11
19
+ Classifier: Programming Language :: Python :: 3.12
20
+ Classifier: Programming Language :: Python :: 3.13
21
+ Classifier: Topic :: Communications :: Telephony
22
+ Classifier: Typing :: Typed
23
+ Requires-Python: >=3.10
24
+ Description-Content-Type: text/x-rst
25
+ License-File: LICENSE
26
+ Requires-Dist: sipmessage
27
+ Provides-Extra: dev
28
+ Requires-Dist: check-manifest; extra == "dev"
29
+ Requires-Dist: coverage; extra == "dev"
30
+ Requires-Dist: mypy; extra == "dev"
31
+ Requires-Dist: pyroma; extra == "dev"
32
+ Requires-Dist: ruff; extra == "dev"
33
+ Dynamic: license-file
34
+
35
+ sipua
36
+ =====
37
+
38
+ |license| |version| |tests| |coverage| |docs|
39
+
40
+ .. |license| image:: https://img.shields.io/pypi/l/sipua.svg
41
+ :target: https://pypi.python.org/pypi/sipua
42
+ :alt: License
43
+
44
+ .. |version| image:: https://img.shields.io/pypi/v/sipua.svg
45
+ :target: https://pypi.python.org/pypi/sipua
46
+ :alt: Version
47
+
48
+ .. |tests| image:: https://github.com/spacinov/sipua/workflows/tests/badge.svg
49
+ :target: https://github.com/spacinov/sipua/actions
50
+ :alt: Tests
51
+
52
+ .. |coverage| image:: https://img.shields.io/codecov/c/github/spacinov/sipua.svg
53
+ :target: https://codecov.io/gh/spacinov/sipua
54
+ :alt: Coverage
55
+
56
+ .. |docs| image:: https://readthedocs.org/projects/sipua/badge/?version=latest
57
+ :target: https://sipua.readthedocs.io/
58
+ :alt: Documentation
59
+
60
+ The ``sipua`` project provides a library for writing SIP user agents in Python.
sipua-0.0.1/README.rst ADDED
@@ -0,0 +1,26 @@
1
+ sipua
2
+ =====
3
+
4
+ |license| |version| |tests| |coverage| |docs|
5
+
6
+ .. |license| image:: https://img.shields.io/pypi/l/sipua.svg
7
+ :target: https://pypi.python.org/pypi/sipua
8
+ :alt: License
9
+
10
+ .. |version| image:: https://img.shields.io/pypi/v/sipua.svg
11
+ :target: https://pypi.python.org/pypi/sipua
12
+ :alt: Version
13
+
14
+ .. |tests| image:: https://github.com/spacinov/sipua/workflows/tests/badge.svg
15
+ :target: https://github.com/spacinov/sipua/actions
16
+ :alt: Tests
17
+
18
+ .. |coverage| image:: https://img.shields.io/codecov/c/github/spacinov/sipua.svg
19
+ :target: https://codecov.io/gh/spacinov/sipua
20
+ :alt: Coverage
21
+
22
+ .. |docs| image:: https://readthedocs.org/projects/sipua/badge/?version=latest
23
+ :target: https://sipua.readthedocs.io/
24
+ :alt: Documentation
25
+
26
+ The ``sipua`` project provides a library for writing SIP user agents in Python.
@@ -0,0 +1,20 @@
1
+ # Minimal makefile for Sphinx documentation
2
+ #
3
+
4
+ # You can set these variables from the command line, and also
5
+ # from the environment for the first two.
6
+ SPHINXOPTS ?=
7
+ SPHINXBUILD ?= sphinx-build
8
+ SOURCEDIR = .
9
+ BUILDDIR = _build
10
+
11
+ # Put it first so that "make" without argument is like "make help".
12
+ help:
13
+ @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
14
+
15
+ .PHONY: help Makefile
16
+
17
+ # Catch-all target: route all unknown targets to Sphinx using the new
18
+ # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
19
+ %: Makefile
20
+ @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
@@ -0,0 +1,4 @@
1
+ # Sphinx build info version 1
2
+ # This file records the configuration used when building these files. When it is not found, a full rebuild will be done.
3
+ config: ee254028da7ee01b679fcb06e64b41fc
4
+ tags: 645f666f9bcd5a90fca523b33c5a78b7
@@ -0,0 +1,29 @@
1
+ sipua
2
+ =====
3
+
4
+ .. image:: https://img.shields.io/pypi/l/sipua.svg
5
+ :target: https://pypi.python.org/pypi/sipua
6
+ :alt: License
7
+
8
+ .. image:: https://img.shields.io/pypi/v/sipua.svg
9
+ :target: https://pypi.python.org/pypi/sipua
10
+ :alt: Version
11
+
12
+ .. image:: https://github.com/spacinov/sipua/workflows/tests/badge.svg
13
+ :target: https://github.com/spacinov/sipua/actions
14
+ :alt: Tests
15
+
16
+ .. image:: https://img.shields.io/codecov/c/github/spacinov/sipua.svg
17
+ :target: https://codecov.io/gh/spacinov/sipua
18
+ :alt: Coverage
19
+
20
+ The ``sipua`` project provides a library for writing SIP user agents in Python.
21
+
22
+ API Reference
23
+ -------------
24
+
25
+ .. automodule:: sipua
26
+ :members:
27
+
28
+ .. toctree::
29
+ :maxdepth: 2