tradedangerous 11.2.0__tar.gz → 11.2.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.
Potentially problematic release.
This version of tradedangerous might be problematic. Click here for more details.
- {tradedangerous-11.2.0/tradedangerous.egg-info → tradedangerous-11.2.1}/PKG-INFO +1 -1
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/commands/parsing.py +0 -4
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/plugins/eddblink_plug.py +15 -21
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/version.py +1 -1
- {tradedangerous-11.2.0 → tradedangerous-11.2.1/tradedangerous.egg-info}/PKG-INFO +1 -1
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/LICENSE +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/README.md +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/pyproject.toml +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/setup.cfg +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/setup.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tests/test_bootstrap_commands.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tests/test_bootstrap_plugins.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tests/test_cache.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tests/test_commands.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tests/test_fs.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tests/test_peek.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tests/test_tools.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tests/test_trade.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tests/test_trade_run.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tests/test_utils.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/trade.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/__init__.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/cache.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/cli.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/commands/TEMPLATE.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/commands/__init__.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/commands/buildcache_cmd.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/commands/buy_cmd.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/commands/commandenv.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/commands/exceptions.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/commands/export_cmd.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/commands/import_cmd.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/commands/local_cmd.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/commands/market_cmd.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/commands/nav_cmd.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/commands/olddata_cmd.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/commands/rares_cmd.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/commands/run_cmd.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/commands/sell_cmd.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/commands/shipvendor_cmd.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/commands/station_cmd.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/commands/trade_cmd.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/commands/update_cmd.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/commands/update_gui.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/corrections.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/csvexport.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/edscupdate.py +1 -1
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/edsmupdate.py +1 -1
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/formatting.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/fs.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/gui.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/jsonprices.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/mapping.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/mfd/__init__.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/mfd/saitek/__init__.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/mfd/saitek/directoutput.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/mfd/saitek/x52pro.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/misc/checkpricebounds.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/misc/clipboard.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/misc/coord64.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/misc/derp-sentinel.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/misc/diff-system-csvs.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/misc/eddb.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/misc/eddn.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/misc/edsc.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/misc/edsm.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/misc/importeddbstats.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/misc/prices-json-exp.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/misc/progress.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/plugins/__init__.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/plugins/edapi_plug.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/plugins/edcd_plug.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/plugins/edmc_batch_plug.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/plugins/journal_plug.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/plugins/netlog_plug.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/plugins/spansh_plug.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/prices.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/submit-distances.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/templates/Added.csv +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/templates/Category.csv +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/templates/RareItem.csv +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/templates/TradeDangerous.sql +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/tools.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/tradecalc.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/tradedb.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/tradeenv.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/tradeexcept.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/transfers.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous/utils.py +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous.egg-info/SOURCES.txt +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous.egg-info/dependency_links.txt +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous.egg-info/entry_points.txt +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous.egg-info/not-zip-safe +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous.egg-info/requires.txt +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous.egg-info/top_level.txt +0 -0
- {tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradegui.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tradedangerous
|
|
3
|
-
Version: 11.2.
|
|
3
|
+
Version: 11.2.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
|
|
@@ -60,7 +60,6 @@ class PadSizeArgument(int):
|
|
|
60
60
|
'dest': 'padSize',
|
|
61
61
|
'metavar': 'PADSIZES',
|
|
62
62
|
'type': 'padsize',
|
|
63
|
-
'choices': 'SsMmLl?',
|
|
64
63
|
}
|
|
65
64
|
|
|
66
65
|
|
|
@@ -153,7 +152,6 @@ class PlanetaryArgument(int):
|
|
|
153
152
|
'dest': 'planetary',
|
|
154
153
|
'metavar': 'PLANETARY',
|
|
155
154
|
'type': 'planetary',
|
|
156
|
-
'choices': 'YyNn?',
|
|
157
155
|
}
|
|
158
156
|
|
|
159
157
|
|
|
@@ -181,7 +179,6 @@ class FleetCarrierArgument(int):
|
|
|
181
179
|
'dest': 'fleet',
|
|
182
180
|
'metavar': 'FLEET',
|
|
183
181
|
'type': 'fleet',
|
|
184
|
-
'choices': 'YyNn?',
|
|
185
182
|
}
|
|
186
183
|
|
|
187
184
|
class OdysseyArgument(int):
|
|
@@ -208,7 +205,6 @@ class OdysseyArgument(int):
|
|
|
208
205
|
'dest': 'odyssey',
|
|
209
206
|
'metavar': 'ODYSSEY',
|
|
210
207
|
'type': 'odyssey',
|
|
211
|
-
'choices': 'YyNn?',
|
|
212
208
|
}
|
|
213
209
|
|
|
214
210
|
|
|
@@ -118,6 +118,7 @@ class ImportPlugin(plugins.ImportPluginBase):
|
|
|
118
118
|
'force': "Force regeneration of selected items even if source file not updated since previous run. "
|
|
119
119
|
"(Useful for updating Vendor tables if they were skipped during a '-O clean' run.)",
|
|
120
120
|
'purge': "Remove any empty systems that previously had fleet carriers.",
|
|
121
|
+
'optimize': "Optimize ('vacuum') database after processing.",
|
|
121
122
|
'solo': "Don't download crowd-sourced market data. (Implies '-O skipvend', supercedes '-O all', '-O clean', '-O listings'.)",
|
|
122
123
|
}
|
|
123
124
|
|
|
@@ -197,22 +198,10 @@ class ImportPlugin(plugins.ImportPluginBase):
|
|
|
197
198
|
db = self.tdb.getDB()
|
|
198
199
|
self.tdenv.NOTE("Purging Systems with no stations: Start time = {}", self.now())
|
|
199
200
|
|
|
200
|
-
db.execute("
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
db.execute("""CREATE TABLE System_copy AS SELECT * FROM System
|
|
205
|
-
WHERE system_id IN (SELECT system_id FROM Station)
|
|
206
|
-
""")
|
|
207
|
-
|
|
208
|
-
self.tdenv.DEBUG0("Erasing table and reinserting kept systems.... " + str(self.now()) + "\t\t\t\t", end="\r")
|
|
209
|
-
db.execute("DELETE FROM System")
|
|
210
|
-
db.execute("INSERT INTO System SELECT * FROM System_copy")
|
|
211
|
-
|
|
212
|
-
self.tdenv.DEBUG0("Removing copy.... " + str(self.now()) + "\t\t\t\t", end="\r")
|
|
213
|
-
db.execute("PRAGMA foreign_keys = ON")
|
|
214
|
-
db.execute("DROP TABLE IF EXISTS System_copy")
|
|
215
|
-
|
|
201
|
+
db.execute("""
|
|
202
|
+
DELETE FROM System
|
|
203
|
+
WHERE NOT EXISTS(SELECT 1 FROM Station WHERE Station.system_id = System.system_id)
|
|
204
|
+
""")
|
|
216
205
|
db.commit()
|
|
217
206
|
|
|
218
207
|
self.tdenv.NOTE("Finished purging Systems. End time = {}", self.now())
|
|
@@ -349,7 +338,7 @@ class ImportPlugin(plugins.ImportPluginBase):
|
|
|
349
338
|
|
|
350
339
|
# We can probably safely assume that the plugin
|
|
351
340
|
# has never been run if the db file doesn't exist.
|
|
352
|
-
if not
|
|
341
|
+
if not self.tdb.dbPath.exists():
|
|
353
342
|
self.options["clean"] = True
|
|
354
343
|
|
|
355
344
|
if self.getOption("clean"):
|
|
@@ -392,8 +381,11 @@ class ImportPlugin(plugins.ImportPluginBase):
|
|
|
392
381
|
if rib_path.exists():
|
|
393
382
|
rib_path.unlink()
|
|
394
383
|
ri_path.rename(rib_path)
|
|
395
|
-
|
|
384
|
+
|
|
385
|
+
self.tdb.close()
|
|
386
|
+
|
|
396
387
|
self.tdb.reloadCache()
|
|
388
|
+
self.tdb.close()
|
|
397
389
|
|
|
398
390
|
# Now it's safe to move RareItems back.
|
|
399
391
|
if ri_path.exists():
|
|
@@ -451,7 +443,7 @@ class ImportPlugin(plugins.ImportPluginBase):
|
|
|
451
443
|
if self.downloadFile(self.upgradesPath) or self.getOption("force"):
|
|
452
444
|
transfers.download(self.tdenv, self.urlOutfitting, self.FDevOutfittingPath)
|
|
453
445
|
buildCache = True
|
|
454
|
-
|
|
446
|
+
|
|
455
447
|
if self.getOption("ship"):
|
|
456
448
|
if self.downloadFile(self.shipPath) or self.getOption("force"):
|
|
457
449
|
transfers.download(self.tdenv, self.urlShipyard, self.FDevShipyardPath)
|
|
@@ -486,16 +478,18 @@ class ImportPlugin(plugins.ImportPluginBase):
|
|
|
486
478
|
if buildCache:
|
|
487
479
|
self.tdb.close()
|
|
488
480
|
self.tdb.reloadCache()
|
|
489
|
-
|
|
481
|
+
self.tdb.close()
|
|
482
|
+
|
|
490
483
|
if self.getOption("purge"):
|
|
491
484
|
self.purgeSystems()
|
|
485
|
+
self.tdb.close()
|
|
492
486
|
|
|
493
487
|
if self.getOption("listings"):
|
|
494
488
|
if self.downloadFile(self.listingsPath) or self.getOption("force"):
|
|
495
489
|
self.importListings(self.listingsPath)
|
|
496
490
|
if self.downloadFile(self.liveListingsPath) or self.getOption("force"):
|
|
497
491
|
self.importListings(self.liveListingsPath)
|
|
498
|
-
|
|
492
|
+
|
|
499
493
|
if self.getOption("listings"):
|
|
500
494
|
self.tdenv.NOTE("Regenerating .prices file.")
|
|
501
495
|
cache.regeneratePricesFile(self.tdb, self.tdenv)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tradedangerous
|
|
3
|
-
Version: 11.2.
|
|
3
|
+
Version: 11.2.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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tradedangerous-11.2.0 → tradedangerous-11.2.1}/tradedangerous.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|