tradedangerous 10.16.4__tar.gz → 10.16.6__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-10.16.4 → tradedangerous-10.16.6}/PKG-INFO +1 -1
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/plugins/spansh_plug.py +19 -15
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/version.py +1 -1
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous.egg-info/PKG-INFO +1 -1
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/LICENSE +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/README.md +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/pyproject.toml +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/setup.cfg +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/setup.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tests/test_bootstrap_commands.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tests/test_bootstrap_plugins.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tests/test_cache.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tests/test_commands.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tests/test_fs.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tests/test_peek.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tests/test_tools.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tests/test_trade.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tests/test_trade_run.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tests/test_utils.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/__init__.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/cache.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/cli.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/commands/TEMPLATE.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/commands/__init__.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/commands/buildcache_cmd.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/commands/buy_cmd.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/commands/commandenv.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/commands/exceptions.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/commands/export_cmd.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/commands/import_cmd.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/commands/local_cmd.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/commands/market_cmd.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/commands/nav_cmd.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/commands/olddata_cmd.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/commands/parsing.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/commands/rares_cmd.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/commands/run_cmd.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/commands/sell_cmd.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/commands/shipvendor_cmd.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/commands/station_cmd.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/commands/trade_cmd.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/commands/update_cmd.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/commands/update_gui.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/corrections.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/csvexport.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/edscupdate.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/edsmupdate.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/formatting.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/fs.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/gui.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/jsonprices.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/mapping.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/mfd/__init__.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/mfd/saitek/__init__.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/mfd/saitek/directoutput.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/mfd/saitek/x52pro.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/misc/checkpricebounds.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/misc/clipboard.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/misc/coord64.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/misc/derp-sentinel.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/misc/diff-system-csvs.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/misc/eddb.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/misc/eddn.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/misc/edsc.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/misc/edsm.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/misc/importeddbstats.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/misc/prices-json-exp.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/misc/progress.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/plugins/__init__.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/plugins/edapi_plug.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/plugins/edcd_plug.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/plugins/eddblink_plug.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/plugins/edmc_batch_plug.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/plugins/journal_plug.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/plugins/netlog_plug.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/prices.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/submit-distances.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/templates/Added.csv +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/templates/Category.csv +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/templates/RareItem.csv +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/templates/TradeDangerous.sql +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/tools.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/trade.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/tradecalc.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/tradedb.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/tradeenv.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/tradeexcept.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/tradegui.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/transfers.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/utils.py +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous.egg-info/SOURCES.txt +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous.egg-info/dependency_links.txt +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous.egg-info/entry_points.txt +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous.egg-info/not-zip-safe +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous.egg-info/requires.txt +0 -0
- {tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tradedangerous
|
|
3
|
-
Version: 10.16.
|
|
3
|
+
Version: 10.16.6
|
|
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
|
|
@@ -9,7 +9,7 @@ import requests
|
|
|
9
9
|
import simdjson
|
|
10
10
|
import sqlite3
|
|
11
11
|
|
|
12
|
-
from .. import plugins, cache, fs, transfers, csvexport
|
|
12
|
+
from .. import plugins, cache, fs, transfers, csvexport, corrections
|
|
13
13
|
|
|
14
14
|
SOURCE_URL = 'https://downloads.spansh.co.uk/galaxy_stations.json'
|
|
15
15
|
|
|
@@ -154,9 +154,11 @@ class ImportPlugin(plugins.ImportPluginBase):
|
|
|
154
154
|
station.id, commodity.id, ).fetchone()
|
|
155
155
|
modified = parse_ts(result[0]) if result else None
|
|
156
156
|
if modified and commodity.modified <= modified:
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
157
|
+
# All commodities in a station will have the same modified time,
|
|
158
|
+
# so no need to check the rest if the fist is older.
|
|
159
|
+
if self.tdenv.detail:
|
|
160
|
+
self.print(f' | {fq_station_name:50s} | Skipping older commodity data')
|
|
161
|
+
break
|
|
160
162
|
items.append((station.id, commodity.id, commodity.modified,
|
|
161
163
|
commodity.sell, commodity.demand, -1,
|
|
162
164
|
commodity.buy, commodity.supply, -1, 0))
|
|
@@ -191,15 +193,17 @@ class ImportPlugin(plugins.ImportPluginBase):
|
|
|
191
193
|
# modified=commodity.modified,
|
|
192
194
|
# ))
|
|
193
195
|
# commodity_count += 1
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
196
|
+
if commodity_count:
|
|
197
|
+
station_count += 1
|
|
198
|
+
if station_count:
|
|
199
|
+
system_count += 1
|
|
200
|
+
total_station_count += station_count
|
|
201
|
+
total_commodity_count += commodity_count
|
|
202
|
+
if self.tdenv.detail:
|
|
203
|
+
self.print(
|
|
204
|
+
f'{system_count:6d} | {system.name.upper():50s} | '
|
|
205
|
+
f'{station_count:3d} st {commodity_count:6d} co'
|
|
206
|
+
)
|
|
203
207
|
# self.execute('COMMIT')
|
|
204
208
|
# if self.need_commit:
|
|
205
209
|
# self.execute('COMMIT')
|
|
@@ -399,7 +403,7 @@ class ImportPlugin(plugins.ImportPluginBase):
|
|
|
399
403
|
''',
|
|
400
404
|
commodity.id,
|
|
401
405
|
commodity.category.upper(),
|
|
402
|
-
commodity.name,
|
|
406
|
+
corrections.correctItem(commodity.name),
|
|
403
407
|
commodity.id,
|
|
404
408
|
)
|
|
405
409
|
|
|
@@ -411,7 +415,7 @@ class ImportPlugin(plugins.ImportPluginBase):
|
|
|
411
415
|
""")
|
|
412
416
|
cat_id = 0
|
|
413
417
|
ui_order = 1
|
|
414
|
-
self.tdenv.DEBUG0("
|
|
418
|
+
self.tdenv.DEBUG0("Updating ui_order data for items.")
|
|
415
419
|
for line in temp:
|
|
416
420
|
if line[1] != cat_id:
|
|
417
421
|
ui_order = 1
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tradedangerous
|
|
3
|
-
Version: 10.16.
|
|
3
|
+
Version: 10.16.6
|
|
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
|
{tradedangerous-10.16.4 → tradedangerous-10.16.6}/tradedangerous/templates/TradeDangerous.sql
RENAMED
|
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-10.16.4 → tradedangerous-10.16.6}/tradedangerous.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|