tradedangerous 11.0.5__tar.gz → 11.0.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-11.0.5/tradedangerous.egg-info → tradedangerous-11.0.6}/PKG-INFO +1 -1
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/commands/buildcache_cmd.py +2 -2
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/jsonprices.py +16 -3
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/plugins/eddblink_plug.py +1 -2
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/plugins/spansh_plug.py +5 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/submit-distances.py +6 -2
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/version.py +1 -1
- {tradedangerous-11.0.5 → tradedangerous-11.0.6/tradedangerous.egg-info}/PKG-INFO +1 -1
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/LICENSE +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/README.md +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/pyproject.toml +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/setup.cfg +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/setup.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tests/test_bootstrap_commands.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tests/test_bootstrap_plugins.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tests/test_cache.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tests/test_commands.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tests/test_fs.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tests/test_peek.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tests/test_tools.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tests/test_trade.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tests/test_trade_run.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tests/test_utils.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/trade.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/__init__.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/cache.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/cli.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/commands/TEMPLATE.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/commands/__init__.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/commands/buy_cmd.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/commands/commandenv.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/commands/exceptions.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/commands/export_cmd.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/commands/import_cmd.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/commands/local_cmd.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/commands/market_cmd.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/commands/nav_cmd.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/commands/olddata_cmd.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/commands/parsing.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/commands/rares_cmd.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/commands/run_cmd.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/commands/sell_cmd.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/commands/shipvendor_cmd.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/commands/station_cmd.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/commands/trade_cmd.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/commands/update_cmd.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/commands/update_gui.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/corrections.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/csvexport.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/edscupdate.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/edsmupdate.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/formatting.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/fs.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/gui.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/mapping.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/mfd/__init__.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/mfd/saitek/__init__.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/mfd/saitek/directoutput.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/mfd/saitek/x52pro.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/misc/checkpricebounds.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/misc/clipboard.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/misc/coord64.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/misc/derp-sentinel.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/misc/diff-system-csvs.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/misc/eddb.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/misc/eddn.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/misc/edsc.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/misc/edsm.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/misc/importeddbstats.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/misc/prices-json-exp.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/misc/progress.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/plugins/__init__.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/plugins/edapi_plug.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/plugins/edcd_plug.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/plugins/edmc_batch_plug.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/plugins/journal_plug.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/plugins/netlog_plug.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/prices.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/templates/Added.csv +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/templates/Category.csv +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/templates/RareItem.csv +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/templates/TradeDangerous.sql +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/tools.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/tradecalc.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/tradedb.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/tradeenv.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/tradeexcept.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/transfers.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous/utils.py +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous.egg-info/SOURCES.txt +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous.egg-info/dependency_links.txt +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous.egg-info/entry_points.txt +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous.egg-info/not-zip-safe +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous.egg-info/requires.txt +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradedangerous.egg-info/top_level.txt +0 -0
- {tradedangerous-11.0.5 → tradedangerous-11.0.6}/tradegui.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tradedangerous
|
|
3
|
-
Version: 11.0.
|
|
3
|
+
Version: 11.0.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
|
|
@@ -57,11 +57,11 @@ def run(results, cmdenv, tdb: TradeDB):
|
|
|
57
57
|
if not cmdenv.force:
|
|
58
58
|
if tdb.dbPath.exists():
|
|
59
59
|
raise CommandLineError(
|
|
60
|
-
"SQLite3 database '{tdb.dbFilename}' already exists.\n"
|
|
60
|
+
f"SQLite3 database '{tdb.dbFilename}' already exists.\n"
|
|
61
61
|
"Either remove the file first or use the '-f' option.")
|
|
62
62
|
|
|
63
63
|
if not tdb.sqlPath.exists():
|
|
64
|
-
raise CommandLineError("SQL File does not exist: {tdb.sqlFilename}")
|
|
64
|
+
raise CommandLineError(f"SQL File does not exist: {tdb.sqlFilename}")
|
|
65
65
|
|
|
66
66
|
buildCache(tdb, cmdenv)
|
|
67
67
|
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
from tradedangerous import tradedb
|
|
2
|
+
from tradedangerous.tradeexcept import TradeException
|
|
2
3
|
|
|
3
|
-
import tradedb
|
|
4
|
-
from tradeexcept import TradeException
|
|
5
4
|
import json
|
|
5
|
+
import sys
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
sys.stderr.write("*** WARNING: jsonprices.py is deprecated; if you rely on it, please post a github issue\n")
|
|
9
|
+
|
|
6
10
|
|
|
7
11
|
class UnknownSystemError(TradeException):
|
|
8
12
|
def __str__(self):
|
|
@@ -12,6 +16,7 @@ class UnknownStationError(TradeException):
|
|
|
12
16
|
def __str__(self):
|
|
13
17
|
return "Unknown Station: " + ' '.join(self.args)
|
|
14
18
|
|
|
19
|
+
|
|
15
20
|
def lookup_system(tdb, tdenv, name, x, y, z):
|
|
16
21
|
try:
|
|
17
22
|
system = tdb.systemByName[name.upper()]
|
|
@@ -112,6 +117,13 @@ def load_prices_json(
|
|
|
112
117
|
blackMarket = '?'
|
|
113
118
|
except KeyError:
|
|
114
119
|
blackMarket = '?'
|
|
120
|
+
|
|
121
|
+
try:
|
|
122
|
+
maxPadSize = stnData['mps'].upper()
|
|
123
|
+
if maxPadSize not in ['S', 'M', 'L']:
|
|
124
|
+
maxPadSize = '?'
|
|
125
|
+
except KeyError:
|
|
126
|
+
maxPadSize = '?'
|
|
115
127
|
|
|
116
128
|
system = lookup_system(
|
|
117
129
|
tdb, tdenv,
|
|
@@ -139,6 +151,7 @@ def load_prices_json(
|
|
|
139
151
|
stnName,
|
|
140
152
|
lsFromStar,
|
|
141
153
|
blackMarket,
|
|
154
|
+
maxPadSize,
|
|
142
155
|
)
|
|
143
156
|
if not station:
|
|
144
157
|
if tdenv.ignoreUnknown:
|
|
@@ -129,7 +129,6 @@ class ImportPlugin(plugins.ImportPluginBase):
|
|
|
129
129
|
"(Useful for updating Vendor tables if they were skipped during a '-O clean' run.)",
|
|
130
130
|
'purge': "Remove any empty systems that previously had fleet carriers.",
|
|
131
131
|
'solo': "Don't download crowd-sourced market data. (Implies '-O skipvend', supercedes '-O all', '-O clean', '-O listings'.)",
|
|
132
|
-
"prices": "Backup listings to the TradeDangerous.prices cache file",
|
|
133
132
|
}
|
|
134
133
|
|
|
135
134
|
def __init__(self, tdb, tdenv):
|
|
@@ -499,7 +498,7 @@ class ImportPlugin(plugins.ImportPluginBase):
|
|
|
499
498
|
if self.downloadFile(self.liveListingsPath) or self.getOption("force"):
|
|
500
499
|
self.importListings(self.liveListingsPath)
|
|
501
500
|
|
|
502
|
-
if self.getOption("
|
|
501
|
+
if self.getOption("listings"):
|
|
503
502
|
self.tdenv.NOTE("Regenerating .prices file.")
|
|
504
503
|
cache.regeneratePricesFile(self.tdb, self.tdenv)
|
|
505
504
|
|
|
@@ -374,6 +374,11 @@ class ImportPlugin(plugins.ImportPluginBase):
|
|
|
374
374
|
f'{total_station_count} st {total_commodity_count} co'
|
|
375
375
|
)
|
|
376
376
|
|
|
377
|
+
with Timing() as timing:
|
|
378
|
+
self.print('Exporting to cache...')
|
|
379
|
+
cache.regeneratePricesFile(self.tdb, self.tdenv)
|
|
380
|
+
self.print(f'Cache export completed in {timedelta(seconds=int(timing.elapsed))!s}')
|
|
381
|
+
|
|
377
382
|
return False
|
|
378
383
|
|
|
379
384
|
def data_stream(self):
|
|
@@ -21,8 +21,8 @@ import sys
|
|
|
21
21
|
import tradedb
|
|
22
22
|
import tradeenv
|
|
23
23
|
|
|
24
|
-
from misc.edsc import StarSubmission, StarSubmissionResult, SubmissionError
|
|
25
|
-
from misc.clipboard import SystemNameClip
|
|
24
|
+
from tradedangerous.misc.edsc import StarSubmission, StarSubmissionResult, SubmissionError
|
|
25
|
+
from tradedangerous.misc.clipboard import SystemNameClip
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
standardStars = [
|
|
@@ -33,6 +33,10 @@ standardStars = [
|
|
|
33
33
|
"ASELLUS AUSTRALIS",
|
|
34
34
|
]
|
|
35
35
|
|
|
36
|
+
|
|
37
|
+
sys.stderr.write("*** WARNING: submit-distances.py is deprecated; if you rely on it, please post a github issue\n")
|
|
38
|
+
|
|
39
|
+
|
|
36
40
|
############################################################################
|
|
37
41
|
|
|
38
42
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tradedangerous
|
|
3
|
-
Version: 11.0.
|
|
3
|
+
Version: 11.0.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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tradedangerous-11.0.5 → tradedangerous-11.0.6}/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
|