tradedangerous 11.0.6__py3-none-any.whl → 11.1.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.
Potentially problematic release.
This version of tradedangerous might be problematic. Click here for more details.
- tradedangerous/cache.py +3 -2
- tradedangerous/commands/buy_cmd.py +10 -1
- tradedangerous/version.py +1 -1
- {tradedangerous-11.0.6.dist-info → tradedangerous-11.1.1.dist-info}/METADATA +1 -1
- {tradedangerous-11.0.6.dist-info → tradedangerous-11.1.1.dist-info}/RECORD +9 -9
- {tradedangerous-11.0.6.dist-info → tradedangerous-11.1.1.dist-info}/LICENSE +0 -0
- {tradedangerous-11.0.6.dist-info → tradedangerous-11.1.1.dist-info}/WHEEL +0 -0
- {tradedangerous-11.0.6.dist-info → tradedangerous-11.1.1.dist-info}/entry_points.txt +0 -0
- {tradedangerous-11.0.6.dist-info → tradedangerous-11.1.1.dist-info}/top_level.txt +0 -0
tradedangerous/cache.py
CHANGED
|
@@ -991,6 +991,8 @@ def buildCache(tdb, tdenv):
|
|
|
991
991
|
importName
|
|
992
992
|
)
|
|
993
993
|
|
|
994
|
+
tempDB.commit()
|
|
995
|
+
|
|
994
996
|
# Parse the prices file
|
|
995
997
|
if pricesPath.exists():
|
|
996
998
|
processPricesFile(tdenv, tempDB, pricesPath)
|
|
@@ -1000,9 +1002,8 @@ def buildCache(tdb, tdenv):
|
|
|
1000
1002
|
pricesPath,
|
|
1001
1003
|
stderr=True,
|
|
1002
1004
|
)
|
|
1005
|
+
tempDB.close()
|
|
1003
1006
|
|
|
1004
|
-
tempDB.commit()
|
|
1005
|
-
tempDB.close()
|
|
1006
1007
|
tdb.close()
|
|
1007
1008
|
|
|
1008
1009
|
tdenv.DEBUG0("Swapping out db files")
|
|
@@ -55,6 +55,12 @@ switches = (
|
|
|
55
55
|
type = int,
|
|
56
56
|
),
|
|
57
57
|
AvoidPlacesArgument(),
|
|
58
|
+
ParseArgument('--age', '--max-days-old', '-MD',
|
|
59
|
+
help = 'Maximum age (in days) of trade data to use.',
|
|
60
|
+
metavar = 'DAYS',
|
|
61
|
+
type = float,
|
|
62
|
+
dest = 'maxAge',
|
|
63
|
+
),
|
|
58
64
|
PadSizeArgument(),
|
|
59
65
|
MutuallyExclusiveGroup(
|
|
60
66
|
NoPlanetSwitch(),
|
|
@@ -100,7 +106,7 @@ switches = (
|
|
|
100
106
|
type = "credits",
|
|
101
107
|
),
|
|
102
108
|
ParseArgument('--ls-max',
|
|
103
|
-
help='Only consider stations
|
|
109
|
+
help='Only consider stations up to this many ls from their star.',
|
|
104
110
|
metavar='LS',
|
|
105
111
|
dest='maxLs',
|
|
106
112
|
type=int,
|
|
@@ -300,6 +306,9 @@ def run(results, cmdenv, tdb):
|
|
|
300
306
|
continue
|
|
301
307
|
if station.system in avoidSystems:
|
|
302
308
|
continue
|
|
309
|
+
maxAge, stnAge = cmdenv.maxAge, station.dataAge or float("inf")
|
|
310
|
+
if maxAge and stnAge > maxAge:
|
|
311
|
+
continue
|
|
303
312
|
|
|
304
313
|
row = ResultRow()
|
|
305
314
|
row.station = station
|
tradedangerous/version.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tradedangerous
|
|
3
|
-
Version: 11.
|
|
3
|
+
Version: 11.1.1
|
|
4
4
|
Summary: Trade-Dangerous is a set of powerful trading tools for Elite Dangerous, organized around one of the most powerful trade run optimizers available.
|
|
5
5
|
Home-page: https://github.com/eyeonus/Trade-Dangerous
|
|
6
6
|
Author: eyeonus
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
trade.py,sha256=vBEJZR3Bybesw9FMelcHOTRA7KqKeH-4_wqbJ4VMB_E,1779
|
|
2
2
|
tradegui.py,sha256=q2HdIdoyeLUpeF2X0hVIGn7sU6T4zOzq1HN0zGvZdyE,788
|
|
3
3
|
tradedangerous/__init__.py,sha256=bwsbE_GyCNsuyGDKnfXAg0RD-ewsWHliySJ5QfCK7h8,1166
|
|
4
|
-
tradedangerous/cache.py,sha256=
|
|
4
|
+
tradedangerous/cache.py,sha256=N7z1e2fov003wIh_aHkw1pdByKDPt3FkDZiH_EEPdMc,36080
|
|
5
5
|
tradedangerous/cli.py,sha256=dLekZ3MTbn9XcSGtE532qZF3iSnsb5G-ddQyErwTv9o,4559
|
|
6
6
|
tradedangerous/corrections.py,sha256=_WLgo1IBWoskrrPFeshRwCOeJ2BeJb_x4tDQ0JdAo-s,1340
|
|
7
7
|
tradedangerous/csvexport.py,sha256=_19bGVnCGJPzvx_8DzLGOs4rqx8Asn7eCVdXKdKu92E,8653
|
|
@@ -21,11 +21,11 @@ tradedangerous/tradeenv.py,sha256=SDzRC6ERYZzzb_I6uexmFpFJJrnbzXa-1ogYt_GH26w,10
|
|
|
21
21
|
tradedangerous/tradeexcept.py,sha256=aZ-Y31MbkjF7lmAzBAbaMsPPE7FEEfuf4gaX2GvriDk,368
|
|
22
22
|
tradedangerous/transfers.py,sha256=88gIvXpjd8T6NLxBrBRzmH2IfUmDDtiMcDTrc7qF3OI,7830
|
|
23
23
|
tradedangerous/utils.py,sha256=PUPvAEqUyxYGqqQa0b_yfLAvq8YVUxK6HfdS-CxM-Lo,5186
|
|
24
|
-
tradedangerous/version.py,sha256=
|
|
24
|
+
tradedangerous/version.py,sha256=Wg12sPeOttYgzGmg_sdMuARMhxxE3HUGUU49FBbne4E,646
|
|
25
25
|
tradedangerous/commands/TEMPLATE.py,sha256=MOE69xsZPHPIMBQ-LXicfsOlCZdy-2gPX_nlnwYYil8,2026
|
|
26
26
|
tradedangerous/commands/__init__.py,sha256=3gz2cnXNZNkV1gtZh0dOnCRxBkQHbeIyysRe3bM2WEE,9516
|
|
27
27
|
tradedangerous/commands/buildcache_cmd.py,sha256=jhNSqHX_xX43SiSUMFiKtWpB9v4oeZ0sqfNq6DCrjUs,2181
|
|
28
|
-
tradedangerous/commands/buy_cmd.py,sha256=
|
|
28
|
+
tradedangerous/commands/buy_cmd.py,sha256=VbHSUI9eocaQAdzaLRnHr-Nsnu15Q2WlhC3VzMK_3KQ,13924
|
|
29
29
|
tradedangerous/commands/commandenv.py,sha256=lzPbxhrgx4PJL_x8pRdYu22rqtL4U6kNQ5ExXTPoAao,9462
|
|
30
30
|
tradedangerous/commands/exceptions.py,sha256=xJib2n0YRSgrs8WhZX5IeVHM-XakS3YwfjlF8_cNx4E,3476
|
|
31
31
|
tradedangerous/commands/export_cmd.py,sha256=VfxwrNU_TzrSw71KrmtmXKYCBkpDGr5KRLGPXOBewnI,4405
|
|
@@ -71,9 +71,9 @@ tradedangerous/templates/Added.csv,sha256=8o54civQCcS9y7_DBo0GX196XWRbbREQqKDYTK
|
|
|
71
71
|
tradedangerous/templates/Category.csv,sha256=8xwUDcBZE25T6x6dZGlRUMTCqeDLt3a9LXU5h6hRHV8,250
|
|
72
72
|
tradedangerous/templates/RareItem.csv,sha256=F1RhRnTD82PiwrVUO-ai2ErGH2PTqNnQaDw5mcgljXs,10483
|
|
73
73
|
tradedangerous/templates/TradeDangerous.sql,sha256=VlQK7QGtEi2brGtWaIZDvKmbJ_vLocD4CJ8h_6kKptU,7808
|
|
74
|
-
tradedangerous-11.
|
|
75
|
-
tradedangerous-11.
|
|
76
|
-
tradedangerous-11.
|
|
77
|
-
tradedangerous-11.
|
|
78
|
-
tradedangerous-11.
|
|
79
|
-
tradedangerous-11.
|
|
74
|
+
tradedangerous-11.1.1.dist-info/LICENSE,sha256=HyVuytGSiAUQ6ErWBHTqt1iSGHhLmlC8fO7jTCuR8dU,16725
|
|
75
|
+
tradedangerous-11.1.1.dist-info/METADATA,sha256=VEWP-0GaU1u3FV8L1Oxx3IhBXGK5lAT1p8MEtr814LU,4435
|
|
76
|
+
tradedangerous-11.1.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
77
|
+
tradedangerous-11.1.1.dist-info/entry_points.txt,sha256=lrA7U9JHOcNuam2WEK4Hmc3vQ3mrJfsbJCE74qd9au8,62
|
|
78
|
+
tradedangerous-11.1.1.dist-info/top_level.txt,sha256=JEoOVAhg5GfXZ4kHpNontu0RVzek_7P9_jp93f3Pqn8,16
|
|
79
|
+
tradedangerous-11.1.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|