Web-related Provider for the Faker Python package.
Project description
faker_web is a provider for the Faker Python package.
It provides web-related fake data for testing purposes.
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.mime_type()
# application/mxf
fake.mime_type_popular()
# text/html
fake.server_token()
# Apache/2.0.51 (Ubuntu)
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_web-0.2.0.tar.gz
(11.6 kB
view hashes)
Built Distribution
Close
Hashes for faker_web-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fc9e311da4890de9296842f46387c65e05d9b825976b9fd2a6279f8c3c061d6 |
|
MD5 | 939a1b0ccec5f130919a830172c33562 |
|
BLAKE2b-256 | 1f0973aba9e7cf1073b16a70e09c63cb1fc92a5fd0121b470bf6cd649330fba7 |