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.4.tar.gz
(97.0 kB
view details)
Built Distribution
faker_biology-0.6.4-py3-none-any.whl
(110.4 kB
view details)
File details
Details for the file faker_biology-0.6.4.tar.gz
.
File metadata
- Download URL: faker_biology-0.6.4.tar.gz
- Upload date:
- Size: 97.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.10.6 Darwin/22.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 057d2239de92ebf32e33ceeaa23aa6748d1353791241fa811c865f4f22112c93 |
|
MD5 | d8ebc825b112f81a98ad6cf7103b38de |
|
BLAKE2b-256 | 0f4abc3b04424431ab5a1520706c188e34afc094744bf3100bbc8d6ab5da6e87 |
File details
Details for the file faker_biology-0.6.4-py3-none-any.whl
.
File metadata
- Download URL: faker_biology-0.6.4-py3-none-any.whl
- Upload date:
- Size: 110.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.10.6 Darwin/22.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6f0589ae4187688a1b914f79603dedfb000b04ae0fc56ad97417ea171e2720f |
|
MD5 | 0e2e975a6a53ab39dc464826f568adb8 |
|
BLAKE2b-256 | 84f352eb657e6b412e76e9df7670af063b7cb840b2e17357ae648a90d8b7bb19 |