Skip to main content

Faultless AST for Open Biomedical Ontologies in Python.

Reason this release was yanked:

Broken universal2 wheels for MacOS

Project description

fastobo-py Star me

Faultless AST for Open Biomedical Ontologies in Python.

Actions AppVeyor Codecov License Source PyPI Wheel Bioconda Python Versions PyPI - Implementation Changelog Documentation GitHub issues DOI Downloads

Overview

fastobo is a Rust library implementing a reliable parser for the OBO file format 1.4. This extension module exports idiomatic Python bindings that can be used to load, edit and serialize ontologies in the OBO format.

Installation

If your platform has no pre-built binaries available, you will need to have the Rust compiler installed. See the documentation on rust-lang.org to learn how to install Rust on your machine.

Installation is then supported through pip:

$ pip install fastobo --user

Usage

An OboDoc instance can be instantiated from a path or from a binary file handle using the fastobo.load function, or from a string using the fastobo.loads function.

import fastobo
obodoc = fastobo.load("../data/ms.obo")

Loading from a gzip file is supported:

import fastobo
import gzip
gzdoc = fastobo.load(gzip.open("../data/cl.obo.gz"))

Comments can be parsed but neither edited nor serialized, because of a limitation with pyo3 (the library used to generate the Python bindings). They are supported in the Rust version of fastobo.

Feedback

Found a bug ? Have an enhancement request ? Head over to the GitHub issue tracker of the project if you need to report or ask something. If you are filling in on a bug, please include as much information as you can about the issue, and try to recreate the same bug in a simple, easily reproducible situation.

The following people have contributed to this project:

About

This project was developed by Martin Larralde as part of a Master's Degree internship in the BBOP team of the Lawrence Berkeley National Laboratory, under the supervision of Chris Mungall. Cite this project as:

Larralde M. Developing Python and Rust libraries to improve the ontology ecosystem [version 1; not peer reviewed]. F1000Research 2019, 8(ISCB Comm J):1500 (poster) (https://doi.org/10.7490/f1000research.1117405.1)

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

fastobo-0.12.1.tar.gz (20.1 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

fastobo-0.12.1-pp37-pypy37_pp73-macosx_10_9_x86_64.whl (1.8 MB view details)

Uploaded PyPymacOS 10.9+ x86-64

fastobo-0.12.1-cp310-cp310-win_amd64.whl (1.6 MB view details)

Uploaded CPython 3.10Windows x86-64

fastobo-0.12.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

fastobo-0.12.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

fastobo-0.12.1-cp310-cp310-macosx_10_15_universal2.whl (1.8 MB view details)

Uploaded CPython 3.10macOS 10.15+ universal2 (ARM64, x86-64)

fastobo-0.12.1-cp39-cp39-win_amd64.whl (1.6 MB view details)

Uploaded CPython 3.9Windows x86-64

fastobo-0.12.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

fastobo-0.12.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ ARM64

fastobo-0.12.1-cp39-cp39-macosx_10_15_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.9macOS 10.15+ x86-64

fastobo-0.12.1-cp38-cp38-win_amd64.whl (1.6 MB view details)

Uploaded CPython 3.8Windows x86-64

fastobo-0.12.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

fastobo-0.12.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ ARM64

fastobo-0.12.1-cp38-cp38-macosx_10_15_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.8macOS 10.15+ x86-64

fastobo-0.12.1-cp37-cp37m-win_amd64.whl (1.6 MB view details)

Uploaded CPython 3.7mWindows x86-64

fastobo-0.12.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64

fastobo-0.12.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ ARM64

fastobo-0.12.1-cp37-cp37m-macosx_10_15_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.7mmacOS 10.15+ x86-64

File details

Details for the file fastobo-0.12.1.tar.gz.

File metadata

  • Download URL: fastobo-0.12.1.tar.gz
  • Upload date:
  • Size: 20.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for fastobo-0.12.1.tar.gz
Algorithm Hash digest
SHA256 e6a04a02c5e7be6e2bc06643da04e0693c81c46041f003ce3149b70a4dfff7ca
MD5 c5375bf135aba5c33391b30bb2e52561
BLAKE2b-256 4636e0d18f5aff044653cc1a164a1966d4006b3d86317eceb5c2d8c021b73439

See more details on using hashes here.

File details

Details for the file fastobo-0.12.1-pp37-pypy37_pp73-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for fastobo-0.12.1-pp37-pypy37_pp73-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 1601e8a03b1e7dd4fb9ca3434becca9663e0a1ebcf893c9a74ffc8610c1792dc
MD5 3c99e71e9c530576548d86e031ce7979
BLAKE2b-256 4b0d8323bb09470739966b699ad7a8e05494ab73d4c8dcde7f67ca66ead978d4

See more details on using hashes here.

File details

Details for the file fastobo-0.12.1-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: fastobo-0.12.1-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for fastobo-0.12.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 a77eed1b1dc058b60d7b28f3aa875656548ce9af518027eab487c47500c787d7
MD5 336c5214705b9cfc98ed302f8cdb0d31
BLAKE2b-256 5bb28fec926737e55ec60e58ca130a11f7ebffdc05a10f824cf6bfd678734922

See more details on using hashes here.

File details

Details for the file fastobo-0.12.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fastobo-0.12.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2f59097eccbd10e92609d4726e32bca23716934fe57a51e4c79c291e89307955
MD5 fb4f27754d31cc6bd7a02d1b0395cfbd
BLAKE2b-256 e907c1406037cb3d6cba553ad38e311b87f08590ec25a27e0c0bf7596a4496f6

See more details on using hashes here.

File details

Details for the file fastobo-0.12.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for fastobo-0.12.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 44bbd4707881f0cb8f1d8f7a1cfac4c3f2535b8326d801d21bd7a5c6f3a25501
MD5 b15df28400a9eaa7af93e63cfaabf7c8
BLAKE2b-256 2ed4a566fe74f2adb7cba580b09136232ddf91b3018c3eeead72f19a91ef94f3

See more details on using hashes here.

File details

Details for the file fastobo-0.12.1-cp310-cp310-macosx_10_15_universal2.whl.

File metadata

File hashes

Hashes for fastobo-0.12.1-cp310-cp310-macosx_10_15_universal2.whl
Algorithm Hash digest
SHA256 94448d0775a82e7dd6ef7a5fa054480c5e3796472fbf2c7a6e9eebed0a910c54
MD5 85e56d60ea4e473801fc83b65c3875f8
BLAKE2b-256 470a3718604be5d64ff58b35d4f477f02421210e487bd1482e3b339675f41ef4

See more details on using hashes here.

File details

Details for the file fastobo-0.12.1-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: fastobo-0.12.1-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.12

File hashes

Hashes for fastobo-0.12.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 99dd8b0b239adba69990c7dd961d08180423b6de6fb8b5320e2bc94c0e276196
MD5 756718648f5238b70fab172118faa296
BLAKE2b-256 988d668b4731638da7467e22684561c85f780619051dbd1ad231def01c128431

See more details on using hashes here.

File details

Details for the file fastobo-0.12.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fastobo-0.12.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 04ac79603548e30e451d9519c546b7c21ea47ce195d829a7ddc37934eb82d634
MD5 fed7f7f868c644b22d53472a9771d1aa
BLAKE2b-256 33ccc84a92ad3cd7c20c28b0f37df1f8bf96df106bba00f3db21108b5516436e

See more details on using hashes here.

File details

Details for the file fastobo-0.12.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for fastobo-0.12.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ef1ff7e4b2d2d2d3ae3d4b14676829847f007b517517a5ff2aef0313ab0bc3f1
MD5 e3ab142c2c66461b594918761578758f
BLAKE2b-256 1ee1fe5b5c32bac39402b0005813f851af781c7e7abe992bfde0504edd562a04

See more details on using hashes here.

File details

Details for the file fastobo-0.12.1-cp39-cp39-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for fastobo-0.12.1-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 e4f072735289e391ede3b52812f966daf56e1b01bcbcd86fdc7bcca09dbb5170
MD5 0dbe4847bd42263636a5f015325a7b06
BLAKE2b-256 08f4c0d3f3bf7b5387989f0a4a453a319954d54252f2f50aa11880e74ebc3001

See more details on using hashes here.

File details

Details for the file fastobo-0.12.1-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: fastobo-0.12.1-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for fastobo-0.12.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 8b39317561d31924aff8013cb103649bb310ad944c9adeb1c838a47e5d5f0e6f
MD5 f0f5f27b6bd49b9a7d5c9351b65df037
BLAKE2b-256 65fbb6252caed5c40fa3cc1626a65f7ae267fad321bae7f486625bb8827be1eb

See more details on using hashes here.

File details

Details for the file fastobo-0.12.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fastobo-0.12.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 03bbb28d78bcc4e7721bc9caf75cbe85b882f56f5a96b3d7318ebacfbc5b0b80
MD5 41c094cee5a3e3cac2fff17e92822239
BLAKE2b-256 6db34c601643a45dc162d0a7464aa746bda2c59d693a6b351a43eae0c53cc32f

See more details on using hashes here.

File details

Details for the file fastobo-0.12.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for fastobo-0.12.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 324d2a79da79e01934c87dd9a1db10af89a09953addfb18c6e2aeca211cd6b18
MD5 04f4bb32eb54f435fa164b6325c0b91e
BLAKE2b-256 940c7765d81478b936d2db7810a1e62519c8f3fbf13c967380ecf0b3c4d18d9a

See more details on using hashes here.

File details

Details for the file fastobo-0.12.1-cp38-cp38-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for fastobo-0.12.1-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 cf403aff499ee58f7a9906dad4e51c8a6c0a6397be7faf9728d0a30f6d47714f
MD5 5ac345984be7a30a75d69dcbfd914d5f
BLAKE2b-256 b1f0d61c28829cfaf1ca7bf18f98e475266e69a5aa8e744dd386a9a63ab4d2ca

See more details on using hashes here.

File details

Details for the file fastobo-0.12.1-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: fastobo-0.12.1-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.9

File hashes

Hashes for fastobo-0.12.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 db625f0641b8061a74899fb99281be5764379943272032b52f1ce10fd20512ce
MD5 b39d0954ac73690ca8f87f49631d2947
BLAKE2b-256 3b18bf12680b035b718798c63dd831a429a2905ddc62bbb7a56b7b2f95049a62

See more details on using hashes here.

File details

Details for the file fastobo-0.12.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fastobo-0.12.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 826420633487db8594861668a922e9837058233cf91745c78fe5ac0ad6274f43
MD5 59c00373ce472aeb7d5a341e87161f3a
BLAKE2b-256 367ae6e053fc53c4fbd7443d5cace3a904b98d9b28aa819f541a6fdfbc29570b

See more details on using hashes here.

File details

Details for the file fastobo-0.12.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for fastobo-0.12.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 2b1ff1cba3227080cfe661e9df75bfd3086c047dbf71a8c7a7e048d25a47d48f
MD5 238fc827fb7391734e1e349eb91b2917
BLAKE2b-256 024900266d81b80668f4139dc877d5a96208ecdb33ed1d0bbf9feb663bfef8d6

See more details on using hashes here.

File details

Details for the file fastobo-0.12.1-cp37-cp37m-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for fastobo-0.12.1-cp37-cp37m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 d28c22564bc0fe1be2da336245adb28e559dd1561d8fd87a48024bad7a8f9c03
MD5 c50472b767c34db350f8afa3fd67fa39
BLAKE2b-256 b972b89251320fe2a631cf71b247b1e5634856aebfc9b5ea98d5813cec6b58bf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page