Tradedangerous

Latest version: v11.3.0

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

Scan your dependencies

Page 1 of 40

11.3.0

Chore

* chore: Fix linting error about collections.abc ([`1358479`](https://github.com/eyeonus/Trade-Dangerous/commit/1358479c766bae220d6df748505506db21281c5e))

Feature

* feat: better eddblink progress reporting

- small tweaks to improve performance of eddblink import,
- commit batching to try and improve eddblink import speed,
- use rich progress bars to give better insight into commit rate

one interesting thing to try is to change the progress bar description around the COMMIT while importing prices:


prog.increment(description=&34;COMMIT&34;)
cursor.execute(&34;COMMIT&34;)
transaction_items = 0
cursor.execute(&34;BEGIN TRANSACTION&34;)
prog.increment(description=&34;Processing&34;)


and then adjust the batch size. when batchsize is too low, this makes the description flicker, but you can get a sense for how increasing the batch size reduces the total import time until the amount of memory/wal etc starts to make the commit time excessively long ([`f3af244`](https://github.com/eyeonus/Trade-Dangerous/commit/f3af244d6940a2394b4b05725c412b1f1a0796da))

* feat: database schema update

- Remove ROWID from Station table to improve performance,
- Introduce StationDemand and StationSupply tables for breaking up StationItem,
- Reduce size of station/system index, ([`32a7db1`](https://github.com/eyeonus/Trade-Dangerous/commit/32a7db15ffd041d9b47463d54c4f7e87b3f08651))

* feat: Swap out homebrew progress bars for Rich

- make bars hideable,
- polish,
- default the progress bar to visible, require show=False explicitly.
- add more bar styles,
- use some of the bars, ([`52bb7f4`](https://github.com/eyeonus/Trade-Dangerous/commit/52bb7f456990a047b0292198d40b3b29ebc0e8d9))

* feat: nicer transfer progress bars

uses the new rich-based progress bars to display download speed information etc. ([`bd4738a`](https://github.com/eyeonus/Trade-Dangerous/commit/bd4738a497ebd121fa9b3bfda42cde61a0843144))

* feat: rich progress bars

This introduces an enhancement over the old progress bars, using rich to provide colorful, live bars. Base types for skinning them are included. ([`156904b`](https://github.com/eyeonus/Trade-Dangerous/commit/156904b9eca9c3090873dba787914fae2a98a6f2))

Fix

* fix: Python version <3.9 does not support parenthesized context expressions ([`aab81db`](https://github.com/eyeonus/Trade-Dangerous/commit/aab81dba2b4364c5a5bb954602182c26927b9c31))

* fix: progress bar display/updates and linting

- advance progress bars properly,
- actually display the text of the progress bar, duh ([`ec94c0b`](https://github.com/eyeonus/Trade-Dangerous/commit/ec94c0b18efd1ea2f2324f67d01de6260e790099))

Refactor

* refactor: make transfers use the rich bars properly. ([`ca12c5f`](https://github.com/eyeonus/Trade-Dangerous/commit/ca12c5fdf18e762da59de45fa18456b6060d69df))

* refactor: move file_line_count into fs ([`8a9989b`](https://github.com/eyeonus/Trade-Dangerous/commit/8a9989be17cdd0e578d9bfff40b8a96e2850e91a))

Unknown

* - feat: add LongRunningCountBar to progress bars

Line CountingBar except it includes a TimeRemaining column (long running tasks seem to warrant this) ([`6f188a4`](https://github.com/eyeonus/Trade-Dangerous/commit/6f188a4a3c03eb5640c7fadc5aa408f731bbf5ea))

11.2.1

Fix

* fix: linter warnings from moving the shebang from line 1 ([`73d4a0d`](https://github.com/eyeonus/Trade-Dangerous/commit/73d4a0d25a633b6cd622459369b8ca9ef044f83a))

* fix: multiple options to --pad-size and others was no-longer working ([`f69dffd`](https://github.com/eyeonus/Trade-Dangerous/commit/f69dffd66c7c0e2f0b0acb7227bf9d96a9d380fd))

Refactor

* refactor: simplify the system-purge operation to not copy/move data and abuse the db ([`ab75113`](https://github.com/eyeonus/Trade-Dangerous/commit/ab75113ed910ad1301e60376ed0f3d4ae8de6891))

11.2.0

Chore

* chore: additional deprecation

For 157 ([`93d91c9`](https://github.com/eyeonus/Trade-Dangerous/commit/93d91c9ab48e1268e0a0448efd52d85f0532a072))

* chore: Mark deprecated code

For 157 ([`2afd5d6`](https://github.com/eyeonus/Trade-Dangerous/commit/2afd5d67fbf299f7121c01b43f72f315584fc875))

* chore: fix github actions cache warnings

I&39;d used an older github actions of mine as a basis for the cache blocks, and they referenced an out-of-date cache version.

contributes to 147 ([`fda2c26`](https://github.com/eyeonus/Trade-Dangerous/commit/fda2c26ca259cc7fc885ce7f5707ebb516ea6830))

Documentation

* docs: fix help message for trade command ([`a6ca423`](https://github.com/eyeonus/Trade-Dangerous/commit/a6ca4231049cd1b028daae27081fe9e2baf484f6))

Feature

* feat: enable repeat http requests over a single session

If we need to make multiple requests to a single http server, we have to repeat the overhead of connection-tear up which
can be significant for a remote https connection. &39;requests&39; solves for this by letting you create a &39;Session&39; object
that uses http keep-alive to send followup requests over an existing connection.

Commiting this separately from changes that make use of it. ([`8039aab`](https://github.com/eyeonus/Trade-Dangerous/commit/8039aab384285793d246040d06276117b1e08cf9))

* feat: add rename_file and remove_file to TradeEnv

This adds normalizing methods for removing and renaming files that will log the operation at DEBUG1,
and in the case of rename will ensure a .old backup of the existing file.

Committing separately of other work that leverages it. ([`778278d`](https://github.com/eyeonus/Trade-Dangerous/commit/778278db89964f38c92740b6be9868b361406be5))

11.1.6

Fix

* fix: typo caused buy command to error

- the code that should render the Average line at the end of
a buy report had a typo that caused a string to become a list of
strings, and the subsequent code could not handle that. ([`f016cec`](https://github.com/eyeonus/Trade-Dangerous/commit/f016cec41f5ced2b18bd682b1e2fee0d00457d8a))

* fix: not using fdev_id for ships, as internal id is same now

Fixes 152 ([`38e4ac9`](https://github.com/eyeonus/Trade-Dangerous/commit/38e4ac9c8e66640615dad863e64008841bc253d2))

11.1.5

Documentation

* docs: correct web page ([`f71dca3`](https://github.com/eyeonus/Trade-Dangerous/commit/f71dca3b1d8a98edc5b5adf7964b56473b87e088))

Fix

* fix: parse the dates in a locale-agnostic manner

fixes 149 ([`1743f9f`](https://github.com/eyeonus/Trade-Dangerous/commit/1743f9f2609105b604e9db48b8df1a8973eb8c6c))

11.1.4

Chore

* chore: Don&39;t try to publish if you&39;re not the bossmang, sassa (145)

* chore: lint fixes

* chore: only try to publish from eyeonus repos

fixes 134

This makes the publish job dependent on being the eyeonus repository. It also moves the requirements files
into the top-level directory and organizes them into requirements, requirements-dev, and requirements-publish
which incrementally reference the previous requirements file to simplify them.

It&39;s unusual for requirements*.txt to be in a subdirectory these days, and various tools are lazy about it,
which can make these chained-references problematic as some tools will intepret them relatively and some
won&39;t; ergo having them in the tld together is less likely to suddenly not work one day.

---------

Co-authored-by: Jonathan Jones <eyeonusgmail.com> ([`dce2563`](https://github.com/eyeonus/Trade-Dangerous/commit/dce2563ac0dac7ebd6248802bb814ec89088c860))

Documentation

* docs: more CHANGELOG cleanup ([`77c54b0`](https://github.com/eyeonus/Trade-Dangerous/commit/77c54b0926eda542b5d9a99e5615ccc345f8d23d))

* docs: CHANGELOG.md cleanup ([`2885059`](https://github.com/eyeonus/Trade-Dangerous/commit/28850597e90126d02890ec55768393f60014907f))

Fix

* fix: fix linter errors in trade.py ([`f8effe4`](https://github.com/eyeonus/Trade-Dangerous/commit/f8effe482b96017fd291316e93a3e30495bb9688))

* fix: fix linter paths to trade.py and tradegui.py ([`d6f92cc`](https://github.com/eyeonus/Trade-Dangerous/commit/d6f92ccc502a008584c8fe3cab5180def0c5cf60))

Refactor

* refactor: use the rfc-correct Accept-Encoding ([`6c31521`](https://github.com/eyeonus/Trade-Dangerous/commit/6c3152110e03a3fb1ae6e4d766ed5916e4e23bf5))

Page 1 of 40

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.