This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

A library to handle the reading and writing of a gro file.

Installation

pip install groio

Usage

import groio

#Read a gro file
title, atoms, box = groio.parse_file("filin.gro")

#Write a gro file
with open("filout.gro", "w") as f:
    for line in groio.write_gro(title, output_atoms, box):
        print(line, end='', file=f)

#Renumber the atoms to avoid number above 100 000
atoms = groio.renumber(atoms)

The function parse_file returns :

  • title: the title of the system as written on line 1 of the file as a string
  • atoms: a list of atom, each atom is stored as a dictionary
  • box: the box description as written on the last line as a string

Run tests

Unit tests are available through nosetests python module.
nosetests tests/test_groio.py
Release History

Release History

1.0

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
groio-1.0-py2.7.egg (6.3 kB) Copy SHA256 Checksum SHA256 2.7 Egg Sep 11, 2015
groio-1.0.tar.gz (207.7 kB) Copy SHA256 Checksum SHA256 Source Sep 11, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting