expandSeq 3.0.0__py3-none-any.whl → 4.0.0__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.
- condenseseq/__main__.py +4 -4
- {expandSeq-3.0.0.dist-info → expandSeq-4.0.0.dist-info}/LICENSE +1 -1
- {expandSeq-3.0.0.dist-info → expandSeq-4.0.0.dist-info}/METADATA +21 -14
- expandSeq-4.0.0.dist-info/RECORD +10 -0
- {expandSeq-3.0.0.dist-info → expandSeq-4.0.0.dist-info}/WHEEL +1 -1
- {expandSeq-3.0.0.dist-info → expandSeq-4.0.0.dist-info}/entry_points.txt +0 -1
- expandseq/__main__.py +3 -3
- expandSeq-3.0.0.dist-info/RECORD +0 -10
- {expandSeq-3.0.0.dist-info → expandSeq-4.0.0.dist-info}/top_level.txt +0 -0
condenseseq/__main__.py
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# 3-Clause BSD License
|
|
4
4
|
#
|
|
5
|
-
# Copyright (c) 2008-
|
|
5
|
+
# Copyright (c) 2008-2025, James Philip Rowell,
|
|
6
6
|
# Alpha Eleven Incorporated
|
|
7
7
|
# www.alpha-eleven.com
|
|
8
8
|
# All rights reserved.
|
|
@@ -52,7 +52,7 @@ import seqLister
|
|
|
52
52
|
# MINOR version for added functionality in a backwards compatible manner
|
|
53
53
|
# PATCH version for backwards compatible bug fixes
|
|
54
54
|
#
|
|
55
|
-
VERSION = "
|
|
55
|
+
VERSION = "4.0.0"
|
|
56
56
|
|
|
57
57
|
PROG_NAME = "condenseseq"
|
|
58
58
|
|
|
@@ -117,7 +117,7 @@ def main():
|
|
|
117
117
|
metavar="DELIMITER",
|
|
118
118
|
default="space",
|
|
119
119
|
help="List successive numbers delimited by a 'comma', 'space' (default) or a 'newline'.")
|
|
120
|
-
p.add_argument("--
|
|
120
|
+
p.add_argument("--only-ones", action="store_true",
|
|
121
121
|
dest="onlyOnes", default=False,
|
|
122
122
|
help="only condense sucessive frames, that is, do not list sequences on 2's, 3's, ... N's")
|
|
123
123
|
p.add_argument("--pad", action="store", type=int,
|
|
@@ -128,7 +128,7 @@ def main():
|
|
|
128
128
|
p.add_argument("--error", action="store_true",
|
|
129
129
|
dest="exitOnError", default=True,
|
|
130
130
|
help="exit with error if FRAME-RANGE is invalid. (default)" )
|
|
131
|
-
p.add_argument("--
|
|
131
|
+
p.add_argument("--no-error", action="store_false",
|
|
132
132
|
dest="exitOnError",
|
|
133
133
|
help="skip invalid FRAME-RANGEs, but print warning" )
|
|
134
134
|
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
2
|
Name: expandSeq
|
|
3
|
-
Version:
|
|
3
|
+
Version: 4.0.0
|
|
4
4
|
Summary: Command line utils to expose functionality of seqLister python library.
|
|
5
5
|
Home-page: https://github.com/jrowellfx/expandSeq
|
|
6
6
|
Author: James Philip Rowell
|
|
7
7
|
Author-email: james@alpha-eleven.com
|
|
8
|
-
License: UNKNOWN
|
|
9
|
-
Platform: UNKNOWN
|
|
10
8
|
Classifier: Programming Language :: Python :: 3
|
|
11
9
|
Classifier: License :: OSI Approved :: BSD License
|
|
12
10
|
Classifier: Operating System :: POSIX
|
|
@@ -16,7 +14,16 @@ Classifier: Development Status :: 5 - Production/Stable
|
|
|
16
14
|
Requires-Python: >=3.6, <4
|
|
17
15
|
Description-Content-Type: text/markdown
|
|
18
16
|
License-File: LICENSE
|
|
19
|
-
Requires-Dist: seqLister
|
|
17
|
+
Requires-Dist: seqLister>=1.1.0
|
|
18
|
+
Dynamic: author
|
|
19
|
+
Dynamic: author-email
|
|
20
|
+
Dynamic: classifier
|
|
21
|
+
Dynamic: description
|
|
22
|
+
Dynamic: description-content-type
|
|
23
|
+
Dynamic: home-page
|
|
24
|
+
Dynamic: requires-dist
|
|
25
|
+
Dynamic: requires-python
|
|
26
|
+
Dynamic: summary
|
|
20
27
|
|
|
21
28
|
# About expandseq and consdenseseq
|
|
22
29
|
|
|
@@ -39,13 +46,15 @@ frame-ranges is one of the following three cases:
|
|
|
39
46
|
to be no larger than B when A < B, or descending
|
|
40
47
|
to be no less than B when A > B.
|
|
41
48
|
|
|
42
|
-
The above three cases may
|
|
49
|
+
The above three cases may be combined to describe
|
|
43
50
|
less regular lists of Frame-Ranges by concatenating one
|
|
44
51
|
Frame-Range after another separated by spaces or commas.
|
|
45
52
|
|
|
46
53
|
## Installing the commands
|
|
47
54
|
|
|
48
|
-
|
|
55
|
+
```
|
|
56
|
+
python3 -m pip install expandSeq --upgrade
|
|
57
|
+
```
|
|
49
58
|
|
|
50
59
|
## Testing the installation
|
|
51
60
|
|
|
@@ -53,9 +62,9 @@ You should be able to run the following commands and get this output.
|
|
|
53
62
|
|
|
54
63
|
```
|
|
55
64
|
1$ expandseq 1-10
|
|
56
|
-
1
|
|
65
|
+
1 2 3 4 5 6 7 8 9 10
|
|
57
66
|
2$ condenseseq 1 2 3 4 5 7 9 11 13 15
|
|
58
|
-
1-4
|
|
67
|
+
1-4 5-15x2
|
|
59
68
|
```
|
|
60
69
|
|
|
61
70
|
## expandseq
|
|
@@ -99,7 +108,7 @@ optional arguments:
|
|
|
99
108
|
--reverse, -r reverse the order of the list
|
|
100
109
|
--sort, -s sort the resulting list
|
|
101
110
|
--error exit with error if FRAME-RANGE is invalid. (default)
|
|
102
|
-
--
|
|
111
|
+
--no-error skip invalid FRAME-RANGEs, but print warning
|
|
103
112
|
--silent, --quiet suppress all errors and warnings
|
|
104
113
|
```
|
|
105
114
|
|
|
@@ -133,14 +142,12 @@ optional arguments:
|
|
|
133
142
|
--delimiter DELIMITER, -d DELIMITER
|
|
134
143
|
List successive numbers delimited by a 'comma',
|
|
135
144
|
'space' (default) or a 'newline'.
|
|
136
|
-
--
|
|
145
|
+
--only-ones only condense sucessive frames, that is, do not list
|
|
137
146
|
sequences on 2's, 3's, ... N's
|
|
138
147
|
--pad PAD set the padding of the frame numbers to be <PAD>
|
|
139
148
|
digits. [default: 1]
|
|
140
149
|
--error exit with error if FRAME-RANGE is invalid. (default)
|
|
141
|
-
--
|
|
150
|
+
--no-error skip invalid FRAME-RANGEs, but print warning
|
|
142
151
|
--silent, --quiet suppress all errors and warnings
|
|
143
152
|
|
|
144
153
|
```
|
|
145
|
-
|
|
146
|
-
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
condenseseq/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
condenseseq/__main__.py,sha256=Snb1xISSczj-XYE6A-Q3H3JHx4MNYKdzyfTEOWzrY-E,9105
|
|
3
|
+
expandseq/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
expandseq/__main__.py,sha256=jw3uv_YkvitmJAugURJfeEtGQ8_BlHZG0cU9Qa8xrlQ,8650
|
|
5
|
+
expandSeq-4.0.0.dist-info/LICENSE,sha256=7ssn-dBSkdFTvXKCXb6weBMit69-58B_3P7GA5VBvms,1620
|
|
6
|
+
expandSeq-4.0.0.dist-info/METADATA,sha256=6RGwytKGjjOd6pcHm99vJ90xuMPDtV3h4QzneUbPT_4,4974
|
|
7
|
+
expandSeq-4.0.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
8
|
+
expandSeq-4.0.0.dist-info/entry_points.txt,sha256=jPMAMCyVL3KeArm7ZsjKIxP_DoJF-k47q9nOSTJ2I78,94
|
|
9
|
+
expandSeq-4.0.0.dist-info/top_level.txt,sha256=RdXBSEQ2TUgy7KyzH1P0KkXp9U4gfjdr7ikaCt9TNNQ,22
|
|
10
|
+
expandSeq-4.0.0.dist-info/RECORD,,
|
expandseq/__main__.py
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# 3-Clause BSD License
|
|
4
4
|
#
|
|
5
|
-
# Copyright (c) 2008-
|
|
5
|
+
# Copyright (c) 2008-2025, James Philip Rowell,
|
|
6
6
|
# Alpha Eleven Incorporated
|
|
7
7
|
# www.alpha-eleven.com
|
|
8
8
|
# All rights reserved.
|
|
@@ -52,7 +52,7 @@ import seqLister
|
|
|
52
52
|
# MINOR version for added functionality in a backwards compatible manner
|
|
53
53
|
# PATCH version for backwards compatible bug fixes
|
|
54
54
|
#
|
|
55
|
-
VERSION = "
|
|
55
|
+
VERSION = "4.0.0"
|
|
56
56
|
|
|
57
57
|
PROG_NAME = "expandseq"
|
|
58
58
|
|
|
@@ -138,7 +138,7 @@ def main():
|
|
|
138
138
|
p.add_argument("--error", action="store_true",
|
|
139
139
|
dest="exitOnError", default=True,
|
|
140
140
|
help="exit with error if FRAME-RANGE is invalid. (default)" )
|
|
141
|
-
p.add_argument("--
|
|
141
|
+
p.add_argument("--no-error", action="store_false",
|
|
142
142
|
dest="exitOnError",
|
|
143
143
|
help="skip invalid FRAME-RANGEs, but print warning" )
|
|
144
144
|
|
expandSeq-3.0.0.dist-info/RECORD
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
condenseseq/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
condenseseq/__main__.py,sha256=_flh6mRK7XXd-sL73Iow9P-VwQc_lVM9lmmVPOMFlJI,9103
|
|
3
|
-
expandseq/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
-
expandseq/__main__.py,sha256=hlcNX0iucoz0yrwYRU7eg3D3X6di3Jfwhe2UAkiKpJc,8649
|
|
5
|
-
expandSeq-3.0.0.dist-info/LICENSE,sha256=R6fdEb8ZKpCYTdOM-ZNPs2bVjqLdDfUwiDcx1xP0dCk,1620
|
|
6
|
-
expandSeq-3.0.0.dist-info/METADATA,sha256=0sUSiA3a3Hrvq8P8m6phyfaBU4zAMhT4N0kf7x-ja_c,4802
|
|
7
|
-
expandSeq-3.0.0.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
|
|
8
|
-
expandSeq-3.0.0.dist-info/entry_points.txt,sha256=PJBBLVjJavHNbnATRtL5WOGxo3PdC0n4I7j6FNpVz2c,95
|
|
9
|
-
expandSeq-3.0.0.dist-info/top_level.txt,sha256=RdXBSEQ2TUgy7KyzH1P0KkXp9U4gfjdr7ikaCt9TNNQ,22
|
|
10
|
-
expandSeq-3.0.0.dist-info/RECORD,,
|
|
File without changes
|