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.2.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

faker_security-0.2.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file faker-security-0.2.0.tar.gz.

File metadata

  • Download URL: faker-security-0.2.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.10.2 Linux/5.13.0-1017-aws

File hashes

Hashes for faker-security-0.2.0.tar.gz
Algorithm Hash digest
SHA256 f1cab57fba2980a54e3005eb8348167178397bd41d3a7f534ca051948f6971c3
MD5 ce051093b363a7002f1cea33d7ee3dde
BLAKE2b-256 7b491f4b28eea388c50ddd753471f154833d0754f27e279bc03e3ad158d022ed

See more details on using hashes here.

File details

Details for the file faker_security-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: faker_security-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.10.2 Linux/5.13.0-1017-aws

File hashes

Hashes for faker_security-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 24c55909596b5804be0b3695c78dbfd9685a010cce9e0975b5063eba259bc30c
MD5 24d8083b113671320f41c6fe7a60f9dc
BLAKE2b-256 66e1109898e5d5bade9b537390333285c51eaabe1275ddc9a4c754ded80d0afa

See more details on using hashes here.

Supported by

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