Skip to main content

Simple adapter to smooth API transitions of the garnett project

Project description

Introduction

garnets is a very simple wrapper over the garnett package. In version 0.7, the API of garnett changed to rename some frame attributes (positions, orientations, velocities) to their singular form.

Usage

garnets is mostly designed to be a drop-in replacement for the garnett import at the top of your file:

import garnets as garnett

Caveats

At the moment, only a basic compatibility layer is supported. Writing trajectories using frame objects that fulfill only the old frame API will not work, but writing frames that are read from a garnets or garnett trajectory should work.

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

garnets-0.1.0.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

garnets-0.1.0-py3-none-any.whl (4.4 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