Prospercommon

Latest version: v1.5.1

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

Scan your dependencies

Page 4 of 5

1.0.1

Fixing `setup.py sdist` behavior to include `common_config.cfg` in `prosper/common` path.

* Added `prosper/common/common_config.cfg` to `MANIFEST.in`
* Removed `common_config` from `package_data` in `setup.py`

1.0.0

Unleashing ProsperCommon on the world. Support us on PyPI at https://pypi.python.org/pypi/ProsperCommon

Features:
* Fixes 10
* [Travis-CI](https://travis-ci.org/EVEprosper/ProsperCommon) integration
* Automatic release to PyPI thanks to [Travis PyPI integration](https://docs.travis-ci.com/user/deployment/pypi/)
* Fixes to README for a more beautiful front-page
* `ProsperConfig` now takes environment variables into account (10)

Notes:
* Removed CREST stuff from project (to be reimplemented elsewhere)
* `test/` path moved to `/tests` to be more in line with project standards
* No longer pushing to [GemFury](https://repo.fury.io/lockefox/)

0.6.0

Added ability to split out message/traceback when pushing to webhook. Now Slack/Discord handlers should appropriately use triple-backtick notation for messaging.

**Example:**
>[ERROR:logging_test.py--test_discord_logger:311]
>validate exc_info
python
Traceback (most recent call last):
File "~/source/ProsperCommon/test/logging_test.py", line 309, in test_discord_logger
test_dict['butts']
NameError: name 'test_dict' is not defined


The formatting behavior is not as granular with Slack. Reduced messaging complexity, but hardcoded `attachments` formatting

Fixes 11

Other Notes:
* Removed `prosper/crest` to be implemented in another library later
* Removed `prosper/common/prosper_graphing.py` because untested and unsupported
* Cleaned up `setup.py` to reduce noisy features
* Updated `README.md` to make a more beautiful landing page
* Added starting hooks for [travis-ci](https://www.travis-ci.org)

0.5.0

Adds `__iter__` magic-method to ProsperLogger. Used as Flask helper to load handlers into `app.logger.handler()` calls in Flask

0.4.0

Similar to existing Discord logger, we have added support for Slack webhook alerts too.

Please see docs for specifics

* added `slack_webhook` to `[LOGGING]` config section
* added custom `HackySlackHandler` logging handler with slack-specific formatting/behavior
* added tests for new Slack framework

Note: Slack handlers are not designed to generate notifications or users. To get direct alerts, consider adding multiple instances of `configure_slack_logger()` to your log builder with direct messaging enabled at the webhook level

0.3.8

TYVM JornVernee for helping close 6
- Added `_configure_common` for easier coverage of generic handle-making functions
- Improved `DiscordWebhook` setup class with more robust regex parsing
- Improved pytest coverage for `prosper_logging` to 95%

Page 4 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.