Skip to main content

Faker provider for security related data

Project description

Faker-Security

Provider for Faker to generate random/fake data related to security.

Requirements

  • Faker
  • Python 3.9+

Installation and Usage

  • Add faker-security to your requirements
  • Install faker-security using pip or whatever package manager you use
  • Add the SecurityProvider during tests or wherever you use Faker
from faker import Faker
from faker_security.providers import SecurityProvider

fake = Faker()
fake.add_provider(SecurityProvider)

# generate a CVSSv3 vector
fake.cvss3()

Provider Features

Developing

  • Install poetry and run poetry install
  • Install pre-commit and run pre-commit install --install-hooks

Testing

poetry run pytest to run tests.

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

faker-security-0.1.0.tar.gz (3.0 kB view hashes)

Uploaded Source

Built Distribution

faker_security-0.1.0-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page