rsclib 0.65__py3-none-any.whl → 0.66__py3-none-any.whl

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.
@@ -1,692 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: rsclib
3
- Version: 0.65
4
- Summary: Misc. basic stuff needed by RSCs tools
5
- Home-page: http://rsclib.sourceforge.net/
6
- Download-URL: http://downloads.sourceforge.net/project/rsclib/rsclib/None/rsclib-None.tar.gz
7
- Author: Ralf Schlatterbeck
8
- Author-email: Ralf Schlatterbeck <rsc@runtux.com>
9
- License: GNU Library or Lesser General Public License (LGPL)
10
- Project-URL: Homepage, https://github.com/schlatterbeck/rsclib
11
- Project-URL: Bug Tracker, https://github.com/schlatterbeck/rsclib/issues
12
- Platform: Any
13
- Classifier: Development Status :: 5 - Production/Stable
14
- Classifier: License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)
15
- Classifier: Operating System :: OS Independent
16
- Classifier: Programming Language :: Python
17
- Classifier: Intended Audience :: Developers
18
- Classifier: Programming Language :: Python :: 2
19
- Classifier: Programming Language :: Python :: 2.7
20
- Classifier: Programming Language :: Python :: 3
21
- Classifier: Programming Language :: Python :: 3.5
22
- Classifier: Programming Language :: Python :: 3.6
23
- Classifier: Programming Language :: Python :: 3.7
24
- Classifier: Programming Language :: Python :: 3.8
25
- Classifier: Programming Language :: Python :: 3.9
26
- Classifier: Programming Language :: Python :: 3.10
27
- Classifier: Programming Language :: Python :: 3.11
28
- Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4
29
- Description-Content-Type: text/x-rst
30
-
31
- rsclib: Utility Routines
32
- ========================
33
-
34
- :Author: Ralf Schlatterbeck <rsc@runtux.com>
35
-
36
- The library includes various utility modules used in other projects.
37
-
38
- - ast_call: A simple call manager using asterisk: This can be used to
39
- originate a call and log all event associated to that call. So you
40
- can find out the status of the call and optionally the dialstatus.
41
- - ast_cdr: parser for CDR records in asterisk. We currently use
42
- text-files only, this might be later extended for database use.
43
- - ast_probe: Methods for checking for running asterisk
44
- - Autosuper magic (originally from Guido van Rossums announcement of
45
- Python 2.2): For refactoring it's a good idea that each class knows
46
- its parents (that the parent is not hardcoded in the upcall),
47
- achieved by adding a the __super attribute. Use as, e.g.,
48
- self.__super.method for calling method in the parent.
49
- - base_pickler: Allow to specify a dictionary of pickle exceptions, if
50
- the value in the dictionary is in __dict__ when pickle is called, the
51
- value in __dict__ is replaced with the value in the exception
52
- dictionary.
53
- - bero: A configurator for the `bero*fos`_ failover switch. See my
54
- `blogpost`_ why I wrote that (short summary: to work around bugs in
55
- the firmware of the device which are not addressed by the
56
- configurator code that comes with the device).
57
- - Config_File for python-syntax configuration files used in several of
58
- my projects.
59
- - crm: Tools for the cluster resource manager of the pacemaker high
60
- availability project. We allow querying of nodes, resources and
61
- errors for resources as well as resetting errors and migration of
62
- resources.
63
- - execute: module for executing commands and handling IO, this also
64
- has a Lock and a Log mixin. Now there is also a framework for
65
- executing processes in a pipeline, there can be fork-points in the
66
- pipeline where the output of one process feeds several pipelines.
67
- See test_exec.py, test2_exec.py and test3_exec.py.
68
- - grepmime: search for pattern in email attachments (even if these are
69
- encoded)
70
- - inductance: Inductance calculation of air-cored cylindrical
71
- flat-winded coil according to Robert Weaver
72
- http://electronbunker.ca/CalcMethods3b.html
73
- - IP_Address: IP v4 and v6 Addresses with subnet masking
74
- - iter_recipes: magic with iterators
75
- - isdn: model the status of Asterisk ISDN lines, either Linux Call
76
- Router (LCR) ISDN lines or lines managed by DAHDI. Special case for
77
- Xorcom modules which provide more information using Xorcom-specific
78
- files in /proc than native DAHDI modules.
79
- - lc_resonator: Frequency calculation for L-C resonator
80
- - Math implements Euclids algorithm for greatest common divisor and as
81
- a by-product the least common multiple
82
- - nmap: A parser for output of nmap scans to (e.g. to generate tables
83
- in TeX)
84
- - ocf: small framework for writing OCF scripts for the heartbeat
85
- cluster resource manager (probably also usable for the newer version
86
- called pacemaker but for now only tested with the version in Debian
87
- stable aka lenny).
88
- - PDF_Signature: experimental code for checking signatures on adobe PDF
89
- documents
90
- - Phone: Parse phone numbers (Austria-specific)
91
- - PM_Value: Possibly missing value, encapsulate a number which may be
92
- missing and associated arithmetics.
93
- - pycompat: Utilities for running under different python versions
94
- - Rational: Implementation of Rational numbers
95
- - stateparser: Simple state-machine parser class, this is used for
96
- writing line-based parsers using a state machine. For an example
97
- usage see nmap. After parsing the result can be pickled but we lose
98
- the ability to continue parsing after reading from the pickled
99
- result.
100
- - sqlparser: Parse SQL dumps from postgreSQL and mysql and optionally
101
- create an new (e.g. anonymized) sql dump
102
- - timeout: A simple timeout mechanism using SIGALRM
103
- - Tex_CSV_Writer: Write CVS files in a syntax that can be parsed by
104
- TeX. Implements same interface as the csv module. Only implements
105
- writing.
106
- - trafficshape: Simple traffic shaping configuration: Currently
107
- generates Linux tc commands for a traffic shaping config using hfsc
108
- for shaping and sfq or red for the leaf qdiscs. We also provide a
109
- translator from iptables mangle rules (for traffic marking) to tc
110
- commands for filtering. This is needed if we want to do inbound
111
- shaping. The Linux kernel doesn't support inbound shaping, so we need
112
- to redirect all traffic to an ifb device. On that device we do
113
- *outbound* shaping. Unfortunately when sending traffic to an ifb
114
- device with a tc filter + action mirred command this occurs *before*
115
- the PREROUTING chain. This means packets are not yet marked. So we
116
- provide a parser to translate mangle rules in the PREROUTING chain to
117
- appropriate tc commands. For implementing this we mark packets (using
118
- the tc action xt (formerly known as ipt used for iptables marking, a
119
- backward-compatibility option can be used) in the original device and
120
- then use the marked information in the ifb device to send the traffic
121
- to appropriate qdiscs. This supports a two-level approach: Rules in
122
- iptables that match on a packet mark (using --mark) are translated to
123
- tc commands in the ifb device (they depend on the mark already
124
- present). All other rules are translated to a tc action xt (using -j
125
- MARK) and a tc action mirred redirect (for sending the traffic to the
126
- ifb device) for the *original* device (e.g. eth0 redirecting to
127
- ifb0). The PREROUTING commands by default are directly taken from the
128
- running kernel by default (using "iptables -t mangle -S -v")
129
-
130
- .. _`bero*fos`: https://shop.beronet.com/product_info.php/cPath/56/products_id/159
131
- .. _`blogpost`: http://blog.runtux.com/2009/04/09/81/
132
-
133
- Resources
134
- ---------
135
-
136
- Download the source at https://sourceforge.net/projects/rsclib/
137
- and install using the standard python setup, e.g.::
138
-
139
- python setup.py install --prefix=/usr/local
140
-
141
- Alternatively get it from pypi and/or install via pip.
142
-
143
-
144
- Changes
145
- -------
146
-
147
- Version 0.65: Use pyproject.toml
148
-
149
- - Use new-style packaging with pyproject.toml, old-style setup.py is
150
- still available
151
- - Use console script entry points instead of explicit scripts in
152
- directory bin
153
-
154
- Version 0.64: Small execute.Log updates
155
-
156
- - Add add_stderr_handler method to also log to stderr
157
-
158
- Version 0.63: Python3 fixes
159
-
160
- - Fix bytes_ord to also deal with a bytes object in python3
161
-
162
- Version 0.62: Python3 fixes
163
-
164
- - More Python3 fixes
165
- - Update of stateparser
166
- - hexdump/unhexdump
167
-
168
- Version 0.61: sqlparser
169
-
170
- - Allow filtering during reading of sql dump
171
-
172
- Version 0.60: Python3 fixes
173
-
174
- - hexdump
175
- - xrange
176
- - compatibility for bytes iterator
177
-
178
- Version 0.59: sqlparser
179
-
180
- - Support older postgresql versions, tested 9.6
181
-
182
- Version 0.58: sqlparser
183
-
184
- - Fix python3 string handling for sqlparser
185
- - Small fix in stateparser
186
-
187
- Version 0.57: isdn
188
-
189
- - Add parsing of beronet GSM modules
190
- - Support multiple bero devices with same numbering
191
-
192
- Version 0.56: ast_call, isdn
193
-
194
- - The ast_call now is brought to latest version of pyst and asterisk
195
- - isdn module now supports remote isdn via isdn gateway
196
- - various python3 fixes
197
-
198
- Version 0.55: LOCKDIR
199
-
200
- - Now it's possible to set the locking directory (default is still
201
- /var/lock which is a symlink to /run/lock on modern systems) via
202
- the environment variable LOCKDIR.
203
-
204
- Version 0.54: inductance, sqlparser
205
-
206
- - The sqlparser now can do round-tripping (some items are in
207
- different order)
208
- - More inductance formulae
209
-
210
- Version 0.53: inductance, IPv4 address
211
-
212
- - Bring inductance to metric units (output in F, input in m)
213
- - Fix IPv4 address parsing when address contains less than 3 dots
214
-
215
- Version 0.52: Small fixes
216
-
217
- - Fix unicode problem in sqlparser
218
-
219
- Version 0.51: Small fixes
220
-
221
- - Fix IP addresses in boolean context
222
- - Add supported python versions to setup.py
223
-
224
- Version 0.50: Small additions
225
-
226
- - Change Rational to no longer print mixed fractions by default
227
- - Allow setting the locking filename for Lock_Mixin in execute
228
-
229
- Version 0.49: Python3 compatibility
230
-
231
- - Remove ETree, HTML_Parse, PDF_Parse, multipart_form: These are
232
- better handled by libraries like BeautifulSoup or specific PDF
233
- handling libs or the requests library
234
- - Remove ldap_lib.py: This is now nicely supported by ldap3 which
235
- also has a native iterator for paged search
236
- - Remove Freshmeat.py: Freshmeat is more or less dead now and they
237
- don't support an API-Test so it is very hard to get this right
238
- - Put Firstname (with all the history) into its own package, note
239
- that this needs more work to run against the latest version of the
240
- website
241
- - Lots of fixes for python3 compatibility: Where doctests existed
242
- these pass now but there is still untested code and some code where
243
- libaries are missing for python3 (pyst asterisk bindings and
244
- openssl wrappers)
245
-
246
- Version 0.48: Fixes for execute
247
-
248
- - Now we really close all relevant ends of pipes in other processes
249
- which avoids hangs
250
- - Add logging to Process
251
-
252
- Version 0.47: Fixes for IP_Address; pypi
253
-
254
- - IP_Address: Relax inheritance checks when comparing IP_Address
255
- instances
256
- - Version uploaded to pypi and documented in README
257
-
258
- Version 0.46: Additions to ast_probe; Bug-fix
259
-
260
- - ast_probe now has methods for checking sip registry and reloading
261
- the sip subsystem in asterisk
262
- - Add a small script, ast_sip_check for checking sip registration on
263
- an asterisk server and restart sip if some registrations are
264
- missing.
265
- - Config_File fixes the __getattr_ method to return an
266
- AttributeError in case of failure
267
-
268
- Version 0.45: Fix ISDN ports
269
-
270
- String reprentation had leading unicode 'u'
271
-
272
- - Fix string representation in ISDN ports
273
-
274
- Version 0.44: Make line-waiting for bero configurable
275
-
276
- For cluster resource berofos we make waiting for the L1 and L2 of the
277
- ISDN line configurable. The hard-coded default was too low.
278
-
279
- - New config-item ISDN_WAIT_UP
280
-
281
- Version 0.43: Support new berofos firmware
282
-
283
- The new berofos (failover switch) firmware has some new low-level
284
- commands which we now accept when getting the device status.
285
-
286
- - Fix bero.py to accept new low-level commands
287
- - Add some more documentation to bero.py
288
- - Add description of ast_probe in this README
289
-
290
- Version 0.42: Feature enhancements
291
-
292
- Add crm for pacemaker cluster management, new ast_probe for checking of
293
- asterisk status. Fixes to ocf and ast_call.
294
-
295
- - Add crm.py
296
- - Add ast_probe.py
297
- - Allow specification of parsed config (cfg) for Call_Manager in
298
- ast_call.py
299
- - Better resource monitoring for asterisk and dahdi in ocf.py
300
- - fix ocf.py to use new classes in isdn.py
301
- - isdn.py now doesn't probe asterisk for the isdn stack in use if it
302
- finds a hint in the config-file
303
-
304
- Version 0.41: Minor feature enhancements
305
-
306
- Fixes to Freshmeat, pycompat, sql-dump parser.
307
-
308
- - Fix parsing of escaped quotes in mysql dumps
309
- - Freshmeat
310
- - pycompat fixes
311
-
312
- Version 0.40: Distribution bug-fix
313
-
314
- Renaming of README lead to the missing file README.rst in the distro.
315
-
316
- - Fix MANIFEST.in
317
-
318
- Version 0.39: Minor feature enhancements
319
-
320
- Fixes to hexdump, unicode issues (elementtree wrapper, stateparser).
321
- Add some fixes to IP_Address comparison. The nmap output has changed in
322
- recent versions, adapt to new format.
323
-
324
- - Make address in hexdump configurable
325
- - Bug-fix with comparison of sub-classes in IP_Address
326
- - Unicode support in ETree
327
- - Unicode support in stateparser
328
- - Fix for trailing empty attributes in CSV output of PostgreSQL dumps
329
- in sqlparser
330
- - Unicode support in sqlparser (uses stateparser)
331
- - Parse new nmap format
332
- - Fix for configurable Releasetools location
333
-
334
- Version 0.38: Minor feature enhancements
335
-
336
- Fix boolean conversion of IP6_Address (and IP4_Address).
337
-
338
- - IP6_Address would throw an error when trying a truth-test. Add
339
- __nonzero__ (which always returns True even for the 0 Address)
340
-
341
- Version 0.37: Minor feature enhancements
342
-
343
- Change sort-order of IP_Address, make IP_Address immutable, use
344
- metaclass magic to allow copy-constructor semantics.
345
-
346
- - Sort order of IP_Address objects (both v4 and v6) now reverses the
347
- order of the netmask: If the IP-Address part of the objects to
348
- compare are the same, we used to sort by *inverse* netmask (putting
349
- smaller networks with higher netmask first). We now reversed this to
350
- be compatible with PostgrSQL cidr type objects.
351
- - All attributes of IP_Address objects are now implemented as
352
- properties to return the '_' variant of the attribute. Thus
353
- IP_Address objects are (when using the public interface) immutable.
354
- Since we already had a __hash__ method this effectively fixes the
355
- interface to not allow mutation of objects that are in a dictionary.
356
- - Allow calling the IP_Address constructors with another IP_Address
357
- object. Since IP_Address objects are now immutable we use metaclass
358
- trickery to return the passed object itself (instead of generating a
359
- copy).
360
-
361
- Version 0.36: Minor feature enhancements
362
-
363
- Allow auto-coercion of comparison parameters. Add parent property and
364
- is_sibling test.
365
-
366
- - Now comparison operators and 'in' do auto coercion.
367
- - Add parent property (next bigger network)
368
- - Add is_sibling test (same parent)
369
-
370
- Version 0.35: Minor feature enhancements
371
-
372
- Add 'mask_len' as an alias of 'mask' to IP_Address.
373
-
374
- - Need the network mask length (aka prefix length) sometimes as
375
- mask_len (e.g. for FFM on github).
376
-
377
- Version 0.34: Minor feature enhancements
378
-
379
- Fix trafficshape to use new tc syntax. Add label to hexdump.
380
-
381
- - The tc command has renamed the ``ipt`` action to ``xt`` (Linux
382
- introduced xtables as a refactoring of iptables), the old ``ipt`` is
383
- still available in ``iproute2`` but we make ``xt`` the default now.
384
- A backward-compatibility parameter can be used to get the old
385
- behavior.
386
- - Add save-mark to iptables action parser.
387
- - The hexdump class now can generate labels.
388
-
389
- Version 0.33: Minor feature enhancements
390
-
391
- More fixes for ast_call.
392
-
393
- - Add parser for events from asterisk wireshark trace
394
- - Add fail.log for 'real' test
395
- - Don't double-register call with Call_Manager
396
- - Allow explicit matching by account-code
397
-
398
- Version 0.32: Minor feature enhancements
399
-
400
- More fixes for ast_call.
401
-
402
- - Regression test with pyst asterisk emulator
403
- - Fix case where OriginateResponse immediately returns Failure
404
- - Tests for cases where Hangup comes before or after the
405
- OriginateResponse
406
-
407
- Version 0.31: Minor feature enhancements
408
-
409
- Fix ast_call for immediately failing calls. Fix dahdi channel
410
- computation in isdn.py.
411
-
412
- - Fix OriginateResponse handling in ast_call
413
- - Fix dahdi channel computation, can't directly use the span, use the
414
- basechan attribute
415
-
416
- Version 0.30: Minor feature enhancements
417
-
418
- Fix how dahdi vs. mISDN interpret what is called an interface and what
419
- is called a port. In mISDN we can combine several ports (physical lines)
420
- to an interface. In dahdi both are the same (a port is a span in dahdi).
421
-
422
- - Remove parsing of B- and C- channels from dahdi isdn parser
423
-
424
- Version 0.29: Minor feature enhancements
425
-
426
- The lcr module is now named isdn. It can now handle isdn interfaces
427
- managed by Asterisk DAHDI in addition to Linux Call Router (LCR).
428
-
429
- Version 0.28: Minor feature enhancements
430
-
431
- Fix inductance formula of Robert Weaver, thanks Robert for pointing me
432
- to the correction you did on your new site! For most doctests in the
433
- inductance module the error was in the lower percentage points.
434
- Add an xxrange iterator to the iter_recipes that can replace pythons
435
- native xrange iterator but works with long integers. Needed for some
436
- operations on IPv6 addresses in the IP_Address module.
437
-
438
- - Fix inductance calculation according to patch from Robert Weaver
439
- - Add xxrange iterator to iter_recipes
440
- - Use new xxrange instead of xrange in IP_Address module, add a test
441
- that failed with large numbers for IPv6
442
-
443
- Version 0.27: Minor feature enhancements
444
-
445
- Add pageurl and pageinfo attributes to HTML_Parser.Page_Tree, other
446
- enhancements to HTML_Parser. Add pickle support to parser classes.
447
- Fix comparison of IP_Address classes.
448
-
449
- - Add pageurl and pageinfo attributes to HTML_Parser.Page_Tree storing
450
- information retrieved via geturl and info calls from urllib2.
451
- - Parser classes in stateparser.py and HTML_Parse.py where not
452
- pickleable, fixed by removing parser-specific attributes when calling
453
- pickle. Note that the parsing cannot be continued after reading class
454
- from a pickle.
455
- - Add base_pickler module to allow pickle exceptions
456
- - HTML_Parse: Make Parse_Error a ValueError
457
- - HTML_Parse: Raise line number with exception
458
- - HTML_Parse: Add a timeout
459
- - HTML_Parse: raise Retries_Exceeded with url
460
- - HTML_Parse: url parameter may now be None, not joined with site
461
- parameter
462
- - Add pageurl and pageinfo to HTML_Parse
463
- - IP_Address: Fix comparison
464
- - Slight refactoring of NMAP_Parser class
465
-
466
- Version 0.26: Minor feature enhancements
467
-
468
- Fix double-utf-8-encoding option for sqlparser. Enhance stderr handling
469
- for exec_pipe.
470
-
471
- - More detected broken encodings for fix_double_encode option
472
- - execute.py: add error message from executed command to message raised
473
- by exec_pipe, make stderr output available in non-failing case.
474
-
475
- Version 0.25: Minor feature enhancements
476
-
477
- Add sqlparser for parsing SQL dumps of PostgreSQL and mysql, add Phone
478
- to parse phone numbers.
479
-
480
- - sqlparser added
481
- - Phone added for parsing phone numbers
482
-
483
- Version 0.24: Minor feature enhancements
484
-
485
- Better syntax checks and comparison operators for IP_Address, bug fixes
486
- for parser and __str__ for IP_Address.IP6_Address
487
-
488
- - IP_Address better syntax checks
489
- - IP_Address __cmp__ and __eq__ improved for comparison with other types
490
- - more regression tests for IP6_Address
491
- - bug fixes in __str__ and parser of IP6_Address
492
- - support for strict checking of netmask (all bits at right of netmask
493
- must be zero if strict_mask is True)
494
-
495
- Version 0.23: Minor feature enhancements
496
-
497
- IP4_Address can now be put in a dict, add a subnets iterator for
498
- IP4_Address. Factor IP_Address and add IP6_Address
499
-
500
- - Add __hash__ for IP_Address
501
- - The new subnets iterator for IP_Address iterates over all IPs in a
502
- subnet. Optionally a netmask can be specified.
503
- - Support for IPv6 addresses
504
- - rename IP4_Address to IP_Address
505
-
506
- Version 0.22: Minor feature enhancements
507
-
508
- Allow unicode ip address input, hopefully make rsclib installable via pip.
509
-
510
- - Address given to IP4_Address constructor now may be unicode
511
- - Add download_url to setup.py to make installable via pip
512
-
513
- Version 0.21: Minor feature enhancements
514
-
515
- Fix autosuper: allow to inherit from non-autosuper classes, some small
516
- fixes to ast_call and lcr parser. Fix ETree pretty-printing. Update
517
- Freshmeat to new hostname. Add dotted netmaks parsing to IP4_Address.
518
-
519
- - Since python2.6 constructor of "object" do not allow parameters, so
520
- we need to strip these when doing the upcall from autosuper. This
521
- fails when e.g. inheriting from a non-autosuper enabled class, e.g.,
522
- class (With_Autosuper, dict)
523
- in that case dict would get empty parameters. New implementation
524
- finds out if our upcall is to "object", only in that case strip
525
- parameters.
526
- - ast_call now processes all queued unhandled events when a call is
527
- matched.
528
- - update regression test for ast_call.Call
529
- - lcr parser: fix regex, port can have an empty name.
530
- - Optimize call matching in ast_call: mark call as closed once we are
531
- sure about the uniqueid. Add matching of Account-Code.
532
- - Fix ETree pretty-printing: don't print unicode strings when arguments
533
- are already converted
534
- - freshmeat.net now is freecode.com (and the API redirects there),
535
- update Freshmeat.py to new hostname (including .netrc credentials
536
- with compatibility for old name).
537
- - explicit mask paramter of IP4_Address can now be a dotted netmask.
538
-
539
- Version 0.20: Not announced on freshmeat
540
-
541
- Database value output for ast_cdr, added inductance calculation.
542
-
543
- - ast_cdr: Add methods for database values of CDR records -- database
544
- values of CDRs are different, they don't include start, end, answer
545
- time-stamps but instead only a calldate, in addition the amaflags are
546
- numerical in the database.
547
- - added inductance calculation
548
-
549
- Version 0.19: Not announced on freshmeat
550
-
551
- Extend ETree with a walk method and implement small ldap library
552
-
553
- - ETree: add walk method to walk the tree and call an optional pre- and
554
- post-hook function
555
- - ldap_lib: common ldap tasks for user and group search, and an
556
- iterator for paged search (used with active directory).
557
-
558
- Version 0.18: Not announced on freshmeat
559
-
560
- Bugfix of ast_call and update for asterisk 1.6, small extension to
561
- IP4_Address.
562
-
563
- - ast_call: match calls via (unique) account code
564
- - ast_call: State vs ChannelState parameter in Newstate event
565
- - ast_call: handle immediate error from asterisk (e.g. Permission Denied)
566
- - IP4_Address: add netblk (start and end address for address with
567
- netmask)
568
-
569
- Version 0.17: Not announced on freshmeat
570
-
571
- Factor ETree (extended ElementTree) from HTML_Parse. New Freshmeat
572
- module to get project information and submit new releases via the new
573
- freshmeat REST API. New simple hexdump module.
574
-
575
- - New ETree.py (extended ElementTree)
576
- - New Freshmeat.py
577
- - New hexdump.py
578
- - adapt lcr module to new version of Linux Call Router
579
-
580
- Version 0.16: Not announced on freshmeat
581
-
582
- Add an iptables to tc translator for translating mangle rules in the
583
- iptables PREROUTING chain to appropriate tc commands (using an ipt
584
- action and mirred redirect actions).
585
-
586
- - Add iptables to tc translator to trafficshape.py
587
-
588
- Version 0.15: Not announced on freshmeat
589
-
590
- Add a framework for traffic shaping with linux iproute (tc). Minor
591
- updates to iter_recipes.
592
-
593
- - Initial implementation of trafficshape.py
594
- - Add iter_recipes.combinations from python2.6 manpage of itertools
595
- for backward compatibility
596
-
597
- Version 0.14: Not announced on freshmeat
598
-
599
- Add a framework for process pipeline execution, processes can either be
600
- python methods or external programs (with parameter list). They can be
601
- connected in a pipe and there may be T-points in the pipe, where the
602
- pipe forks into two or more pipelines fed by the output of one process.
603
-
604
- - Add process pipeline framework
605
- - HTML_Parse now has an explicit translate hook for preprocessing the
606
- html page before parsing it. This defaults to the old behaviour of
607
- filtering out common characters in broken HTML.
608
- - Add nmap parser (e.g. to generate TeX tables from an nmap scan)
609
- - Fix Lock_Mixin in execute module to remove lockfile at exit,
610
- this used to rely on __del__ which breaks in certain cases.
611
- - add file upload to HTML_Parse
612
-
613
- Version 0.13: Not announced on freshmeat
614
-
615
- Bug-Fix Release: Fix signal handler in timeout.py
616
-
617
- - fix signal handler timeout.py
618
-
619
- Version 0.12: Not announced on freshmeat
620
-
621
- Add a simple timeout mechanism using SIGALRM.
622
-
623
- - add timeout.py
624
-
625
- Version 0.11: Not announced on freshmeat
626
-
627
- Add a parser for CDR records in asterisk. We currently use text-files
628
- only, this might be later extended for database use. Some fixes for
629
- ast_call, make call-handling more robust (some race conditions would
630
- identify events of other calls as belonging to our initiated call).
631
- Add an execute module for executing commands and handling IO, this also
632
- has a Lock and a Log mixin. Add ocf.py, a small framework for writing
633
- OCF scripts for the heartbeat cluster resource manager (probably also
634
- usable for the newer version called pacemaker but for now only tested
635
- with the version in Debian stable aka lenny). Add lcr.py to model the
636
- status of Linux Call Router ISDN lines.
637
-
638
- - add ast_cdr.py
639
- - fix ast_call.py
640
- - fix up-chaining in stateparser.py
641
- - add execute.py
642
- - add ocf.py
643
- - add lcr.py
644
-
645
- Version 0.10: Not announced on freshmeat
646
-
647
- add ast_call for asterisk auto-dialling, small fixes to IP4_Address, add
648
- bero*fos configurator, experimental code for checking PDF signature
649
-
650
- - add ast_call.py
651
- - Firstname: don't look up names with len < 2
652
- - IP4_Address: some aliases for common functions
653
- - IP4_Address: add __cmp__
654
- - bero.py: bero*fos configurator
655
- - HTML_Parse updated for python 2.5
656
- - stateparser update: use self.matrix by default
657
- - PDF_Signature: experimental code for checking signatures on adobe PDF
658
- documents
659
- - iter_recipes: some magic with iterators
660
-
661
- Version 0.9: Not announced on freshmeat
662
-
663
- Add binom to the Math package, add Firstname, Bug-Fix Release Rational
664
-
665
- - binom (n, m) computes the binomial coefficient of n, m.
666
- - Firstname: check if candidate is a first name candidate according to
667
- popular web site.
668
- - Rational: On division we could get a negative denominator -- fixed
669
- - make Config_File a descendent of autosuper
670
-
671
- Version 0.8: Not announced on freshmeat
672
-
673
- Added more documentation.
674
- State-machine parser stateparser implemented. Rational number arithmetic
675
- package added.
676
-
677
- - stateparser implemented (simple state-machine line-oriented
678
- configurable parser)
679
- - usage-example of IP4_Address prints debian /etc/network/interfaces
680
- entry.
681
- - Math added (Euclids algorithm, gcd, lcm)
682
- - Rational number arithmetics
683
- - cookie processing for HTML_Parse
684
- - basic HTML auth for HTML_Parse
685
- - HTML_Parse: move to urllib2
686
-
687
- Version 0.7: Not announced on freshmeat
688
-
689
- Small Python library with various things such as Configuration file
690
- parsing (in Python syntax), HTML and PDF parsing.
691
-
692
- - First Release version