Fake data from biology
Project description
faker-biology
Biology-related fake data provider for Python Faker
Some providers for biology-related concepts and resources.
Installation
pip install faker-biology
Usage:
Standard code to access Faker
from faker import Faker
fake = Faker()
Physiology: Cell types and organs
from faker_biology.physiology import CellType, Organ
fake.add_provider(CellType)
fake.add_provider(Organ)
fake.organ()
# Sublingual glands
fake.celltype()
# Centroacinar cell
Biosequences
from faker_biology.bioseq import Bioseq
fake.add_provider(Bioseq)
fake.dna(10)
# ATCGTGTCAT
fake.rna(10)
# AUCGUGUCAU
fake.protein(10)
# MTGHILPSTW
fake.protein_name()
# HYAL4_HUMAN
Molecular Biology
from faker_biology.mol_biol import Antibody, RestrictionEnzyme, Enzyme
fake.add_provider(RestrictionEnzyme)
fake.add_provider(Antibody)
fake.add_provider(Enzyme)
fake.re()
# EcoRI
fake.blunt()
# SmaI
fake.antibody_isotype()
# IgG
fake.enzyme()
# Ubiquitin carboxy-terminal hydrolase L1
Taxonomy
from faker_biology.taxonomy import ModelOrganism
fake.add_provider(ModelOrganism)
fake.organism()
# Fission yeast
fake.organism_latin()
# Schizosaccharomyces pombe
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
faker-biology-0.3.0.tar.gz
(95.2 kB
view hashes)
Built Distribution
faker_biology-0.3.0-py3-none-any.whl
(107.3 kB
view hashes)
Close
Hashes for faker_biology-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a58a3f2cfe91f11173d88d541b3b8d6dfeccf5c2ea0ecbcc190ff197a471b15c |
|
MD5 | 37b4d43196e35a096d47da249fc34e42 |
|
BLAKE2b-256 | 5e4ac1853a652719ace213856d931ba93364fd8434468042ce58556aa8f071f6 |