Usagestats

Latest version: v1.0.1

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

Scan your dependencies

Page 1 of 2

0.7

----------------

Bugfixes:
* Stats submission can fail in `requests` on Python 3 if `ssl_verify` is `bytes` and not `str`.

0.6

----------------

Bugfixes:
* Check environment variable again before submitting
* Don't log full report on INFO (make that DEBUG)

0.5

----------------

Bugfixes:
* Always use 3 digits for milliseconds in WSGI server (makes sure they are in order)

Features:
* Introduce `read_config()` and `write_config()` methods for overloading with your app's specific config system
* `enableable` and `disableable` now can be used to set status of buttons in an interface

0.4

----------------

Bugfixes:
* Correctly handle prompt=None
* Explicit ValueError if reusing already-submitted report

0.3

----------------

Bugfixes:
* Don't fail if `PYTHON_USAGE_STATS` is not set
* Major rewrite of the enabled/disabled statuses
* Keep reports if we can't connect
* Reports 'version' argument to Stats

Features:
* Adds 'ssl_verify' argument, for custom SSL CA
* Makes submission faster (max 5 reports at a time, 1s timeout)

0.2

----------------

Bugfixes:
* Don't submit reports when disabled!
* Show prompt

Features:
* Reporting can be disabled by an environment variable (useful for tests)

Page 1 of 2

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.