python API to EMBOSS ACD files
Project description
Python API to parse and access EMBOSS 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.1.2.tar.gz
(13.3 kB
view details)
File details
Details for the file pyacd-0.1.2.tar.gz
.
File metadata
- Download URL: pyacd-0.1.2.tar.gz
- Upload date:
- Size: 13.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f1f8e1c02a5958c4a8f13b0187d60770add651164fcc8473a0dfc55c69394d9 |
|
MD5 | 065e2478debe7ebb4e8ac672920a1aa5 |
|
BLAKE2b-256 | b9c208e89a6a5dde4eb9539e0ee178f1e7b6d8f28a6b096f6d9f4ac62221da45 |