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
Release files for faker-biology 0.6.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| faker_biology-0.6.7.tar.gz | 97.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| faker_biology-0.6.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 208.8 kB
Release files / faker_biology-0.6.7.tar.gz
| Download URL | faker_biology-0.6.7.tar.gz |
|---|---|
| Size | 97.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
56b8a8372862ae71f2977bf2bd3b7ec562ea729b6f5cd1fda005619ab8b45ce8
|
|
BLAKE2b-256 checksum How to use checksums |
fcff9a99b6ea86de4c03273185b8de1bbcf0155c300b5ad62b74a064e7be1a5a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.10.6 Darwin/24.6.0
|
Release files / faker_biology-0.6.7-py3-none-any.whl
| Download URL | faker_biology-0.6.7-py3-none-any.whl |
|---|---|
| Size | 111.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
39863af4ee384386735426d47651bdfd1873ba89e550288b85e8663991c3b6a5
|
|
BLAKE2b-256 checksum How to use checksums |
2efe6c20d4e6e54dbad54d6764db1b959fdf9eab6198cbaa7189b9db5d5bde6f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.10.6 Darwin/24.6.0
|