Skip to main content
Help us improve Python packaging – donate today!

Tiny FASTA package, without dependencies, for processing biological sequence files.

Project Description

PyPI package Travis CI build status (Linux) AppVeyor CI build status (Windows) Code Coverage Documentation Status

Python package for working with biological sequences from FASTA files.


  • Easy to use: intuitive API for parsing, searching and writing FASTA files
  • Lightweight: no dependencies outside Python’s standard library
  • Cross-platform: Linux, Mac and Windows are all supported
  • Works with with Python 2.7, 3.2, 3.3, and 3.4

Quick Guide

To install the TinyFasta package:

sudo pip install tinyfasta

To parse a FASTA file:

>>> from tinyfasta import FastaParser
>>> for fasta_record in FastaParser("tests/data/dummy.fasta"):
...     if fasta_record.description.contains('seq1'):
...         print(fasta_record)
>seq1|contains 2x78 A's

To create a FASTA record:

>>> from tinyfasta import FastaRecord
>>> sequence = "C" * 100
>>> fasta_record = FastaRecord.create("My Sequence", sequence)
>>> print(fasta_record)
>My Sequence

Release history Release notifications

This version
History Node


History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
tinyfasta-0.1.0.tar.gz (4.7 kB) Copy SHA256 hash SHA256 Source None Jun 5, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page