Skip to main content

sb2l

Description

Translates biological models written in SBML into LaTeX code to be compiled and read by human eye

Dependencies

The current version runs 1.3.1 version of PyLaTeX

For PDF creation functionality, either latexmk or pdflatex needs to be installed on the computer

How to Use

The following structure gives a LaTeX string that can be copied to a online compiler like Overleaf:

import sb2l
latexStr = sb2l.s2latex(sbmlStringOrFile)

If using with Tellurium or Antimony:

import sb2l
latexStr = sb2l.s2latex(model_name.getSBML())

For making PDF files (The filepath must NOT have a .pdf or .tex suffix)

import sb2l
filepath = "/Users/Username/Desktop/theDesiredName" #[NOTICE: no ".anything"]
sb2l.s2latex(sbmlStringOrFile, filepath);

License

MIT License

Copyright (c) 2019

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Metadata

Release files for sb2l 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sb2l 0.1.2
File Size Uploaded
sb2l-0.1.2.tar.gz 24.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sb2l 0.1.2
File Interpreter ABI Platform
sb2l-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 53.5 kB

Release files / sb2l-0.1.2.tar.gz

Download URL sb2l-0.1.2.tar.gz
Size 24.4 kB
Tags Source
SHA-256 checksum
How to use checksums
9bd2d9a2a7c4fe0783c77141f6e4251d797a1efb7aa9e5497d2793d8ae1cb2d7
BLAKE2b-256 checksum
How to use checksums
2b4e3089b3e8170df9fb6f8b3b4ff9ee4cdc03084480bc0475564c63c36740cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.4.2 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.5

Release files / sb2l-0.1.2-py3-none-any.whl

Download URL sb2l-0.1.2-py3-none-any.whl
Size 29.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0b00e7850426b950681dcc76a98e9a590f348d777f1ecf9787512c810d71a477
BLAKE2b-256 checksum
How to use checksums
1ef7f1146d7e793b30285ec8113bc6627a0fb073bdc3c0316520683e5b395e47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.4.2 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.5

Release history Release notifications | RSS feed

0.1.3

2 release files

This release

0.1.2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page