tradedangerous 10.16.11__py3-none-any.whl → 10.16.12__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.

@@ -72,12 +72,14 @@ class ImportPlugin(plugins.ImportPluginBase):
72
72
  self.commoditiesPath = Path("Item.csv")
73
73
  self.rareItemPath = Path("RareItem.csv")
74
74
  self.shipPath = Path("Ship.csv")
75
- self.FDevShipyardPath = Path("FDevShipyard.csv")
75
+ self.urlShipyard = "https://raw.githubusercontent.com/EDCD/FDevIDs/master/shipyard.csv"
76
+ self.FDevShipyardPath = self.tdb.dataPath / Path("FDevShipyard.csv")
76
77
  self.shipVendorPath = Path("ShipVendor.csv")
77
78
  self.stationsPath = Path("Station.csv")
78
79
  self.sysPath = Path("System.csv")
79
80
  self.upgradesPath = Path("Upgrade.csv")
80
- self.FDevOutfittingPath = Path("FDevOutfitting.csv")
81
+ self.urlOutfitting = "https://raw.githubusercontent.com/EDCD/FDevIDs/master/outfitting.csv"
82
+ self.FDevOutfittingPath = self.tdb.dataPath / Path("FDevOutfitting.csv")
81
83
  self.upgradeVendorPath = Path("UpgradeVendor.csv")
82
84
  self.listingsPath = Path("listings.csv")
83
85
  self.liveListingsPath = Path("listings-live.csv")
@@ -472,12 +474,12 @@ class ImportPlugin(plugins.ImportPluginBase):
472
474
  buildCache = False
473
475
  if self.getOption("upgrade"):
474
476
  if self.downloadFile(self.upgradesPath) or self.getOption("force"):
475
- self.downloadFile(self.FDevOutfittingPath)
477
+ transfers.download(self.tdenv, self.urlOutfitting, self.FDevOutfittingPath)
476
478
  buildCache = True
477
479
 
478
480
  if self.getOption("ship"):
479
481
  if self.downloadFile(self.shipPath) or self.getOption("force"):
480
- self.downloadFile(self.FDevShipyardPath)
482
+ transfers.download(self.tdenv, self.urlShipyard, self.FDevShipyardPath)
481
483
  buildCache = True
482
484
 
483
485
  if self.getOption("rare"):
@@ -507,6 +509,7 @@ class ImportPlugin(plugins.ImportPluginBase):
507
509
 
508
510
  # Remake the .db files with the updated info.
509
511
  if buildCache:
512
+ self.tdb.close()
510
513
  cache.buildCache(self.tdb, self.tdenv)
511
514
 
512
515
  if self.getOption("purge"):
@@ -104,7 +104,6 @@ CREATE TABLE Ship
104
104
  ship_id INTEGER PRIMARY KEY,
105
105
  name VARCHAR(40) COLLATE nocase,
106
106
  cost INTEGER NOT NULL,
107
- fdev_id INTEGER,
108
107
 
109
108
  UNIQUE (ship_id)
110
109
  );
@@ -160,7 +159,7 @@ CREATE INDEX idx_vendor_by_station_id ON UpgradeVendor (station_id);
160
159
 
161
160
  CREATE TABLE RareItem
162
161
  (
163
- rare_id INTEGER PRIMARY KEY AUTOINCREMENT,
162
+ rare_id INTEGER PRIMARY KEY,
164
163
  station_id INTEGER NOT NULL,
165
164
  category_id INTEGER NOT NULL,
166
165
  name VARCHAR(40) COLLATE nocase,
@@ -278,6 +277,7 @@ CREATE TABLE FDevShipyard
278
277
  id INTEGER NOT NULL,
279
278
  symbol VARCHAR(40),
280
279
  name VARCHAR(40) COLLATE nocase,
280
+ entitlement VARCHAR(50),
281
281
 
282
282
  UNIQUE (id)
283
283
  );
@@ -297,7 +297,7 @@ CREATE TABLE FDevOutfitting
297
297
  ship VARCHAR(40) COLLATE nocase,
298
298
  class CHAR(1) NOT NULL,
299
299
  rating CHAR(1) NOT NULL,
300
- entitlement CHAR(10),
300
+ entitlement VARCHAR(50),
301
301
 
302
302
  UNIQUE (id)
303
303
  );
tradedangerous/version.py CHANGED
@@ -12,5 +12,5 @@
12
12
  """just keeper of current version"""
13
13
 
14
14
  # TODO: remember to update tests when version changes
15
- __version__ = '10.16.11'
15
+ __version__ = '10.16.12'
16
16
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tradedangerous
3
- Version: 10.16.11
3
+ Version: 10.16.12
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
@@ -22,6 +22,7 @@ License-File: LICENSE
22
22
  Requires-Dist: requests
23
23
  Requires-Dist: appJar
24
24
  Requires-Dist: pysimdjson
25
+ Requires-Dist: rich
25
26
 
26
27
 
27
28
  ----------
@@ -21,7 +21,7 @@ tradedangerous/tradeexcept.py,sha256=aZ-Y31MbkjF7lmAzBAbaMsPPE7FEEfuf4gaX2GvriDk
21
21
  tradedangerous/tradegui.py,sha256=JbGFnsWupgesk6hrcUgKSdD9NNDyo0U9gh6m3DccAwU,782
22
22
  tradedangerous/transfers.py,sha256=NmXXk2aF88YkAvYqc9Syt_aO6d2jJjC-OxoRFoOyQH4,9923
23
23
  tradedangerous/utils.py,sha256=PUPvAEqUyxYGqqQa0b_yfLAvq8YVUxK6HfdS-CxM-Lo,5186
24
- tradedangerous/version.py,sha256=BV5It3d62BF5GhEeSfIzL1rZ7TJs5UsvyfMfrDKf4lc,648
24
+ tradedangerous/version.py,sha256=Vx8jvW69Uth2ThVn-QdqSmgGU532csejhFasrFT13nE,648
25
25
  tradedangerous/commands/TEMPLATE.py,sha256=7oXL124aqxGHwnb0h9yRylUiwc6M5QrRrGVrubwI1gg,2124
26
26
  tradedangerous/commands/__init__.py,sha256=6B0WuqkFBOll5Hj67yKDAnhmyr5ZAnHc6nzUNEUh384,9640
27
27
  tradedangerous/commands/buildcache_cmd.py,sha256=oJvP06fA8svnHrfrpWkHKR16cba8GIhHdMOyZqds18Y,2332
@@ -62,7 +62,7 @@ tradedangerous/misc/progress.py,sha256=-_V7E51sIYUtSxeeA1cphBEW4A_OBuH1guEDxUjik
62
62
  tradedangerous/plugins/__init__.py,sha256=zCEVbTem1CAM1cOV9r96H3ikjqza3dd-XoaubE5_xkc,7868
63
63
  tradedangerous/plugins/edapi_plug.py,sha256=IQxfDGM9IqwuJbDZRL8RFIyGMWzd0YmeJVWUVPDA3Ik,42275
64
64
  tradedangerous/plugins/edcd_plug.py,sha256=ZPtRzLhcQZEiwEo3AoPyk3Uy4UmRLM6gv2Qi1s7K_Vs,14469
65
- tradedangerous/plugins/eddblink_plug.py,sha256=7lqUjXQrZFuEBsXZNNmX6lQvGuqZeWrVSJI_nzAIqys,22033
65
+ tradedangerous/plugins/eddblink_plug.py,sha256=BCA87Y8dZdzWUae2dc46hqISy6GN3uDwnwagXcCZhmI,22362
66
66
  tradedangerous/plugins/edmc_batch_plug.py,sha256=3Ptr-SZqaZFR8ViIIrp9Ak7rvfU3zl11AZYBhIceN7s,4224
67
67
  tradedangerous/plugins/journal_plug.py,sha256=K1oIeI7E3mb04fvYLXyoAh7fOTyM9NBelibTI88MIDQ,23696
68
68
  tradedangerous/plugins/netlog_plug.py,sha256=Gw_HSZWpN17D--OIYEM3Vo8y9SvDOv9UwAUfY24kz28,13460
@@ -70,10 +70,10 @@ tradedangerous/plugins/spansh_plug.py,sha256=WOpTm9C4oXPfFeEaSQtcu82OqX1uAuNGNy8
70
70
  tradedangerous/templates/Added.csv,sha256=8o54civQCcS9y7_DBo0GX196XWRbbREQqKDYTKibsgQ,649
71
71
  tradedangerous/templates/Category.csv,sha256=8xwUDcBZE25T6x6dZGlRUMTCqeDLt3a9LXU5h6hRHV8,250
72
72
  tradedangerous/templates/RareItem.csv,sha256=F1RhRnTD82PiwrVUO-ai2ErGH2PTqNnQaDw5mcgljXs,10483
73
- tradedangerous/templates/TradeDangerous.sql,sha256=kHZ7JBSY5lh2DnqayAxoO-apvXKB510SqhAzkT21YHY,8138
74
- tradedangerous-10.16.11.dist-info/LICENSE,sha256=HyVuytGSiAUQ6ErWBHTqt1iSGHhLmlC8fO7jTCuR8dU,16725
75
- tradedangerous-10.16.11.dist-info/METADATA,sha256=3ABvfKWRpcrTpz8weaPffXQJ5eTllqRD1R6XkzPUFb0,4422
76
- tradedangerous-10.16.11.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
77
- tradedangerous-10.16.11.dist-info/entry_points.txt,sha256=pSwa-q0ob443uiKux7xFKYQl8uen66iDTnjdrQhNLx8,92
78
- tradedangerous-10.16.11.dist-info/top_level.txt,sha256=bF29i-oEltmNICgElEKxNsg83oahJvxg3a7YrxZi9Rk,15
79
- tradedangerous-10.16.11.dist-info/RECORD,,
73
+ tradedangerous/templates/TradeDangerous.sql,sha256=1EiJ7cNJQKvdW4X-LQAHw3Y1POc0roKf25LJJy6jGlo,8135
74
+ tradedangerous-10.16.12.dist-info/LICENSE,sha256=HyVuytGSiAUQ6ErWBHTqt1iSGHhLmlC8fO7jTCuR8dU,16725
75
+ tradedangerous-10.16.12.dist-info/METADATA,sha256=Hl6Op6z_O5_VrFO59KIsDHSzkklQwcePOEa_DJTdzOQ,4442
76
+ tradedangerous-10.16.12.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
77
+ tradedangerous-10.16.12.dist-info/entry_points.txt,sha256=pSwa-q0ob443uiKux7xFKYQl8uen66iDTnjdrQhNLx8,92
78
+ tradedangerous-10.16.12.dist-info/top_level.txt,sha256=bF29i-oEltmNICgElEKxNsg83oahJvxg3a7YrxZi9Rk,15
79
+ tradedangerous-10.16.12.dist-info/RECORD,,