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, Organelle
fake.add_provider(CellType)
fake.add_provider(Organ)
fake.add_provider(Organelle)
fake.organ()
# Sublingual glands
fake.celltype()
# Centroacinar cell
fake.organelle()
# chloroplast
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
fake.amino_acid()
# AminoAcid(full_name='Glycine', three_letters_name='Gly', one_letter_name='G', mass=57)
fake.amino_acid_name()
# Glycine
fake.amino_acid_3_letters()
# Cys
fake.amino_acid_1_letter()
# W
fake.amino_acid_mass()
# 103
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.6.6.tar.gz
(97.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
faker_biology-0.6.6-py3-none-any.whl
(111.0 kB
view details)
File details
Details for the file faker_biology-0.6.6.tar.gz.
File metadata
- Download URL: faker_biology-0.6.6.tar.gz
- Upload date:
- Size: 97.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.10.6 Darwin/24.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8878efdb7432b1e64431311199416a85680b321f323dce7decdf7c2523455850
|
|
| MD5 |
78dd87800eb00bdf0f436be863c2fdcc
|
|
| BLAKE2b-256 |
7f7a56977f8166b574fff42fd0ff64556306664d1a7e4014254f700dad07df5e
|
File details
Details for the file faker_biology-0.6.6-py3-none-any.whl.
File metadata
- Download URL: faker_biology-0.6.6-py3-none-any.whl
- Upload date:
- Size: 111.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.10.6 Darwin/24.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f719ffd1d8d3254e204ec58b0f56732f133f24343d0e5e0d2b45316a2131f7f
|
|
| MD5 |
59407b285ee8f90ebc49d06ca5a16b1b
|
|
| BLAKE2b-256 |
4157dea14bdee796b59c94cf7a5b73b94f226430784bd50c048cf3c7b9808a08
|