rsclib 0.66__tar.gz → 0.68__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.
- rsclib-0.68/LICENSE +23 -0
- {rsclib-0.66/rsclib.egg-info → rsclib-0.68}/PKG-INFO +24 -8
- {rsclib-0.66 → rsclib-0.68}/README.html +10 -2
- {rsclib-0.66 → rsclib-0.68}/README.rst +13 -3
- {rsclib-0.66 → rsclib-0.68}/pyproject.toml +17 -15
- {rsclib-0.66 → rsclib-0.68}/rsclib/Config_File.py +15 -11
- {rsclib-0.66 → rsclib-0.68}/rsclib/IP_Address.py +16 -12
- {rsclib-0.66 → rsclib-0.68}/rsclib/Math.py +15 -12
- {rsclib-0.66 → rsclib-0.68}/rsclib/PDF_Signature.py +15 -11
- {rsclib-0.66 → rsclib-0.68}/rsclib/PM_Value.py +15 -11
- {rsclib-0.66 → rsclib-0.68}/rsclib/Phone.py +15 -12
- {rsclib-0.66 → rsclib-0.68}/rsclib/TeX_CSV_Writer.py +15 -11
- rsclib-0.68/rsclib/Version.py +1 -0
- {rsclib-0.66 → rsclib-0.68}/rsclib/ast_call.py +16 -12
- {rsclib-0.66 → rsclib-0.68}/rsclib/ast_cdr.py +16 -12
- {rsclib-0.66 → rsclib-0.68}/rsclib/ast_probe.py +15 -11
- rsclib-0.68/rsclib/base_pickler.py +42 -0
- {rsclib-0.66 → rsclib-0.68}/rsclib/bero.py +15 -11
- rsclib-0.68/rsclib/capacitance.py +50 -0
- {rsclib-0.66 → rsclib-0.68}/rsclib/crm.py +15 -11
- {rsclib-0.66 → rsclib-0.68}/rsclib/execute.py +17 -11
- {rsclib-0.66 → rsclib-0.68}/rsclib/grepmime.py +15 -12
- {rsclib-0.66 → rsclib-0.68}/rsclib/hexdump.py +15 -11
- {rsclib-0.66 → rsclib-0.68}/rsclib/inductance.py +17 -14
- {rsclib-0.66 → rsclib-0.68}/rsclib/isdn.py +16 -12
- {rsclib-0.66 → rsclib-0.68}/rsclib/iter_recipes.py +17 -12
- rsclib-0.68/rsclib/lc_resonator.py +54 -0
- {rsclib-0.66 → rsclib-0.68}/rsclib/nmap.py +16 -12
- {rsclib-0.66 → rsclib-0.68}/rsclib/ocf.py +16 -12
- {rsclib-0.66 → rsclib-0.68}/rsclib/pycompat.py +15 -11
- rsclib-0.66/rsclib/Rational.py → rsclib-0.68/rsclib/rational.py +34 -21
- {rsclib-0.66 → rsclib-0.68}/rsclib/sqlparser.py +15 -11
- {rsclib-0.66 → rsclib-0.68}/rsclib/stateparser.py +16 -12
- {rsclib-0.66 → rsclib-0.68}/rsclib/timeout.py +15 -12
- {rsclib-0.66 → rsclib-0.68}/rsclib/trafficshape.py +19 -15
- {rsclib-0.66 → rsclib-0.68/rsclib.egg-info}/PKG-INFO +24 -8
- {rsclib-0.66 → rsclib-0.68}/rsclib.egg-info/SOURCES.txt +2 -1
- rsclib-0.66/rsclib/Version.py +0 -1
- rsclib-0.66/rsclib/base_pickler.py +0 -38
- rsclib-0.66/rsclib/capacitance.py +0 -46
- rsclib-0.66/rsclib/lc_resonator.py +0 -51
- {rsclib-0.66 → rsclib-0.68}/MANIFEST.in +0 -0
- {rsclib-0.66 → rsclib-0.68}/rsclib/__init__.py +0 -0
- {rsclib-0.66 → rsclib-0.68}/rsclib/autosuper.py +0 -0
- {rsclib-0.66 → rsclib-0.68}/rsclib.egg-info/dependency_links.txt +0 -0
- {rsclib-0.66 → rsclib-0.68}/rsclib.egg-info/entry_points.txt +0 -0
- {rsclib-0.66 → rsclib-0.68}/rsclib.egg-info/top_level.txt +0 -0
- {rsclib-0.66 → rsclib-0.68}/setup.cfg +0 -0
- {rsclib-0.66 → rsclib-0.68}/setup.py +0 -0
- {rsclib-0.66 → rsclib-0.68}/test2_exec.py +0 -0
- {rsclib-0.66 → rsclib-0.68}/test_exec.py +0 -0
- {rsclib-0.66 → rsclib-0.68}/test_ipt.py +0 -0
- {rsclib-0.66 → rsclib-0.68}/test_ipt2.py +0 -0
rsclib-0.68/LICENSE
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
Copyright (C) 2005-25 Dr. Ralf Schlatterbeck Open Source Consulting.
|
2
|
+
Reichergasse 131, A-3411 Weidling.
|
3
|
+
Web: http://www.runtux.com Email: office@runtux.com
|
4
|
+
All rights reserved
|
5
|
+
****************************************************************************
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
7
|
+
of this software and associated documentation files (the "Software"), to deal
|
8
|
+
in the Software without restriction, including without limitation the rights
|
9
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
10
|
+
copies of the Software, and to permit persons to whom the Software is
|
11
|
+
furnished to do so, subject to the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be included in
|
14
|
+
all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
17
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
18
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
19
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
20
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
21
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
22
|
+
SOFTWARE.
|
23
|
+
****************************************************************************
|
@@ -1,17 +1,16 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.4
|
2
2
|
Name: rsclib
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.68
|
4
4
|
Summary: Misc. basic stuff needed by RSCs tools
|
5
5
|
Home-page: http://rsclib.sourceforge.net/
|
6
|
-
Download-URL: http://downloads.sourceforge.net/project/rsclib/rsclib/0.
|
6
|
+
Download-URL: http://downloads.sourceforge.net/project/rsclib/rsclib/0.68/rsclib-0.68.tar.gz
|
7
7
|
Author: Ralf Schlatterbeck
|
8
8
|
Author-email: Ralf Schlatterbeck <rsc@runtux.com>
|
9
|
-
License:
|
9
|
+
License-Expression: MIT
|
10
10
|
Project-URL: Homepage, https://github.com/schlatterbeck/rsclib
|
11
11
|
Project-URL: Bug Tracker, https://github.com/schlatterbeck/rsclib/issues
|
12
12
|
Platform: Any
|
13
13
|
Classifier: Development Status :: 5 - Production/Stable
|
14
|
-
Classifier: License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)
|
15
14
|
Classifier: Operating System :: OS Independent
|
16
15
|
Classifier: Programming Language :: Python
|
17
16
|
Classifier: Intended Audience :: Developers
|
@@ -27,6 +26,13 @@ Classifier: Programming Language :: Python :: 3.10
|
|
27
26
|
Classifier: Programming Language :: Python :: 3.11
|
28
27
|
Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4
|
29
28
|
Description-Content-Type: text/x-rst
|
29
|
+
License-File: LICENSE
|
30
|
+
Dynamic: author
|
31
|
+
Dynamic: download-url
|
32
|
+
Dynamic: home-page
|
33
|
+
Dynamic: license-file
|
34
|
+
Dynamic: platform
|
35
|
+
Dynamic: requires-python
|
30
36
|
|
31
37
|
rsclib: Utility Routines
|
32
38
|
========================
|
@@ -146,11 +152,21 @@ Alternatively get it from pypi and/or install via pip.
|
|
146
152
|
Changes
|
147
153
|
-------
|
148
154
|
|
155
|
+
Version 0.68: License change
|
156
|
+
|
157
|
+
- Change license from LGPL to MIT
|
158
|
+
|
159
|
+
Version 0.67: Bugfixes in rational and iter_recipes.batched
|
160
|
+
|
161
|
+
- iter_recipes.batched now doesn't return an empty batch
|
162
|
+
- Rename Rational module to rational
|
163
|
+
- Fix division in rational module
|
164
|
+
|
149
165
|
Version 0.66: Hexdump parsing, iter_recipes.batched
|
150
166
|
|
151
|
-
|
152
|
-
|
153
|
-
|
167
|
+
- Add iter_recipes.batched which appears in Python 3.12
|
168
|
+
- Hexdump parsing is more tolerant now
|
169
|
+
- Some overlooked Python3 changes
|
154
170
|
|
155
171
|
Version 0.65: Use pyproject.toml
|
156
172
|
|
@@ -394,14 +394,22 @@ python setup.py install --prefix=/usr/local
|
|
394
394
|
</div>
|
395
395
|
<div class="section" id="changes">
|
396
396
|
<h1>Changes</h1>
|
397
|
+
<p>Version 0.68: License change</p>
|
398
|
+
<ul class="simple">
|
399
|
+
<li>Change license from LGPL to MIT</li>
|
400
|
+
</ul>
|
401
|
+
<p>Version 0.67: Bugfixes in rational and iter_recipes.batched</p>
|
402
|
+
<ul class="simple">
|
403
|
+
<li>iter_recipes.batched now doesn't return an empty batch</li>
|
404
|
+
<li>Rename Rational module to rational</li>
|
405
|
+
<li>Fix division in rational module</li>
|
406
|
+
</ul>
|
397
407
|
<p>Version 0.66: Hexdump parsing, iter_recipes.batched</p>
|
398
|
-
<blockquote>
|
399
408
|
<ul class="simple">
|
400
409
|
<li>Add iter_recipes.batched which appears in Python 3.12</li>
|
401
410
|
<li>Hexdump parsing is more tolerant now</li>
|
402
411
|
<li>Some overlooked Python3 changes</li>
|
403
412
|
</ul>
|
404
|
-
</blockquote>
|
405
413
|
<p>Version 0.65: Use pyproject.toml</p>
|
406
414
|
<ul class="simple">
|
407
415
|
<li>Use new-style packaging with pyproject.toml, old-style setup.py is
|
@@ -116,11 +116,21 @@ Alternatively get it from pypi and/or install via pip.
|
|
116
116
|
Changes
|
117
117
|
-------
|
118
118
|
|
119
|
+
Version 0.68: License change
|
120
|
+
|
121
|
+
- Change license from LGPL to MIT
|
122
|
+
|
123
|
+
Version 0.67: Bugfixes in rational and iter_recipes.batched
|
124
|
+
|
125
|
+
- iter_recipes.batched now doesn't return an empty batch
|
126
|
+
- Rename Rational module to rational
|
127
|
+
- Fix division in rational module
|
128
|
+
|
119
129
|
Version 0.66: Hexdump parsing, iter_recipes.batched
|
120
130
|
|
121
|
-
|
122
|
-
|
123
|
-
|
131
|
+
- Add iter_recipes.batched which appears in Python 3.12
|
132
|
+
- Hexdump parsing is more tolerant now
|
133
|
+
- Some overlooked Python3 changes
|
124
134
|
|
125
135
|
Version 0.65: Use pyproject.toml
|
126
136
|
|
@@ -1,22 +1,25 @@
|
|
1
|
-
# Copyright (C) 2005-
|
1
|
+
# Copyright (C) 2005-25 Dr. Ralf Schlatterbeck Open Source Consulting.
|
2
2
|
# Reichergasse 131, A-3411 Weidling.
|
3
3
|
# Web: http://www.runtux.com Email: office@runtux.com
|
4
4
|
# All rights reserved
|
5
5
|
# ****************************************************************************
|
6
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
7
|
+
# of this software and associated documentation files (the "Software"), to deal
|
8
|
+
# in the Software without restriction, including without limitation the rights
|
9
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
10
|
+
# copies of the Software, and to permit persons to whom the Software is
|
11
|
+
# furnished to do so, subject to the following conditions:
|
6
12
|
#
|
7
|
-
#
|
8
|
-
#
|
9
|
-
# published by the Free Software Foundation; either version 2 of the
|
10
|
-
# License, or (at your option) any later version.
|
13
|
+
# The above copyright notice and this permission notice shall be included in
|
14
|
+
# all copies or substantial portions of the Software.
|
11
15
|
#
|
12
|
-
#
|
13
|
-
#
|
14
|
-
#
|
15
|
-
#
|
16
|
-
#
|
17
|
-
#
|
18
|
-
#
|
19
|
-
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
16
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
17
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
18
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
19
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
20
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
21
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
22
|
+
# SOFTWARE.
|
20
23
|
# ****************************************************************************
|
21
24
|
|
22
25
|
[build-system]
|
@@ -29,11 +32,10 @@ dynamic = ["version"]
|
|
29
32
|
authors = [{ name="Ralf Schlatterbeck", email="rsc@runtux.com" }, ]
|
30
33
|
description = "Misc. basic stuff needed by RSCs tools"
|
31
34
|
readme = "README.rst"
|
32
|
-
license =
|
35
|
+
license = 'MIT'
|
33
36
|
requires-python = '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4'
|
34
37
|
classifiers = [
|
35
38
|
'Development Status :: 5 - Production/Stable'
|
36
|
-
, 'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)'
|
37
39
|
, 'Operating System :: OS Independent'
|
38
40
|
, 'Programming Language :: Python'
|
39
41
|
, 'Intended Audience :: Developers'
|
@@ -4,19 +4,23 @@
|
|
4
4
|
# Web: http://www.runtux.com Email: office@runtux.com
|
5
5
|
# All rights reserved
|
6
6
|
# ****************************************************************************
|
7
|
-
#
|
8
|
-
#
|
9
|
-
#
|
10
|
-
#
|
7
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
+
# of this software and associated documentation files (the "Software"), to deal
|
9
|
+
# in the Software without restriction, including without limitation the rights
|
10
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
+
# copies of the Software, and to permit persons to whom the Software is
|
12
|
+
# furnished to do so, subject to the following conditions:
|
11
13
|
#
|
12
|
-
#
|
13
|
-
#
|
14
|
-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
15
|
-
# GNU Library General Public License for more details.
|
14
|
+
# The above copyright notice and this permission notice shall be included in
|
15
|
+
# all copies or substantial portions of the Software.
|
16
16
|
#
|
17
|
-
#
|
18
|
-
#
|
19
|
-
#
|
17
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
+
# SOFTWARE.
|
20
24
|
# ****************************************************************************
|
21
25
|
|
22
26
|
import sys
|
@@ -4,19 +4,23 @@
|
|
4
4
|
# Web: http://www.runtux.com Email: office@runtux.com
|
5
5
|
# All rights reserved
|
6
6
|
# ****************************************************************************
|
7
|
-
#
|
8
|
-
#
|
9
|
-
#
|
10
|
-
#
|
7
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
+
# of this software and associated documentation files (the "Software"), to deal
|
9
|
+
# in the Software without restriction, including without limitation the rights
|
10
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
+
# copies of the Software, and to permit persons to whom the Software is
|
12
|
+
# furnished to do so, subject to the following conditions:
|
11
13
|
#
|
12
|
-
#
|
13
|
-
#
|
14
|
-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
15
|
-
# GNU Library General Public License for more details.
|
14
|
+
# The above copyright notice and this permission notice shall be included in
|
15
|
+
# all copies or substantial portions of the Software.
|
16
16
|
#
|
17
|
-
#
|
18
|
-
#
|
19
|
-
#
|
17
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
+
# SOFTWARE.
|
20
24
|
# ****************************************************************************
|
21
25
|
|
22
26
|
from __future__ import print_function
|
@@ -162,7 +166,7 @@ class IP_Address (IP_Meta) :
|
|
162
166
|
def net (self) :
|
163
167
|
return self.__class__ (self._ip)
|
164
168
|
# end def net
|
165
|
-
|
169
|
+
|
166
170
|
network = net
|
167
171
|
|
168
172
|
@property
|
@@ -1,23 +1,26 @@
|
|
1
1
|
#!/usr/bin/python
|
2
|
-
# -*- coding: iso-8859-1 -*-
|
3
2
|
# Copyright (C) 2007 Dr. Ralf Schlatterbeck Open Source Consulting.
|
4
3
|
# Reichergasse 131, A-3411 Weidling.
|
5
4
|
# Web: http://www.runtux.com Email: office@runtux.com
|
6
5
|
# All rights reserved
|
7
6
|
# ****************************************************************************
|
8
|
-
#
|
9
|
-
#
|
10
|
-
#
|
11
|
-
#
|
7
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
+
# of this software and associated documentation files (the "Software"), to deal
|
9
|
+
# in the Software without restriction, including without limitation the rights
|
10
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
+
# copies of the Software, and to permit persons to whom the Software is
|
12
|
+
# furnished to do so, subject to the following conditions:
|
12
13
|
#
|
13
|
-
#
|
14
|
-
#
|
15
|
-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
16
|
-
# GNU Library General Public License for more details.
|
14
|
+
# The above copyright notice and this permission notice shall be included in
|
15
|
+
# all copies or substantial portions of the Software.
|
17
16
|
#
|
18
|
-
#
|
19
|
-
#
|
20
|
-
#
|
17
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
+
# SOFTWARE.
|
21
24
|
# ****************************************************************************
|
22
25
|
|
23
26
|
def extended_euclid (m, n) :
|
@@ -4,19 +4,23 @@
|
|
4
4
|
# Web: http://www.runtux.com Email: office@runtux.com
|
5
5
|
# All rights reserved
|
6
6
|
# ****************************************************************************
|
7
|
-
#
|
8
|
-
#
|
9
|
-
#
|
10
|
-
#
|
7
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
+
# of this software and associated documentation files (the "Software"), to deal
|
9
|
+
# in the Software without restriction, including without limitation the rights
|
10
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
+
# copies of the Software, and to permit persons to whom the Software is
|
12
|
+
# furnished to do so, subject to the following conditions:
|
11
13
|
#
|
12
|
-
#
|
13
|
-
#
|
14
|
-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
15
|
-
# GNU Library General Public License for more details.
|
14
|
+
# The above copyright notice and this permission notice shall be included in
|
15
|
+
# all copies or substantial portions of the Software.
|
16
16
|
#
|
17
|
-
#
|
18
|
-
#
|
19
|
-
#
|
17
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
+
# SOFTWARE.
|
20
24
|
# ****************************************************************************
|
21
25
|
|
22
26
|
from __future__ import print_function
|
@@ -4,19 +4,23 @@
|
|
4
4
|
# Web: http://www.runtux.com Email: office@runtux.com
|
5
5
|
# All rights reserved
|
6
6
|
# ****************************************************************************
|
7
|
-
#
|
8
|
-
#
|
9
|
-
#
|
10
|
-
#
|
7
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
+
# of this software and associated documentation files (the "Software"), to deal
|
9
|
+
# in the Software without restriction, including without limitation the rights
|
10
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
+
# copies of the Software, and to permit persons to whom the Software is
|
12
|
+
# furnished to do so, subject to the following conditions:
|
11
13
|
#
|
12
|
-
#
|
13
|
-
#
|
14
|
-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
15
|
-
# GNU Library General Public License for more details.
|
14
|
+
# The above copyright notice and this permission notice shall be included in
|
15
|
+
# all copies or substantial portions of the Software.
|
16
16
|
#
|
17
|
-
#
|
18
|
-
#
|
19
|
-
#
|
17
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
+
# SOFTWARE.
|
20
24
|
# ****************************************************************************
|
21
25
|
|
22
26
|
from __future__ import division
|
@@ -1,23 +1,26 @@
|
|
1
1
|
#!/usr/bin/python
|
2
|
-
# -*- coding: utf-8 -*-
|
3
2
|
# Copyright (C) 2012-17 Dr. Ralf Schlatterbeck Open Source Consulting.
|
4
3
|
# Reichergasse 131, A-3411 Weidling.
|
5
4
|
# Web: http://www.runtux.com Email: office@runtux.com
|
6
5
|
# All rights reserved
|
7
6
|
# ****************************************************************************
|
8
|
-
#
|
9
|
-
#
|
10
|
-
#
|
11
|
-
#
|
7
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
+
# of this software and associated documentation files (the "Software"), to deal
|
9
|
+
# in the Software without restriction, including without limitation the rights
|
10
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
+
# copies of the Software, and to permit persons to whom the Software is
|
12
|
+
# furnished to do so, subject to the following conditions:
|
12
13
|
#
|
13
|
-
#
|
14
|
-
#
|
15
|
-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
16
|
-
# GNU Library General Public License for more details.
|
14
|
+
# The above copyright notice and this permission notice shall be included in
|
15
|
+
# all copies or substantial portions of the Software.
|
17
16
|
#
|
18
|
-
#
|
19
|
-
#
|
20
|
-
#
|
17
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
+
# SOFTWARE.
|
21
24
|
# ****************************************************************************
|
22
25
|
#
|
23
26
|
# Phone: parse phone numbers
|
@@ -4,19 +4,23 @@
|
|
4
4
|
# Web: http://www.runtux.com Email: office@runtux.com
|
5
5
|
# All rights reserved
|
6
6
|
# ****************************************************************************
|
7
|
-
#
|
8
|
-
#
|
9
|
-
#
|
10
|
-
#
|
7
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
+
# of this software and associated documentation files (the "Software"), to deal
|
9
|
+
# in the Software without restriction, including without limitation the rights
|
10
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
+
# copies of the Software, and to permit persons to whom the Software is
|
12
|
+
# furnished to do so, subject to the following conditions:
|
11
13
|
#
|
12
|
-
#
|
13
|
-
#
|
14
|
-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
15
|
-
# GNU Library General Public License for more details.
|
14
|
+
# The above copyright notice and this permission notice shall be included in
|
15
|
+
# all copies or substantial portions of the Software.
|
16
16
|
#
|
17
|
-
#
|
18
|
-
#
|
19
|
-
#
|
17
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
+
# SOFTWARE.
|
20
24
|
# ****************************************************************************
|
21
25
|
|
22
26
|
from __future__ import unicode_literals
|
@@ -0,0 +1 @@
|
|
1
|
+
VERSION="0.68"
|
@@ -4,19 +4,23 @@
|
|
4
4
|
# Web: http://www.runtux.com Email: office@runtux.com
|
5
5
|
# All rights reserved
|
6
6
|
# ****************************************************************************
|
7
|
-
#
|
8
|
-
#
|
9
|
-
#
|
10
|
-
#
|
7
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
+
# of this software and associated documentation files (the "Software"), to deal
|
9
|
+
# in the Software without restriction, including without limitation the rights
|
10
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
+
# copies of the Software, and to permit persons to whom the Software is
|
12
|
+
# furnished to do so, subject to the following conditions:
|
11
13
|
#
|
12
|
-
#
|
13
|
-
#
|
14
|
-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
15
|
-
# GNU Library General Public License for more details.
|
14
|
+
# The above copyright notice and this permission notice shall be included in
|
15
|
+
# all copies or substantial portions of the Software.
|
16
16
|
#
|
17
|
-
#
|
18
|
-
#
|
19
|
-
#
|
17
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
+
# SOFTWARE.
|
20
24
|
# ****************************************************************************
|
21
25
|
|
22
26
|
from __future__ import print_function
|
@@ -823,7 +827,7 @@ class Call_Manager (object) :
|
|
823
827
|
""" Simple call manager for asterisk.
|
824
828
|
By default it's suggested you use something like the following
|
825
829
|
in the dialplan::
|
826
|
-
|
830
|
+
|
827
831
|
[ansage]
|
828
832
|
exten => 1,1,Noop(ansage)
|
829
833
|
exten => 1,n,Wait(${CALL_DELAY})
|
@@ -4,19 +4,23 @@
|
|
4
4
|
# Web: http://www.runtux.com Email: office@runtux.com
|
5
5
|
# All rights reserved
|
6
6
|
# ****************************************************************************
|
7
|
-
#
|
8
|
-
#
|
9
|
-
#
|
10
|
-
#
|
7
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
+
# of this software and associated documentation files (the "Software"), to deal
|
9
|
+
# in the Software without restriction, including without limitation the rights
|
10
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
+
# copies of the Software, and to permit persons to whom the Software is
|
12
|
+
# furnished to do so, subject to the following conditions:
|
11
13
|
#
|
12
|
-
#
|
13
|
-
#
|
14
|
-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
15
|
-
# GNU Library General Public License for more details.
|
14
|
+
# The above copyright notice and this permission notice shall be included in
|
15
|
+
# all copies or substantial portions of the Software.
|
16
16
|
#
|
17
|
-
#
|
18
|
-
#
|
19
|
-
#
|
17
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
+
# SOFTWARE.
|
20
24
|
# ****************************************************************************
|
21
25
|
|
22
26
|
from __future__ import print_function
|
@@ -155,7 +159,7 @@ class CDR_Parser (autosuper) :
|
|
155
159
|
, ('uniqueid' , "Unique Channel Identifier")
|
156
160
|
, ('userfield' , "A user-defined field, maximum 255 characters")
|
157
161
|
)
|
158
|
-
|
162
|
+
|
159
163
|
def __init__ (self, * files) :
|
160
164
|
self.files = files
|
161
165
|
# end def __init__
|
@@ -4,19 +4,23 @@
|
|
4
4
|
# Web: http://www.runtux.com Email: office@runtux.com
|
5
5
|
# All rights reserved
|
6
6
|
# ****************************************************************************
|
7
|
-
#
|
8
|
-
#
|
9
|
-
#
|
10
|
-
#
|
7
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
+
# of this software and associated documentation files (the "Software"), to deal
|
9
|
+
# in the Software without restriction, including without limitation the rights
|
10
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
+
# copies of the Software, and to permit persons to whom the Software is
|
12
|
+
# furnished to do so, subject to the following conditions:
|
11
13
|
#
|
12
|
-
#
|
13
|
-
#
|
14
|
-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
15
|
-
# GNU Library General Public License for more details.
|
14
|
+
# The above copyright notice and this permission notice shall be included in
|
15
|
+
# all copies or substantial portions of the Software.
|
16
16
|
#
|
17
|
-
#
|
18
|
-
#
|
19
|
-
#
|
17
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
+
# SOFTWARE.
|
20
24
|
# ****************************************************************************
|
21
25
|
|
22
26
|
from __future__ import print_function
|