python API to EMBOSS ACD files
Project description
Python API to parse and access EMBOSS [ACD](http://emboss.sourceforge.net/developers/acd/) files
===============================================
pyacd is a parsing library for:
- EMBOSS ACD files.
- EMBOSS QA files (functional tests for EMBOSS)
Install
-------
Installing the official package from PyPi:
pip install pyacd
Or from source:
git clone https://github.com/hmenager/pyacd.git
cd pyacd && python setup.py install
Usage
-----
pyacd is a Python API. Here is a small example that shows how to use it to parse an ACD file and
retrieve basic information from it.
`
from pyacd.parser import parse_acd
abiview_acd = parse_acd(open('/usr/share/EMBOSS/acd/abiview.acd','r').read())
print abiview_acd.application.name
for section in abiview_acd.sections:
print [p.name for p in section.parameters]
`
===============================================
pyacd is a parsing library for:
- EMBOSS ACD files.
- EMBOSS QA files (functional tests for EMBOSS)
Install
-------
Installing the official package from PyPi:
pip install pyacd
Or from source:
git clone https://github.com/hmenager/pyacd.git
cd pyacd && python setup.py install
Usage
-----
pyacd is a Python API. Here is a small example that shows how to use it to parse an ACD file and
retrieve basic information from it.
`
from pyacd.parser import parse_acd
abiview_acd = parse_acd(open('/usr/share/EMBOSS/acd/abiview.acd','r').read())
print abiview_acd.application.name
for section in abiview_acd.sections:
print [p.name for p in section.parameters]
`
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
pyacd-0.2.0.tar.gz
(16.0 kB
view details)
File details
Details for the file pyacd-0.2.0.tar.gz
.
File metadata
- Download URL: pyacd-0.2.0.tar.gz
- Upload date:
- Size: 16.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7875eecc8b7d395358ada05380771b7e07fb954e20a11c4acae11a9ceeb297a |
|
MD5 | 86a81201004cbd647febc51448786157 |
|
BLAKE2b-256 | 60a8f12b6f2ddea8617ce7d43f4ba1070a105fb49ad04e5e5bb8428dd108e299 |