Tradedangerous

Latest version: v11.4.0

Safety actively analyzes 629359 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 15 of 40

10.5.0

Documentation

* docs: Update copyright notices with current year.

Man there are a lot. I&39;m considering removing all but the one on
trade.py and README.md ([`1cf29ad`](https://github.com/eyeonus/Trade-Dangerous/commit/1cf29ad183eaab61f4d417f09b2f26bc6c7e5237))

Feature

* feat: Beta release of GUI

Just run &34;trade gui&34; and tell me what you think. ([`4d56509`](https://github.com/eyeonus/Trade-Dangerous/commit/4d565091aa081eebca1bcc5ccab941cdd0b75b3c))

Unknown

* 10.5.0

python-semantic-release automatic version update. ([`cbf8493`](https://github.com/eyeonus/Trade-Dangerous/commit/cbf8493b5c764b271311f7ad01865ddd4df8f635))

* beta: Redirect output of command to output tab in GUI.

It&39;s kind of funky, for why I don&39;t know, but it works, which at this
point is good enough. Working towards a beta, after all, not a finished
product.

With this bit done, it is now officially time to release this thing as a
beta. W00t and stuff. ([`d890e22`](https://github.com/eyeonus/Trade-Dangerous/commit/d890e22ce97f0044052bc74379950740419388a1))

* beta: Added Tabbed frame with &34;Help&34; and &34;Output&34; frames

general bug fixing, clean up, and refactoring.

The &34;Help&34; pane has been moved to a tab, and there is an &34;OutPut&34; tab as
well, although it doesn&39;t work yet. Getting there. ([`d881b8e`](https://github.com/eyeonus/Trade-Dangerous/commit/d881b8eea5179c78452176a5582ed4422bd2e1fd))

* beta: Implement runTD

&39;--options&39; is currently a text entry, will be changed in future to be
procedural generated like the TD arguments currently are.

&39;--credits&39; is also currently a text entry. TD allows a number followed
by K,M,G. Numeric entries don&39;t allow any letters, text entries allow
all, so for now it&39;s text.

The output still goes straight to the terminal, that&39;s next on the list. ([`6f133d9`](https://github.com/eyeonus/Trade-Dangerous/commit/6f133d9406fe28bdefb14cd588b839e8ad134c55))

* beta: Finish implementing makeWidget. (Excepting &39;--option&39;)

All that remains is implementing the &39;--option&39; widget-making code,
possibly dealing with a complication involving arguments in the
&39;station&39; command having the same name but different type as in other
commands, and implementing the whole running of the commands.

Implementing the running of commands is next on the list, the other two
can be worked on post-release of the beta. ([`451b712`](https://github.com/eyeonus/Trade-Dangerous/commit/451b712cd7c1e28b3c8552326c93b593eea73195))

* beta: Major reformat to argument dictionary, now includes widget type

The former reqArg and optArg dicts have been merged along with the
common arguments into the single allArgs dict.

The dict formerly known as allArgs is now known as argVals to accomodate
the above as well as more accurately reflect its purpose.

During the creation of the dict, each argument will have the appropriate
widget information for the to-be-completed makeWidget method.

During population of the arguments panels, makeWidget will be used to
perform the actual population. Currently only arguments that take a
string are implemented as a proof-of-concept.

When makeWidget is completed, the common arguments will added to the
window using makeWidget as well.

Current TODO list:

1) Finish implementing makeWidget and use it for populating /all/
arguments, including top-level. The &39;--option&39; argument will be treated
as a string for now.

2) Implement runTD, which includes grabbing the output and redirecting
it to the GUI. At this point the help panel will be adjusted to be a
tabbed display, so that the command output can be on a separate tab.
(Create new tabs as needed, close button for user?)

---- Initial beta release ----

3) Fully implement the &39;--option&39; argument, possibly by having an entry
containing the current option list, and a button that will open a sub
window containing all the options for the chosen plugin.

4) Fix discovered bugs.

5) Implement beta tester feedback until no longer in beta.

---- Initial feature release ----

6) Fix discovered bugs.

7) Implement worthwhile user feedback if I feel like it and have time. ([`3f73856`](https://github.com/eyeonus/Trade-Dangerous/commit/3f73856189c86efd412f6641d9560198210d5f34))

* beta: Prep work for determining widget types and storing values. ([`7782746`](https://github.com/eyeonus/Trade-Dangerous/commit/77827466a5d870ff8290103a1c968347dd90302f))

* beta: Add appJar to the install requirements.

Hopefully, this will make it automagically install when upgrading via
pip. ([`ed18bbd`](https://github.com/eyeonus/Trade-Dangerous/commit/ed18bbd6cadac535e1341d9f2a7b8117b5ec4284))

* beta: Store MutuallyExclusiveGroup data to optArg dict.

Members of a MutuallyExclusiveGroup now have the names of the other
members of the group stored as a list under &39;excludes&39;.

This will be used to reset arguments to default/off when a different
arguments excludes it.

Worked out the function design of the various kinds of arguments, to be
implemented in the future.

Fixed &39;--credit&39; and &39;--capacity&39; required arguments for the &39;run&39;
command to show they are numbers. Probably need to make a verification
method for them as well as the ints and &39;credits&39;s floating in the
optional arguments. ([`06562d7`](https://github.com/eyeonus/Trade-Dangerous/commit/06562d7e8b30652dd28d79e6dbf21efdf0006ea6))

* beta: Add remaining common arguments to window.

This is not the final design, this will probably change eventually.
Right now I&39;m focusing purely on functionality and space. When
functionality is complete, visuals will get a look.

Regarding functionality, all that remains of the basics is populating
the optional arguments, enabling the running of user-chosen TD commands,
and redirecting TD&39;s output to the window.
Upon finishing those bits, TD GUI will be precisely as functional as TD
CLI, and possibly a bit easier to use, though not nearly as user
friendly as TDHelper.
This point will mark the first public release of the GUI to the main
branch, although it will still be considered in Beta status.

There&39;s more planned after that point. ([`d458a19`](https://github.com/eyeonus/Trade-Dangerous/commit/d458a19c22d7da21d2c7cd439b8c435973724d58))

* beta: include plugin list and options for plugins in dict ([`b9ca6f8`](https://github.com/eyeonus/Trade-Dangerous/commit/b9ca6f856d596b630ba17aed621f31ec76c4d1c7))

* beta: reflect mutual exclusivity of --quiet and --detail in gui ([`a9fd051`](https://github.com/eyeonus/Trade-Dangerous/commit/a9fd05197f2b71dabee5252105d90f75791e6332))

* beta: Minor look changes. ([`03faa4f`](https://github.com/eyeonus/Trade-Dangerous/commit/03faa4f55f08146ceb6ef3d8f7e3afd1c1eab49a))

* beta: Remove a completed TODO. ([`b036441`](https://github.com/eyeonus/Trade-Dangerous/commit/b036441d41471fe66303faf2da1b354fbdf7a834))

* beta: Some work populating required and common args.

The required arguments section is finished, in terms of existing and
functioning correctly.

Whilst working on the debug and detail common options, I noticed that
the selectors were acting backwards, so I had to do a bit of a library
overwrite to fix that weirdness.

If you test this, let me know if the number increases when pressing the
up arrow and decreases when pressing the down arrow. This is the
intended behaviour that is caused by the overwrite.

The normal behaviour is that increase is down arrow, and decrease is up
arrow, at least for me on my machine.

You can check out the difference by (un)commenting the following two
lines:

80: gui._populateSpinBox = _populateSpinBox
81: gui.setSpinBoxPos = setSpinBoxPos
([`a521eae`](https://github.com/eyeonus/Trade-Dangerous/commit/a521eae59c85df4ac67feb1ded393703324815c7))

* beta: Flatten command dicts, store by argument name.

Results in:
buy:{
&39;name&39;:{[[values]]},
&39;--supply&39;:{[[values]]},
&39;--near&39;:{[[values]]},
&39;--ly&39;:{[[values]]},
&39;--limit&39;:{[[values]]},
&39;--avoid&39;:{[[values]]},
&39;--pad-size&39;:{[[values]]},
&39;--no-planet&39;:{[[values]]},
&39;--planetary&39;:{[[values]]},
&39;--black-market&39;:{[[values]]},
&39;--one-stop&39;:{[[values]]},
&39;--price-sort&39;:{[[values]]},
&39;--units-sort&39;:{[[values]]},
&39;--gt&39;:{[[values]]},
&39;--lt&39;:{[[values]]}
}

rather than the former:
buy:[
{ &39;name&39;:{[[values]]} },
{ &39;--supply&39;:{[[values]]} },
{ &39;--near&39;:{[[values]]} },
{ &39;--ly&39;:{[[values]]} },
{ &39;--limit&39;:{[[values]]} },
{ &39;--avoid&39;:{[[values]]} },
{ &39;--pad-size&39;:{[[values]]} },
[
{ &39;--no-planet&39;:{[[values]]} },
{ &39;--planetary&39;:{[[values]]} }
],
{ &39;--black-market&39;:{[[values]]} },
[
{ &39;--one-stop&39;:{[[values]]} },
{ &39;--price-sort&39;:{[[values]]} },
{ &39;--units-sort&39;:{[[values]]} }
],
{ &39;--gt&39;:{[[values]]} },
{ &39;--lt&39;:{[[values]]} }
], ([`2abb3a2`](https://github.com/eyeonus/Trade-Dangerous/commit/2abb3a2cfbef0f430ecf01f64dc73d79406dcd4c))

* beta: Common Arguments dict added. ([`036f909`](https://github.com/eyeonus/Trade-Dangerous/commit/036f9095277cd87f287cb163eb815679ce2deb9e))

* beta: Use option as key, instead.

{&39;name&39;: {&39;help&39;: &39;Items or Ships to look for.&39;, &39;nargs&39;: &39;+&39;}}

rather than

{&39;help&39;: &39;Items or Ships to look for.&39;, &39;nargs&39;: &39;+&39;, &39;arg&39;: &39;name&39;}

Among other things, this makes it easier to access the name of the
option. ([`897d323`](https://github.com/eyeonus/Trade-Dangerous/commit/897d3235a8308404cf40757246f5625b982f762b))

* beta: Re-implement everything done before API switch.

update command had a mutually exclusive group consisting of one argument
and another mutually existing group consisting of four other arguments.
All five arguments are all mutually exclusive, so I removed the group of
groups and put them all in the same mutually exclusive group.

buildcache had the only instance of the shortcut being listed before the
command ( &34;&39;-f&39;, &39;--force&39;&34; rather than &34;&39;--force&39;, &39;-f&39;&34;), so that&39;s
been fixed to conform with the normal.

We now have a dict of each option, for each command, which is about
where we were before the switch to appJar. ([`e3c16f7`](https://github.com/eyeonus/Trade-Dangerous/commit/e3c16f7d62b9a3515fd59a5f439be4a50efd20ba))

* beta: switch to more well-featured GUI API

Now using appJar instead of pySimpleGUI.

The look is slightly different, but that&39;s not super important right
now. ([`7229e92`](https://github.com/eyeonus/Trade-Dangerous/commit/7229e9243f29d5e4fad34028112d09f61b7c6422))

* beta: Well, I got this far, now I&39;m stuck.

I might be trying to do something that API can&39;t do.

In which case I may need to try a different API, because that&39;s
unacceptable.

In the meantime, this is what I&39;ve managed today. ([`80cb16f`](https://github.com/eyeonus/Trade-Dangerous/commit/80cb16fa882c5b16c19219e64d7d41afec173856))

10.4.8

Fix

* fix: Don&39;t set fallback on failure of ship or live listings dl...

Completely ignore fallback option wrt ships index, now will always try
to download, only uses template on failure to open.

refactor: Switch back to beta for the ships index. Better suited so says
Trom.
:) ([`ab6e48e`](https://github.com/eyeonus/Trade-Dangerous/commit/ab6e48e5b3a1bca82a4b7a3d7c5962b9d3f77606))

Unknown

* 10.4.8

python-semantic-release automatic version update. ([`02cffb9`](https://github.com/eyeonus/Trade-Dangerous/commit/02cffb934b534dba21492c1dec79cccda895c18e))

* Merge branch &39;master&39; of https://github.com/eyeonus/Trade-Dangerous.git ([`416136c`](https://github.com/eyeonus/Trade-Dangerous/commit/416136cbc8cd7733dfc0c8069814ee65404cd334))

10.4.7

Fix

* fix: Stop always using the template ship index when fallback enabled

Check to see if the attempt to download the ship index was successful,
and if so, do not use the template, even if the fallback option is
enabled. ([`54897cb`](https://github.com/eyeonus/Trade-Dangerous/commit/54897cb0e8ffb20c0fc6455f4bcdca482ff1f5ed))

Refactor

* refactor: Update ship index to not use the beta site. ([`49ce095`](https://github.com/eyeonus/Trade-Dangerous/commit/49ce095416be1e505307f3bac14b4b5867c38c13))

Unknown

* 10.4.7

python-semantic-release automatic version update. ([`19454ea`](https://github.com/eyeonus/Trade-Dangerous/commit/19454eaca835fb484dd8c95c71b0b50616ecbf71))

10.4.6

Fix

* fix: Give TD web requests a User-Agent header.

Fixes 61 ([`0a10cec`](https://github.com/eyeonus/Trade-Dangerous/commit/0a10ceceebc4228b39494310d88b6997f8a36028))

Unknown

* 10.4.6

python-semantic-release automatic version update. ([`0fd2d68`](https://github.com/eyeonus/Trade-Dangerous/commit/0fd2d683b9b8ecb4d8825529ab88bf4e40e1196e))

10.4.5

Fix

* fix: Update ship index URL. ([`c455594`](https://github.com/eyeonus/Trade-Dangerous/commit/c4555942c2cca0da8a49a470f2165402f50e5457))

Unknown

* 10.4.5

python-semantic-release automatic version update. ([`7cb764d`](https://github.com/eyeonus/Trade-Dangerous/commit/7cb764d8b245e955efe1283cccd90c6e1aa86dec))

10.4.4

Chore

* chore: include fix-indent.sh bash script

May not have figured out how to get pylint to correctly detect missing
indentation on blank lines, or how to get any of the auto-formatters to
correctly indent them, but at least there&39;s now a bash script that will
take care of the indentation for all the .py files when it&39;s run. ([`f088f25`](https://github.com/eyeonus/Trade-Dangerous/commit/f088f256c28da2e0767c12b6009b0a86fe46587b))

Fix

* fix: Don&39;t crash when attempting to download non-existent file.

Fixes 21.

Specifically, it fixes the crash that happens because of the ship&39;s
index file no longer existing of the EDCD coriolois data github.

So the Ships database won&39;t be getting updated until a new source is
found to download from.

For now the latest version available before the removal is stored as a
template.

TD will get another update once we have a new site from which to get the
index again. ([`97c254d`](https://github.com/eyeonus/Trade-Dangerous/commit/97c254de2f18cc45cb341ba3e7f34127baef5136))

Style

* style: found a few more missing indents ([`2aa12d0`](https://github.com/eyeonus/Trade-Dangerous/commit/2aa12d01840fffd5b3657609a38a020a7ae5f6d1))

Test

* test: Remove test_transfers.py from tests

It fails when Tromador&39;s server isn&39;t up, even though there&39;s nothing
wrong with the code.

Since the code it supposedly checks is never touched anyway, and it can
easily put out a false positive, it&39;s gone now. ([`4867f3b`](https://github.com/eyeonus/Trade-Dangerous/commit/4867f3bb50ba8dab3099c9c5d476e2d8bbe82c27))

Unknown

* 10.4.4

python-semantic-release automatic version update. ([`d5a9b86`](https://github.com/eyeonus/Trade-Dangerous/commit/d5a9b860890d8cca16c983f35819df3cd67b8680))

* Merge branch &39;master&39; of https://github.com/eyeonus/Trade-Dangerous.git ([`4a06159`](https://github.com/eyeonus/Trade-Dangerous/commit/4a0615990c510cd047cb276143cbd3c7dc54a78a))

Page 15 of 40

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.