expandSeq 3.0.0__tar.gz → 4.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.
@@ -1,6 +1,6 @@
1
1
  3-Clause BSD License
2
2
 
3
- Copyright (c) 2008-2022, James Philip Rowell,
3
+ Copyright (c) 2008-2026, James Philip Rowell,
4
4
  Alpha Eleven Incorporated
5
5
  www.alpha-eleven.com
6
6
  All rights reserved.
@@ -1,14 +1,12 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: expandSeq
3
- Version: 3.0.0
3
+ Version: 4.0.1
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
8
+ License: BSD-3-Clause
10
9
  Classifier: Programming Language :: Python :: 3
11
- Classifier: License :: OSI Approved :: BSD License
12
10
  Classifier: Operating System :: POSIX
13
11
  Classifier: Operating System :: Unix
14
12
  Classifier: Operating System :: MacOS
@@ -16,8 +14,20 @@ 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
-
20
- # About expandseq and consdenseseq
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: license
25
+ Dynamic: license-file
26
+ Dynamic: requires-dist
27
+ Dynamic: requires-python
28
+ Dynamic: summary
29
+
30
+ # About expandseq and condenseseq
21
31
 
22
32
  `expandseq` and `condenseseq` are two unix/linux command-line utilitiies
23
33
  for expanding and condensing
@@ -38,13 +48,15 @@ frame-ranges is one of the following three cases:
38
48
  to be no larger than B when A < B, or descending
39
49
  to be no less than B when A > B.
40
50
 
41
- The above three cases may often be combined to describe
51
+ The above three cases may be combined to describe
42
52
  less regular lists of Frame-Ranges by concatenating one
43
53
  Frame-Range after another separated by spaces or commas.
44
54
 
45
55
  ## Installing the commands
46
56
 
47
- python3 -m pip install expandSeq
57
+ ```
58
+ python3 -m pip install expandSeq --upgrade
59
+ ```
48
60
 
49
61
  ## Testing the installation
50
62
 
@@ -52,9 +64,9 @@ You should be able to run the following commands and get this output.
52
64
 
53
65
  ```
54
66
  1$ expandseq 1-10
55
- 1,2,3,4,5,6,7,8,9,10
67
+ 1 2 3 4 5 6 7 8 9 10
56
68
  2$ condenseseq 1 2 3 4 5 7 9 11 13 15
57
- 1-4,5-15x2
69
+ 1-4 5-15x2
58
70
  ```
59
71
 
60
72
  ## expandseq
@@ -98,7 +110,7 @@ optional arguments:
98
110
  --reverse, -r reverse the order of the list
99
111
  --sort, -s sort the resulting list
100
112
  --error exit with error if FRAME-RANGE is invalid. (default)
101
- --noError skip invalid FRAME-RANGEs, but print warning
113
+ --no-error skip invalid FRAME-RANGEs, but print warning
102
114
  --silent, --quiet suppress all errors and warnings
103
115
  ```
104
116
 
@@ -132,14 +144,109 @@ optional arguments:
132
144
  --delimiter DELIMITER, -d DELIMITER
133
145
  List successive numbers delimited by a 'comma',
134
146
  'space' (default) or a 'newline'.
135
- --onlyOnes only condense sucessive frames, that is, do not list
147
+ --only-ones only condense sucessive frames, that is, do not list
136
148
  sequences on 2's, 3's, ... N's
137
149
  --pad PAD set the padding of the frame numbers to be <PAD>
138
150
  digits. [default: 1]
139
151
  --error exit with error if FRAME-RANGE is invalid. (default)
140
- --noError skip invalid FRAME-RANGEs, but print warning
152
+ --no-error skip invalid FRAME-RANGEs, but print warning
141
153
  --silent, --quiet suppress all errors and warnings
142
154
 
143
155
  ```
144
156
 
157
+ # Important: latest MAJOR point release of `expandseq`.
158
+
159
+ `expandseq` and `condenseseq` as well as all
160
+ the utilities provided by jrowellfx github repos
161
+ use "[`Semantic Versioning 2.0.0`](https://semver.org/)" in numbering releases.
162
+ The latest release of `expandseq` upped the `MAJOR` release number
163
+ from `v3.x.x` to `v4.x.x`.
164
+
165
+ While the functionality and output of neither `expandseq` nor
166
+ `condenseseq` has changed, all the so called
167
+ "long options" have been renamed to adhere to `POSIX` standard naming
168
+ conventions.
169
+
170
+ That is, prior to `v4.0.0` of `expandseq` all the long-option names used a "camel case"
171
+ naming convention but as of `v4.0.0` all long-option names have been
172
+ changed to so-called "kebab case".
173
+
174
+ For example:
175
+
176
+ ```
177
+ --onlyOnes
178
+
179
+ ```
180
+
181
+ has been changed to
182
+
183
+ ```
184
+ --only-ones
185
+ ```
186
+
187
+ In the event that you have written any scripts that make use of `expandseq`,
188
+ `condenseseq` or
189
+ any other of `jrowellfx`'s utils provided [here](https://github.com/jrowellfx)
190
+ you will need to edit your scripts to be able to update to the lastest versions
191
+ of the utilities.
192
+
193
+ In this case, in order to assist in switching to the
194
+ current `MAJOR` point release some `sed` scripts have been provided that should make
195
+ the transition quite painless. Especially if you make use
196
+ of [`runsed`](https://github.com/jrowellfx/vfxTdUtils) which if you haven't used it before,
197
+ now is the time, it's extremely helpful.
198
+
199
+ There are two files provided at the root-level of the repo, namely:
200
+ `sed.script.jrowellfx.doubleDashToKebab` and `sed.script.expandseq.v3tov4`.
201
+
202
+ The first one can be used to fix the long-option names for ALL the
203
+ `MAJOR` point release updates to the long-options in any of `jrowellfx`'s utilities.
204
+ The second one contains only changes needed for the updates to `expandseq`
205
+ or `condenseseq`.
206
+
207
+ ## Example `sed.script` usage.
208
+
209
+ Download one or both of the sed scripts named above. Make sure you have `runsed` installed
210
+ on your system. (Example applied to usage of `lsseq` but it's
211
+ the same idea for `expandseq`.)
212
+
213
+ ```
214
+ $ cd ~/bin
215
+ $ ls
216
+ myScriptThatUsesLsseq
217
+ $ cat myScriptThatUsesLsseq
218
+ #!/bin/bash
219
+
220
+ lsseq --globalSortByTime --recursive --prependPathAbs /Volumes/myProjectFiles
221
+
222
+ $ mv ~/Downloads/sed.script.jrowellfx.doubleDashToKebab sed.script
223
+ $ runsed myScriptThatUsesLsseq
224
+ $ ./.runsed.diff.runsed
225
+ + /usr/bin/diff ./.myScriptThatUsesLsseq.runsed myScriptThatUsesLsseq
226
+ 3c3
227
+ < lsseq --globalSortByTime --recursive --prependPathAbs /Volumes/myProjectFiles
228
+ ---
229
+ > lsseq --global-sort-by-time --recursive --prepend-path-abs /Volumes/myProjectFiles
230
+ $ cat myScriptThatUsesLsseq
231
+ #!/bin/bash
232
+
233
+ lsseq --global-sort-by-time --recursive --prepend-path-abs /Volumes/myProjectFiles
234
+ ```
235
+
236
+ Note that if you are unhappy with the changes you can undo them easily with
237
+
238
+ ```
239
+ $ ./.runsed.undo.runsed
240
+ $ cat myScriptThatUsesLsseq
241
+ #!/bin/bash
242
+
243
+ lsseq --globalSortByTime --recursive --prependPathAbs /Volumes/myProjectFiles
244
+
245
+
246
+ ```
247
+
248
+ ## Contact
249
+
250
+ Please contact `j a m e s <at> a l p h a - e l e v e n . c o m` with any bug
251
+ reports, suggestions or praise as the case may be.
145
252
 
@@ -1,4 +1,4 @@
1
- # About expandseq and consdenseseq
1
+ # About expandseq and condenseseq
2
2
 
3
3
  `expandseq` and `condenseseq` are two unix/linux command-line utilitiies
4
4
  for expanding and condensing
@@ -19,13 +19,15 @@ frame-ranges is one of the following three cases:
19
19
  to be no larger than B when A < B, or descending
20
20
  to be no less than B when A > B.
21
21
 
22
- The above three cases may often be combined to describe
22
+ The above three cases may be combined to describe
23
23
  less regular lists of Frame-Ranges by concatenating one
24
24
  Frame-Range after another separated by spaces or commas.
25
25
 
26
26
  ## Installing the commands
27
27
 
28
- python3 -m pip install expandSeq
28
+ ```
29
+ python3 -m pip install expandSeq --upgrade
30
+ ```
29
31
 
30
32
  ## Testing the installation
31
33
 
@@ -33,9 +35,9 @@ You should be able to run the following commands and get this output.
33
35
 
34
36
  ```
35
37
  1$ expandseq 1-10
36
- 1,2,3,4,5,6,7,8,9,10
38
+ 1 2 3 4 5 6 7 8 9 10
37
39
  2$ condenseseq 1 2 3 4 5 7 9 11 13 15
38
- 1-4,5-15x2
40
+ 1-4 5-15x2
39
41
  ```
40
42
 
41
43
  ## expandseq
@@ -79,7 +81,7 @@ optional arguments:
79
81
  --reverse, -r reverse the order of the list
80
82
  --sort, -s sort the resulting list
81
83
  --error exit with error if FRAME-RANGE is invalid. (default)
82
- --noError skip invalid FRAME-RANGEs, but print warning
84
+ --no-error skip invalid FRAME-RANGEs, but print warning
83
85
  --silent, --quiet suppress all errors and warnings
84
86
  ```
85
87
 
@@ -113,12 +115,109 @@ optional arguments:
113
115
  --delimiter DELIMITER, -d DELIMITER
114
116
  List successive numbers delimited by a 'comma',
115
117
  'space' (default) or a 'newline'.
116
- --onlyOnes only condense sucessive frames, that is, do not list
118
+ --only-ones only condense sucessive frames, that is, do not list
117
119
  sequences on 2's, 3's, ... N's
118
120
  --pad PAD set the padding of the frame numbers to be <PAD>
119
121
  digits. [default: 1]
120
122
  --error exit with error if FRAME-RANGE is invalid. (default)
121
- --noError skip invalid FRAME-RANGEs, but print warning
123
+ --no-error skip invalid FRAME-RANGEs, but print warning
122
124
  --silent, --quiet suppress all errors and warnings
123
125
 
124
126
  ```
127
+
128
+ # Important: latest MAJOR point release of `expandseq`.
129
+
130
+ `expandseq` and `condenseseq` as well as all
131
+ the utilities provided by jrowellfx github repos
132
+ use "[`Semantic Versioning 2.0.0`](https://semver.org/)" in numbering releases.
133
+ The latest release of `expandseq` upped the `MAJOR` release number
134
+ from `v3.x.x` to `v4.x.x`.
135
+
136
+ While the functionality and output of neither `expandseq` nor
137
+ `condenseseq` has changed, all the so called
138
+ "long options" have been renamed to adhere to `POSIX` standard naming
139
+ conventions.
140
+
141
+ That is, prior to `v4.0.0` of `expandseq` all the long-option names used a "camel case"
142
+ naming convention but as of `v4.0.0` all long-option names have been
143
+ changed to so-called "kebab case".
144
+
145
+ For example:
146
+
147
+ ```
148
+ --onlyOnes
149
+
150
+ ```
151
+
152
+ has been changed to
153
+
154
+ ```
155
+ --only-ones
156
+ ```
157
+
158
+ In the event that you have written any scripts that make use of `expandseq`,
159
+ `condenseseq` or
160
+ any other of `jrowellfx`'s utils provided [here](https://github.com/jrowellfx)
161
+ you will need to edit your scripts to be able to update to the lastest versions
162
+ of the utilities.
163
+
164
+ In this case, in order to assist in switching to the
165
+ current `MAJOR` point release some `sed` scripts have been provided that should make
166
+ the transition quite painless. Especially if you make use
167
+ of [`runsed`](https://github.com/jrowellfx/vfxTdUtils) which if you haven't used it before,
168
+ now is the time, it's extremely helpful.
169
+
170
+ There are two files provided at the root-level of the repo, namely:
171
+ `sed.script.jrowellfx.doubleDashToKebab` and `sed.script.expandseq.v3tov4`.
172
+
173
+ The first one can be used to fix the long-option names for ALL the
174
+ `MAJOR` point release updates to the long-options in any of `jrowellfx`'s utilities.
175
+ The second one contains only changes needed for the updates to `expandseq`
176
+ or `condenseseq`.
177
+
178
+ ## Example `sed.script` usage.
179
+
180
+ Download one or both of the sed scripts named above. Make sure you have `runsed` installed
181
+ on your system. (Example applied to usage of `lsseq` but it's
182
+ the same idea for `expandseq`.)
183
+
184
+ ```
185
+ $ cd ~/bin
186
+ $ ls
187
+ myScriptThatUsesLsseq
188
+ $ cat myScriptThatUsesLsseq
189
+ #!/bin/bash
190
+
191
+ lsseq --globalSortByTime --recursive --prependPathAbs /Volumes/myProjectFiles
192
+
193
+ $ mv ~/Downloads/sed.script.jrowellfx.doubleDashToKebab sed.script
194
+ $ runsed myScriptThatUsesLsseq
195
+ $ ./.runsed.diff.runsed
196
+ + /usr/bin/diff ./.myScriptThatUsesLsseq.runsed myScriptThatUsesLsseq
197
+ 3c3
198
+ < lsseq --globalSortByTime --recursive --prependPathAbs /Volumes/myProjectFiles
199
+ ---
200
+ > lsseq --global-sort-by-time --recursive --prepend-path-abs /Volumes/myProjectFiles
201
+ $ cat myScriptThatUsesLsseq
202
+ #!/bin/bash
203
+
204
+ lsseq --global-sort-by-time --recursive --prepend-path-abs /Volumes/myProjectFiles
205
+ ```
206
+
207
+ Note that if you are unhappy with the changes you can undo them easily with
208
+
209
+ ```
210
+ $ ./.runsed.undo.runsed
211
+ $ cat myScriptThatUsesLsseq
212
+ #!/bin/bash
213
+
214
+ lsseq --globalSortByTime --recursive --prependPathAbs /Volumes/myProjectFiles
215
+
216
+
217
+ ```
218
+
219
+ ## Contact
220
+
221
+ Please contact `j a m e s <at> a l p h a - e l e v e n . c o m` with any bug
222
+ reports, suggestions or praise as the case may be.
223
+
@@ -2,7 +2,7 @@
2
2
 
3
3
  # 3-Clause BSD License
4
4
  #
5
- # Copyright (c) 2008-2023, James Philip Rowell,
5
+ # Copyright (c) 2008-2026, 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 = "3.0.0"
55
+ VERSION = "4.0.1"
56
56
 
57
57
  PROG_NAME = "condenseseq"
58
58
 
@@ -108,7 +108,7 @@ def main():
108
108
 
109
109
  (Also see expandseq).
110
110
  '''),
111
- usage="%(prog)s [OPTION]... [FRAME-RANGE]...")
111
+ usage="%(prog)s [-h | --help] [OPTION]... [FRAME-RANGE]...")
112
112
 
113
113
  p.add_argument("--version", action="version", version=VERSION)
114
114
  p.add_argument("--delimiter", "-d", action="store", type=str,
@@ -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("--onlyOnes", action="store_true",
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("--noError", action="store_false",
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,14 +1,12 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: expandSeq
3
- Version: 3.0.0
3
+ Version: 4.0.1
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
8
+ License: BSD-3-Clause
10
9
  Classifier: Programming Language :: Python :: 3
11
- Classifier: License :: OSI Approved :: BSD License
12
10
  Classifier: Operating System :: POSIX
13
11
  Classifier: Operating System :: Unix
14
12
  Classifier: Operating System :: MacOS
@@ -16,8 +14,20 @@ 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
-
20
- # About expandseq and consdenseseq
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: license
25
+ Dynamic: license-file
26
+ Dynamic: requires-dist
27
+ Dynamic: requires-python
28
+ Dynamic: summary
29
+
30
+ # About expandseq and condenseseq
21
31
 
22
32
  `expandseq` and `condenseseq` are two unix/linux command-line utilitiies
23
33
  for expanding and condensing
@@ -38,13 +48,15 @@ frame-ranges is one of the following three cases:
38
48
  to be no larger than B when A < B, or descending
39
49
  to be no less than B when A > B.
40
50
 
41
- The above three cases may often be combined to describe
51
+ The above three cases may be combined to describe
42
52
  less regular lists of Frame-Ranges by concatenating one
43
53
  Frame-Range after another separated by spaces or commas.
44
54
 
45
55
  ## Installing the commands
46
56
 
47
- python3 -m pip install expandSeq
57
+ ```
58
+ python3 -m pip install expandSeq --upgrade
59
+ ```
48
60
 
49
61
  ## Testing the installation
50
62
 
@@ -52,9 +64,9 @@ You should be able to run the following commands and get this output.
52
64
 
53
65
  ```
54
66
  1$ expandseq 1-10
55
- 1,2,3,4,5,6,7,8,9,10
67
+ 1 2 3 4 5 6 7 8 9 10
56
68
  2$ condenseseq 1 2 3 4 5 7 9 11 13 15
57
- 1-4,5-15x2
69
+ 1-4 5-15x2
58
70
  ```
59
71
 
60
72
  ## expandseq
@@ -98,7 +110,7 @@ optional arguments:
98
110
  --reverse, -r reverse the order of the list
99
111
  --sort, -s sort the resulting list
100
112
  --error exit with error if FRAME-RANGE is invalid. (default)
101
- --noError skip invalid FRAME-RANGEs, but print warning
113
+ --no-error skip invalid FRAME-RANGEs, but print warning
102
114
  --silent, --quiet suppress all errors and warnings
103
115
  ```
104
116
 
@@ -132,14 +144,109 @@ optional arguments:
132
144
  --delimiter DELIMITER, -d DELIMITER
133
145
  List successive numbers delimited by a 'comma',
134
146
  'space' (default) or a 'newline'.
135
- --onlyOnes only condense sucessive frames, that is, do not list
147
+ --only-ones only condense sucessive frames, that is, do not list
136
148
  sequences on 2's, 3's, ... N's
137
149
  --pad PAD set the padding of the frame numbers to be <PAD>
138
150
  digits. [default: 1]
139
151
  --error exit with error if FRAME-RANGE is invalid. (default)
140
- --noError skip invalid FRAME-RANGEs, but print warning
152
+ --no-error skip invalid FRAME-RANGEs, but print warning
141
153
  --silent, --quiet suppress all errors and warnings
142
154
 
143
155
  ```
144
156
 
157
+ # Important: latest MAJOR point release of `expandseq`.
158
+
159
+ `expandseq` and `condenseseq` as well as all
160
+ the utilities provided by jrowellfx github repos
161
+ use "[`Semantic Versioning 2.0.0`](https://semver.org/)" in numbering releases.
162
+ The latest release of `expandseq` upped the `MAJOR` release number
163
+ from `v3.x.x` to `v4.x.x`.
164
+
165
+ While the functionality and output of neither `expandseq` nor
166
+ `condenseseq` has changed, all the so called
167
+ "long options" have been renamed to adhere to `POSIX` standard naming
168
+ conventions.
169
+
170
+ That is, prior to `v4.0.0` of `expandseq` all the long-option names used a "camel case"
171
+ naming convention but as of `v4.0.0` all long-option names have been
172
+ changed to so-called "kebab case".
173
+
174
+ For example:
175
+
176
+ ```
177
+ --onlyOnes
178
+
179
+ ```
180
+
181
+ has been changed to
182
+
183
+ ```
184
+ --only-ones
185
+ ```
186
+
187
+ In the event that you have written any scripts that make use of `expandseq`,
188
+ `condenseseq` or
189
+ any other of `jrowellfx`'s utils provided [here](https://github.com/jrowellfx)
190
+ you will need to edit your scripts to be able to update to the lastest versions
191
+ of the utilities.
192
+
193
+ In this case, in order to assist in switching to the
194
+ current `MAJOR` point release some `sed` scripts have been provided that should make
195
+ the transition quite painless. Especially if you make use
196
+ of [`runsed`](https://github.com/jrowellfx/vfxTdUtils) which if you haven't used it before,
197
+ now is the time, it's extremely helpful.
198
+
199
+ There are two files provided at the root-level of the repo, namely:
200
+ `sed.script.jrowellfx.doubleDashToKebab` and `sed.script.expandseq.v3tov4`.
201
+
202
+ The first one can be used to fix the long-option names for ALL the
203
+ `MAJOR` point release updates to the long-options in any of `jrowellfx`'s utilities.
204
+ The second one contains only changes needed for the updates to `expandseq`
205
+ or `condenseseq`.
206
+
207
+ ## Example `sed.script` usage.
208
+
209
+ Download one or both of the sed scripts named above. Make sure you have `runsed` installed
210
+ on your system. (Example applied to usage of `lsseq` but it's
211
+ the same idea for `expandseq`.)
212
+
213
+ ```
214
+ $ cd ~/bin
215
+ $ ls
216
+ myScriptThatUsesLsseq
217
+ $ cat myScriptThatUsesLsseq
218
+ #!/bin/bash
219
+
220
+ lsseq --globalSortByTime --recursive --prependPathAbs /Volumes/myProjectFiles
221
+
222
+ $ mv ~/Downloads/sed.script.jrowellfx.doubleDashToKebab sed.script
223
+ $ runsed myScriptThatUsesLsseq
224
+ $ ./.runsed.diff.runsed
225
+ + /usr/bin/diff ./.myScriptThatUsesLsseq.runsed myScriptThatUsesLsseq
226
+ 3c3
227
+ < lsseq --globalSortByTime --recursive --prependPathAbs /Volumes/myProjectFiles
228
+ ---
229
+ > lsseq --global-sort-by-time --recursive --prepend-path-abs /Volumes/myProjectFiles
230
+ $ cat myScriptThatUsesLsseq
231
+ #!/bin/bash
232
+
233
+ lsseq --global-sort-by-time --recursive --prepend-path-abs /Volumes/myProjectFiles
234
+ ```
235
+
236
+ Note that if you are unhappy with the changes you can undo them easily with
237
+
238
+ ```
239
+ $ ./.runsed.undo.runsed
240
+ $ cat myScriptThatUsesLsseq
241
+ #!/bin/bash
242
+
243
+ lsseq --globalSortByTime --recursive --prependPathAbs /Volumes/myProjectFiles
244
+
245
+
246
+ ```
247
+
248
+ ## Contact
249
+
250
+ Please contact `j a m e s <at> a l p h a - e l e v e n . c o m` with any bug
251
+ reports, suggestions or praise as the case may be.
145
252
 
@@ -1,4 +1,3 @@
1
1
  [console_scripts]
2
2
  condenseseq = condenseseq.__main__:main
3
3
  expandseq = expandseq.__main__:main
4
-
@@ -2,7 +2,7 @@
2
2
 
3
3
  # 3-Clause BSD License
4
4
  #
5
- # Copyright (c) 2008-2023, James Philip Rowell,
5
+ # Copyright (c) 2008-2026, 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 = "3.0.0"
55
+ VERSION = "4.0.1"
56
56
 
57
57
  PROG_NAME = "expandseq"
58
58
 
@@ -115,7 +115,7 @@ def main():
115
115
 
116
116
  (Also see condenseseq).
117
117
  '''),
118
- usage="%(prog)s [OPTION]... [FRAME-RANGE]...")
118
+ usage="%(prog)s [-h | --help] [OPTION]... [FRAME-RANGE]...")
119
119
 
120
120
  p.add_argument("--version", action="version", version=VERSION)
121
121
  p.add_argument("--delimiter", "-d", action="store", type=str,
@@ -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("--noError", action="store_false",
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
 
@@ -8,17 +8,18 @@ long_description = (here / 'README.md').read_text(encoding='utf-8')
8
8
 
9
9
  setup(
10
10
  name = 'expandSeq',
11
- version = '3.0.0',
11
+ version = '4.0.1',
12
12
  description='Command line utils to expose functionality of seqLister python library.',
13
13
  long_description=long_description,
14
14
  long_description_content_type='text/markdown',
15
15
  url = 'https://github.com/jrowellfx/expandSeq',
16
16
  author = 'James Philip Rowell',
17
17
  author_email = 'james@alpha-eleven.com',
18
+ license = "BSD-3-Clause",
19
+ license_files = ["LICENSE"],
18
20
 
19
21
  classifiers=[
20
22
  'Programming Language :: Python :: 3',
21
- 'License :: OSI Approved :: BSD License',
22
23
  'Operating System :: POSIX',
23
24
  'Operating System :: Unix',
24
25
  'Operating System :: MacOS',
File without changes