Skip to main content

Faker provider for security related data

Project description

Faker-Security

Pypi CircleCI

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

Requirements

  • Faker
  • Python 3.8+

Installation and Usage

If you want to use faker-security within your project, add it to your dependency file of choice.

This is typically your project's requirements.txt file. If you are using a higher-level package manager like poetry or pipenv, follow their instructions for adding new packages.

Once installed, you need to setup Faker to make use of the SecurityProvider. An example of how that could be done is shown below:

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

Uploaded Source

Built Distribution

faker_security-0.3.1-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file faker_security-0.3.1.tar.gz.

File metadata

  • Download URL: faker_security-0.3.1.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.11 Linux/5.15.0-1030-aws

File hashes

Hashes for faker_security-0.3.1.tar.gz
Algorithm Hash digest
SHA256 67997b6a5ea5c7739135ea3fb3ec245d84560248501e777c37585b499431a809
MD5 53462406ccef3ccdb1127219c955eac0
BLAKE2b-256 e4fa8e1916c39ff87efe0f2b4b14f74fdd97ce757d2a47c9876ba33cc27edd66

See more details on using hashes here.

File details

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

File metadata

  • Download URL: faker_security-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.11 Linux/5.15.0-1030-aws

File hashes

Hashes for faker_security-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 960dbe70382ff8ab1a66c013a86e12dda60baa39f94c53cc6785b85060e41f4f
MD5 140f27f4fac17df46276e482f916bedf
BLAKE2b-256 df7161ac0357d5bc7de16da231ef33d9011c6751a8dc01676d53904d31b0c4af

See more details on using hashes here.

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