Skip to main content

Latest version released on PyPi Build status of the master branch on Mac/Linux Test coverage Apache license version 2.0

faker_web is a provider for the Faker Python package.

It provides web-related fake data for testing purposes:

  • Content-type http header.

  • Popular web server version tokens/signatures.

Usage

Install with pip:

pip install faker_web

Or install with setup.py

git clone https://github.com/thiagofigueiro/faker_web.git
cd faker_web && python setup.py install

Add the WebProvider to your Faker instance:

from faker import Faker
from faker_web import WebProvider

fake = Faker()
fake.add_provider(WebProvider)

fake.content_type()
# application/mxf
fake.content_type_popular()
# text/html
fake.server_token()
# Apache/2.0.51 (Ubuntu)

Release files for faker-web 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for faker-web 0.3.1
File Size Uploaded
faker_web-0.3.1.tar.gz 11.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for faker-web 0.3.1
File Interpreter ABI Platform
faker_web-0.3.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 28.4 kB

Release files / faker_web-0.3.1.tar.gz

Download URL faker_web-0.3.1.tar.gz
Size 11.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ba3e6568544baa6fe5a81884c4751a345266db457a8a8cbede0afad253034784
BLAKE2b-256 checksum
How to use checksums
eceaaaf4f11f6dc723075b59b364664dc04a9cce687ec786e0241182e9b73461
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.3

Release files / faker_web-0.3.1-py2.py3-none-any.whl

Download URL faker_web-0.3.1-py2.py3-none-any.whl
Size 16.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
83924e631cd1a512f3ba6c336aaad16e0662544649791987e2de2920052f0f06
BLAKE2b-256 checksum
How to use checksums
c379d8aea6d35464daec6e46caccedbb4b4c31a5d19b16fa72b280ce9945f22f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.3

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page