Skip to main content

No project description provided

Project description

MolPDF: A PDF Document Generator for SMILES!

License: MPL 2.0 Python

Welcome to MolPDF! The document generator for cheminformatics! MolPDF does one thing right now and is convert a list of 1D SMILES to a 2D image into a PDF! It's super lightweight and only requires python 3.4 >+.

MolPDF is super new and under heavy development so if there are any bugs then please report them! Eventually, I will be able to get some docs, jupyter notebooks, and some asciis but in the meantime check out the source code and play around.

Announcements

  • June 7th 2020 First version 0.1.0 is released to the public

Installation

MolPDF is going to be distribute via PyPi and as the content store grows we can expand it to other pieces of software making it accessible to all regardless of what you use. Alternatively, you could have a glance at the source code and copy/paste it yourself.

QuickStart

Generate a PDF of SMILES

    
    document = MolPDF(name='example.pdf')
    document.add_title('Chemical Library Test')
    document.add_spacer()
    smiles_list = ['C(CNC(C(C)N)=O)(=O)O', 'C(CNC(C(C)N)=O)(=O)O', 'C(CNC(C(C)N)=O)(=O)O']
    document.generate(smiles=smiles_list)

Structure of MolPDF

Currently, the main subpackages are:

  • molpdf: molpdf main class.

Genesis

MolPDF was developed so I could publish chemical libraries in an easy supporting information minable data for publications. I hope to make it easy for folk by making it a solely lightweight python package with only requirements to be reportlab.


External links

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

molpdf-0.1.0.tar.gz (6.6 kB view hashes)

Uploaded Source

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