expandSeq 4.0.0__py3-none-any.whl → 4.0.1__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 +3 -3
- expandseq/__main__.py +3 -3
- {expandSeq-4.0.0.dist-info → expandseq-4.0.1.dist-info}/METADATA +103 -4
- expandseq-4.0.1.dist-info/RECORD +10 -0
- {expandSeq-4.0.0.dist-info → expandseq-4.0.1.dist-info}/WHEEL +1 -1
- {expandSeq-4.0.0.dist-info → expandseq-4.0.1.dist-info/licenses}/LICENSE +1 -1
- expandSeq-4.0.0.dist-info/RECORD +0 -10
- {expandSeq-4.0.0.dist-info → expandseq-4.0.1.dist-info}/entry_points.txt +0 -0
- {expandSeq-4.0.0.dist-info → expandseq-4.0.1.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-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 = "4.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,
|
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-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 = "4.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,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: expandSeq
|
|
3
|
-
Version: 4.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: BSD-3-Clause
|
|
8
9
|
Classifier: Programming Language :: Python :: 3
|
|
9
|
-
Classifier: License :: OSI Approved :: BSD License
|
|
10
10
|
Classifier: Operating System :: POSIX
|
|
11
11
|
Classifier: Operating System :: Unix
|
|
12
12
|
Classifier: Operating System :: MacOS
|
|
@@ -21,11 +21,13 @@ Dynamic: classifier
|
|
|
21
21
|
Dynamic: description
|
|
22
22
|
Dynamic: description-content-type
|
|
23
23
|
Dynamic: home-page
|
|
24
|
+
Dynamic: license
|
|
25
|
+
Dynamic: license-file
|
|
24
26
|
Dynamic: requires-dist
|
|
25
27
|
Dynamic: requires-python
|
|
26
28
|
Dynamic: summary
|
|
27
29
|
|
|
28
|
-
# About expandseq and
|
|
30
|
+
# About expandseq and condenseseq
|
|
29
31
|
|
|
30
32
|
`expandseq` and `condenseseq` are two unix/linux command-line utilitiies
|
|
31
33
|
for expanding and condensing
|
|
@@ -151,3 +153,100 @@ optional arguments:
|
|
|
151
153
|
--silent, --quiet suppress all errors and warnings
|
|
152
154
|
|
|
153
155
|
```
|
|
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.
|
|
252
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
condenseseq/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
condenseseq/__main__.py,sha256=Sl3DmZAxiJbfgl5iSDD1L4U_s8Mf1hXhHuG5WfiC4rQ,9119
|
|
3
|
+
expandseq/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
expandseq/__main__.py,sha256=XHh84OX3kb5APts_9yBO0j4gPkE5za9NWqmAuRvK4sE,8664
|
|
5
|
+
expandseq-4.0.1.dist-info/licenses/LICENSE,sha256=6nkMza9EsLm_5eVujz579iCb9pLToaliSRuycs41Z28,1620
|
|
6
|
+
expandseq-4.0.1.dist-info/METADATA,sha256=5JT4gkSFMN9j482Myh6ZOELBJ5qvifoFZyGLzA05jFU,8012
|
|
7
|
+
expandseq-4.0.1.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
8
|
+
expandseq-4.0.1.dist-info/entry_points.txt,sha256=jPMAMCyVL3KeArm7ZsjKIxP_DoJF-k47q9nOSTJ2I78,94
|
|
9
|
+
expandseq-4.0.1.dist-info/top_level.txt,sha256=RdXBSEQ2TUgy7KyzH1P0KkXp9U4gfjdr7ikaCt9TNNQ,22
|
|
10
|
+
expandseq-4.0.1.dist-info/RECORD,,
|
expandSeq-4.0.0.dist-info/RECORD
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
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,,
|
|
File without changes
|
|
File without changes
|