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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: faker-security-0.1.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.9 CPython/3.9.1 Linux/5.16.15-1-default

File hashes

Hashes for faker-security-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5f8b7069c17e214c1c3bc7b466b44e3aec5e3fc836e1454cadb9f45f0a31e3f2
MD5 d6dbefa0e44042aa1e50da0daab8bafd
BLAKE2b-256 7fb6849abb3e0a9e4857d5cb30346c9f0159b19374341a695afd17a333e724c5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: faker_security-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.9 CPython/3.9.1 Linux/5.16.15-1-default

File hashes

Hashes for faker_security-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4f0e71b0ef4ceebb7a550dad45099b17b947f1e922eb42df40adabdb57b8b87f
MD5 32b6a4a3bd9026686c6d4df7c5a97988
BLAKE2b-256 53ac3595ea696d4ea779edf94f26e26042e3d70e4d7d710c87f21f8f92b6fde6

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