Skip to main content

A library that returns naughty strings from an offline database of Big List of Naughty Strings & emojis

Project description Updates

A python library that returns naughty strings from an offline database of Big List of Naughty Strings and emojis. The db will be continuously growing with each release.

The Big List of Naughty Strings is an evolving list of strings which have a high probability of causing issues when used as user-input data.

This library can be inluded in the test automation framework for API, UI, or DB testing to validate them against naughty strings.


pip install naughty_string_validator


from naughty_string_validator import *
  • To get a random naughty string from the list


"<a href=\"\\xE2\\x80\\x88javascript…(1)\" id=\"fuzzelement1\">test</a>"
  • To get entire naughty string list


["", "undefined", "undef", "null", "NULL", "(null)", "nil", ]
  • To get a random emoji from the emoji list


  • To get a entire emoji list


["😀", "😃", "😄", "😁", "😆", "😅", "😂", "🤣", "☺️", "😊", ]


  • To run tests

    py.test –cov=naughty_string_validator test/ –verbose


The full documentation is at :


0.1.7 (2020-05-07)

  • Minor improvements in code

  • Fixed bug introduced by 0.1.6 of utils not found while importing in python version 3

0.1.2 (2018-09-03)

  • Removed test code from build

0.1.0 (2018-09-03)

  • First release on PyPI.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

naughty_string_validator-0.1.7.tar.gz (43.5 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page