cdxcore 0.1.5__py3-none-any.whl → 0.1.9__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.
Potentially problematic release.
This version of cdxcore might be problematic. Click here for more details.
- cdxcore/__init__.py +1 -9
- cdxcore/config.py +1188 -521
- cdxcore/crman.py +95 -25
- cdxcore/err.py +371 -0
- cdxcore/pretty.py +468 -0
- cdxcore/pretty.py_bak.py +750 -0
- cdxcore/subdir.py +2225 -1334
- cdxcore/uniquehash.py +515 -363
- cdxcore/util.py +358 -417
- cdxcore/verbose.py +683 -248
- cdxcore/version.py +398 -139
- cdxcore-0.1.9.dist-info/METADATA +27 -0
- cdxcore-0.1.9.dist-info/RECORD +36 -0
- {cdxcore-0.1.5.dist-info → cdxcore-0.1.9.dist-info}/top_level.txt +3 -1
- docs/source/conf.py +123 -0
- docs2/source/conf.py +35 -0
- tests/test_config.py +502 -0
- tests/test_crman.py +54 -0
- tests/test_err.py +86 -0
- tests/test_pretty.py +404 -0
- tests/test_subdir.py +289 -0
- tests/test_uniquehash.py +159 -144
- tests/test_util.py +122 -83
- tests/test_verbose.py +119 -0
- tests/test_version.py +153 -0
- up/git_message.py +2 -2
- cdxcore/logger.py +0 -319
- cdxcore/prettydict.py +0 -388
- cdxcore/prettyobject.py +0 -64
- cdxcore-0.1.5.dist-info/METADATA +0 -1418
- cdxcore-0.1.5.dist-info/RECORD +0 -30
- conda/conda_exists.py +0 -10
- conda/conda_modify_yaml.py +0 -42
- tests/_cdxbasics.py +0 -1086
- {cdxcore-0.1.5.dist-info → cdxcore-0.1.9.dist-info}/WHEEL +0 -0
- {cdxcore-0.1.5.dist-info → cdxcore-0.1.9.dist-info}/licenses/LICENSE +0 -0
- {cdxcore → tmp}/deferred.py +0 -0
- {cdxcore → tmp}/dynaplot.py +0 -0
- {cdxcore → tmp}/filelock.py +0 -0
- {cdxcore → tmp}/jcpool.py +0 -0
- {cdxcore → tmp}/np.py +0 -0
- {cdxcore → tmp}/npio.py +0 -0
- {cdxcore → tmp}/sharedarray.py +0 -0
cdxcore-0.1.5.dist-info/RECORD
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
cdxcore/__init__.py,sha256=KfiIad3ygb3XcF733ktAcW7Ywph4VRyV9c-0ajVt8z8,284
|
|
2
|
-
cdxcore/config.py,sha256=i1NTXYIICW4otBRXer3PtBBK-H71GevLbfNZlLol2rY,68241
|
|
3
|
-
cdxcore/crman.py,sha256=4Q9AHN76zVhLtBvHEAoWAk8x5rRpSvSIbyoyaizmTco,3417
|
|
4
|
-
cdxcore/deferred.py,sha256=TirvzxYXWnZkOWuEMB7qsf6auilfy4VD_zPknYCjrnw,9401
|
|
5
|
-
cdxcore/dynaplot.py,sha256=kwrH_WccpJcfS7n_gzdAr4QxQobvIZZrrxgdsKLKfj0,48552
|
|
6
|
-
cdxcore/filelock.py,sha256=HqnHZhSCESaOA3ClrdWPW_GZpyo7c3VRSEofAV-khKM,18137
|
|
7
|
-
cdxcore/jcpool.py,sha256=OzoXWBJKWaDgJm1OeUj9ERz9skvwslGOwNq0wbKtcFM,17222
|
|
8
|
-
cdxcore/logger.py,sha256=DrSU6q8-oRAz2eU2bOzsM1vF1Xubb8g38wI5Pn6K0VY,11780
|
|
9
|
-
cdxcore/np.py,sha256=2MynhiaTfmx984Gz7TwfZH3t7GCmCAQiyeWzDDCL6_k,47686
|
|
10
|
-
cdxcore/npio.py,sha256=4Kwp5H4MgKHkOEhu4UJ5CcwpM7Pm8UFkaoL5FvOEFRI,10310
|
|
11
|
-
cdxcore/prettydict.py,sha256=V31mLXSO2nYagUJ9JLY8GF_a_2uzvLPIDTeonzn5cRI,14598
|
|
12
|
-
cdxcore/prettyobject.py,sha256=3ejOT-NYFzXZ4FO-5FQzWvl09pzaLUIz5HxAlmzsQTM,1732
|
|
13
|
-
cdxcore/sharedarray.py,sha256=JuHuSlxA0evD0a-bEZgTFrfdlVPMgzfQNgfSjr1212w,11484
|
|
14
|
-
cdxcore/subdir.py,sha256=fqs9GBoZ6fxNRW9TwgmlQLXH1kArHqYCigcFNDvSSzM,138393
|
|
15
|
-
cdxcore/uniquehash.py,sha256=EuOgcVwdR-c0GleEP7FraA2SQ1zYBJ7Kdw6kQiDiDhg,45728
|
|
16
|
-
cdxcore/util.py,sha256=4VUH-TFBFODvwtUEe9mArwQVhHO_4WU4Gkr218B9MBg,36378
|
|
17
|
-
cdxcore/verbose.py,sha256=pNyEBNBcfEKsw-WY5tz44RL52NdbA8QelclSLULENFg,15995
|
|
18
|
-
cdxcore/version.py,sha256=REZT4ow7IWsoe49JLJ7JZlumXJE2tnSfa6btWXrfb6E,18352
|
|
19
|
-
cdxcore-0.1.5.dist-info/licenses/LICENSE,sha256=M-cisgK9kb1bqVRJ7vrCxHcMQQfDxdY3c2YFJJWfNQg,1090
|
|
20
|
-
conda/conda_exists.py,sha256=2hNKueRA_bYFxg5Z6yX4h1c8IpMroVhRuy-A-jYLva0,132
|
|
21
|
-
conda/conda_modify_yaml.py,sha256=Gd23TEDPrBEMtgWLLk74i9bcYaI9caKGHDYLzJMbpKw,994
|
|
22
|
-
tests/_cdxbasics.py,sha256=SWmNvZ1qA98kEYv5ae_P4ruWYQpdPnLZ6pHZbEKc4ks,38468
|
|
23
|
-
tests/test_uniquehash.py,sha256=yfS7zY0A2_aMi_bdDOX8M7Q1UpP2flMQVwVvgYx-0HE,24188
|
|
24
|
-
tests/test_util.py,sha256=hqfSOUnuCXyBz7tiuk-UwIacDS-1oDj8cM87m2qpz1s,18364
|
|
25
|
-
up/git_message.py,sha256=pM-XEENOfgqj-cHlNUocuEPTtCQwx-DMh9PAZH-Bw2I,129
|
|
26
|
-
up/pip_modify_setup.py,sha256=Esaml4yA9tFsqxLhk5bWSwvKCURONjQqfyChgFV2TSY,1584
|
|
27
|
-
cdxcore-0.1.5.dist-info/METADATA,sha256=Y5tWV7aOOy-8Wbbd9m0sjWQRPD3itNnPhnGhgRI1FBo,61703
|
|
28
|
-
cdxcore-0.1.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
29
|
-
cdxcore-0.1.5.dist-info/top_level.txt,sha256=dAzg503HzAXdsDh0AZKZWj7APTlALXyxX6JaBzqwn7g,23
|
|
30
|
-
cdxcore-0.1.5.dist-info/RECORD,,
|
conda/conda_exists.py
DELETED
conda/conda_modify_yaml.py
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
"""
|
|
2
|
-
Modify yaml generated by conda skeleton
|
|
3
|
-
expects the yaml class in conda/cdxbasics/meta.yaml
|
|
4
|
-
"""
|
|
5
|
-
|
|
6
|
-
import sys
|
|
7
|
-
|
|
8
|
-
file = sys.argv[1]
|
|
9
|
-
print("Reading %s" % file)
|
|
10
|
-
with open( file, "rt") as f:
|
|
11
|
-
output = ""
|
|
12
|
-
for line in f:
|
|
13
|
-
line = line[:-1]
|
|
14
|
-
ix = line.find("your-github-id-here")
|
|
15
|
-
if ix != -1:
|
|
16
|
-
output += line[:ix] + "hansbuehler\n"
|
|
17
|
-
continue
|
|
18
|
-
ix = line.find("script:")
|
|
19
|
-
if ix != -1:
|
|
20
|
-
output += line + "\n"
|
|
21
|
-
output += line[0:ix] + "noarch: python\n"
|
|
22
|
-
continue
|
|
23
|
-
ix = line.find("doc_url:")
|
|
24
|
-
if ix != -1:
|
|
25
|
-
output += line[:-1] + " https://github.com/hansbuehler/cdxbasics/blob/master/README.md\n"
|
|
26
|
-
continue
|
|
27
|
-
output += line + "\n"
|
|
28
|
-
f.close()
|
|
29
|
-
|
|
30
|
-
print("Writing %s" % file)
|
|
31
|
-
with open( file, 'wt' ) as f:
|
|
32
|
-
print(output)
|
|
33
|
-
f.write(output)
|
|
34
|
-
f.close()
|
|
35
|
-
print("%s written" % file)
|
|
36
|
-
|
|
37
|
-
exit(0)
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|