Content-filter

Latest version: v2.2.0

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

Scan your dependencies

Page 2 of 2

1.1.0

More customization added by now allowing the user to define a custom JSON file to read instead of just a list in the python file to be used as the words to filter for. You can now also get more feedback when filtering messages. Instead of the message checker just returning a bool value to tell you if it found anything or not, it now can also return a list of dictionaries that indicate the word found, a censored version of the word, and the number of times it found the word in the message. You can find more information on using [custom JSON files](https://github.com/MrDogeBro/content_filter#custom-json-file-structure) and [returning information on the words found](https://github.com/MrDogeBro/content_filter#filtering-messages) in the project [README](https://github.com/MrDogeBro/content_filter).

1.0.4

We were informed by a user that the Scunthorpe problem occured in our system. We have now fixed the Scunthorpe problem and everything is now all good.

1.0.3

Updated the filter list to fix a word that was discovered as triggering the filter when it shouldn't have. It is now all fixed.

1.0.2

This is the initial release of the content filter. It is not perfect but it is pretty good. If there are any errors, please submit an issue on GitHub. If there are any features you would like added, please submit a pull request on GitHub. I will be checking the issues and pull requests to find potential things that need to be fixed as well as new features that could be added to make the module better. Also, please check the [contributions section](https://github.com/MrDogeBro/content_filter#contributing) to see that ways that you can contribute to the module. Thank you for the support!

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.