There are two main options to getting started with LabOP:
pyLabOP
- Install pyLabOP from PyPI, in your Python environment:
    
pip3 install pylabopor install from source:
git clone https://github.com/Bioprotocols/labop pip3 install labop - LabOP visualizations currently depend on the graphviz application. To install graphviz, run (per https://github.com/ts-graphviz/setup-graphviz):
    
- Mac: brew install graphviz
 - Linux: apt-get install graphviz libgraphviz-dev pkg-config
 - Windows: choco install graphviz
 
 - To use LabOP in your client application, import the LabOP, UML, and SBOL3 modules:
    
import labop, uml, sbol3 - Initialize an SBOL document to hold the protocol and referenced objects:
    
sbol3.set_namespace('http://example.org/synbio/') doc = sbol3.Document()and (optionally) read a previously saved document:
doc.read('test/testfiles/igem_ludox_test.nt') 
Create a Simple Protocol
- Define a protocol object:
    
protocol = labop.Protocol('MyNewProtocol') doc.add(protocol) - Import a primitive library:
    
labop.import_library('sample_arrays') - Create a primitive activity:
    
plate = protocol.primitive_step('EmptyContainer', specification="MyPlate") - Visualize the protocol with GraphViz:
    
protocol.to_dot().view()