Metadata-Version: 2.1
Name: faker-biology
Version: 0.5.0
Summary: Fake data from biology
Home-page: https://github.com/richarda23/faker-biology
License: Apache 2
Keywords: Biology,Faker
Author: Richard Adams
Author-email: ra22597@gmail.com
Requires-Python: >=3.8,<4.0
Classifier: License :: Other/Proprietary License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: Faker (>=12.3.0,<13.0.0)
Requires-Dist: faker-python (>=0.0.1,<0.0.2)
Project-URL: Documentation, https://github.com/richarda23/faker-biology
Project-URL: Repository, https://github.com/richarda23/faker-biology
Description-Content-Type: text/markdown

# 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
```python
 from faker import Faker
 fake = Faker()
```

### Physiology: Cell types and  organs

```python
 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

```python
 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_name()
 # Glycine

 fake.amino_acid_3_letters()
 # Cys

 fake.amino_acid_1_letter()
 # W
```

### Molecular Biology

```python
 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 

```python
 from faker_biology.taxonomy import ModelOrganism

 fake.add_provider(ModelOrganism)
 
 fake.organism()
 # Fission yeast

 fake.organism_latin()
 # Schizosaccharomyces pombe
```

