Skip to main content

Faker addon with providers for everything Earth!

Project description

# faker-geoscience Fake data generators for everything Earth (and beyond!)

faker-geoscience is a Community Provider for the Python [faker](https://github.com/joke2k/faker) package, intended to provide generators for data relating to the Earth sciences.

## Install

pip install faker-geoscience

## Use

Base faker does not currently support locale resolution for dynamically linked providers, therefore locale-specific Provider classes have to be linked explicitly using Faker.add_provider(), or the containing module has to be passed to the Faker constructor (examples below).

from faker import Faker from faker_geoscience import flora

# Example 1: Using Faker.add_provider() f = Faker() f.add_provider(flora.el_GR.Provider)

# Example 2: Passing to constructor f = Faker(locale=’el-GR’, providers=[‘flora’])

# Module generators available - may be called f.plant_name()

## Build

python3 -m build

## Test

tox

## Contribute

faker-geoscience is in early development - we accept any and all relevant contributions! Check out [base faker’s contributing guidelines](https://github.com/joke2k/faker/blob/master/CONTRIBUTING.rst) for further information.

## Acknowledgements

Tox/GitHub Actions configuration strongly influenced by [faker-airtravel](https://github.com/dkotschessa/faker_airtravel) and [faker_wifi_essid](https://github.com/SkypLabs/faker-wifi-essid).

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-geoscience-0.1.0.tar.gz (16.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

faker_geoscience-0.1.0-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: faker-geoscience-0.1.0.tar.gz
  • Upload date:
  • Size: 16.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for faker-geoscience-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3bf227906b7b74f8892fc50538af57c410f3ad26d78d5841a08b0d35d29f7a31
MD5 e4a8bc53078eeec3b7e364ab080f1dec
BLAKE2b-256 86fa5395402bad2fe7ab433923e592920068e83a28efa225bcf8d08d5f4ec220

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for faker_geoscience-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a57020e5c5b606d00d5f247240ded92370cec290b3d80e504a7016be4e5d6153
MD5 bd07c47884530ec490cbbc73b9f44fde
BLAKE2b-256 d069279b15a4c32bb65aef579100085370031da55270c2c8f28b5dbacdc78054

See more details on using hashes here.

Supported by

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