Skip to main content

A package for converting biological stuff to BEL

Project description

Bio2BEL

Bio2BEL is a project aimed at bringing biological databases in a wide variety of schemata into the unified framework of Biological Expression Language.

This package provides a command line interface through which other bio2bel packages can be linked.

Project Structure

All Bio2BEL projects should have a similar structure. In the top level, there should be certain modules:

  • manager.py should include a class called Manager that has a function Manager.populate()

  • cli.py should have a main click group called main and optionally have commands for populate, drop, deploy, and web

How to Register

Bio2BEL uses the entry points loader to find packages in combination with setuptools’s entry_points argument.

import setuptools

setuptools.setup(
   ...
   entry_points={
       'bio2bel': [
           'chembl = bio2bel_chembl',
       ],
       'console_scripts': [
           'bio2bel_chembl = bio2bel_chembl.cli:main',
       ]
   }
   ...
)

Project details


Download files

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

Source Distribution

bio2bel-0.0.5.tar.gz (27.0 kB view hashes)

Uploaded Source

Built Distribution

bio2bel-0.0.5-py3-none-any.whl (18.6 kB view hashes)

Uploaded Python 3

Supported by

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