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, Organelle
fake.add_provider(CellType)
fake.add_provider(Organ)
fake.add_provider(Organelle)
fake.organ()
fake.celltype()
fake.organelle()
Biosequences
from faker_biology.bioseq import Bioseq
fake.add_provider(Bioseq)
fake.dna(10)
fake.rna(10)
fake.protein(10)
fake.protein_name()
fake.amino_acid()
fake.amino_acid_name()
fake.amino_acid_3_letters()
fake.amino_acid_1_letter()
fake.amino_acid_mass()
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()
fake.blunt()
fake.antibody_isotype()
fake.enzyme()
Taxonomy
from faker_biology.taxonomy import ModelOrganism
fake.add_provider(ModelOrganism)
fake.organism()
fake.organism_latin()